This skill should be used when the user asks to "execute plan with beads", "implement with persistent tracking", "bead-driven execution", "run plan with subagents", "track tasks across sessions", "use beads for planning", or wants planning + subagents + beads + code review unified. Orchestrates writing-plans, executing-plans, and investigation skills with beads integration for persistent cross-session tracking.
Orchestrates planning, execution, and investigation with beads for persistent cross-session tracking.
/plugin marketplace add peabody124/reproducible_agent_environment/plugin install peabody124-rae@peabody124/reproducible_agent_environmentThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/prompt-templates.mdThis skill orchestrates existing skills with beads integration. It provides prompt refinements rather than reimplementing functionality:
Announce at start: "I'm using the bead-driven-development skill to orchestrate planning and execution with persistent tracking."
This skill requires beads and superpowers plugins. Install them first:
# Install beads CLI
curl -fsSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
# Install uv (Python package manager)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Add beads marketplace and install plugin
/plugin marketplace add steveyegge/beads
/plugin install beads
/plugin marketplace add obra/superpowers-marketplace
/plugin install superpowers@superpowers-marketplace
bd init
Required skills from superpowers:
All phases share one workspace: scratch/{YYYY-MM-DD}-plan-{topic}/
scratch/2026-01-18-plan-auth-system/
├── README.md ← Plan (Phase 1)
├── scripts/ ← Temp scripts (Phase 2)
└── debug/ ← Investigations (Phase 3)
└── bd-xxx/
Beads provide the commit history. Plan doesn't need to be committed separately.
Invoke writing-plans skill with these additions:
"Create plan in unified workspace following investigation pattern:
scratch/{YYYY-MM-DD}-plan-{topic}/README.mdExample:scratch/2026-01-18-plan-auth-system/README.mdAfter finalizing the plan, create a bead for each major task:
bd create 'Task 1: Component name' -t task bd create 'Task 2: Next component' -t task bd dep add <task-2-id> <task-1-id> --type blocksInclude bead IDs in the plan file for tracking.
Important: Add a section in the plan noting:
- Temp scripts go in:
scratch/{date}-plan-{topic}/scripts/- Debug investigations go in:
scratch/{date}-plan-{topic}/debug/- Beads provide commit history (plan doesn't need to be committed)
Note: TodoWrite will still be used for fine-grained in-session tracking."
Invoke executing-plans skill with these additions:
"Before starting each task:
- Run
bd readyto find next unblocked task- Mark bead in_progress:
bd update <id> --status in_progressUse TodoWrite as normal for fine-grained step tracking within the task.
Workspace: Put any temporary scripts, test outputs, or debugging artifacts in the plan's scratch directory:
scratch/{date}-plan-{topic}/scripts/After each successful task:
- Commit with bead ID:
git commit -m 'feat: description (bd-xxx)'- Add commit SHA to bead:
bd comment <id> 'Commit: <sha>'- Dispatch code-reviewer subagent (per subagent-driven-development two-stage review)
- If review passes:
bd close <id> --reason 'Implemented and reviewed'- Sync TodoWrite → bead status when marking task complete
Run
bd syncevery 2-3 completed tasks to persist to git.On failure → transition to Phase 3 (Failure Recovery)."
When any task fails, invoke investigation skill with these additions:
Step 1: Create blocking debug bead
bd create 'Debug: <issue description>' -t bug bd dep add <failed-task-id> <debug-bead-id> --type blocksStep 2: Investigation in plan's scratch directory Create investigation subfolder:
scratch/{date}-plan-{topic}/debug/{bead-id}/README.mdOr if separate investigation needed:
scratch/{date}-debug-{bead-id}/README.mdDocument findings, hypotheses, and tests in the investigation folder.
Step 3: Resolution Copy key findings summary to debug bead:
bd comment <debug-id> 'Resolution: <summary of fix>'If plan needs updates: edit
scratch/{date}-plan-{topic}/README.mdand note changes.If new tasks discovered:
bd create 'New task from investigation' -t task --discovered-from <debug-id>Step 4: Resume Close debug bead:
bd close <debug-id> --reason 'Resolved: <summary>'Original task becomes unblocked. Signal: "Plan updated, resume from Task N with
bd ready"
| Tool | Purpose | Scope |
|---|---|---|
| Beads | Major milestones/tasks | Cross-session persistence |
| TodoWrite | Fine-grained steps | In-session tracking |
Sync rule: When TodoWrite marks task complete → close corresponding bead.
| Command | Purpose |
|---|---|
bd ready | Find next unblocked task |
bd update <id> --status in_progress | Mark task started |
bd close <id> --reason '...' | Mark task complete |
bd comment <id> 'message' | Add context to bead |
bd dep add <id> <blocker> --type blocks | Add dependency |
bd sync | Persist to git (every 2-3 tasks) |
bd show <id> | Get task context |
User: "execute this plan with beads"
↓
[bead-driven-development loads]
↓
Phase 1: Invoke writing-plans + beads prompt
→ Creates unified workspace
→ Plan in README.md
→ Creates beads for major tasks
→ Adds blocks dependencies
↓
Phase 2: Invoke executing-plans + beads prompt
→ Uses bd ready to pick next task
→ Updates bead status + TodoWrite
→ Commits with bead ID: (bd-xxx)
→ Two-stage code review
→ Close bead after review
→ bd sync every 2-3 tasks
↓
(On failure) Phase 3: Invoke investigation + beads prompt
→ Creates blocking debug bead
→ Investigates in workspace: debug/{bead-id}/
→ Copies findings to bead notes
→ Updates README.md when resolved
→ Resumes with bd ready
references/prompt-templates.md - Exact copy-paste prompts for each skillActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Activates when the user asks about Agent Skills, wants to find reusable AI capabilities, needs to install skills, or mentions skills for Claude. Use for discovering, retrieving, and installing skills.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.