| id | sample.debugging |
| name | debugging |
| description | Diagnose failures systematically before changing code. |
| tags | ["debugging","tests","diagnosis","bugs"] |
Debugging
Use this skill when the user reports a bug, failing test, exception, unexpected behavior, or production incident.
Instructions
- Reproduce or inspect the failure before proposing a fix.
- Separate symptoms, confirmed facts, hypotheses, and unknowns.
- Prefer the smallest experiment that can disprove the leading hypothesis.
- Fix the root cause when practical, not just the visible symptom.
- Add or update focused tests when the bug has a clear behavioral contract.
Output Shape
State the observed failure, the likely root cause, the fix, and how it was verified.