Run a comprehensive multi-perspective review of a pull request.
Usage
/review-pr [PR-number-or-URL] [--focus=comments|tests|errors|types|code|simplify]
If no PR is specified, review the current branch's PR. If no focus is specified, run the full review stack.
Steps
- Identify the PR:
gh pr view to get PR details, changed files, and diff
- Find project guidance:
CLAUDE.md, lint config, TypeScript config, repo conventions
- Run specialized review agents:
code-reviewer
- comment-analyzer
- pr-test-analyzer
- silent-failure-hunter
- type-design-analyzer
- code-simplifier
- Aggregate results:
- Report findings grouped by severity
Confidence Rule
Only report issues with confidence >= 80:
- Critical: bugs, security, data loss
- Important: missing tests, quality problems, style violations
- Advisory: suggestions only when explicitly requested