Skip to content

Code review and quality plugin that spawns parallel agents to audit design, bugs, and security issues.

CCM score
58 of 100
version
1.15.2
GitHub stars
25
View on GitHub

Own this plugin? Claim it

What it does

  • Adds commands /code-review, /code-quality, /validate-findings, /advise, and /delegate-fixes for auditing and delegating fixes
  • Runs multi-agent code review scaled to change size, covering nine concerns from edge cases to idiomatic code
  • Validates each major finding independently, returning confirmed, refuted, or partially correct verdicts with file:line references
  • Provides programmer and senior-advisor agents for multi-file implementation and read-only expert consultation

Core development agents and code quality hooks

Add marketplace

/plugin marketplace add CaptainCrouton89/crouton-kit

Run it inside Claude Code once, then install the plugin below.

Install

/plugin install devcore@crouton-kit

Run it inside Claude Code after adding the marketplace.

Files

Discovered from source

Debugging Hard Bugs

Rubber Ducking

Quote code snippets and explain what each chunk should do vs actually does. Don't assume—verbalize the logic. Discrepancies reveal bugs.

Code Flow Tracing

Trace data from entry point to failure. At each transformation: what goes in, what comes out? Mark where expectations diverge.

Failure-prone boundaries: async, serialization, type coercion, null propagation, state mutations.

Hypothesis Testing

  1. List 3-5 possible causes
  2. List 3-5 assumptions you're making
  3. Test to eliminate possibilities
  4. Repeat until one remains

Don't change code hoping it helps—that creates noise.

Logging

Log at decision points and async boundaries, not everywhere.

Workflow:

  1. Add targeted logs
  2. Have user perform action and report output
  3. Diagnose and fix
  4. After user confirms fix works: remove all added logging

Agent Investigation

For complex/unfamiliar code sections acting as a blackbox:

  • Spawn an Explore agent to trace a specific code path and report back
  • Run agents in background while continuing other investigation

When stuck: Spawn 2-3 senior-advisor agents in parallel with different perspectives (pragmatist, architect, skeptic).

Avoid biasing agents: Pass them relevant file paths and the observed behavior, but not your hypotheses or assumptions. Let them form independent conclusions.

Before Fixing

  • Identified exact failing line(s)?
  • Understand why it fails?

If no, keep investigating.

Related

Readme

devcore

Core development agents and code quality commands for systematic code review, refactoring, and expert consultation.

Commands

/code-quality [path]

Audits for "design stupidisms"—code that works but doesn't make sense. Spawns parallel agents (one per top-level directory) to find:

  • Unnecessary abstraction/indirection
  • Purposeless state or config
  • Cargo-culted patterns
  • Clever-but-confusing code
  • Dead/unreachable logic
  • Overly defensive code against impossible scenarios

Returns prioritized findings table with file:line, issue description, and severity (high/med/low).

/code-quality src/

/code-review [scope|plan-path]

Multi-agent code review scaled to change size. Covers 9 concerns: edge cases, dead code, error paths, compliance, logic bugs, security, code smells, pattern consistency, idiomatic code.

Scope inference (auto-detects):

  1. Conversation changes (default)
  2. Uncommitted changes (staged + unstaged)
  3. Branch changes (commits ahead of main)
  4. Last commit (fallback)

Agent scaling:

  • Small (<10 files): 3-4 agents, each covering multiple concerns
  • Medium (10-25 files): 6-8 agents, split by concern or vertical slice
  • Large (>25 files): 8-12 agents, vertical slices + dedicated opus for bugs/security

Validation: ~1 validator per 3 issues. Opus validates bugs/security; sonnet validates compliance/smells/patterns.

Output format: High/Medium/Low signal sections with file:line references.

/code-review           # Reviews conversation changes
/code-review branch    # Reviews branch changes
/code-review commit    # Reviews last commit

/delegate-fixes [additional instructions]

Delegates fixes for issues identified in conversation. Categorizes by complexity:

  • Obvious: Single clear fix → haiku subagent (parallel, background)
  • Likely: Tradeoffs exist but one approach recommended → haiku subagent or programmer
  • Complex: Design decisions needed → discuss, optionally use senior-advisor, then delegate

For <3 changes, implements directly instead of spawning agents.

/delegate-fixes

/validate-findings [context]

Independent verification of major findings. Spawns parallel sonnet agents (one per finding) to confirm or refute. Returns validation summary: ✓ confirmed, ✗ refuted, or ⚠ partially correct.

/validate-findings

/advise <scenario>

Expert consultation mode. Spawns senior-advisor agents with different perspectives for unbiased feedback. Use when you need best practices guidance, not implementation.

/advise How should I structure this authentication system?

Agents

programmer (sonnet, blue)

Multi-file feature implementation. Analyzes patterns first, then implements. Use for:

  • Tasks involving 3+ files
  • Pattern analysis needed
  • Breaking changes for quality improvements

Throws errors early, flags false assumptions, breaks existing code for quality in pre-production.

senior-advisor (opus, orange)

Expert analysis, read-only. Launch multiple in parallel with perspectives:

  • Pragmatist: Simplest path, fastest solution
  • Architect: Long-term implications, system fit
  • Skeptic: Risks, false assumptions, edge cases

Focuses on: code quality, architecture, type safety, error handling, performance, security, hidden assumptions, pattern integration.

library-docs-writer (haiku, pink)

Compresses external library docs for LLM consumption. Focuses only on non-obvious information:

  • Exact function signatures with all parameters/types
  • Non-obvious constraints (max items, case requirements)
  • Version-specific changes/deprecations
  • Non-intuitive behaviors/gotchas

Excludes: common APIs, general patterns, obvious parameters. Saves to .claude/docs/external/[library]/[topic].docs.md.

When Agents Auto-Spawn

  • code-quality: Always spawns agents (one per directory)
  • code-review: Always spawns review agents (3-12 based on size) + validation agents
  • delegate-fixes: Spawns haiku subagents for obvious fixes, programmer for likely fixes after approval
  • validate-findings: Always spawns validation agents (one per finding)
  • advise: May spawn senior-advisor agents for complex scenarios

Manual spawning: Use Task tool with agent name (devcore:programmer, devcore:senior-advisor, etc.).

Details

Marketplace
CaptainCrouton89/crouton-kit
Source
plugins/devcore
Category
Community
Keywords
agents, code-review, quality
Listed since
Apr 7, 2026

Questions

What does the devcore plugin add to Claude Code?

devcore adds slash commands for code quality and review, including /code-quality for finding design problems, /code-review for multi-agent review of changes, /delegate-fixes, /validate-findings and /advise. It also provides the programmer, senior-advisor and library-docs-writer agents.

Which plugins lead devcore in Code Review & Quality?

devcore is in the Code Review & Quality category on Claude Marketplaces, where code-review, pr-review-toolkit, open-code-review and code-modernization are among the other top plugins. Its focus is core development agents and code quality commands for review, refactoring and expert consultation.

How do I install devcore?

Run /plugin marketplace add CaptainCrouton89/crouton-kit, then /plugin install devcore@crouton-kit inside Claude Code. The install adds the devcore commands and agents to your session.

Who is devcore for?

devcore suits developers who want systematic code review, refactoring help and expert consultation inside Claude Code. The /code-review command scales its agents to the size of the change, from small edits to large branches.

More from CaptainCrouton89/crouton-kit

All 19

Similar to devcore

More Code Review & Quality