# Code review expert

> Code review expert is an open-source agent skill for developer tools. Gives your agent a senior-engineer checklist for reviewing diffs, PRs and branches. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/kevinlin/skills/tree/main/code-review-expert
- **Repository:** https://github.com/kevinlin/skills
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** code-review-expert
- **Collection:** https://github.com/kevinlin/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill has the agent review code changes the way a senior engineer would, covering correctness, security, performance, error handling, testing gaps and breaking API changes. It scales the review to the size of the change: a small fix gets a focused pass, while a large branch is summarized by module first and then examined in its riskiest areas.

The workflow starts by scoping the diff with git, using unstaged and staged changes by default, or a target branch or commit range when named. The agent then loads one of several reference checklists (security, SOLID design, code quality) only when the change calls for it. Findings are grouped into four severity levels from critical to low, with file references and suggested fixes, followed by a testing-gaps section.

The skill is review-only by design. After presenting findings it asks whether to fix everything, only the critical and high items, or specific ones, and it makes no edits until the user confirms. It expects a git repository and relies on the agent's search tools to find callers and related contracts.

## When your agent uses it

> Expert code review with a senior engineer lens — covers architecture, SOLID principles, security vulnerabilities, performance, error handling, testing gaps, and API contract changes. Use this skill whenever the user asks to review code, check changes, audit a diff, look over a PR, find bugs in their work, or wants feedback on code quality. Also trigger when the user says things like 'review my changes', 'check this before I push', 'what do you think of this code', 'any issues with this?', 'code review', 'look this over', or 'is this ready to merge'. Works with any programming language and any size of change.

## What it can access

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

- [Instructions only, no scripts](https://github.com/kevinlin/skills/tree/HEAD/code-review-expert)
- [License: MIT](https://github.com/kevinlin/skills/tree/HEAD/code-review-expert)

## Features

- **Scoped diff review:** Reads unstaged, staged, branch or commit-range changes and adjusts depth to the size of the change.
- **Severity-ranked findings:** Groups issues into four levels from critical to low, each with a location and suggested fix.
- **Security checklist:** Checks injection, XSS, SSRF, path traversal, auth gaps, secrets exposure and race conditions.
- **SOLID design checks:** Flags structural problems and speculative abstractions when classes or modules are restructured.
- **Testing and contract review:** Looks for missing tests, weak assertions, breaking API changes and backwards-compatibility risks.
- **Review-first workflow:** Presents findings and waits for confirmation before changing any code.

## Good for

- Review my unstaged changes before I commit
- Check this branch against main before I open a pull request
- Audit my auth changes for security problems
- Tell me whether this change is ready to merge
- Look over this diff for bugs and missing tests

## Install

### Claude Code

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

```sh
/plugin marketplace add kevinlin/skills
/plugin install ai-sdlc-skills@ai-sdlc
```

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

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/code-review-expert` 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/kevinlin/skills.git --path code-review-expert
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/kevinlin/skills.git
```

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

## FAQ

### What does the skill need to run?

It works from git diffs, so the project should be a git repository. It can also review specific files or a commit range when the user names them.

### Does Code review expert change my code?

No. It is review-only and asks how to proceed after listing findings. It only implements fixes if you explicitly confirm.

### Which languages does Code review expert support?

The skill states it works with any programming language and any size of change.

### When does Code review expert trigger?

It triggers when you ask for a code review, a diff audit, a PR look-over, bug finding in your work, or whether code is ready to merge.

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

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

### Does Code review expert 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 expert?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

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

The closest alternatives to Code review expert are Differential review, Find bugs, Review, Code review and Project review.

## Where this comes from

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

## Alternatives

- [Differential review](https://ai-powered.com/skills/differential-review): Differential review is an open-source agent skill for security.
- [Find bugs](https://ai-powered.com/skills/find-bugs): Find bugs is an open-source agent skill for security.
- [Review](https://ai-powered.com/skills/review-jasgujral): 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.
- [Project review](https://ai-powered.com/skills/project-review): Project review is an open-source agent skill for developer tools.
- [PR review](https://ai-powered.com/skills/pr-review): PR review is an open-source agent skill for developer tools.
- [Code review](https://ai-powered.com/skills/code-review-flutter): Code review is an open-source agent skill for developer tools.
- [Run by experts](https://ai-powered.com/skills/run-by-experts): Run by experts is an open-source agent skill for developer tools.

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