0

Review Pr

Comprehensive PR review using specialized agents (code-reviewer, comment-analyzer, pr-test-analyzer, silent-failure-hunter, type-design-analyzer, code-simplifier). Use for a multi-agent PR review pass; for the adversarially-verified Workflow pass use /orch-review, and for the standalone step-by-step checklist review use /code-review.

Command · أمر

Works with

claude-code (native)

Content

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

  1. Identify the PR:
  • use gh pr view to get PR details, changed files, and diff
  1. Find project guidance:
  • look for CLAUDE.md, lint config, TypeScript config, repo conventions
  1. Run specialized review agents:
  • code-reviewer
  • comment-analyzer
  • pr-test-analyzer
  • silent-failure-hunter
  • type-design-analyzer
  • code-simplifier
  1. Aggregate results:
  • dedupe overlapping findings
  • rank by severity
  1. 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

Source and license

Source
Everything Claude Code
Original
affaan-m/everything-claude-code/commands/review-pr.md
License
MIT