review
Code Review
Structured two-pass code review with Fix-First approach. Supports branch diffs, staged, and uncommitted changes. Integrates with code-quality skill standards.
Arguments
--base <branch>: Override base branch (default: auto-detect viaghormain/master)--scope <branch|staged|uncommitted>: Control what diff to review (default: auto-detect)branch: committed diff between current branch and base — requires feature branchstaged: only staged changes (git diff --cached) — useful before committinguncommitted: all working tree changes (git diff --cached+git diff)
--fix: Auto-fix mode — apply mechanical fixes without asking--report-only: Report only, no fixes--peer: Spawn a parallel Codex CLI peer review via background Agent (requirescodex-plugin-cc)- No arguments: default interactive mode (auto-fix mechanical, ask for judgment calls)
Auto-trigger rule: When the user asks to create/open/submit a PR, run /review --peer first. Address findings before proceeding with PR creation.
Step 0: Detect Review Mode and Diff
More from ahonn/dotfiles
seo-backlink-strategy
Backlink acquisition strategies. Use when: developing link building campaigns, analyzing competitor backlinks. Triggers on: 'backlinks', 'link building', 'domain authority'.
42react-best-practices
React best practices from react.dev and Vercel. Use when: (1) Reviewing React code, (2) Debugging performance issues, (3) Optimizing bundle size, (4) Writing effects or state logic. Triggers on: React performance, re-render, bundle size, waterfalls, code splitting, memo, useCallback, useMemo, useEffect, SSR flicker, initial load slow, React Compiler, state structure, immutable update, setState array object.
14rust-design-patterns
Rust idioms and design patterns for writing idiomatic code. Use when: (1) Writing new Rust code, (2) Reviewing Rust code, (3) Solving borrow checker issues, (4) Designing Rust APIs. Triggers on: Rust ownership problems, lifetime errors, API design questions, 'how to do X idiomatically in Rust'.
14comment-cleanup
Clean up code comments. Use when: improving comment quality, removing redundant comments. Triggers on: 'clean up comments', 'comment cleanup'.
12skill-creator
Guide for creating Claude skills. Use when: creating or updating skills. Triggers on: 'create skill', 'new skill', 'skill template'.
12agent-browser
Browser automation for web testing, screenshots, data extraction. Use when: navigating websites, filling forms, testing web apps. Triggers on: 'open browser', 'screenshot', 'click element'.
11