From ai-devkit
Guides structured debugging before code changes by clarifying expected behavior, reproducing issues, identifying root causes, and planning fix with validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-devkit:structured-debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Debug with an evidence-first workflow before changing code.
Debug with an evidence-first workflow before changing code.
npx ai-devkit@latest memory search --query "<observed behavior>" --tags "debug,root-cause"verify skill — including regression verification for bug fixes.npx ai-devkit@latest memory store --title "<root cause>" --content "<diagnosis and fix>" --tags "debug,root-cause"If task tracing is usable, choose a short kebab-case debug task name when no
task name exists, then use task optionally: record repro/final results as
evidence, the current hypothesis as next, and blockers only when they
materially affect progress. Never block debugging because task tracing is
unavailable.
| Rationalization | Why It's Wrong | Do Instead |
|---|---|---|
| "I already know the cause" | Assumptions skip evidence | Reproduce and prove it first |
| "This is urgent, just fix it" | A wrong fix wastes more time | 10 minutes of diagnosis saves hours |
| "The fix is obvious from the stack trace" | Stack traces show symptoms, not causes | Trace backward to the root cause |
Use this response structure:
npx claudepluginhub codeaholicguy/ai-devkitEnforces systematic root cause investigation for bugs, test failures, and unexpected behavior through four phases: investigation, pattern analysis, hypothesis testing, and implementation.
Debugs systematically with hypothesis preflight, single-change iterations, and regression tests. Use for bugs, errors, exceptions, regressions, test failures, or production outages.
Systematic debugging methodology for any technical issue: bugs, test failures, unexpected behavior, build failures. Emphasizes root cause investigation before proposing fixes.