/bee:debuggingfrom bee
Systematic debugging approach: reproduce failures, read full errors and logs, verify assumptions, make one change at a time, use binary search, and leverage available tools like MCP servers and browser automation.
Ships in bee. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub incubyte/ai-plugins --plugin bee21 skills in this plugin
/ai-ergonomicsThis skill should be used when evaluating how well code supports LLM-assisted development. Contains context window friendliness, explicitness, module boundaries, test-as-spec, and naming criteria./ai-workflowThis skill should be used when explaining why Bee follows spec-first TDD workflows, or when teaching mode is on. Contains the reasoning behind spec → plan → test → code ordering./architecture-patternsThis skill should be used when evaluating architecture options, checking dependency direction, or deciding between onion, MVC, and simple patterns. Contains YAGNI-based decision criteria./bee-stateThis skill should be used when updating workflow state in bee-state.local.md. Contains the full command reference for update-bee-state.sh including init, set, get, clear, all flags, and multi-line field syntax./boundary-generationThis skill should be used after discovery completes on a greenfield project when the discovery document contains a Module Structure section. Contains the full procedure for parsing module boundaries, generating BOUNDARIES.md, and optionally linking it from CLAUDE.md./brainstormingThis skill should be used when the user wants to brainstorm, explore ideas, think through options, says 'let's brainstorm', 'what are our options', 'how might we', 'what if we', 'help me think through', 'explore approaches', or presents an open-ended problem without a clear solution. Covers cross-domain thinking where changing one dimension (product, tech, UX) can simplify another.Other plugins' skills for the same job