debug
Installation
SKILL.md
Debug
Systematic root-cause analysis — reproduce, isolate, hypothesize, fix, verify.
Process
- Read the error — full message, stack trace, error code. Don't skip this.
- Reproduce reliably — minimal steps before touching any code.
- Isolate — binary search via
git bisect, comment blocks, or minimal repro. - Hypothesize — one specific theory. Don't change multiple things at once.
- Test hypothesis — add logging, use debugger, modify code.
- Apply minimal fix — smallest change that addresses root cause, not symptoms.
- Verify — confirm fix works and no regressions.
Diagnosis Checklist
Start here before touching code: