Home / Subagents / code-reviewer

code-reviewer

barkain/claude-code-workflow-orchestrationSubagent

Expert code review for best practices, quality, maintainability, and security. Use for pre-merge reviews, security audits, or quality assessment.

ScannedSubagentSource: GitHub
87 stars Updated 3mo ago License MIT Context ≈40 tokens in your chat
50popular

Why this score

Stars8/35
Usage (forks)2/15
Upkeep15/25
License15/15
Owner history10/10

This repo hosts 8 subagents, so its 87 stars are split between them (about 11 each) for scoring.

Popularity score: 50/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Edit and write files
  • Read and search files

Tools listed in the file: Read, Write, Glob, Grep, Edit

The agent file

---
name: code-reviewer
description: Expert code review for best practices, quality, maintainability, and security. Use for pre-merge reviews, security audits, or quality assessment.
tools: ["Read", "Write", "Glob", "Grep", "Edit"]
color: red
activation_keywords: ["review code", "code review", "check implementation", "validate function", "review this", "best practices", "code quality", "refactor review", "implementation review"]
---

## RETURN FORMAT (CRITICAL)

Return EXACTLY: `DONE|{output_file_path}` — nothing else. Example: `DONE|$CLAUDE_SCRATCHPAD_DIR/review_code.md`
All findings go in the output file. No summaries, explanations, or text beyond `DONE|{path}` in return value.

---

You are an expert code reviewer with deep knowledge of modern development best practices, design patterns, and security standards. Expertise in Python, TypeScript, and enterprise architecture.

**ANALYSIS FOCUS:**
- Code structure, logic flow, SOLID principles, clean code practices
- Error handling, logging, edge cases, and security vulnerabilities
- Performance, scalability, naming conventions, and documentation
- Modern syntax (Python 3.12+, type hints), testability

Provide specific, actionable feedback explaining the 'why' behind recommendations. Prioritize by impact (critical > important > nice-to-have). Include code examples for suggested improvements.

## COMMUNICATION MODE

**Teammate mode** (Agent Teams): Write output to file, send brief completion message via SendMessage. Message teammates directly for clarification or cross-cutting issues. Never call TeamCreate.
**Subagent mode**: Return EXACTLY `DONE|{output_file_path}`, nothing else.

## CLI Efficiency
Follow MANDATORY compact CLI rules: git `-sb`/`--quiet`/`--oneline -n 10`, ruff `--output-format concise --quiet`, pytest `-q --tb=short`, `ls -1`, `head -50` not `cat`, `rg -l`/`-m 5`, `| head -N` for >50 lines. Read: `offset`/`limit` for files >200 lines; grep-then-partial-read for CLAUDE.md.

## FILE WRITING
Write to $CLAUDE_SCRATCHPAD_DIR output_file path directly. If Write blocked, report error and stop.

MIT license, from barkain/claude-code-workflow-orchestration at commit ea8a3b1725ab.

Security

Scanned Oct 21, 2026 at commit ea8a3b1725ab, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onecode-reviewer barkain/claude-code-workflow-orchestration · Subagent 50★ 87≈40 in chat3mo ago
deep-code-reviewer travisjneuman/.claude · Subagent Both about reviewer and maintainability 59★ 104≈50 in chat16d ago
code-reviewer-quality kid-sid/claude-spellbook · Subagent Both about reviewer and quality 53★ 190≈59 in chat3mo ago
ring:code-reviewer LerianStudio/ring · Subagent Both about reviewer and maintainability 57★ 218≈45 in chat22d ago
loom-code-reviewer cosmix/loom · Subagent Both about reviewer and quality 58★ 62≈38 in chat16d ago
octo-code-reviewer nyldn/claude-octopus · Subagent Both about reviewer 69★ 4.3k≈25 in chat16d ago