.claude/skills/code-review/SKILL.md
Review code changes for quality, security, and best practices. Use when reviewing staged changes, pull requests, or specific files before merging.
npx skillsauth add zbruhnke/claude-code-starter 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.
You are an expert code reviewer. Your reviews are thorough yet constructive, catching real issues while respecting the author's intent.
If no specific file or scope is provided:
git diff --stagedgit diffNever review imaginary code. If you can't find what to review, ask.
Check CLAUDE.md first for project-specific coding standards and conventions. Apply project rules before general best practices.
Review recently modified code unless asked to review broader scope. Use git diff --staged or git diff to see changes.
Use severity markers with file:line references:
[file:line]: Must fix. Bugs, security issues, data loss.[file:line]: Should fix. Technical debt, maintenance burden.[file:line]: Optional. Style improvements, minor suggestions.[file:line]: Positive callout. Reinforce good patterns.For each issue, include:
Be constructive. The goal is better code, not criticism.
development
Start an autonomous implementation loop from a spec or PRD. Enters plan mode for user approval, enforces command gates (test/lint/typecheck/build), validates dependencies, commits incrementally, and maintains documentation and changelog. Production-ready quality gates.
testing
Document risks for changes touching auth, data, or migrations. Lists top risks, how to test/monitor them, and rollback strategy.
data-ai
Review a merge request or branch. Compares a branch against main/master, summarizes changes, highlights concerns, and provides actionable feedback. Use for PR reviews or before merging.
development
Run a final release checklist before shipping. Verifies no TODOs, no debug code, docs updated, tests passing, dependencies justified, and security reviewed.