/stepwise-git:ship-pr [plan file (optional)]from stepwise-git
Automates the full PR workflow: commits changes, pushes, opens a PR, waits for CI checks, fixes failures, and replies to review comments in up to 3 rounds. Never merges.
Ships in stepwise-git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Take the work in this repository to a pull request that is ready to merge: commit it, push it, open the PR, wait for its checks, fix what fails and answer the review comments.
Nobody will answer questions while you run. Do not ask for confirmation at any step: the report you write at the end is the user's control point. Never merge the PR and never force-push.
You coordinate; the delegated skills do the work and own their rules. Invoke each one with the Skill tool:
/stepwise-git:commit creates the commits/stepwise-git:open-pr pushes, opens the PR and waits for the checks/stepwise-git:review-pr-comments decides on the comments, implements, pushes and replies/stepwise-core:tdd fixes behavior test-first, when it is availableIf a delegated skill fails, stop and report what happened. Do not work around it by doing its job yourself.
tdd and to review-pr-comments as context. Do not look for one yourself.type/short-description with git switch -c before committing./stepwise-git:commit.Then run the round cycle. Keep a count of fix rounds, starting at 0.
Invoke /stepwise-git:open-pr. It pushes whatever is not on the remote yet, so the fixes of the previous round are verified here.
Stop with timeout if checks are still pending when it returns.
Stop with round limit if the fix-round count is 3. The comments that arrived after the last push have not been processed: say so in the report.
Skip this step if no check failed.
Stop with no progress if a check fails with the same error as in the previous round.
Read the log of each failed check and decide what kind of failure it is:
| Failure | What to do |
|---|---|
| A reviewer that only reports findings it posted as PR comments | Nothing here: Step 3 handles them |
| Behavior or a failing test | Fix it test-first, without weakening or skipping tests. Invoke /stepwise-core:tdd with the log if it is available; otherwise write the failing test yourself first |
| Lint, format, version, generated file or configuration | Edit directly |
| PR title, body or labels | gh pr edit |
| Nothing in the repository can fix it (infrastructure, secrets, permissions, an external service) | Stop with blocked |
If any file changed, invoke /stepwise-git:commit. Do not push: the next step or the next round does it.
Invoke /stepwise-git:review-pr-comments with the PR number and the plan file, if any. It pushes its own changes together with the commits from Step 2.
PR: {url}
Result: {clean | round limit | no progress | timeout | blocked} — {one line saying why}
Fix rounds used: {n} of 3
Checks:
- {name}: {passed | failed | pending}
Check failures fixed:
- {check}: {what was wrong and what you changed}
Comments:
- Accepted: {claim} — {commit}
- Rejected: {claim} — {reason}
- Repeated, not answered again: {claim}
Left for you:
- {failing checks with the end of their log, comments not processed, files left out of the commits}
The PR has not been merged.
Omit a section that has nothing in it.
What SKILL.md sets; muted values are Claude Code's defaults
inheritThree short reads, in order
npx claudepluginhub nikeyes/stepwise-dev --plugin stepwise-git4 skills in this plugin
/commitCreate git commits unattended, with semantic commit format and no Claude attribution/open-prPush the current branch, open its pull request if it has none, and wait for every PR check to finish. Reports the result without fixing anything./review-pr-commentsReview PR comments unattended, deciding on each one, implementing the accepted changes, pushing them and replying in every threadOther plugins' skills for the same job