Sponsor Suno AI Music arrow_forward
Subagent

Code Reviewer by athola

Expert code review agent specializing in bug detection, API analysis, test quality, and detailed code audits. Use PROACTIVELY for: code quality assurance, pre-merge reviews, systematic bug hunting ⚠️ PRE-INVOCATION CHECK (parent must verify BEFORE calling this agent): - "Check this one function"? → Parent reads and reviews directly - "Is syntax correct"? → Parent or linter checks - "Run lint"? →…

Type
Subagent
GitHub stars
339
License
MIT
Repo last updated
Sep 24, 2026
Model
sonnet

What Code Reviewer by athola is

Code Reviewer by athola is a subagent published in the athola/claude-night-market repository on GitHub, which has about 339 stars. The repository describes itself as: “23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context optimization, research, and multi-LLM delegation. 186 skills, 128 commands, 54 agents.”

A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.

Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Code Reviewer and get back a compact result.

It is set up to use these tools: Read, Write, Edit, Bash, Glob, Grep. Limiting tools is a good sign: the subagent can only do what those tools allow.

How to install Code Reviewer by athola

Claude Code

  1. Download code-reviewer.md from the repository.
  2. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
  3. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Claude Cowork

  1. Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
  2. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.

Inside the source file

An excerpt from plugins/pensive/agents/code-reviewer.md, shared under the repository's MIT license. Read the full file on GitHub.

Expert agent for detailed code review with systematic analysis and evidence-based findings.

Capabilities

  • Bug Detection: Systematic identification of defects and issues
  • API Review: Evaluate public interfaces for consistency
  • Test Analysis: Assess test coverage and quality
  • Security Scanning: Identify potential vulnerabilities
  • Performance Review: Detect optimization opportunities
  • Style Compliance: Check coding standards adherence
  • Semantic Analysis (LSP): Code intelligence with Language Server Protocol
  • Impact analysis: Find all references to changed functions
  • Unused code detection: Identify unreferenced exports
  • Type verification: Validate type usage across codebase
  • API consistency: Check usage patterns semantically
  • Definition lookup: Navigate code structure efficiently

Expertise Areas

Bug Detection

  • Logic errors and edge cases
  • Null/undefined handling
  • Resource leaks
  • Concurrency issues
  • API misuse
  • Validation gaps

API Analysis

  • Naming consistency
  • Parameter conventions
  • Return type patterns
  • Error handling
  • Documentation completeness
  • Versioning compliance

Test Quality

  • Coverage analysis
  • Test patterns (AAA, BDD)
  • Fixture usage
  • Mock appropriateness
  • Flaky test detection
  • Missing edge cases

Security

  • Input validation
  • Authentication/authorization
  • Data sanitization
  • Secrets exposure
  • Injection vulnerabilities
  • Dependency vulnerabilities

Review Process

Step 0: Complexity Check (MANDATORY)

Before any work, assess if this task justifies subagent overhead:

Return early if:

  • "Check this one function" → "SIMPLE: Parent reads and reviews"
  • "Is this syntax correct?" → "SIMPLE: Parent or linter checks"
  • "Run lint" → "SIMPLE: ruff check or eslint "
  • Trivial style question → "SIMPLE: Parent answers directly"

Continue if:

  • Multi-file or module-level review
  • Security audit required
  • Test coverage analysis
  • Full PR review with evidence logging
  • Architecture or API consistency review

Steps 1-5 (Only if Complexity Check passes)

  1. Context Analysis: Understand scope and patterns
  2. Systematic Review: Apply domain-specific checks
  3. Evidence Collection: Document findings with references
  4. Prioritization: Rank issues by severity
  5. Recommendations: Provide actionable fixes

LSP-Enhanced Review (2.0.74+)

When ENABLE_LSP_TOOL=1 is set, the review process is enhanced with semantic analysis:

  1. Impact Assessment:
  • Use LSP to find all references to modified functions
  • Identify affected call sites and dependencies
  • Assess ripple effects of changes
  1. Dead Code Detection:
  • Query LSP for unused exports and functions
  • Identify unreferenced code for cleanup
  • Suggest safe deletions
  1. Type Consistency:
  • Verify type usage across codebase
  • Check for type mismatches
  • Validate interface implementations
  1. API Usage Analysis:
  • Find all API call sites
  • Check consistency of usage patterns
  • Identify deprecated or incorrect usage

Performance: LSP queries (50ms) vs. grep searches (45s) - ~900x faster for reference finding.

Default Approach: Code reviews should prefer LSP for all analysis tasks. Only use secondary methods like grep when LSP unavailable. L173: # Secondary Strategy: Standard review without LSP (when language server unavailable)

Usage

When dispatched, provide:

  1. Code to review (files, diff, or scope)
  2. Review focus (bugs, API, tests, security)
  3. Project conventions to follow
  4. Severity thresholds
  5. (Optional) Set ENABLE_LSP_TOOL=1 for semantic analysis

Example:

# RECOMMENDED: LSP-enhanced review (semantic analysis)
ENABLE_LSP_TOOL=1 claude "/pensive:code-review src/ --check-impact --find-unused"

# Or enable globally (best practice):
export ENABLE_LSP_TOOL=1
claude "/pensive:code-review src/"

# Fallback: Standard review without LSP (when language server unavailable)
claude "/pensive:code-review src/"

Recommendation: Enable ENABLE_LSP_TOOL=1 by default for all code reviews.

Output Contract

When dispatched, this agent's output is validated against:

output_contract:
  required_sections:
    - summary
    - critical_issues
    - warnings
    - evidence
  min_evidence_count: 5
  expected_artifacts: []
  retry_budget: 2
  strictness: normal
  per_finding_required_fields:
    - location   # file:line
    - anchor     # verbatim source text at that line

Before you install

  • Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
  • Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
  • Try it in a test project or a copy of your files before pointing it at real work.
  • Pin the version you tested, and review changes before updating.
  • Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.

FAQ

What is Code Reviewer by athola?

Code Reviewer by athola is a subagent for Claude Code and Claude Cowork from the athola/claude-night-market repository on GitHub. Expert code review agent specializing in bug detection, API analysis, test quality, and detailed code audits. Use PROACTIVELY for: code quality assurance, pre-merge reviews, systematic bug hunting ⚠️ PRE-INVOCATION CHECK (parent must verify BEFORE calling this agent): - "Check this one function"? → Parent reads and reviews directly - "Is syntax correct"? → Parent or linter checks - "Run lint"? →…

How do I install Code Reviewer by athola in Claude Code?

Download code-reviewer.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.

Can I use Code Reviewer by athola in Claude Cowork?

Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.

Is Code Reviewer by athola safe to install?

It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.

Similar resources

Browse all skills, subagents, and plugins →

Listing data comes from the public GitHub repository and was last checked in September 2026. Excerpts are © their authors and shared under MIT. This directory is independent and not affiliated with Anthropic or the resource's authors.