Perform local code reviews on workspace changes without posting to GitHub. Use for requests like /review, review this diff, audit staged changes, or check branch changes. Collects git context and produces findings-first reports with severity, file line references, risks, and test gaps.
Run a disciplined local code review on git changes with no GitHub side effects. Use this skill when the user wants a /review-style assessment of local diffs.
working, staged, or branch compare), risk analysis, and action-focused findings.gh-review-pr for that.--mode working (default)--mode staged--mode branch --base <ref> [--head <ref>]bash scripts/collect_review_context.sh --mode working
or
bash scripts/collect_review_context.sh --mode staged
or
bash scripts/collect_review_context.sh --mode branch --base origin/main
Always present sections in this order:
CRITICAL, HIGH, MEDIUM, LOW.Severity: <level>Location: <path:line>Issue: <concise problem statement>Risk: <why this matters>Recommended fix: <specific fix>Tests: <missing or required tests>If there are no meaningful findings, state that explicitly and still include residual risks and test gaps.
# Default: review working tree changes
bash scripts/collect_review_context.sh
# Review only staged changes
bash scripts/collect_review_context.sh --mode staged
# Review branch changes vs base
bash scripts/collect_review_context.sh --mode branch --base origin/main
If the harness supports command files, use commands/review.md as the canonical /review wrapper for this skill.
gh-review-pr for that)