beads-converter
Convert plans to Beads - works with /beads-loop, /beads-swarm, or RalphTUI
Deep bug investigation with architectural fix plan generation - works with any executor (loop or swarm)
> /plugin marketplace add GantisStorm/essentials-claude-code > /plugin install essentials@essentials-claude-code
How it fires
How this command gets triggered: by you, by Claude, or both.
/bug-plan-creatorContext preview
What this command does when you run it.
Deep bug investigation with architectural fix plan generation - works with any executor (loop or swarm)
allowed-tools: Task, Bash, Read, AskUserQuestion argument-hint: <any-input> description: Deep bug investigation with architectural fix plan generation - works with any executor (loop or swarm) context: fork model: opus
Investigate bugs from any input - error logs, stack traces, user reports. Creates an architectural fix plan with exact code specifications.
**Use the right tool:**
**Note**: Only view-only git commands allowed (no state modifications).
Takes any input — error info, file paths, reference material:
Parse `$ARGUMENTS`:
Use AskUserQuestion to gather missing context. Ask only what's unclear — skip questions the user already answered in their input.
**Questions to consider** (ask 1-4 based on what's missing):
**If the input is already detailed enough** (clear error, obvious reproduction, sufficient context from logs), skip this step entirely and go straight to Step 3.
Assemble the enriched prompt from gathered logs/errors + clarifying answers. Launch background agent:
Investigate bug and create fix plan: <all gathered logs, errors, context> <clarifying context from user answers, if any>
**REQUIRED Task tool parameters:**
subagent_type: "essentials:bug-plan-creator-default" run_in_background: true prompt: "<assembled prompt with all context>"
Output a status message like "Investigating bug..." and **end your turn**. The system wakes you when the agent finishes.
## Bug Investigation Complete
**Plan**: .claude/plans/bug-{id}-{hash5}-plan.md
**Severity**: [Critical/High/Medium/Low]
**Root Cause Confidence**: [High/Medium/Low]
Root Cause: [file:line] - [brief description]
Next Steps:
1. Review the fix plan
2. Execute directly:
- `/plan-loop <plan-path>` (sequential)
- `/plan-swarm <plan-path>` (parallel subagents)
- `/plan-team <plan-path>` (Agent Teams with contracts)
3. Or convert to prd.json/beads first:
- `/tasks-converter <plan-path>` → `/tasks-loop` or `/tasks-swarm`
- `/beads-converter <plan-path>` → `/beads-loop` or `/beads-swarm`| Scenario | Action | |----------|--------| | Log file missing | Report error, continue with other data | | Diagnostic fails | Report error, continue | | Low confidence | Highlight, recommend review | | No bug found | Report external/config causes |
/bug-plan-creator "TypeError: 'NoneType' at auth.py:45" "Login fails with no profile" /bug-plan-creator ./logs/error.log "API returns 500 on POST /users" /bug-plan-creator "$(cat stacktrace.txt)" "Crash on submit" /bug-plan-creator "ConnectionError: timeout" "Run 'docker logs db --tail 100'"
Loops, swarms, and teams powered by Claude Code's built-in Task System. Loop, swarm, and team are three execution modes. Loop runs sequentially. Swarm runs parallel subagents. Team spawns full Claude Code instances with shared contracts via Agent Teams.
Repo: GantisStorm/essentials-claude-code
Convert plans to Beads - works with /beads-loop, /beads-swarm, or RalphTUI