Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Find root causes through a structured debugging process instead of guessing, patching, and hoping.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
CREATION-LOG.md
1# Creation Log: Systematic Debugging Skill23Reference example of extracting, structuring, and bulletproofing a critical skill.45## Source Material67Extracted debugging framework from `/Users/jesse/.claude/CLAUDE.md`:8- 4-phase systematic process (Investigation → Pattern Analysis → Hypothesis → Implementation)9- Core mandate: ALWAYS find root cause, NEVER fix symptoms10- Rules designed to resist time pressure and rationalization1112## Extraction Decisions1314**What to include:**15- Complete 4-phase framework with all rules16- Anti-shortcuts ("NEVER fix symptom", "STOP and re-analyze")17- Pressure-resistant language ("even if faster", "even if I seem in a hurry")18- Concrete steps for each phase1920**What to leave out:**21- Project-specific context22- Repetitive variations of same rule23- Narrative explanations (condensed to principles)2425## Structure Following skill-creation/SKILL.md26271. **Rich when_to_use** - Included symptoms and anti-patterns282. **Type: technique** - Concrete process with steps293. **Keywords** - "root cause", "symptom", "workaround", "debugging", "investigation"304. **Flowchart** - Decision point for "fix failed" → re-analyze vs add more fixes315. **Phase-by-phase breakdown** - Scannable checklist format326. **Anti-patterns section** - What NOT to do (critical for this skill)3334## Bulletproofing Elements3536Framework designed to resist rationalization under pressure:3738### Language Choices39- "ALWAYS" / "NEVER" (not "should" / "try to")40- "even if faster" / "even if I seem in a hurry"41- "STOP and re-analyze" (explicit pause)42- "Don't skip past" (catches the actual behavior)4344### Structural Defenses45- **Phase 1 required** - Can't skip to implementation46- **Single hypothesis rule** - Forces thinking, prevents shotgun fixes47- **Explicit failure mode** - "IF your first fix doesn't work" with mandatory action48- **Anti-patterns section** - Shows exactly what shortcuts look like4950### Redundancy51- Root cause mandate in overview + when_to_use + Phase 1 + implementation rules52- "NEVER fix symptom" appears 4 times in different contexts53- Each phase has explicit "don't skip" guidance5455## Testing Approach5657Created 4 validation tests following skills/meta/testing-skills-with-subagents:5859### Test 1: Academic Context (No Pressure)60- Simple bug, no time pressure61- **Result:** Perfect compliance, complete investigation6263### Test 2: Time Pressure + Obvious Quick Fix64- User "in a hurry", symptom fix looks easy65- **Result:** Resisted shortcut, followed full process, found real root cause6667### Test 3: Complex System + Uncertainty68- Multi-layer failure, unclear if can find root cause69- **Result:** Systematic investigation, traced through all layers, found source7071### Test 4: Failed First Fix72- Hypothesis doesn't work, temptation to add more fixes73- **Result:** Stopped, re-analyzed, formed new hypothesis (no shotgun)7475**All tests passed.** No rationalizations found.7677## Iterations7879### Initial Version80- Complete 4-phase framework81- Anti-patterns section82- Flowchart for "fix failed" decision8384### Enhancement 1: TDD Reference85- Added link to skills/testing/test-driven-development86- Note explaining TDD's "simplest code" ≠ debugging's "root cause"87- Prevents confusion between methodologies8889## Final Outcome9091Bulletproof skill that:92- ✅ Clearly mandates root cause investigation93- ✅ Resists time pressure rationalization94- ✅ Provides concrete steps for each phase95- ✅ Shows anti-patterns explicitly96- ✅ Tested under multiple pressure scenarios97- ✅ Clarifies relationship to TDD98- ✅ Ready for use99100## Key Insight101102**Most important bulletproofing:** Anti-patterns section showing exact shortcuts that feel justified in the moment. When Claude thinks "I'll just add this one quick fix", seeing that exact pattern listed as wrong creates cognitive friction.103104## Usage Example105106When encountering a bug:1071. Load skill: skills/debugging/systematic-debugging1082. Read overview (10 sec) - reminded of mandate1093. Follow Phase 1 checklist - forced investigation1104. If tempted to skip - see anti-pattern, stop1115. Complete all phases - root cause found112113**Time investment:** 5-10 minutes114**Time saved:** Hours of symptom-whack-a-mole115116---117118*Created: 2025-10-03*119*Purpose: Reference example for skill extraction and bulletproofing*120