
Description
Debug is a skill for finding and fixing the root cause of a bug. It is meant for cases like a test that fails for an unclear reason, a failure found by the check skill, or behavior that is simply wrong. The skill works as a loop: it reproduces the bug on demand, narrows it to the smallest failing surface, forms one hypothesis at a time, tests each hypothesis, and then fixes the root cause and verifies the fix. It changes one thing at a time so that every result means something. It is deliberately slow to patch the visible symptom, such as a null value or a crash, until it understands why that value is there. It acts on its own, and asks questions only when it cannot reproduce the bug. In that case it asks for exact steps, inputs, the environment, and the observed and expected behavior. The skill is an internal investigation loop inside one run, so it is different from the loop skill, which runs a command again on a timer. It is part of the jsmastery-pro skills collection and is open source on GitHub.…
Highlights
- Reproduces the bug before changing anything
- Tests one hypothesis at a time
- Fixes the root cause rather than the symptom
- Asks for steps only when it cannot reproduce the bug
Ratings & Reviews
No ratings yet
Be the first to rate debug.
People also visit

systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior
debug FAQ
What is the debug skill for?
Finding and fixing the root cause of a bug, such as a flaky test, a failure found by check, or behavior that is wrong.
How does it work?
It reproduces the bug, narrows it down, tests one hypothesis at a time, fixes the root cause and verifies the fix.
Does it ask me before investigating?
No. It investigates and fixes on its own. It asks only when it cannot reproduce the bug.
What does it need from me if it cannot reproduce the bug?
Exact steps, inputs, the environment, and what you observed compared with what you expected.
Is it the same as the loop skill?
No. The loop skill reruns a command on a time interval, while debug runs its investigation inside a single run.
Is it free?
Yes. The skill is open source on GitHub in the jsmastery-pro skills collection.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best debug alternatives?
Popular alternatives to debug include systematic-debugging, diagnose and principle-fix-root-causes. See all debug alternatives















