# review-code

review-code reviews active git changes through an experienced engineering perspective. Identifies SOLID flaws, architecture issues, and security vulnerabilities.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 155 repo stars
- Author: serpro69
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/review-code/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/review-code

## What it does

The skill inspects local changes and outputs a structured assessment without altering code files unless requested. Its workflow enforces a strict order: helper protocols, profile discovery rules, and domain checklists load before the diff inspection starts. This deliberate sequence keeps the model from jumping straight to superficial assumptions based only on raw patch snippets.

Issues receive severity ratings from P0 to P3, where P0 represents critical threats that immediately halt a merge. Any systemic P0 or P1 finding is automatically stored under the `kk:review-findings` index. The tool supports standard single-thread analysis as well as an isolated review path.

Running `$kk:review-code:isolated` demands a working PAL setup that exposes client observations via `listmodels`. It spins up an independent internal reviewer and external model CLI calls to deliver an unbiased second opinion.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill review-code -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/review-code/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/review-code/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill review-code -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/review-code/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill review-code -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/review-code/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install serpro69/claude-toolbox kodex-plugin/skills/review-code
```

2. **Manually: put the files in place**
- File: `.github/skills/review-code/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add serpro69/claude-toolbox --skill review-code -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/serpro69/claude-toolbox --path kodex-plugin/skills/review-code
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/review-code/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/serpro69/claude-toolbox/tree/HEAD/kodex-plugin/skills/review-code/SKILL.md

## When to use it
- detect architecture regressions and SOLID violations in current commits
- catch critical security defects prior to merging pull requests
- run uncorrupted external code reviews using isolated agent sessions
- categorize discovered bugs across four strict severity tiers from P0 to P3

## Example prompts
- Inspect current repository diff using $kk:review-code
- Run an external multi-reviewer check with $kk:review-code:isolated
- Evaluate staged git modifications against SOLID rules and security baselines

## Similar
- [code-review-specialist](https://affpapa.org/en/nevibecode/skills/luongnv89-code-review-specialist.md) — skill · ★ 47494 repo stars
- [gilfoyle-code-review](https://affpapa.org/en/nevibecode/rules/gilfoyle-code-review.md) — rule · ★ 41430 repo stars
- [code-reviewer](https://affpapa.org/en/nevibecode/skills/code-reviewer.md) — skill · 1130 installs
- [ns-reviewer](https://affpapa.org/en/nevibecode/skills/ns-reviewer.md) — skill · 140 installs
- [code-review](https://affpapa.org/en/nevibecode/skills/donchitos-code-review.md) — skill · 678 installs
- [coding-standards](https://affpapa.org/en/nevibecode/mcp/coding-standards.md) — MCP server · ★ 5 repo stars

From the same set: [serpro69/claude-toolbox](https://affpapa.org/en/nevibecode/by/serpro69/claude-toolbox.md) — 30 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
