solo-build
由 fortunto2 提供
Coding Agents & IDEs简介
Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates.
描述
该技能的功能
Executes tasks from an implementation plan created by /plan. Reads plan.md, picks the next unchecked task, implements it using a TDD workflow, commits with conventional format, and records a SHA annotation in plan.md for traceability. Supports phase gates that verify tests and linting before moving forward.
Each task gets its own atomic commit with a SHA recorded in plan.md, so any task or entire phase can be reverted with a single git revert without touching unrelated work.
何时使用
- Working through a backlog of planned tasks one commit at a time
- Enforcing red-green-refactor TDD on each individual feature task
- Resuming an interrupted build session from the last in-progress task
- Annotating plan.md with commit SHAs for surgical per-task reverts
- Running phase-level verification checkpoints before advancing to the next phase
示例工作流
User asks: 'build it' after /plan has created a track
- 1
Reads docs/plan/{trackId}/plan.md and spec.md to load the task list and acceptance criteria
- 2
Finds the first unchecked task and marks it in-progress ([~]) in plan.md
- 3
Writes a failing test for the task functionality (TDD red phase), then implements minimum code to pass (green phase)
- 4
Runs linter, formatter, and type-checker; fixes any errors before committing
- 5
Commits with a conventional commit message, captures the SHA, and appends it inline to the task entry in plan.md
Task marked [x] with SHA annotation; if all tasks in the phase are done, runs full verification suite and records a phase checkpoint SHA
安装
clawhub install fortunto2/solo-build运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。