debug-mode
Installation
SKILL.md
Debug Mode
Start a session only when the current user invokes $debug-mode, says debug mode, or requests instrumented debugging.
Resume whenever an active debug session exists, including after user replies or context compaction.
The session becomes active when Step 3 arms the server.
It ends only after verified cleanup or explicit abandonment.
If neither condition applies, stop before analysis, collection, or instrumentation.
This workflow builds on the sibling trace-mode workflow.
It extends location evidence through correction, verification, and cleanup.
The sibling scripts require Node.js 24 or later.
The initial stage is:
analyze code -> hypothesize -> trace with trace-mode -> reproduction gate