debug
Installation
SKILL.md
Debug
Find the failure mechanism before committing to a fix.
Workflow
- Reality-check current code, errors, recent relevant changes, environment/config differences, and working-tree state.
- Reproduce consistently when possible. For intermittent failures, increase observability or widen the timing/load window without changing the claimed behavior.
- Trace data/state across the smallest relevant boundaries. In multi-component systems, instrument boundary inputs/outputs to isolate where reality diverges.
- Form a concrete root-cause hypothesis and seek evidence that could disprove it.
- Implement the smallest correct fix that addresses the mechanism rather than the symptom.
- Add or update focused regression evidence and rerun the affected scope.
Do not ask the user to copy facts that logs, source, test output, or repository state can expose directly.
Outputs
Root cause, evidence, fix, regression evidence, and explicit remaining uncertainty when any exists.