Skip to main content

Skill

Code Review Skill

Automated diff analysis that catches bugs, security issues, and code quality problems before merging

Community Skill Beginner

By The Codegen Team · Updated June 2026

What does Code Review Skill do?

The code review skill analyzes your current diff against the base branch and flags bugs, security vulnerabilities, and style violations with file and line references. It runs multiple review agents in parallel, each focused on a different class of issue, then deduplicates and ranks findings by severity before presenting results.

Claude Code ships with a bundled /code-review command that works immediately. The official code-review plugin extends this with GitHub PR commenting through the gh CLI. Community implementations like awesome-skills/code-review-skill add language-specific checklists for 20+ frameworks with progressive loading that keeps context usage low.

The skill works best as a pre-merge check on feature branches. It catches the mechanical issues that slow down human reviewers, from missing error handling to hardcoded credentials. For architectural and business logic concerns, you still need a human reviewer.

How do you install Code Review Skill?

Get Code Review Skill at the source

View at source

Community asset documented by Codegen. The canonical source is the link above.

From the project's docs

terminal
# The /code-review command is built into Claude Code. No install needed.

# For the enhanced community version with language-specific review guides:
git clone https://github.com/awesome-skills/code-review-skill.git ~/.claude/skills/code-review

# Or install to project scope only:
git clone https://github.com/awesome-skills/code-review-skill.git .claude/skills/code-review

Built-in Skill (No Install)

The /code-review command ships with Claude Code and is available in every session. Start a session in any project with uncommitted changes and run /code-review to use it immediately.

Enhanced Community Version

The community-maintained code-review-skill adds language-specific review guides for React, Vue, Rust, TypeScript, Python, Go, and 15 other frameworks. These guides load progressively, so they only consume context tokens when the skill detects the relevant language in your diff. Clone it into your personal skills directory for global access, or into your project’s .claude/skills/ for project-scoped use.

Verify the install by starting a new Claude Code session and running /skills to confirm code-review appears in the list.

Prerequisites

Claude Code installed and authenticated. For the community version, git available in your terminal. No other dependencies required.

What does it look like in use?

terminal
# Run a basic review on your current branch:
/code-review

# Sample output:
## Code Review Results

### Critical (2)
1. src/api/auth.ts:42 - SQL injection: user input concatenated into query string
2. src/utils/config.ts:18 - Hardcoded API key in source code

### Warning (3)
1. src/components/Dashboard.tsx:89 - Unused variable 'isLoading'
2. src/hooks/useAuth.ts:34 - Missing error handling in async function
3. src/api/users.ts:67 - N+1 query pattern inside loop

### Suggestion (1)
1. src/utils/helpers.ts:12 - 'formatDate' duplicates logic from 'parseTimestamp'

# Run with auto-fix applied:
/code-review --fix

# Post findings as inline PR comments on GitHub:
/code-review --comment

Which tools does it work with?

What does it not do?

  • Does not catch architectural problems, business logic errors, or performance bottlenecks that require understanding the broader system. For architectural review, use plan mode to evaluate design decisions before writing code, or pair with a human reviewer.

    False positive rate increases on large diffs over 500 lines. For monorepo-scale changes, break the diff into smaller PRs or raise the confidence threshold from the default 80 to 90 in the command configuration.

Used by these agents

Learn more

Frequently Asked Questions

Build faster with AI agents

Assemble skills, rules, and MCP servers into agents that run on every commit. ClickUp is where the output they ship gets tracked and managed.

Get Started →