Skip to Content

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

OptionDescriptionDefault
--commits <RANGE>VCS revision range (e.g., HEAD~3..HEAD)auto-detect
--reviewers <LIST>Comma-separated reviewer typesall non-conditional
--agent <TYPE>Agent software for reviewsclaude
--model <MODEL>Model override
--parallelRun reviewers in parallelsequential
--output-dir <DIR>Directory for review JSON outputs

Available Reviewers

ReviewerFocus
goal-adherenceMilestone requirements match
test-integrityAnti-cheating, weakened assertions
securityOWASP Top 10, injection, auth bypass
dependency-hygieneVersion drift, package hallucinations
architectureModule boundaries, layering violations
duplicationCode clones, repeated logic
performanceAsymptotic regressions
concurrencyDeadlocks, races
idiomsProject style, best practices
compatibilityBreaking changes
corner-casesReal-world assumptions
accessibilityUI/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