# code-review

code-review scans code changes for logic bugs, security vulnerabilities, and resource leaks. Works on a single PR, branch, or local diff in one pass.

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

## What it does

The skill examines diffs and catches critical problems: auth bypass, injection, data exposure, race conditions, panics, and unhandled errors. It reads full context — related files in the repo, project patterns — before flagging anything. Spots logic errors, nil/null handling bugs, missing error checks.

For large PRs spanning multiple subsystems, use the deep-review skill instead. Results are marked by severity: CRITICAL (crash, auth failure, data loss), IMPORTANT (logic bugs, leaks), NITPICK (style). It skips code matching the project's style guide and avoids speculation — only facts count.

## Install

### Claude Code (native platform)

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

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

### Codex

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

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

### Cursor

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

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install coder/coder .claude/skills/code-review
```

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

### Gemini CLI

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

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

### Windsurf (Devin Desktop)

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

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add coder/coder --skill code-review -a opencode
```

### 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/coder/coder/tree/HEAD/.claude/skills/code-review/SKILL.md

## When to use it
- catch auth bypass and access control flaws
- spot race conditions and deadlocks in concurrent code
- find resource leaks and unclosed file handles
- verify error handling and panic paths
- detect logic bugs and off-by-one errors

## Example prompts
- Review PR #1234 for bugs and security issues
- Run code review on the branch before merging to main
- Check local diff against main for correctness problems

## Similar
- [Code Review Assistant for Bug Detection](https://affpapa.org/en/nevibecode/prompts/code-review-assistant-for-bug-detection.md) — prompt · ★ 178201 repo stars
- [verification](https://affpapa.org/en/nevibecode/skills/aurite-ai-verification.md) — skill · ★ 44 repo stars
- [go-testing-code-review](https://affpapa.org/en/nevibecode/skills/go-testing-code-review.md) — skill · 148 installs
- [security-best-practices](https://affpapa.org/en/nevibecode/skills/githubcomopenaiskills-security-best-practices.md) — skill · 390 installs
- [nushell-pro](https://affpapa.org/en/nevibecode/skills/nushell-pro.md) — skill · 2800 installs
- [go-code-review](https://affpapa.org/en/nevibecode/skills/go-code-review.md) — skill · 1800 installs

## Other versions with the same name
- [code-review · mattpocock](https://affpapa.org/en/nevibecode/skills/code-review.md) — 789521 installs
- [code-review · anthropics](https://affpapa.org/en/nevibecode/skills/anthropics-code-review.md) — 10300 installs
- [code-review · agno-agi](https://affpapa.org/en/nevibecode/skills/agno-team-code-review.md) — 478 installs
- [code-review · vectorize-io](https://affpapa.org/en/nevibecode/skills/vectorize-io-code-review.md) — 178 installs
- [code-review · coderabbitai](https://affpapa.org/en/nevibecode/skills/coderabbitai-code-review.md) — 16700 installs

From the same set: [coder/coder](https://affpapa.org/en/nevibecode/by/coder/coder.md) — 2 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
