# code-review

Reviews pull requests and local diffs for bugs and convention violations using multi-agent checks. Helps uncover subtle logic flaws before merging changes.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 468 installs · ★ 543
- Author: waybarrios
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/waybarrios/opencode-power-pack/tree/HEAD/skills/code-review/SKILL.md
- Updated: 2026-10-19
- HTML: https://affpapa.org/en/nevibecode/skills/waybarrios-code-review

## What it does

The skill isolates inspected changes and freezes them before review. Repository diffs and pull request metadata count strictly as untrusted data. Secret tokens are redacted automatically. The process resolves pull request mode, commit ranges, or uncommitted local diffs.

Every review builds a scope manifest backed by file snapshots and content hashes. The skill discovers rules in `CLAUDE.md` and `AGENTS.md`, mapping them strictly to matching paths. Several roles run in parallel to detect diff defects, race conditions, and missing test coverage.

Draft and closed pull requests stop immediately without review. Trivial correct changes are skipped. Mutating the working tree during analysis invalidates file snapshots and marks coverage as incomplete. Files must remain untouched during inspection.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack --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 waybarrios/opencode-power-pack 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 waybarrios/opencode-power-pack --skill code-review -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/waybarrios/opencode-power-pack --path 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 waybarrios/opencode-power-pack --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/waybarrios/opencode-power-pack/tree/HEAD/skills/code-review/SKILL.md

## When to use it
- find logic errors across pull requests before merging
- detect race conditions and shared state issues
- enforce project rules from `CLAUDE.md` on changed files
- identify unhandled edge cases and boundary failures

## Example prompts
- Review this pull request for bugs and logic errors
- Audit all pending local changes before commit
- Inspect the recent changes against project rules

## Similar
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [check](https://affpapa.org/en/nevibecode/skills/check.md) — skill · 15800 installs
- [commit-hygiene](https://affpapa.org/en/nevibecode/skills/commit-hygiene.md) — skill · 335 installs
- [ce-code-review](https://affpapa.org/en/nevibecode/skills/ce-code-review.md) — skill · 3800 installs
- [difit-review](https://affpapa.org/en/nevibecode/skills/difit-review.md) — skill · 1900 installs
- [hunk-review](https://affpapa.org/en/nevibecode/skills/hunk-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) — 9900 installs
- [code-review · agno-agi](https://affpapa.org/en/nevibecode/skills/agno-team-code-review.md) — 472 installs
- [code-review · coderabbitai](https://affpapa.org/en/nevibecode/skills/coderabbitai-code-review.md) — 14800 installs
- [code-review · getsentry](https://affpapa.org/en/nevibecode/skills/getsentry-code-review.md) — 5500 installs

From the same set: [waybarrios/opencode-power-pack](https://affpapa.org/en/nevibecode/by/waybarrios/opencode-power-pack.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
