Review a PR or local changes for defects, convention violations, and gaps against project intent. Use read-only reviewers. Never edit code, change state, or comment on a PR.
Before reviewing, read REVIEW-PROTOCOL.md for intent collection, reviewer roles, finding/verification rules, and the report template. Use MODES.md to resolve source commands. When conventions apply, read CONVENTIONS.md to select and load their guidance.
Choose the source
| Argument | Source |
|---|---|
PR URL or owner/repo#number | Remote PR |
--diff or none | Local branch vs. default branch |
--uncommitted | Working-tree changes |
--all-local | Local branch plus working tree |
--baseline=<commit> | Recorded execution and manifest |
| File path or glob | Explicit paths |
Use --plan=<path> to name a plan or task list for intent review.
Coordinate the review
- Snapshot. Use the source commands in MODES.md to
resolve the source. Write the whole diff once to
DIFF_PATHand create the changed-file list. For--baseline, require the delivery manifest and baseline snapshots; never silently mix revisions. If the diff is empty and no files match, report “No changes to review” and stop. - Gather intent. Use the linked protocol to collect intent at the reviewed
revision and write
CONTEXT_PATH. - Choose reviewers. Start one read-only generalist reviewer. Add specialists for concrete risks, and a separate conventions reviewer whenever applicable conventions exist—even for small, low-risk changes. Use the protocol's roles, prompts, and completion checks. For substantial or cross-cutting intent, add a separate spec-and-plan reviewer; otherwise keep those checks with the generalist. Unavailable guidance is not a clean pass.
- Verify findings. Have a verifier refute each finding using the protocol. Report only verified real findings; keep unresolved questions separate.
- Report. Use the protocol's report template. Account for every changed file, merge duplicate findings, sort by severity, and offer to address actionable findings.
Every selected reviewer must finish COMPLETE; every changed file needs
reviewer coverage or a reason for skipping. Close convention-loading omissions
before reporting. Keep unknowns separate from defects.


