Skip to main content
Kodelyth ECC
Command

/review-pr

Comprehensive PR review using specialized agents

Run:/review-pr

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:
- use gh pr view to get PR details, changed files, and diff
  • Find project guidance:
- look for 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:
- dedupe overlapping findings - rank by severity
  • 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