PR Improver cleans up a branch before you open or update a pull request. It derives the change surface from the git diff against the base branch, widens each changed file to its directory, and runs a Workflow loop where a PR reviewer and a fixer subagent alternate until the review is clean.
The default reviewer is the review-pr skill from pr-review-toolkit, and you can name another skill or agent. All edits stay in the working tree and nothing is committed.
What You Get
- A scope derived from the branch diff and deduplicated into directory globs
- Up to five rounds of review and fix, or the cap you set
- A ledger and metrics file for the run, plus a note on any warning such as a repository being initialized
- A labelled outcome: converged, capped and not converged, escalation or halted
Common Use Cases
- Fixing review findings on a feature branch before opening a pull request
- Running review-and-fix on local changes against main
- Using a different PR review agent than the default one
- Continuing after an escalation with your ruling passed as a decision
What Makes It Unique
The scope comes from your branch and is enforced mechanically after each round, so the fixer cannot wander into unrelated directories. The skill refuses to imitate the loop by hand when Workflow is unavailable and tells you which plugin provides a missing reviewer.
Under The Hood
The skill runs git commands to find the repository root, base branch and changed files, then starts a Workflow script from the plugin. Inside the workflow a reviewer and a fixer subagent read and edit files in the derived directories, and a ledger and metrics are written to disk. It checks scope with git after each fix round. It does not commit, push or open a pull request, and it does not fetch web pages or call outside APIs by itself.