Review code changes using specialized agents
Reviews code changes using specialized agents for bugs, security, and compliance.
/plugin marketplace add adeonir/claude-code-stuff/plugin install git-helpers@claude-code-stuff[base-branch] [--comment]Review code changes using code-reviewer and guidelines-auditor agents.
base-branch: Compare against specified base branch--comment: Post review as PR comment via gh cli/git-helpers:code-review # Terminal output, ask to save
/git-helpers:code-review main # Compare against main
/git-helpers:code-review --comment # Post to PR via gh
Parse arguments:
--comment flag is presentDetermine base branch:
development -> develop -> main -> master)Detect review mode:
git status --porcelain to check for uncommitted changesGet modified files and diff:
git diff --name-only + git diff --cached --name-onlygit diff + git diff --cachedgit diff $BASE...HEAD --name-onlygit diff $BASE...HEADLaunch agents in parallel:
code-reviewer: Bug detection, security, performanceguidelines-auditor: CLAUDE.md compliance checkingCombine results and output:
--comment: Post combined review to PR via gh pr commentCODE_REVIEW.md# Code Review: {branch-name}
Reviewed against `{base-branch}` | {date}
## Issues
Only issues with confidence >= 80 are reported.
- **[{score}] [{file}:{line}]** Issue description
- Why it's a problem and how to fix
## CLAUDE.md Compliance
- **[{score}] [{file}:{line}]** Guideline violation
- Which guideline and how to fix
## Summary
X files | Y issues | Z compliance findings