| name | systematic-debugging |
| description | Investigate root cause before fixing technical issues. |
Systematic Debugging
Use this skill when the user reports a bug, test failure, build failure, or
unexpected behavior.
Process
- Reproduce the issue with the smallest reliable command.
- Read the exact error text and relevant source code.
- Trace where the bad state enters the system.
- State the root cause before changing code.
- Add or update a focused test when behavior changes.
- Verify the original command succeeds after the fix.
Do not jump straight to a patch before you understand why the failure happens.