PR Batch Review
Review and manage multiple open PRs in a single consolidated pass.
Steps
- Verify git credentials work:
gh auth status- If credentials fail, STOP and report — do not proceed
- List all open PRs:
gh pr list --state open- Show count and titles
- For each PR (limit to 6 max to avoid rate limits):
- Check CI status:
gh pr checks <number> - Review diff:
gh pr diff <number> - Note any issues: failing tests, security concerns, style problems
- Check CI status:
-
Present a consolidated summary table: | PR # | Title | CI Status | Issues Found | Recommendation | |——|——-|———–|————–|—————-|
- STOP and ask which PRs to merge — do not auto-merge anything
Important
- Do NOT merge any PR without explicit user approval
- Do NOT spawn more than 3 parallel agents for PR reviews
- If a PR has failing checks, recommend investigating before merging
- Flag any PRs with security-sensitive changes for closer review