| name | debug |
| description | Use when something is broken — error messages present, user says broken/not working/bug/fix/error |
Debug Skill
Systematic root-cause investigation. Never guess. Always verify the fix.
Process
- Dispatch
debugger-prompt.md with all available error information — include the verbatim error message and any file paths the user mentioned. If no error message was provided, instruct the debugger to begin investigation from layer 1 of the stack layers list.
- The debugger investigates, applies a fix, and verifies it
- Report the result to the user in plain English
Verification Rule
- Fix touches any source files → run
vitest run and confirm passing (takes priority over build check)
- Fix touches only config/build/deploy files with no source changes → run
vite build and confirm no errors
- Fix touches both → run
vitest run
Terminal States
- Success: fix verified + explained in plain English
- Failure: plain English explanation of what could not be resolved, then stop
No Reviewer Loop
Debug does not use the implement → reviewer control flow. The debugger is self-contained.