Code Reviewer
by Anthropic
A Claude Code skill that performs a structured review of pending changes — flags bugs, security issues, style drift, and missing tests before you commit.
/review
$ install
# Add to your project's Claude Code skills directory
mkdir -p .claude/skills
# Then create .claude/skills/code-reviewer.md with the
# frontmatter + instructions shown in the README below.
$ cat readme.md
What it does
The code-reviewer skill runs a multi-pass review of your working tree:
- Diff scan — reads
git diffand identifies the surface area of changes. - Bug check — looks for obvious logic errors, off-by-one issues, and broken edge cases.
- Security pass — flags injection risks, hardcoded secrets, and unsafe deserialization.
- Style consistency — compares against existing patterns in the codebase.
- Test coverage — notes any new code paths that lack tests.
Why use a skill instead of a prompt
Skills are reusable across sessions and projects. Once installed, /review works the same way every time without re-pasting context.