debugging
Installation
SKILL.md
Debugging
Iron law
No fix without root cause. Never apply a fix until you can explain WHY the bug exists, not only WHERE it shows up. Symptom-level fixes create new bugs.
Workflow
Phase 1: Reproduce
Establish a reliable reproduction before investigating.
- Collect all evidence: error messages, stack traces, logs, screenshots, user steps
- Identify the exact conditions: environment, data state, user actions, timing
- Create a minimal reproduction by stripping away everything not needed to trigger the bug
- Confirm the reproduction is consistent (if intermittent, note frequency and conditions)
- Write the reproduction steps down precisely so someone else can follow them
Output: Documented reproduction steps, minimal test case