refine-pr - Iteratively review and fix a pull request
Review a pull request, implement worthwhile findings as small commits, and repeat until a review round finds nothing in scope.
Tags
Updated: 2026-10-08Capabilities
What this skill does
- Resolve the review target
- Detect verification commands
- Run baseline checks
- Guard branch and working tree
- Spawn independent reviewers
- Triage review findings
- Implement accepted fixes
- Commit small changes
- Repeat review rounds
- Record review state
- Report deferred findings
- Push changes when applicable
Inputs
- Pull request number or current branch
- Review focus
- Round budget
- Repository verification configuration
- Git working tree
Outputs
- Small commits for accepted fixes
- Updated branch state
- Review and triage files
- Baseline and round verification results
- Final review report
- Pushed remote branch when applicable
Requirements
- Git repository
- Non-default branch
- Git command-line access
- GitHub CLI for pull request resolution
- Commit permissions
- Reviewer or subagent support
