Command Palette

Search for a command to run...

Back to skills
skill № 64952

code-review

Review code changes with security, correctness, and style checklist. Use for PR review, diff review, or /code-review.

FreeNo executable scripts
HenriGrimmby 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
Sign up freeI already have an account

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

  1. Gather context: git_diff (staged or range), or read_file / read_file_range for named paths.
  2. Summarize intent of the change in 2–3 sentences before nitpicks.
  3. 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
  1. Prioritize findings: blocker → should fix → nit
  2. 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

Compare code-review with