No slash command · from archon-os
Investigates root causes of bugs, writes failing tests, applies minimal fixes at the source, and verifies with full test suites. Enforces 'no fix without root cause' discipline.
Ships in archon-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.
For bugs only. Features/refactors → run-orchestrator.
NO FIXES WITHOUT ROOT CAUSE. Fix at SOURCE, not symptom.
| Step | Name | Agent | Statusline |
|---|---|---|---|
| S1 | Investigate | lead (inline) — uses Read/Grep/Bash to reproduce | bugfix S1 |
| S2 | Test RED | tester — writes failing test | bugfix S2 |
| S3 | Fix GREEN | architect / frontend / mobile (per artifact, via agent-detector) | bugfix S3 |
| S4 | Verify | tester — runs full suite | bugfix S4 |
Announce per step. When transitioning, surface to the user: ─── Step S{N} · {Name} ─── Dispatching {agent}…. Also update run-state.json#current_step (one of: investigate, test-red, fix-green, verify) and #active_agent so the statusline reflects reality.
git log / git diff for recent changesrules/core/context-economy.md) — Grep for the failing symbol first, then Read with offset+limit on the matched lines only. Don't read the full file unless the bug spans it.skills/test-writer/SKILL.md#test-type-selection). If the bug is a UI / user-flow / auth / payment regression → e2e spec via Playwright MCP, not a unit test that won't actually reproduce it. If the bug is in pure logic → unit. The test must fail for the right reason.npx playwright test / npx cypress run). No regressions in either.0 tests collected = bug."Quick fix for now" / "Just try changing X" / "It's probably X" / "Seems fixed"
## Bug Fix: [Description]
**Root Cause:** [Why — traced to source]
**Test Added:** [file + test name]
**Fix Applied:** [file + change summary]
**Verification:** Tests pass, no regressions
If complex → switch to run-orchestrator.
Escalation: If the bug resists quick fix (intermittent, race condition, "works on my machine", multiple plausible causes), escalate to skills/deep-debugging/SKILL.md for scientific-method root-cause analysis.
rules/core/tdd-workflow.md — Failing test before fixrules/core/verification.md — Run tests, read output, then claimrules/core/execution-rules.md — Root-cause disciplinerules/core/simplicity-over-complexity.md — Minimal fix at root cause, no speculative refactoring during bug fixWhat SKILL.md sets; muted values are Claude Code's defaults
lownpx claudepluginhub nguyenthienthanh/archon --plugin archon-os45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./api-designerDesigns RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs./chain-of-verificationDraft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in reports and reviews. MANDATORY for Phase 4 security/test claims. Paper: Dhuliawala et al. 2023./code-mapReverse-dependency lookup — "I am about to change this file, what breaks?" Use when assessing the blast radius of an edit, finding every importer of a module (including the ones that never name it), or checking what the startup code-map digest was derived from. Not for finding text: grep is better at that./code-reviewer8-aspect evidence-based code review/audit (security, correctness, compatibility, architecture, error handling, test gaps, type safety, simplicity) built on Google eng-practices, OWASP Top 10:2025, CWE Top 25, SemVer. Every finding needs file:line + a concrete failure scenario. Use when the user asks to review/audit code, check a PR, review before merge, in TDD Phase 4, via /check review or /run review./code-simplifierDetect and simplify overly complex code. Apply KISS principle - less is more.Other plugins' skills for the same job