From superpowers-ccg
Use when encountering any bug, test failure, or unexpected behaviour, before proposing fixes. Covers root-cause investigation, hypothesis testing, and fixing at the source.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers-ccg:systematic-debuggingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Find the root cause before touching anything. Random fixes waste time and create
Find the root cause before touching anything. Random fixes waste time and create
new bugs; symptom patches mask the real defect. Routing and gates live in
coordinating-multi-model-work — load it first.
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
You cannot propose a fix until Phase 1 is complete. Violating the letter of this process violates the spirit of debugging. Systematic is faster than guess-and-check thrashing — especially under time pressure.
git diff, new deps, config). In multi-component systems, add
diagnostic logging at each boundary and run once to see where it breaks.
Trace the bad value backward to its source.test-driven-development). Apply one fix. Verify the test passes and nothing
else broke. No bundled "while I'm here" changes.3+ failed fixes ⇒ STOP. Each fix revealing a new problem elsewhere means the architecture is wrong, not the hypothesis. Question fundamentals and ask the user before attempting fix #4.
coordinating-multi-model-work; unclear or full-stack failure → Cross-Validation to localise the failing layer first.| Excuse | Reality |
|---|---|
| "Issue is simple, skip the process" | Simple bugs have root causes too; the process is fast for them. |
| "Emergency, no time" | Systematic is faster than thrashing — 95% vs 40% first-fix rate. |
| "Try this first, investigate later" | The first fix sets the pattern. Do it right from the start. |
| "Multiple fixes at once saves time" | Can't isolate what worked; causes new bugs. |
| "Reference too long, I'll adapt it" | Partial understanding guarantees bugs. Read it fully. |
| "I see the problem" | Seeing the symptom ≠ understanding the root cause. |
skills/coordinating-multi-model-work/SKILL.md — routing, Cross-Validation, gates.skills/test-driven-development/SKILL.md — Phase 4: failing test before the fix.skills/verifying-before-completion/SKILL.md — verify the fix with fresh evidence.npx claudepluginhub sitien173/superpowers-ccg --plugin superpowers-ccgCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.