debug-complex-issue
Installation
SKILL.md
Debug Complex Issue
Most complex bugs aren't complicated — they're just resistant to the first hypothesis you form. This workflow replaces hunting with a deliberate loop that forces evidence before every attempted fix.
Stuck debugging usually means the bug has a property the debugger hasn't noticed yet: it's timing-dependent, state-dependent, environment-dependent, or the result of a feedback loop that's invisible from any single stack trace. This workflow surfaces that property.
When to use this workflow
- A bug has defeated your first one or two fix attempts
- Symptoms shift under investigation (the repro stops reproducing, or moves)
- An LLM or agent is behaving wrong in ways prompt tweaks don't fix
- The fix must be safe under production constraints (no trial-and-error allowed)
- You're handing the bug off and want to hand over structure, not just a stack trace
- You've been stuck for more than 30 minutes