Prepare
Read plan or review findings from beads issue and create work structure.
Steps
- •
Find plan source
- •If
$ARGUMENTSis a beads ID →bd show <id> --json, extract design field - •Otherwise →
bd list --status=in_progress --type task, find first issue with title starting "Explore:" or "Review:" - •No plan found → exit, suggest
/exploreor/reviewfirst
- •If
- •
Parse plan
- •Read the design field content
- •Extract title from first heading
- •Find "Phases" or "Next Steps" section
- •Parse phases:
**Phase N: Description**or### Phase N: - •Extract tasks under each phase (numbered list items)
- •
Detect dependencies
- •Default: sequential (each phase blocks the next)
- •Override if phase text contains parallel markers:
- •"parallel with Phase N"
- •"independent of"
- •"no dependency"
- •Phases with no detected dependency on prior phase → parallel
- •
Create beads structure
- •Epic:
bd create "<plan-title>" --type epic --priority 1 --description "<desc>" --silent- •
<desc>= one-paragraph plan summary, then## Success Criteriaheading followed by 3-5 high-level outcomes extracted from the plan - •Validate:
bd lint <epic-id>— if it fails,bd edit <epic-id> --descriptionto fix violations
- •
- •For each phase:
- •
bd create "Phase N: <description>" --type task --parent <epic-id> --priority 2 --description "<desc>" --silent - •
<desc>=## Acceptance Criteriaheading followed by the task-list items for that phase (one checklist item per task) - •Validate:
bd lint <phase-id>— if it fails,bd edit <phase-id> --descriptionto fix violations
- •
- •Set dependencies between sequential phases:
- •
bd dep <phase-N> --blocks <phase-N+1>
- •
- •Skip dep for parallel phases
- •Epic:
- •
Validate and create swarm
- •
bd config set types.custom molecule(idempotent guard —bd swarm createneeds this custom type) - •
bd swarm validate <epic-id> --verbose - •If swarmable:
bd swarm create <epic-id> - •Report validation results
- •
- •
Report
- •Display epic ID and all child issue IDs
- •Show dependency graph
- •Show parallel work fronts from validation
- •Suggest:
/implement <epic-id>to start execution