code-review
Review code changes with security, correctness, and style checklist. Use for PR review, diff review, or /code-review.
by HenriGrimm★ 25 GitHub stars
Install code-review in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Code review
When to use
- User shares a diff, file path, or asks for review before merge
- After implementing a feature, when they want a second pass
Steps
- Gather context:
git_diff(staged or range), orread_file/read_file_rangefor named paths. - Summarize intent of the change in 2–3 sentences before nitpicks.
- Walk this checklist:
Correctness
- Logic matches stated requirements; edge cases (null, empty, errors)
- No obvious race or async mistakes
- API contracts and types consistent
Security
- Input validation on external data
- No SQL/command injection; paths resolved safely
- Secrets not logged or committed
Style & maintainability
- Matches project conventions (naming, structure)
- Functions focused; duplication avoided
- Tests updated when behavior changes
- Prioritize findings: blocker → should fix → nit
- Suggest concrete fixes (snippet or file/line), not vague "consider refactoring"
Output format
## Summary
…
## Blockers
- …
## Suggestions
- …
## Nits
- …
Tools
git_diff, read_file, read_file_range, search_in_file, list_directory
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the code-review skill do?
Review code changes with security, correctness, and style checklist. Use for PR review, diff review, or /code-review.
How do I install the code-review skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the code-review skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…