No slash command · from dev
Guides root-cause debugging through reproduce, localize, explain, and verify phases. Includes technique catalogue for stack traces, wolf fence, and data-flow tracing. Use when anything errors, crashes, or misbehaves.
Ships in dev. 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.
Read when SKILL.md points to them.
One entry point for finding why code is wrong. Read the section you need; each links to a sibling file with the full detail.
No fix without a root cause. If you cannot say which line produces the wrong value and why, you are guessing. A guess that happens to work is a latent bug — it will come back wearing different symptoms.
Red flags that you have skipped the diagnosis: changing code to "see if it helps", adding defensive checks around a symptom, fixing the same area twice, or being unable to explain why the fix works.
| Situation | Do this |
|---|---|
| Obvious cause, one file, low risk | Fix inline. No ceremony. |
| Needs investigation, unclear origin | Follow workflow.md |
| Production-critical, intermittent, or uncertain | Run /dev:fix — full TDD with review gates |
/dev:debug routes between these three for you.
localization.md.Full walkthrough with output schemas: workflow.md.
| File | Contents |
|---|---|
method.md | Principles, red flags, hypothesis discipline, strategies by problem type (performance, intermittent, regression, integration) |
workflow.md | The phase-by-phase standard workflow with report schemas |
localization.md | Three fault-localization strategies — stack-trace grep, BM25 keyword search, AST context expansion — plus context-budget rules and the large-codebase path |
session-setup.md | Session directory layout, stack detection, reproduction capture, bug-report schema. Shared by /dev:debug and /dev:fix. |
references/techniques.md | The technique catalogue — stack-trace reading, error categories, wolf fence, data-flow tracing, logging, breakpoints, plus browser and Node.js specifics |
Read references/techniques.md in the Localize phase, when you know which phase you
are in and need the concrete move. It is a catalogue, not a method — reading it first
invites picking a technique before you have a hypothesis.
${CLAUDE_PLUGIN_ROOT}/skills/frontend/browser-debugging/SKILL.md (hidden from the Skill tool; the file read works)dev:test-driven-development — writing the failing test that pins the bugWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub madappgang/magus --plugin dev19 skills in this plugin
/aggregate-reviewsMerges independent reviews of one target into one report with a consensus tag per finding and a verdict from supplied thresholds; also synthesises research findings. Use when several reviews or votes must become one file a gate reads./architectureRouter for architecture knowledge — 7 architectural styles (layered, hexagonal, clean, modular monolith, microservices, event-driven, CQRS) and the 22 GoF design patterns. Names which file to read; loads none of them./brainstormingExplores solution approaches in parallel across models through claudish, then has an external panel review the chosen plan. Use when the direction is open, or the user asks to brainstorm or compare approaches.Other plugins' skills for the same job