From code-review-tools
Review commits from a starting commit hash to HEAD. Use when user says "review commits from <hash>", "code review starting from <hash>", "review changes since <hash>", or provides a commit hash for review. Detects AI slop, component issues, and missed reuse opportunities.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-review-tools:code-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review changes from a starting commit hash to HEAD, analyzing each commit individually like a human code reviewer would on a merge request.
Review changes from a starting commit hash to HEAD, analyzing each commit individually like a human code reviewer would on a merge request.
Provide a commit hash to start the review from. The review will analyze all commits from that hash to HEAD.
Follow Google's Code Review Standards:
Philosophy: Code should improve overall code health, even if not perfect. Balance forward progress with quality.
Run the CLI to collect commit metadata:
python3 ./scripts/cli.py prepare "<provided-commit-hash>"
Output is in TOON format (Token-Oriented Object Notation) for efficient LLM processing:
commits[2]{hash,author,date,subject,body,filesChanged}:
abc1234...,Alice,2025-01-15,Add new feature,null,3
def5678...,Bob,2025-01-14,Fix bug in parser,null,1
commitList[2]: abc1234...,def5678...
branch: feature-branch
commitRange: abc123^..HEAD
totalCommits: 2
Parse the commits array from the CLI output and display a table:
| # | Commit | Message | Files |
|---|---|---|---|
| 1 | abc1234 | Add new feature | 3 |
| 2 | def5678 | Fix bug in parser | 1 |
Use AskUserQuestion to ask which commits to review:
Read all rules from references/:
For each commit in commitList:
python3 ./scripts/cli.py get-diff <commit-hash>Issue Structure:
issues[2]{file,startLine,endLine,category,icon,severity,description,suggestion}:
path/to/file.tsx,42,45,AI Slop,🧹,medium,Brief actionable description,Remove unnecessary comment
src/utils/helper.ts,18,22,Component Reuse,♻️,low,Existing utility available,Use shared/utils
Severity Guidelines:
high: Bugs, security issues, broken functionalitymedium: Design problems, complexity issues, missing testslow: Style issues, suggestions, minor improvementsAfter reviewing all commits:
Read assets/summary-template.md and fill in the values:
| Variable | Description |
|---|---|
{commitRange} | Git commit range (e.g., abc123^..HEAD) |
{commits} | Total number of commits reviewed |
{files} | Total number of files changed |
{issues} | Total number of issues found |
{humanReviewTime} | Estimated human review time (2 min per 100 lines) |
{dedupLine} | Deduplication info or empty string |
{topIssues} | List of top issue categories with counts |
{recommendations} | List of key actionable recommendations |
Output the formatted summary.
npx claudepluginhub retsohuang/retso-marketplace --plugin code-review-toolsReviews git changes with evidence-backed findings and risk-aware verdicts. Supports commit, range, file-scoped analysis, impact assessment, breaking-change detection.
Reviews recent git diffs and commits with brutal honesty before PRs, spotting 2am logic flaws, copy-paste artifacts, debug leftovers, hacks, and poor naming.
Reviews code changes between git commits or branches for security vulnerabilities, logic bugs, performance issues, and style inconsistencies.