/build-plan
Source: ~/.claude/skills/build-plan/SKILL.md
name: build-plan
version: 2.0
description: >
Execute an approved plan using TaskList with builder/validator teams.
RunUse after /plan-with-team.team creates an approved plan. Triggers: "execute the plan",
"build this", "implement the plan", "run the plan", "/build-plan".
argument-hint: "[path to plan file, or leave empty for latest]latest in ~/system/specs/]"
level: 3
Build/build-plan — Execute Approved Plan
Purpose
ExecuteExecutes a pre-approved plan file using the TaskList system withparallel builder/validator teams.
Instructions
agents.
YouRun areAFTER executing/plan-with-team — never execute without an approved plan.
Variables
| Variable | Type | Description | Default |
|---|---|---|---|
plan_path |
path | Path to plan |
latest |
concurrency |
number | Parallel builders | 3 |
yolo |
flag | Skip browser testing | false |
Workflow
Step 1: Load Plan
If
- if
provided,$ARGUMENTSreadprovidedthat→file.useOtherwise,as plan_path - else → find
mostlatestrecent .md inplan:ls -t ~/system/specs/*.md | head -1.Extract:Team members (builders and validators)TasksReadwithplan file, verify it has: [ ] task checkboxes + acceptance criteriaDependencies (blockedBy)
Step 2:
CreateValidateTasksPrerequisitesFor- Check:
taskdoesinplanthehaveplan:approvalmarker? (
TaskCreate({##subject:APPROVED"[Tasksectiontitleorfromstatus:)plan]",approved - if
"[Fullnotdescriptionapproved+→acceptanceSTOP,criteria]",tellactiveForm:user"[Presenttotenserunaction,/plan-with-teame.g.,first - Check:
autharemodule']"required})services running? (DB, relevant tools)
eachdescription:'BuildingStep 3:
SetActivateDependenciesBuild Modenode ~/system/tools/build-mode.js start <project_dir> --concurrency <N>Builder completion flow
ForBuilderseachcallnode ~/system/tools/mc.js ready <id>NOTmc.js done. Only after Proveo/validatortask,verificationblockcanittasksbybeitsmarkedbuilder:done. Build-plan CANNOT report COMPLETE until all tasks pass Proveo verification.TaskUpdate({ taskId: "[validator-id]", addBlockedBy: ["[builder-id]"] })Step 4: Execute
BuildersTasks (Parallel)parallel where independent)For
alleachunblocked[ ]task in plan:- if task has no dependencies → spawn in parallel with builder
tasks,agent
spawn agents IN PARALLEL using Task tool:Task({ subagent_type: "general-purpose", description: "Build [component]", prompt: `You are a BUILDER agent. Read ~/.claude/agents/builder.md. Your- if task
ID:has dependencies → wait for dep completion, then spawn- Each builder: reads task spec, implements, marks
[id]x]Task:when[description]doneAcceptance criteria: [criteria] When done, report what you built.` })
Step 5: UpdateValidate BuilderEach StatusTask
WhenAfter builderseach complete:task completes → spawn validator agent:
TaskUpdate({
taskId:- Runs
"[id]",tests status:relevant "completed"to })task
Step 6: ExecuteFinal Validators (Parallel)Check
Spawn
- All
agentstasksfor[x]? → run full test suite - if PASS →
node ~/system/tools/build-mode.js stop --status completed - if FAIL →
node ~/system/tools/build-mode.js stop --status failed+ report
Report Format
BUILD-PLAN EXECUTION REPORT
Plan: [filename]
Status: [COMPLETE|PARTIAL|FAILED]
Tasks: X/Y completed
builders:
Task({
subagent_type: "general-purpose",
description: "ValidateTests: [component]",passing/total]
prompt: `You are a VALIDATOR agent. Read ~/.claude/agents/validator.md.
Your task ID:Duration: [id]time]
Task:Issues: [description]any Check: [acceptance criteria]
READ-ONLY. Report PASSblockers or FAIL.`
})
Step 7: Update & Report
When all tasks complete, show:
# Build Complete
## Summary
- Total tasks: X
- Passed: Y
- Failed: Z
## Tasks
- [x] Task 1 — PASS
- [x] Task 2 — PASS
- [ ] Task 3 — FAIL: [reason]
## Files Created/Modified
[list]
## Next Steps
[if failures]
Rules
Parallel execution — Launch independent tasks together
Respect dependencies — Never skip blockedBy
Report failures — Don't hide issues
$ARGUMENTS