skills/code-review/SKILL.md
Orchestrates plan-alignment and quality reviews using persistent or ad-hoc reviewer teammates. Use when verifying implementation matches requirements, at batch review checkpoints, before merging to main, after completing a major feature, before refactoring, after fixing a complex bug, or when a fresh perspective is needed. Spawns specialist reviewers (spec, quality, security, architecture) in parallel and consolidates findings.
npx skillsauth add shousper/claude-kit code-reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use persistent reviewer teammates (within a team) or spawn a review team (standalone) to catch issues before they cascade.
Core principle: Review early, review often. Persistent reviewers accumulate codebase knowledge.
Mandatory:
Optional but valuable:
When called from team-dev or executing-plans, reviewers are already persistent teammates.
Get the diff for review:
For uncommitted work (default during implementation):
git diff main --stat # summary of all changes
git diff main # full diff
For committed work (PR review mode):
git diff {BASE_SHA}..{HEAD_SHA} --stat
git diff {BASE_SHA}..{HEAD_SHA}
Create review tasks in the shared TaskList:
Send context via SendMessage:
Both review in parallel (read-only, no conflicts)
Act on feedback:
When no team exists, create one:
code-reviewer agent type — the agent definition provides the comprehensive review framework; code-review/code-reviewer.md provides the dispatch template with placeholders and output formatFor thorough reviews, spawn multiple specialist reviewers in parallel:
All review simultaneously. Consolidate findings.
Reviewers that persist across tasks:
Never:
If reviewer wrong:
Within team-dev: Reviewers are persistent teammates — use existing team
Standalone: Spawn code-reviewer agent type with code-review/code-reviewer.md dispatch template
Agent definition: agents/code-reviewer.md — canonical review framework (plan alignment, code quality, architecture, documentation)
Dispatch template: code-review/code-reviewer.md — context placeholders, git commands, output format
This skill's unique value is plan-alignment review (verifying implementation matches requirements and design intent) and team-based review orchestration (coordinating persistent or ad-hoc reviewer teammates). General code quality review — style, linting, best practices, vulnerability scanning — should be deferred to the official code-review and pr-review-toolkit plugins, which provide multi-agent pipelines and specialist depth purpose-built for those concerns.
development
Creates, edits, and tests Claude skill files (SKILL.md) using TDD methodology with baseline pressure testing and rationalization defense. Use when writing a new skill, modifying an existing skill, optimizing a skill description for discovery (CSO), testing whether a skill triggers correctly, or structuring skill documentation. Enforces RED-GREEN-REFACTOR for process documentation.
development
Creates detailed, bite-sized implementation plans with TDD structure, exact file paths, complete code, and test commands. Use when you have a spec, requirements, design doc, or feature request and need to plan before coding — especially for multi-step tasks, large features, or when handing off to another session. DO NOT TRIGGER when asked to write code directly or fix a simple bug.
testing
Removes git worktrees safely, cleans up associated branches, and pulls latest mainline after removal. Use when finished with a worktree, done with a branch, cleaning up after a merge or PR, abandoning work in a worktree, or when "git worktree list" shows stale entries. Checks for uncommitted changes, verifies no open PRs before branch deletion, and handles force-removal of locked worktrees.
development
Enforces fresh verification evidence before any completion or success claims. Use when about to say "done", "fixed", "tests pass", "build succeeds", or any synonym; before committing, creating PRs, or moving to the next task; before expressing satisfaction or positive statements about work state; and after agent delegation to independently verify results. Prevents unverified claims by requiring command execution, output inspection, and exit code confirmation.