Skill library / For developers
Claude Code skill for code review
For developers and small teams who want every review to cover the same checklist, before opening a pull request or on a teammate's branch.
A code review skill gives Claude Code a consistent checklist so every review covers the same ground, from injection risks to missing tests, and ranks findings so you fix the critical ones first.
Use this skill nowSee the SKILL.md
Answer up to 4 quick questions, add your email, and get a version written around you, ready to paste into Claude Code. Free, no account needed.
What it's good for
- Self-review before opening a PR
- Reviewing a teammate's branch locally
- Enforcing team conventions that linters can't catch
The SKILL.md file
Save as code-review/SKILL.md. It follows the open Agent Skills format.
---
name: code-review
description: "Reviews staged changes or a pull request for bugs, security issues, performance and readability, and outputs prioritised, actionable comments. Use when the user asks to review code, a diff, a PR, or says 'check my changes'."
---
# Code Review
## Workflow
1. Run git diff (or read the PR diff) to scope the change
2. Read surrounding code for context before judging a line
3. Check correctness, security, error handling, performance and tests
4. Group findings as Blocker / Should fix / Nit with file:line references
5. Suggest a concrete fix or code snippet for each Blocker
## Rules
- Don't comment on formatting a formatter would fix
- Never approve changes that lack tests for new logic without saying so
- Quote the exact line you're commenting on
How to install it in Claude Code
Unzip into .claude/skills/ in your project (or ~/.claude/skills/ for all projects) and invoke it with /skill-name.
Example
Illustrative example. This shows the kind of request and result to expect. It is not a real conversation, and your result will depend on what you give it.
You ask: “/code-review”
What you get back: A prioritised list: 1 blocker (unescaped SQL in users.ts:42) with a fix, 3 should-fix items and 2 nits.
Pro tip
Put your style guide in references/conventions.md; the skill only loads it when reviewing, so it doesn't bloat every session.
Make your own version
This prompt is a good start, but it doesn't know you. Answer a few quick questions about your situation and how you like things done, and we'll write a version that does. It appears on screen with a Copy button and setup steps for your AI, and we email you a copy. Free, up to 10 a month.
Make my own version freeQuestions
How do I run it?
Put the folder in .claude/skills/ and type /code-review, or just ask Claude Code to review your changes.
Does it nitpick formatting?
No. It skips anything a formatter would fix and groups findings as blocker, should fix or nit.
How do I install it in Claude Code?
Unzip into .claude/skills/ in your project (or ~/.claude/skills/ for all projects) and invoke it with /skill-name.
Is it free?
Yes. You can copy the prompt on this page for free, with no sign-up. If you want a version written around you, our generator is free too (up to 10 a month, no account needed): answer a few questions and we email you a copy.