Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Structured approach to finding and fixing bugs
.claude/skills/dicklesworthstone-systematic-debugging/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-11 | ✗→✓ | ▲ Improved | -29% | 0% |
REPRODUCE → ISOLATE → TRACE → FIX → VERIFYNever skip steps. Never guess.
Goal: See the bug happen reliably
1. Get exact reproduction steps
2. Run them yourself
3. See the exact error
4. Document: input, output, expectedRed flags:
Goal: Find minimum case that shows bug
1. Start removing things
2. Does bug still happen?
3. Keep removing until minimal
4. Result: smallest repro caseWhy this matters:
Goal: Find root cause (use root-cause-tracing skill)
1. Start at symptom
2. Trace backward: where does bad value come from?
3. Keep asking "where did THIS come from?"
4. Stop when you find originTools:
Goal: Change code at root cause
1. Write failing test first
2. Make minimal change to fix
3. Verify test passes
4. Check for side effectsAnti-patterns:
Goal: Confirm fix works and nothing broke
1. Run original reproduction
2. Bug should be gone
3. Run full test suite
4. No regressionsMust have:
| Type | Debug Strategy | |------|---------------| | Null/undefined | Trace where value should've been set | | Wrong value | Log at each transformation step | | Race condition | Add logging with timestamps | | State corruption | Find all state modifiers | | Off-by-one | Check loop bounds and indices | | Missing case | Check all switch/if branches |
When adding debug logs:
javascript// Include: location, variable name, value, timestamp console.log('[user.ts:45]', 'userId:', userId, Date.now());
Clean up logs before committing.
When you don't know what broke it:
1. Find last known working version
2. Find first broken version
3. Binary search between them
4. Each step: does bug exist?
5. Result: exact commit that broke itroot-cause-tracing → For step 3 (Trace)defense-in-depth → For step 5 (Verify)verification-before-completion → Before claiming fixedassumption-checker → What assumptions about the code?fact-checker → Verify claims about behaviorpre-action-verifier → Before applying fix| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-20 | pass→pass | 7,370 | 1,750 | -76% | 1 | 1 | 0% | 1,035 | 1,058 | +2% | 0 | 0 | — |
case-01 | fail→pass | 24,568 | 20,148 | -18% | 1 | 1 | 0% | 3,901 | 3,323 | -15% | 0 | 0 | — |
case-02 | fail→pass | 14,877 | 16,961 | +14% | 1 | 1 | 0% | 2,591 | 3,194 | +23% | 0 | 0 | — |
case-03 | fail→pass | 23,760 | 18,168 | -24% | 1 | 1 | 0% | 3,839 | 3,414 | -11% | 0 | 0 | — |
case-04 | pass→pass | 15,565 | 13,996 | -10% | 1 | 1 | 0% | 2,567 | 2,759 | +7% | 0 | 0 | — |
case-05 | pass→pass | 12,992 | 14,058 | +8% | 1 | 1 | 0% | 2,259 | 2,929 | +30% | 0 | 0 | — |
case-06 | pass→pass | 18,041 | 14,455 | -20% | 1 | 1 | 0% | 3,106 | 3,214 | +3% | 0 | 0 | — |
case-07 | fail→pass | 13,272 | 10,319 | -22% | 1 | 1 | 0% | 2,120 | 2,319 | +9% | 0 | 0 | — |
case-08 | pass→pass | 11,549 | 7,828 | -32% | 1 | 1 | 0% | 1,963 | 2,007 | +2% | 0 | 0 | — |
case-09 | pass→pass | 7,941 | 4,519 | -43% | 1 | 1 | 0% | 1,317 | 1,465 | +11% | 0 | 0 | — |
case-10 | pass→pass | 13,406 | 12,108 | -10% | 1 | 1 | 0% | 1,981 | 2,800 | +41% | 0 | 0 | — |
case-11 | fail→pass | 11,900 | 3,601 | -70% | 1 | 1 | 0% | 1,892 | 1,352 | -29% | 0 | 0 | — |
case-12 | pass→pass | 12,171 | 5,646 | -54% | 1 | 1 | 0% | 1,795 | 1,619 | -10% | 0 | 0 | — |
case-13 | pass→pass | 12,688 | 11,742 | -7% | 1 | 1 | 0% | 2,020 | 2,321 | +15% | 0 | 0 | — |
case-14 | fail→pass | 15,723 | 11,145 | -29% | 1 | 1 | 0% | 2,237 | 2,395 | +7% | 0 | 0 | — |
case-15 | pass→pass | 14,377 | 9,776 | -32% | 1 | 1 | 0% | 1,909 | 2,041 | +7% | 0 | 0 | — |
case-16 | pass→pass | 13,189 | 10,907 | -17% | 1 | 1 | 0% | 1,959 | 2,367 | +21% | 0 | 0 | — |
case-17 | pass→pass | 11,392 | 6,076 | -47% | 1 | 1 | 0% | 1,547 | 1,529 | -1% | 0 | 0 | — |
case-18 | pass→pass | 11,150 | 8,103 | -27% | 1 | 1 | 0% | 1,799 | 1,924 | +7% | 0 | 0 | — |
case-19 | pass→pass | 12,488 | 8,955 | -28% | 1 | 1 | 0% | 1,801 | 1,967 | +9% | 0 | 0 | — |
case-21 | pass→pass | 15,091 | 3,431 | -77% | 1 | 1 | 0% | 2,365 | 1,402 | -41% | 0 | 0 | — |
case-22 | pass→pass | 14,111 | 13,438 | -5% | 1 | 1 | 0% | 2,505 | 3,084 | +23% | 0 | 0 | — |
case-23 | pass→pass | 12,003 | 11,540 | -4% | 1 | 1 | 0% | 2,274 | 2,743 | +21% | 0 | 0 | — |
case-24 | pass→pass | 6,758 | 5,907 | -13% | 1 | 1 | 0% | 1,274 | 1,705 | +34% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +25 percentage points is the difference between those two pass rates over the 24 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.