debug
Installation
SKILL.md
Debug
Structured debugging flow for functional bugs using specifications, logs, and observed behavior.
Input
Symptom: $ARGUMENTS
Investigation Steps
- Restate the observed symptom — exact error message, stack trace, or unexpected behavior
- Identify the smallest reproducible scope — minimal code that triggers the failure
- Isolate assumptions — environment, input, state, concurrency
- Inspect boundaries early — check validation and conversion points where external data enters
- Distinguish implementation bugs from test bugs — dual-hypothesis approach
- Verify the fix — rerun deterministic checks after fixing