# Build

> Implements a planned task test-first through the builder agent.

- Skill: `tauqeer13/build` (Agent Skill)
- Install (CLI): `npx get-skill add tauqeer13/build`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tauqeer13/build/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: tauqeer13 (https://skillmd.com/u/tauqeer13)
- Updated: 2026-12-03
- Page: https://skillmd.com/skills/tauqeer13/build

---

---
name: build
description: Implements a planned task test-first through the builder agent.
argument-hint: "<slug or handoff file>"
disable-model-invocation: true
---

Build the task in `$ARGUMENTS` (a slug in the handoff dir, or a path; if empty, the newest
file there whose Status is not `done`; say which you chose).

1. Read `Type` and `Size` in the handoff file. A `chore` you do yourself in this session,
   without an agent. A `bug` starts with a failing test that reproduces it; a `refactor`
   starts with tests that pin the current behaviour; a `spike` is throwaway code that is not
   merged. For everything else start the `dev-workflow:builder` agent with the model for the
   task's size: run `python3 <plugin folder>/hooks/dw.py models --project <project root>` (the plugin folder is two levels above this file) and use the model it prints for `build.<size>` (by default Sonnet for
   `straightforward`, Opus for `standard` and `hard`), pass it as the agent's `model`, and say
   which model you chose. Give it a brief of at most 10 lines: the handoff file
   path, the Files list, the full path of each playbook under the handoff's `Departments`
   (`../../departments/<name>/playbook.md` from this file; `engineering` if none is listed), and
   "tests first, then the smallest change, then the full checks".
   Do not paste file contents into the brief; the agent reads them.
2. When it returns, check its claims without a second full test run (the finish gate is the
   independent run): `git diff --stat` stays inside `Files`, and the builder's report has the
   check summary lines. Do not re-read files the agent already summarised unless something
   failed.
3. Update the handoff file yourself (the builder stays inside `Files` and does not touch it): tick met criteria with evidence (test id or command output line),
   `Built-by` (the model that built it, medium effort), Status `built`, Next step `/dev-workflow:review`.
4. If a `straightforward` build fails its checks once, or turns out to need changes outside its
   `Files` list, set `Size` to `standard` (or `hard` if the design is now unclear) in the handoff
   file and rebuild on that size's model instead of retrying. If that is the model that just
   failed, run `/dev-workflow:advise` first. Keep the earlier model in `Built-by`.
5. As soon as an attempt fails (yours, or one the builder reports), add one line under `Notes` in
   the handoff file (add the heading if missing): what was tried and why it failed. Do not wait for a pause.
6. If a fix fails twice, stop and run `/dev-workflow:advise` with the failing output instead of
   trying a third time.

