beads-converter
CommandConvert plans to Beads - works with /beads-loop, /beads-swarm, or RalphTUI
Execute prd.json tasks iteratively until all complete
> /plugin marketplace add GantisStorm/essentials-claude-code> /plugin install essentials@essentials-claude-code
description: "Execute prd.json tasks iteratively until all complete" argument-hint: "[prd-path]" allowed-tools: ["Read", "TaskCreate", "TaskUpdate", "TaskList", "TaskGet", "Bash", "Edit", "Write", "Glob", "Grep"] hide-from-slash-command-tool: "true" model: opus
Execute prd.json tasks iteratively until all tasks are complete.
**Note:** Loop and swarm are interchangeable - swarm is just faster when tasks can run in parallel. Both enforce exit criteria and sync prd.json.
Uses Claude Code's built-in Task Management System for dependency tracking and visual progress (`ctrl+t`).
**DO NOT read other files, grep, or explore the codebase** - just parse the prd.json. **Never spawn sub-agents or delegate work — do ALL implementation directly yourself.**
cat <prd-path>
Parse the JSON and identify:
Create a task for each userStory and build an **ID map** as you go:
// Create tasks in order — each returns a task ID
TaskCreate({ "subject": "US-001: Setup database schema", ... }) // → task "1"
TaskCreate({ "subject": "US-002: Implement auth service", ... }) // → task "2"
TaskCreate({ "subject": "US-003: Add login route", ... }) // → task "3"
// ID map: { "US-001": "1", "US-002": "2", "US-003": "3" }Full TaskCreate per story:
TaskCreate({
"subject": "US-001: Setup database schema",
"description": "<full description from userStory - self-contained>",
"activeForm": "Setting up database schema",
"metadata": { "id": "US-001", "prdPath": "<prd-path>" }
})**Translate `dependsOn` to `addBlockedBy`** using the ID map:
// prd.json says: US-003 has dependsOn: ["US-001", "US-002"]
// ID map: US-001→"1", US-002→"2", US-003→"3"
TaskUpdate({
"taskId": "3",
"addBlockedBy": ["1", "2"]
})A task with non-empty `blockedBy` shows as **blocked** in `ctrl+t`. When a blocking task is marked `completed`, it's automatically removed from the blocked list. A task becomes **ready** (executable) when its blockedBy list is empty.
Skip stories already completed (`passes: true`) — create them as already completed.
For each task (in dependency order):
1. **Claim**: `TaskUpdate({ taskId: "N", status: "in_progress" })` 2. **Read**: Task description contains full implementation details 3. **Implement**: Make changes as described 4. **Verify**: Run acceptance criteria 5. **Complete**: `TaskUpdate({ taskId: "N", status: "completed" })` 6. **Update prd.json**: Set `passes: true` for the userStory 7. **Next**: Find next unblocked task via TaskList
When a task completes, also update prd.json:
jq '(.userStories[] | select(.id == "<story-id>")).passes = true' <prd-path> > tmp.json && mv tmp.json <prd-path>
This keeps prd.json in sync for RalphTUI compatibility.
Use TaskList to check progress:
**Say "All tasks complete" when done.**
Press `ctrl+t` to see task progress:
Tasks (2 done, 1 in progress, 3 open) ✓ #1 US-001: Setup database schema ■ #2 US-002: Implement auth service □ #3 US-003: Add login route > blocked by #2 □ #4 US-004: Add protected routes > blocked by #2
If you lose track:
# Check built-in tasks TaskList # Or check prd.json directly cat <prd-path> jq '[.userStories[] | select(.passes == false)]' <prd-path>
| Scenario | Action | |----------|--------| | No pending tasks | All complete or check prd.json | | Task blocked | Complete blocking tasks first | | Invalid JSON | Check prd.json syntax | | Test failure | Fix and retry, don't mark complete |
/tasks-loop /tasks-loop ./prd.json /tasks-loop ./tasks/my-feature.json /tasks-loop ./prd.json --max-iterations 5
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.
Convert plans to Beads - works with /beads-loop, /beads-swarm, or RalphTUI
Execute beads with parallel agent swarm (dependency-aware)
Deep bug investigation with architectural fix plan generation - works with any executor (loop or swarm)
One-time setup after installing ARIS as a Claude Code plugin — registers the Codex reviewer MCP server from the plugin directory…
Autonomous iteration loop: modify, verify, keep/discard against any metric
name: sc:agent description: SC Agent — session controller that orchestrates investigation, implementation, and review category:…