/pr-review
Review a pull request before it merges — yours or a colleague's. This is /continue step 10 as a standalone command, and the inline form of the future ai-pr-review.yml CI workflow.
Steps
- Resolve the PR. Default to the PR for the current branch; accept an explicit
#Nargument otherwise. Fetch the diff, the linked Issue, and the CU-id. - Run
code-reviewerover its ten-point checklist: architecture fit, test coverage, contract changes, secrets, backward-compat, PR size, auth surface, dependencies, CLAUDE.md adherence, overengineering. - Route domain findings to the owner —
code-revieweris the generalist; for a finding in a specialist's domain, name the owning agent so the developer can pull it in:- auth / tokens / RBAC →
auth-security - money flows →
payments - DTO / RPC / FE-BE shape →
contracts-schema - schema / indexes / migrations →
database - PII / data flows →
privacy-compliance
- auth / tokens / RBAC →
- Report findings grouped by severity (blocker / should-fix / nit) with
file:linereferences. Post as a review if the developer asks; otherwise summarize inline.
Boundaries
- Does not merge. Review only — merge stays a human (or explicitly-configured) action.
- A blocker finding means the PR is not ready for review/merge until addressed.