/install taku-build
\r \r
Taku Build - Auditable Implementation\r
\r
Build implements the approved contract and leaves Review enough evidence to\r
decide whether the work can ship.\r
\r
Rule labels: [IRON LAW] means a non-negotiable correctness constraint. [GUIDANCE] means a strong default that may adapt when context justifies it.\r
\r
[IRON LAW] No production code without a failing test, reproduction, or explicit\r
verification anchor first. If the repo lacks a test harness, create the smallest\r
reproducible check and say why.\r
\r
Preflight\r
\r Before editing:\r \r
- Read
PLAN.md, an approved Quick mini design, or the explicit user-approved\r task contract.\r - If the plan has a
Build Agent Contract, read Required fields first and use\r Optional fields only for context.\r - Load
references/tdd.mdfor the local TDD cycle.\r - Use
references/worktrees.mdonly when isolation is needed.\r - Choose execution mode yourself: sequential, parallel, or hybrid.\r \r Do not ask the user to choose a mode unless the choice changes product scope,\r cost, or risk.\r \r
Output Contract\r
\r Build speaks in three stable shapes only.\r \r
BUILD PREFLIGHT\r
\r
BUILD PREFLIGHT\r
- Mode: sequential | parallel | hybrid\r
- Reason: [one sentence]\r
- Subagents: available | unavailable; using sequential wave execution\r
- Waves: [wave-slug: task-slug list, or wave-1 for single task]\r
- Worktree: not needed | [path]\r
- TDD: enabled\r
- Ledger:\r
- task-slug: files=[...] | tdd=[...] | status=pending | deviation=none | evidence=none\r
- Next: [first wave/task]\r
```\r
\r
### BUILD UPDATE\r
\r
```text\r
BUILD UPDATE\r
- Completed: [wave-slug or task-slug]\r
- Tasks: [task-slug list]\r
- Result: [tests/repro/spec check observed]\r
- Deviations: none | approved: [...] | needs-review: [...]\r
- Ledger delta: [only changed rows]\r
- Next: [next wave/task or REVIEW]\r
```\r
\r
### BUILD COMPLETE\r
\r
```text\r
BUILD COMPLETE\r
- Executed waves: [...]\r
- Task ledger: [all done | exceptions listed]\r
- Changed files: [...]\r
- Verification evidence: [commands and outcomes]\r
- Deviations: none | approved: [...] | needs-review: [...]\r
- Residual risk: none | [...]\r
- Status: READY_FOR_REVIEW | BLOCKED\r
- Next: REVIEW\r
```\r
\r
The ledger is a handoff artifact, not a diary. Keep one row per task with these\r
fields: `task-slug`, `files`, `tdd`, `status`, `deviation`, `evidence`.\r
\r
## Mode Selection\r
\r
- **Sequential:** tasks are tightly coupled or there are 1-2 obvious steps.\r
- **Parallel:** tasks are independent and touch disjoint files.\r
- **Hybrid:** waves depend on earlier waves, but tasks inside a wave are\r
independent.\r
\r
Preserve plan task IDs when available. If the plan lacks IDs, create stable\r
kebab-case slugs. If a file appears in multiple tasks, those tasks are dependent\r
and must not run in parallel.\r
\r
When subagents are unavailable, keep the same wave schedule and execute each\r
wave locally in order. Report that in `BUILD PREFLIGHT`.\r
\r
## Execution Loop\r
\r
For each task or wave:\r
\r
1. Mark ledger row(s) `in_progress`.\r
2. Create the failing test, reproduction, or verification anchor.\r
3. Implement the smallest change that satisfies the spec.\r
4. Run the task verification.\r
5. Check spec compliance before code quality.\r
6. Update the ledger with status, evidence, and deviations.\r
7. Emit `BUILD UPDATE`.\r
\r
Do not mark a task `done` until its spec and TDD/verification anchor have\r
evidence.\r
\r
## Deviation Policy\r
\r
Use the approved contract as the boundary.\r
\r
- `deviation=none`: implementation matches the plan.\r
- `deviation=approved`: user explicitly approved the difference; preserve the\r
approval in later summaries.\r
- `deviation=needs-review`: implementation differs from plan and has not been\r
approved.\r
\r
`needs-review` deviations block `READY_FOR_REVIEW` unless the deviation is the\r
only safe path and is clearly documented for Review.\r
\r
## Reconciliation\r
\r
After every parallel or hybrid wave:\r
\r
- check for overlapping file changes\r
- run the smallest integration verification\r
- verify no task leaked outside its assigned files without recording a deviation\r
\r
Reconciliation is required even when all individual tasks report done.\r
\r
## Completion Gate\r
\r
Before routing to Review:\r
\r
- every task is `done` or explicitly `not-done` with reason\r
- every done task has evidence\r
- all deviations are either `none`, `approved`, or `needs-review`\r
- changed files are listed\r
- verification evidence is listed\r
\r
Then emit `BUILD COMPLETE` and route to `/taku-review`.\r
\r
## Known Pitfalls\r
\r
**Ledger missing at Review.** Review cannot distinguish approved deviation from\r
scope drift.\r
\r
Prevention: create the ledger in `BUILD PREFLIGHT` and preserve task slugs in\r
every update.\r
\r
**Parallel tasks touched the same file.** One task overwrote another.\r
\r
Prevention: duplicate file paths create dependencies; run them sequentially.\r
\r
**TDD anchor skipped after a test-harness failure.** The agent called the code\r
"probably correct."\r
\r
Prevention: debug or bound the harness failure, then preserve a verifiable\r
anchor before claiming completion.\r
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install taku-build - 安装完成后,直接呼叫该 Skill 的名称或使用
/taku-build触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Taku Build 是什么?
Execute an approved implementation plan. Triggers after /taku-plan, or on "build this", "implement the plan", "start coding", "run the plan", "execute tasks"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 57 次。
如何安装 Taku Build?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install taku-build」即可一键安装,无需额外配置。
Taku Build 是免费的吗?
是的,Taku Build 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Taku Build 支持哪些平台?
Taku Build 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Taku Build?
由 KennyWu(@kkenny0)开发并维护,当前版本 v1.0.0。