# code-reviewer-pro

code-reviewer-pro — a Claude Code subagent that reviews code for quality, security and best practices. Runs right after you write or modify code.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 1357 repo stars
- Author: qdhenry
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/agents/quality-testing/code-reviewer.md
- Updated: 2026-03-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/code-reviewer-pro

## What it does

The subagent checks readability, testability, architectural consistency and performance. Acts as a senior engineer: finds vulnerabilities, evaluates test coverage, checks SOLID compliance and explains why a suggested change improves the code. Uses Context7 to look up standards and patterns, Sequential Thinking for systematic analysis.

Output is a terminal report with counts of critical and non-critical findings. Without the `haiku` model in the agent config, reviews will be slow or time out on large diffs.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/code-reviewer.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/code-reviewer.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/code-reviewer.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/agents/quality-testing/code-reviewer.md

## When to use it
- check code for SQL injection, XSS and leaked secrets
- evaluate test coverage for new features
- find duplicated logic and SRP violations
- identify N+1 queries and inefficient loops
- verify UI code meets WCAG accessibility standards

## Example prompts
- Review the last commit for security and quality issues
- Check `auth.ts` and `user-service.ts` for code quality
- Review changes in `api/orders` — I added a new endpoint there

## Similar
- [code-reviewer](https://affpapa.org/en/nevibecode/skills/httpsgithubcomjeffallan-code-reviewer.md) — skill · 7100 installs
- [multi-reviewer-patterns](https://affpapa.org/en/nevibecode/skills/multi-reviewer-patterns.md) — skill · 9800 installs
- [team-reviewer](https://affpapa.org/en/nevibecode/agents/team-reviewer.md) — subagent · ★ 42780 repo stars
- [reviewer](https://affpapa.org/en/nevibecode/agents/voltagent-reviewer.md) — subagent · ★ 6505 repo stars
- [code_reviewer](https://affpapa.org/en/nevibecode/agents/agenticorglab-code-reviewer.md) — subagent · ★ 776 repo stars
- [phase-10b-durable-timeline-re-reviewer](https://affpapa.org/en/nevibecode/prompts/phase-10b-durable-timeline-re-reviewer.md) — prompt · ★ 1497 repo stars

From the same set: [qdhenry/claude-command-suite](https://affpapa.org/en/nevibecode/by/qdhenry/claude-command-suite.md) — 112 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
