/claude-skills:code-reviewfrom claude-skills
Reviews code changes against project conventions (CLAUDE.md) and best practices. Supports diffs, staged changes, PRs, files, and branch comparisons.
Ships in claude-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
<essential_principles>
Code review should be:
</essential_principles>
What would you like to review?
git diff)git diff --staged)Enter your choice or describe what you want reviewed:
| Response Pattern | Workflow |
|---|---|
| "1", "current", "diff", "changes" | workflows/review-diff.md |
| "2", "staged" | workflows/review-staged.md |
| "3", "pr", "#\d+", "pull request" | workflows/review-pr.md |
| "4", "file", specific filepath | workflows/review-file.md |
| "5", "branch", "compare" | workflows/review-branch.md |
<reference_index>
</reference_index>
<workflows_index>
</workflows_index>
<scripts_index>
Optional helper scripts for code review tasks:
Usage:
# Get diff
./scripts/get-diff.sh [unstaged|staged|branch] [branch-name]
# Check test coverage
./scripts/check-tests.sh [unstaged|staged]
# Generate report template
./scripts/format-report.sh "Feature Name"
</scripts_index>
references/common-issues.md (opens in a new tab)references/review-checklist.md (opens in a new tab)scripts/check-tests.sh (opens in a new tab)scripts/format-report.sh (opens in a new tab)scripts/get-diff.sh (opens in a new tab)workflows/review-branch.md (opens in a new tab)workflows/review-diff.md (opens in a new tab)workflows/review-file.md (opens in a new tab)workflows/review-pr.md (opens in a new tab)workflows/review-staged.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: hooks: PreToolUse/PermissionRequest hooks are declared at the top level outside "hooks" (or under an unrecognized key) — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
.claude-plugin/plugin.json: hooks: PreToolUse/PermissionRequest hooks are declared at the top level outside "hooks" (or under an unrecognized key) — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.