From Claude Starter Kit
Root-cause a bug before touching a fix: reproduce, isolate, form and test a hypothesis, confirm the cause, then fix and verify. Stops guess-driven patching. For persistent, intermittent, or "already tried a few things" bugs. Trigger phrases: "debug", "root cause", "why is this failing", "intermittent bug", "can't reproduce", "still broken"
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-starter-kit:systematic-debuggingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
One rule holds the whole skill together: **no fix without a confirmed root cause.** A patch that makes the symptom
One rule holds the whole skill together: no fix without a confirmed root cause. A patch that makes the symptom disappear without a proven cause is not a fix — it's a coin flip that hides the bug until it returns somewhere worse. This skill is the discipline that turns "try things until it works" into "understand, then change one thing."
Kit adaptation (local, .claude/): Distinct from
iterate(a self-correction loop over a task) andreflect(meta-review of an approach) — this skill is for a defect. §4 Prohibitions apply; a fix still goes through the project's review/test gates. Don't disable a test or a gate to make a symptom pass (that is masking, not fixing).
references/techniques.md (intermittent/heisenbug).try/catch, a null-guard, a retry that swallows the failure without explaining it.Bisecting (git + input + system), instrumentation vs. debugger, intermittent/heisenbugs (timing, state, ordering,
resource), the hypothesis log, and when to stop and ask for a second pair of eyes: references/techniques.md.
npx claudepluginhub byerlikaya/claude-starter-kit --plugin claude-starter-kitSystematic root-cause debugging with verification. Use for errors, stack traces, broken tests, flaky tests, regressions, or anything not working as expected. For validating bug reports before fixing, use bug-reproduction-validator agent.
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Enforces systematic root cause investigation for bugs, test failures, and unexpected behavior through four phases: investigation, pattern analysis, hypothesis testing, and implementation.