Skip to main content
subagent CX Codex

code-reviewer · serpro69 — Claude Code subagent: what it does, how to install

code-reviewer is a Claude Code subagent that independently evaluates git diffs for SOLID principles, architectural flaws, and security risks.

Elastic-2.0 ★ 155 updated 2026-10-29

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add serpro69/claude-toolbox
/plugin install kk@claude-toolbox
Open on GitHub

What code-reviewer does

Running on claude-opus-5-5, this subagent examines changes from an objective stance. The calling setup strips out conversation logs, debugging iterations, and implementation struggles. Instead, the agent receives only the diff manifest, scope specifications, design rationale, and predefined checklist profiles.

Its tool access is locked down to Read, Grep, Glob, and mcp__capy__capy_search. Because terminal and git execution tools are absent, it analyzes contracts and consumers purely through source inspection without running test suites directly.

The review workflow enforces strict file ordering: protocol instructions load before analyzing code diffs. Without a valid absolute path under the ## Plugin Root header, the agent halts and reports an error immediately.

What it helps with

  • evaluate git diffs against SOLID design principles
  • spot security flaws and architectural smells in pull requests
  • verify interface contracts across dependent components
  • conduct code reviews free from implementation session bias

Example prompts for the agent

  • Run the code-reviewer subagent on this pull request diff
  • Review the staged changes against our design spec using code-reviewer
  • Invoke subagent code-reviewer to check boundary contracts across consumers

How to install code-reviewer

1Plugin marketplace

/plugin marketplace add serpro69/claude-toolbox
/plugin install kk@claude-toolbox

2Manually: put the files in place

.claude/agents/code-reviewer.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about code-reviewer

How to install code-reviewer in Claude Code?

Add the repository with /plugin marketplace add serpro69/claude-toolbox and install via /plugin install kk@claude-toolbox.

What does the code-reviewer subagent do?

It performs automated structural reviews on diffs, checking behavioral contracts, SOLID conventions, and potential security regressions.

Can code-reviewer execute test suites or git commands?

No, it lacks shell access. Its environment only permits Read, Grep, Glob, and capy_search operations.

Similar subagents

All subagents for Code review and refactoring →

code-reviewer by other authors comes first.

code-reviewer official Anthropic code-reviewer reviews code changes against CLAUDE.md project rules and flags material defects. Run it before a commit or pull request. CX Codex 31,050installs code-reviewer official Anthropic The code-reviewer subagent checks code changes for bugs, security issues, and project-rule violations. Use it when a review should focus on findings that matter. CX Codex 31,050installs code-reviewer VoltAgent Community code-reviewer reviews code changes for bugs, security flaws and maintenance issues. Use it before merging complex work or auditing a project. CX Codex 31,050installs code-reviewer ChrisWiles code-reviewer — a subagent for Claude Code that checks newly written or modified code against project standards, TypeScript strict mode, and security patterns. CX Codex ★ 6,091repo stars code-reviewer Affaan Mustafa The code-reviewer subagent reviews code changes for security vulnerabilities, bugs, performance problems, and style violations. Run it immediately after writing or modifying code to catch issues before they reach production. CX Codex ★ 6,739repo stars ns-reviewer nextstage-brasil ns-reviewer grades code changes against SOLID principles, clean code patterns, performance, security, and testability. Approves only at score 10; score 9 triggers rejection. CX Codex +1 140installs adversarial-reviewer ekreloff The adversarial-reviewer skill reviews changes through Saboteur, New Hire, and Security Auditor personas. Use it before merging a PR or when Claude is too agreeable. CX Codex +1 813installs git-pr-reviewer OneWave-AI The git-pr-reviewer skill reads your branch diff and walks the changed files for bugs, security holes, performance and test gaps. Handy when you would rather not read the diff yourself. CX Codex +1 339installs general-code-reviewer Giuseppe Trisciuoglio The general-code-reviewer subagent checks code changes for bugs, security flaws, and quality problems, reporting only findings with a confidence score of at least 80. CX Codex ★ 372repo stars architect-reviewer qdhenry architect-reviewer — a Claude subagent that reads a change for architectural fit: patterns, SOLID, dependency direction. Useful after structural edits or a new service. CX Codex ★ 1,357repo stars code-review-specialist luongnv89 code-review-specialist audits pull requests and scripts for security bugs, performance bottlenecks, and maintainability. Generates a 1 to 5 rating with concrete code fixes. CX Codex +1 ★ 47,494repo stars

From the same set30

The whole set →
review-code review-code reviews active git changes through an experienced engineering perspective. Identifies SOLID flaws, architecture issues, and security vulnerabilities. CX Codex +1 ★ 155repo stars review-design review-design is a Claude Code skill that checks design documents before implementation begins. It runs after $kk:design and reviews all documents by default. CX Codex +1 ★ 155repo stars review-spec review-spec is a Claude Code skill that compares code with feature docs and reports mismatches in both directions. Run it mid-feature or after completion. CX Codex +1 ★ 155repo stars design-reviewer design-reviewer audits feature designs and implementation plans without conversational bias. Flags ambiguities, missing edge cases, and contradictions before implementation begins. CX Codex ★ 155repo stars spec-reviewer The spec-reviewer subagent checks code against design documents to find missing work, mismatches, and conflicting or unclear docs. Use it for an independent implementation review. CX Codex ★ 155repo stars eval-grader eval-grader — a grader for skill-eval assertions that returns PASS, FAIL or PARTIAL on each, with one line of evidence. Handy when a reviewer's write-up needs a verdict from something that did not produce it. CX Codex ★ 155repo stars implement This skill guides planned work and standalone fixes through implementation, verification, and code review. It selects a workflow based on the request. CX Codex +1 ★ 155repo stars kk kk — a workflow plugin that carries an AI assistant from design through review, tests and docs, with a permission guard on the side. CX Codex ★ 155repo stars

Project sponsors

Companies that keep this analytics open