Help us improve
Share bugs, ideas, or general feedback.
From bee
Guides systematic debugging of failures, bugs, and failing tests: reproduce issues, read errors/logs/console/code, verify assumptions, instrument code, narrow causes with binary search.
npx claudepluginhub incubyte/ai-plugins --plugin beeHow this skill is triggered — by the user, by Claude, or both
Slash command
/bee:debuggingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read and analyze first, change code last. Most debugging failures come from jumping to fixes before understanding the problem.
Enforces systematic root cause analysis for bugs, test failures, unexpected behavior, and regressions via five-phase workflow: Understand, Reproduce, Isolate, Fix, Verify.
Debugs errors, test failures, and unexpected behavior via root cause analysis of logs, stack traces, recent changes, hypotheses testing, and strategic logging. Delivers fixes, verification steps, and prevention advice.
Enforces systematic root cause analysis before fixes for bugs, test failures, unexpected behavior, performance issues, and build failures.
Share bugs, ideas, or general feedback.
Read and analyze first, change code last. Most debugging failures come from jumping to fixes before understanding the problem.
Confirm the failure before touching anything. Run the failing test, hit the failing endpoint, trigger the broken flow. If you can't reproduce it, you don't understand it yet.
Before theorizing, read:
Verify every assumption before acting:
The bug is often in the gap between what you assume and what's actually true.
Make one change. Observe the result. Then decide the next step.
Never make five changes hoping one of them works — you won't know which one fixed it, and the others may introduce new problems.
When existing logs aren't enough, add targeted logging to narrow the cause:
Use binary search to shrink the problem space:
Each step should cut the search space in half.
Don't debug blind when you have integrations:
Use what's available before adding workarounds.
Symptoms and root causes are different things. A null pointer exception is a symptom — the root cause is why the value is null.
Articulate the root cause before writing the fix. If you can't explain why the bug happens, you haven't found it yet.
Bad: "I'll try changing this parameter and see if it works." Good: "The query returns null because the join uses the wrong foreign key — column X references table A but should reference table B."
The fix isn't done until you've confirmed it works:
Never declare "fixed" based on the code looking right. Prove it.
Exhaust these steps first:
Only resort to try-and-see when you've genuinely run out of analytical approaches. If you find yourself guessing, stop and go back to reading.
If the same approach failed twice, stop and rethink. Retrying the same thing is not debugging — it's hoping. Step back, re-read, and try a different angle.
All agents that encounter failures during execution: verifier, quick-fix, browser-verifier, and any agent running tests or diagnosing issues.