# Code review

> Code review is an open-source agent skill for developer tools. Reviews code changes for correctness, security, errors, maintainability and performance. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/nexadevapp/nexa-claude-skills-marketplace/tree/main/nexa-claude-core/skills/code-review
- **Repository:** https://github.com/nexadevapp/nexa-claude-skills-marketplace
- **GitHub stars:** 7
- **License:** Apache-2.0
- **Skill name:** code-review
- **Collection:** https://github.com/nexadevapp/nexa-claude-skills-marketplace
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill asks the agent to review code changes from an independent standpoint, judging the code by what is actually written rather than by intent or by whether it compiles and tests pass. It can target a specific use case or technical task ID, a free-form description, or by default all uncommitted changes.

The workflow has the agent determine the scope using git diff, read each changed file in full for context, compare against existing codebase conventions, and check five dimensions in priority order: correctness, security, error handling, maintainability and performance. Where a spec is referenced, the agent reads it from the project's docs folders to verify the logic matches.

The output is a structured report with a summary, findings grouped as critical, important or minor with file and line references, and a closing checklist. The skill expects a git repository and a docs layout with use case and technical task folders when those IDs are used.

## When your agent uses it

> Reviews code changes for quality, correctness, security, and maintainability with an independent perspective. Use when the user asks to "review the code", "check my changes", "review the implementation", or mentions code review, PR review, or quality check.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/nexadevapp/nexa-claude-skills-marketplace/tree/HEAD/nexa-claude-core/skills/code-review)
- [License: Apache-2.0](https://github.com/nexadevapp/nexa-claude-skills-marketplace/tree/HEAD/nexa-claude-core/skills/code-review)

## Features

- **Correctness checks:** Compares logic against the referenced specification and looks for edge cases, null paths and race conditions.
- **Security review:** Checks input validation, injection risks, hard-coded secrets, authorization and sensitive data exposure.
- **Error handling review:** Verifies errors are caught at the right level, reported clearly and not silently swallowed.
- **Maintainability assessment:** Looks at readability, naming consistency, unnecessary complexity and duplicated logic.
- **Performance scan:** Flags likely N+1 queries, missing pagination, unbounded fetches and costly hot-path operations.
- **Structured review report:** Produces a summary, severity-grouped findings with file references and a merge checklist.

## Good for

- Review my uncommitted changes before I commit
- Check the implementation for task TT-042 against its spec
- Do a security pass on my recent pull request
- Look over this feature for error handling gaps
- Give me a quality check on the code I just wrote

## Install

### Claude Code

This skill ships in the `nexa-claude-core` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add nexadevapp/nexa-claude-skills-marketplace
/plugin install nexa-claude-core@nexa-claude-marketplace
```

Or copy only this skill to `~/.claude/skills/code-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-review &&
cp -R "$tmp/nexa-claude-core/skills/code-review" ~/.claude/skills/code-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/code-review` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/code-review` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-review &&
cp -R "$tmp/nexa-claude-core/skills/code-review" ~/.agents/skills/code-review &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/code-review` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/code-review` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-review &&
cp -R "$tmp/nexa-claude-core/skills/code-review" ~/.cursor/skills/code-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/code-review` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/nexadevapp/nexa-claude-skills-marketplace.git --path nexa-claude-core/skills/code-review
```

Or copy the folder to `~/.gemini/skills/code-review` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/code-review`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-review &&
cp -R "$tmp/nexa-claude-core/skills/code-review" ~/.copilot/skills/code-review &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/code-review` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git
```

Then copy `nexa-claude-skills-marketplace/nexa-claude-core/skills/code-review` into your agent's skills folder as `code-review`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It works on git changes, so the project needs to be a git repository. For use case or technical task IDs it reads specifications from docs/use_cases or docs/technical_tasks.

### How does Code review decide what to review?

With no argument it reviews all uncommitted changes. It runs git diff, or git diff HEAD~1 when changes are already committed, and reads each changed file in full.

### Does Code review change my code?

The skill produces a review report with findings and suggested fixes. Its instructions do not direct it to edit files.

### Does Code review trigger on specific phrases?

Yes, it is meant to activate when you ask to review the code, check your changes, review the implementation, or mention code review, PR review or a quality check.

### How do I install Code review in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-review to use it in all your projects, or to .claude/skills/code-review in one project. Or install the nexa-claude-core plugin, which includes it: /plugin marketplace add nexadevapp/nexa-claude-skills-marketplace, then /plugin install nexa-claude-core@nexa-claude-marketplace.

### Does Code review run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Code review?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Code review?

The closest alternatives to Code review are Code review and quality, Code review expert, Project review, Code review and quality and Code review.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Code review and quality](https://ai-powered.com/skills/code-review-and-quality): Code review and quality is an open-source agent skill for developer tools.
- [Code review expert](https://ai-powered.com/skills/code-review-expert): Code review expert is an open-source agent skill for developer tools.
- [Project review](https://ai-powered.com/skills/project-review): Project review is an open-source agent skill for developer tools.
- [Code review and quality](https://ai-powered.com/skills/code-review-and-quality-ajyadav013): Code review and quality is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-kripu77): Code review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-kzytateishi): Code review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-getsentry): Code review is an open-source agent skill for developer tools.
- [Code review edho ferdian](https://ai-powered.com/skills/code-review-edho-ferdian): Code review edho ferdian is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/code-review-nexadevapp
