ah review
Review code changes using automated review agents.
ah review [OPTIONS]By default, reviews the currently modified files. If the working tree is clean, reviews the last commit.
Options
| Option | Description | Default |
|---|---|---|
--commits <RANGE> | VCS revision range (e.g., HEAD~3..HEAD) | auto-detect |
--reviewers <LIST> | Comma-separated reviewer types | all non-conditional |
--agent <TYPE> | Agent software for reviews | claude |
--model <MODEL> | Model override | — |
--parallel | Run reviewers in parallel | sequential |
--output-dir <DIR> | Directory for review JSON outputs | — |
Available Reviewers
| Reviewer | Focus |
|---|---|
goal-adherence | Milestone requirements match |
test-integrity | Anti-cheating, weakened assertions |
security | OWASP Top 10, injection, auth bypass |
dependency-hygiene | Version drift, package hallucinations |
architecture | Module boundaries, layering violations |
duplication | Code clones, repeated logic |
performance | Asymptotic regressions |
concurrency | Deadlocks, races |
idioms | Project style, best practices |
compatibility | Breaking changes |
corner-cases | Real-world assumptions |
accessibility | UI/TUI accessibility |
Examples
# Review current changes
ah review
# Review last 3 commits with specific reviewers
ah review --commits HEAD~3..HEAD --reviewers security,test-integrity
# Review in parallel using Codex
ah review --agent codex --parallel