Home / Market / systematic debugging

systematic debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

skill★ 330630356160 dlskills.shMITInstall in CosmosUpstream Source

Documentation & Preview

Creation Log: Systematic Debugging Skill

Reference example of extracting, structuring, and bulletproofing a critical skill.

Source Material

Extracted debugging framework from ~/.claude/CLAUDE.md:

Extraction Decisions

What to include:

What to leave out:

Structure Following skill-creation/SKILL.md

  1. Rich when_to_use - Included symptoms and anti-patterns
  2. Type: technique - Concrete process with steps
  3. Keywords - "root cause", "symptom", "workaround", "debugging", "investigation"
  4. Flowchart - Decision point for "fix failed" → re-analyze vs add more fixes
  5. Phase-by-phase breakdown - Scannable checklist format
  6. Anti-patterns section - What NOT to do (critical for this skill)

Bulletproofing Elements

Framework designed to resist rationalization under pressure:

Language Choices

Structural Defenses

Redundancy

Testing Approach

Created 4 validation tests following skills/meta/testing-skills-with-subagents:

Test 1: Academic Context (No Pressure)

Test 2: Time Pressure + Obvious Quick Fix

Test 3: Complex System + Uncertainty

Test 4: Failed First Fix

All tests passed. No rationalizations found.

Iterations

Initial Version

Enhancement 1: TDD Reference

Final Outcome

Bulletproof skill that:

Key Insight

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.

Usage Example

When encountering a bug:

  1. Load skill: skills/debugging/systematic-debugging
  2. Read overview (10 sec) - reminded of mandate
  3. Follow Phase 1 checklist - forced investigation
  4. If tempted to skip - see anti-pattern, stop
  5. Complete all phases - root cause found

Time investment: 5-10 minutes

Time saved: Hours of symptom-whack-a-mole

---

*Created: 2025-10-03*

*Purpose: Reference example for skill extraction and bulletproofing*