Builds a planned change task by task, each proof seen failing then passing. Use when the user says 'build this', 'implement X' or 'run the plan'. Not for unknown bugs.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Build?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/blauwtje-build-bossy)
---
name: build
description: "Builds a planned change task by task, each proof seen failing then passing. Use when the user says 'build this', 'implement X' or 'run the plan'. Not for unknown bugs."
argument-hint: "[plan path]"
allowed-tools: Bash(cat "${CLAUDE_SKILL_DIR}/../../rules/BASE.md" "${CLAUDE_SKILL_DIR}/../../rules/CODE.md")
---
# Build
**Red, green, commit: one task per commit.** A task is done when its proof failed before the change and passes after.
## Before the first task
- **Branch.** Use the branch the request names, else the current one; on `main`, branch off.
- **Plan.** Commit the plan file when it sits in the checkout untracked and not ignored (`git check-ignore` fails), then copy it to `<scratch>/<topic>.md`. With no plan, the decided change is one task.
- **Baseline.** Run the plan's `Commit check:` once. If it fails already, hand that bug to `diagnose`.
## The loop
Take the first task that no `Plan-task:` trailer in `git log` names (`<topic>/<n>`) and whose `Depends on:` tasks have landed. Repeat.
1. **Red.** Run the `Proof:`. It must fail, unless the task says `Red: none`. A proof that passes already means a wrong plan: send it to `spec`.
2. **Build.** Do a one-file task yourself. Send a larger one to a fresh `bossy:builder` with the plan copy, task number, checkout and a `<scratch>` report path; it does not commit. A `Model:` field sets its `model` and `effort`. `Files:` and the plan's facts about the code are a guide. When only the code moved, build the Acceptance where the code now is, red then green, and name the change in the report.
3. **Green.** Run the proof and the commit check yourself. Both pass: commit with a `Plan-task: <topic>/<n>` trailer, `<topic>` being the plan's file name without `.md`, or the branch name.
## When stuck
| Situation | Do |
|---|---|
| `BLOCKED` | Report the reason, stop that task, and go on with independent tasks. |
| `NEEDS ANSWER` | Ask the user, then resend the task. |
| `PLAN WRONG` | Note it in the plan and hand it to `spec`. |
| A failed proof | Give a fresh `bossy:builder` the failing lines with `model: opus` and `effort: medium`, at `opus high` when the task already ran on Opus, or on the task's model when input was missing. A second failure goes to `diagnose`. |
## Parallel tasks
Ready tasks sharing no path in `Files:` run up to 5 at once; others run singly.
1. Per task, run `git worktree add <scratch>/wt-<n> -b <topic>-<n>` from the run branch. Install the dependencies there when the proof needs them, and run red there.
2. Send each task to its own fresh `bossy:builder` in one message, with its worktree as checkout.
3. For each `DONE`, run the proof and the commit check there, then commit.
4. On the run branch, `git cherry-pick` each commit and run the commit check. On a conflict, run `git cherry-pick --abort` and rebuild that task alone.
5. Run `git worktree remove` and `git branch -D` for each.
## After the last task
1. **Success criterion.** Run the plan's `Success criterion` once; a failure gets one fix and rerun.
2. **Report** from `git log` and `git diff --stat`.
## Report
```text
Built 4 of 5 tasks on feat/csv-export. Task 5 is blocked: it needs the delimiter choice.
Proof: each landed task failed before and passes after.
Not run: the download button.
```
Next: tell the user to type `/ship`, which reviews the diff, unless they ruled out a push.
!`cat "${CLAUDE_SKILL_DIR}/../../rules/BASE.md" "${CLAUDE_SKILL_DIR}/../../rules/CODE.md"`