Automates PR preparation and upstream sync for Rust projects.
Install
mkdir -p .claude/skills/pr-iopsystems && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11915" && unzip -o skill.zip -d .claude/skills/pr-iopsystems && rm skill.zipInstalls to .claude/skills/pr-iopsystems
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Prepare outstanding commits on a feature branch for a pull request to upstreamKey capabilities
- →Verify prerequisites for PR creation (not on main, upstream/origin remotes exist)
- →Run `cargo fmt` and amend last commit for formatting changes
- →Sync local branches with `upstream` and `origin` remotes
- →Identify commits ahead of `upstream/main` for the PR
- →Generate a PR title and description summarizing changes
- →Create a pull request against `upstream`
How it works
The skill prepares a feature branch for a pull request by verifying git state, formatting code, syncing with remotes, identifying new commits, generating PR content, and then creating the PR.
Inputs & outputs
When to use pr
- →Prepare feature branch for PR
- →Sync branch with upstream
- →Automate PR content
About pr
Formats code, syncs local branches with upstream, generates PR descriptions from commits, and creates the PR.
Prepare outstanding commits on a feature branch for a pull request to upstream
When not to use it
- →When on the `main` branch
- →When `upstream` or `origin` remotes do not exist
- →When there are uncommitted changes (non-formatting) in the working directory
Prerequisites
Limitations
- →The current branch must not be `main`.
- →The `upstream` and `origin` remotes must be configured.
- →Uncommitted changes (other than formatting) will stop the process, requiring manual resolution.
How it compares
This skill automates the preparation and submission of pull requests to an `upstream` repository, including code formatting and content generation, simplify the contribution process compared to manual steps.
Compared to similar skills
pr side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| pr (this skill) | 0 | 8mo | Review | Intermediate |
| search-code | 2 | 8mo | Review | Intermediate |
| code-review | 0 | 9mo | No flags | Intermediate |
| gh-address-comments | 0 | 10mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by iopsystems
View all by iopsystems →You might also like
search-code
JamieMason
Search for code patterns in Syncpack. Use when finding symbols, implementations, or understanding how code is used. Covers ast-grep for Rust and grep/rg for other cases.
code-review
jonatron55
Instructions for reviewing changes and ensuring quality before completion. Use when asking for a review or before committing changes.
gh-address-comments
twlongzai
Help address review/issue comments on the open GitHub PR for the current branch using gh CLI; verify gh auth first and prompt the user to authenticate if not logged in.
pr
zmerlynn
Push a branch and open a PR with pre-flight checks
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
rust-tests-guidelines
RediSearch
Guidelines for writing Rust tests.