review
Code review — local uncommitted changes or GitHub PR (pass PR number/URL for PR mode)
Part of the PRP workflow series.
Input: $ARGUMENTS
Invoke the code-reviewer agent to perform a comprehensive code review.
If $ARGUMENTS is a PR number or URL: PR review mode — fetch diff, read full files, validate,
post review to GitHub via gh pr review.
If blank: local review mode — review uncommitted changes (git diff --staged and git diff).
Load skills: dog:code-review-and-quality, dog:security-review, dog:coding-standards
The agent will:
- Determine mode from input and gather changed files
- Read each changed file in full (not just the diff hunk)
- Apply 7-category checklist: correctness, type safety, security, performance, completeness, maintainability, pattern compliance
- Assign severity: CRITICAL / HIGH / MEDIUM / LOW
- Run available validation commands (typecheck, lint, tests, build)
- For PR mode: post review to GitHub + save artifact to
.dog/PRPs/reviews/ - Report: findings by severity + validation results + decision (APPROVE / REQUEST CHANGES / BLOCK)
After review: address all CRITICAL and HIGH issues before running /dog:prp-pr.
For language-specific review: use /dog:ts-review, /dog:py-review, /dog:go-review, or /dog:rust-review.
For test coverage analysis: dispatch the test-engineer agent alongside code-reviewer.