From superpowers
Executes development plans by batching tasks for parallel/serial execution with agent teams, verifying results, reporting progress between batches, and confirming completion.
npx claudepluginhub fradser/dotclaude --plugin superpowersexecuting-plans/references/# Batch Execution Playbook ## Overview Load plan, create task tracking, identify batches, execute in parallel or serial, report between batches. **Core principle:** Parallel execution for independent tasks, serial for dependent tasks. ## The Process ### Step 1: Load and Understand Plan 1. Read all plan files (`_index.md` and task files) 2. Understand scope, architecture, and dependencies 3. Explore relevant codebase files to understand existing patterns ### Step 2: Create Tasks and Scope Batches (MANDATORY) **REQUIRED**: Create task tracking and identify batches using `TaskCreate` be...
/executeExecutes validated plans using isolated agents for tasks, spec review, code review, and conflict resolution, with human checkpoints between batches. Supports --resume, --status, --dry-run, and other flags.
/delegateOrchestrates complex tasks: decomposes into agent waves/tasks, plans execution, awaits user approval, then executes via subagents or teams.
/buildExecutes implementation plan from docs/plans/ using TDD (RED-GREEN-REFACTOR), parallel agents for independent tasks, and 2-stage code reviews. Produces code, tests, atomic git commits, and review reports.
/just-do-it-swarmingExecutes all remaining tasks using agent teams for context isolation, running each in a separate session. Supports --parallel for large batches (>5 tasks).
/implementExecutes technical implementation plans phase by phase with verification at each step. Supports autonomous mode, subagent-driven development, phase resumption, and checkpoints.
/orchestrateOrchestrates parallel task execution via Agent Teams API, parsing prompt_plan.md tasks, analyzing dependencies, and coordinating across Node.js, Python, Rust, Go, .NET projects.
Share bugs, ideas, or general feedback.
Load plan, create task tracking, identify batches, execute in parallel or serial, report between batches.
Core principle: Parallel execution for independent tasks, serial for dependent tasks.
_index.md and task files)REQUIRED: Create task tracking and identify batches using TaskCreate before any execution.
TaskCreate for each task in the plansuperpowers:agent-team-driven-development and superpowers:behavior-driven-development skills| Criterion | Parallel Batch | Serial Batch |
|---|---|---|
| Dependencies | None between tasks | Some tasks depend on others |
| File conflicts | No shared files | Shared files that cannot be split |
Is this a Red-Green pair (test + impl, same NNN prefix)?
YES → Red-Green Pair mode
NO → Does the batch have 2+ tasks?
YES → Parallel mode (Agent Team for 3+, subagents for 2)
NO → Linear mode
For test+impl pairs sharing the same NNN prefix:
For independent multi-task batches:
EnterPlanMode to plan batch execution, define file ownershipExitPlanMode to get approvalisolation: "worktree" for isolationTaskUpdate to mark tasks completedFor single-task batches or unavoidable sequential dependencies:
After each batch: show what was implemented, show verification output, get feedback, apply changes if needed, continue to next batch.
After all tasks verified: run full test suite, report completion and results.
Every task MUST pass before being marked completed.
| Check | How to Verify | On Failure |
|---|---|---|
| Exit code | Command exits 0 | Retry; escalate after 2 attempts |
| Test output | All assertions pass | Fix failing tests |
| No stubs | No TODO/FIXME/pass-only bodies | Complete implementation |
Retry: Fix and re-run immediately (max 2 retries, then escalate per blocker-and-escalation.md).
NEVER mark a task completed after a failed verification.
Before calling any task done:
pass, ..., raise NotImplementedError, or hardcoded defaultTODO/FIXME comments as only block contentassert True)Every agent/teammate prompt MUST include all three sections:
## Task Assignment
[Full task file content]
## Quality Requirements (MANDATORY)
You MUST produce complete, working implementation code — not stubs, skeletons, or placeholders.
Every function body must contain real logic, not `pass`, `...`, `TODO`, or a hardcoded stub return.
If you cannot implement something completely, stop and report a blocker; do NOT write a stub.
## Verification (MANDATORY BEFORE REPORTING DONE)
After implementation, run the following verification commands and confirm they all pass (exit code 0, no test failures):
[Verification commands from task file]
Report the actual command output. Do not report completion until all verification commands pass.
Omitting any section is a protocol violation.
STOP immediately when:
Ask for clarification rather than guessing.