From holocron
Hypothesis-driven debugging — reproduce, hypothesize, probe, locate, fix, guard. Use when something is broken and you don't yet know why.
How this skill is triggered — by the user, by Claude, or both
Slash command
/holocron:debug-playbookThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The order of operations matters more than the tools.
The order of operations matters more than the tools.
Nothing else is useful until you can make the bug happen on demand.
List 2–3 concrete theories. For each:
If you have only one hypothesis, you're not thinking hard enough — or it's so obvious you should skip to step 4.
Add the cheapest probe that separates your top two hypotheses.
git bisect when the timeline is wide and the test is binarystrace / dtrace / perf when the surface is the runtime, not the codeResist the urge to add logs everywhere. Add one at the pivot point.
When observation singles out the hypothesis, point at the line. Not the region — the line.
Ask: why does this line break? What invariant did we assume here that isn't true?
Minimum change that resolves the root cause. Nothing adjacent.
Add a test that fails without your fix and passes with it. The test should target the condition, not mimic the scenario.
Short report:
What happened: <observable>
Root cause: <one sentence, concrete>
Why tests missed it: <honest answer>
Fix: <the change, minimum>
Regression guard: <the test>
If you can't write this report, you haven't finished debugging.
npx claudepluginhub atuljha23/holocron --plugin holocronGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.