/vibe-spec:buildfrom vibe-spec
Break a spec into tasks and implement them incrementally — plan, build, test, verify, commit.
Ships in vibe-spec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Switch to Build mode — the second phase of the Spec -> Build workflow. Invoke the vibe-spec:planning-and-task-breakdown skill to decompose, then vibe-spec:incremental-implementation alongside vibe-spec:test-driven-development to execute.
Require a spec. Look only for specs at a known path: files under spec/. A README or arbitrary doc does not count. If none exists, stop and tell the user to run /spec first — do not invent requirements.
A spec takes one of two shapes: a single Markdown file under spec/, or a requirements.md plus design.md pair sharing a directory under spec/. Directory naming and depth vary by repo, so match what is on disk rather than a fixed path. Both shapes are valid and may coexist. Read both halves of a pair: the requirements define what must be true, the design constrains how to get there.
Establish a clean baseline. Run git status --porcelain. If there are uncommitted changes outside the expected planning artifacts (spec/*, .tasks/*), stop and ask the user to commit, stash, or confirm how to handle them. Autonomous per-task commits must not absorb unrelated local work, or the clean-rollback guarantee breaks.
Decide whether to decompose or resume. .tasks/plan.md is self-describing — read its frontmatter and classify:
| State | Action |
|---|---|
No .tasks/plan.md | Decompose |
| Every task already complete | Decompose — archive the finished plan first |
A spec_sources hash no longer matches the file on disk | Stale |
base_commit is not an ancestor of the current HEAD | Stale |
| Otherwise, tasks remain | Resume |
Verify spec_sources with sha256sum (or shasum -a 256) and base_commit with git merge-base --is-ancestor <base_commit> HEAD.
When stale, stop and ask the user. Report which check failed and what changed — a spec was edited, or the branch moved. Offer to discard the plan and decompose afresh, or to keep it and resume anyway. Do not decide this alone: both causes are deliberate human actions, and silently discarding a plan throws away in-progress work.
Say how bad it is, so the choice is an informed one. A split spec makes this precise:
requirements.md changed — the acceptance criteria the tasks were written against no longer hold. Completed tasks may have built the wrong thing. Recommend discarding.design.md changed — the target behaviour is intact and completed tasks still stand; the change bears on how the remaining ones are implemented. Recommend resuming, and re-read the design before the next task.Decompose (when the classification says so). Break the spec into small vertically-sliced tasks with acceptance criteria and dependency ordering, and add checkpoints between phases listing only machine-checkable verifications. Write .tasks/plan.md and .tasks/todo.md, and add .tasks/ to .gitignore if it is not there already.
.tasks/plan.md starts with frontmatter recording what the plan was derived from:
---
feature: <short name for this unit of work>
spec_sources:
- path: spec/<domain>.md # or both halves of a split spec,
sha256: <hash at decomposition time> # listed separately so a design-only
# change is distinguishable
base_commit: <HEAD at decomposition time>
created_at: <YYYY-MM-DD>
---
Go straight to execution — do not ask the user to review the breakdown. Invoking /build is itself the approval.
Execute every task in dependency order. Use each task's declared dependencies; if they aren't explicit, execute in the order the plan lists them. For each task:
model: "sonnet"; Codex with model: "gpt-5.6-terra"; Task tool on Cursor with a Composer model slug from that host's list) — pass it the task, its acceptance criteria, and the RED → GREEN → regression → build loop to run.vibe-spec:code-review-and-quality skill and review the task's changes across its five axes, categorizing findings as Critical, Important, or Suggestion. Delegate Critical and Important fixes to a subagent on that same lower-cost family; carry Suggestions to the final summary.git add -A blindly — and make one commit per task so any point is a clean rollback..tasks/todo.md and record the commit SHA next to it. The SHAs let a later run reconstruct real progress from git log instead of trusting the file.Stop and ask the user (do not push through) when:
git revert → follow vibe-spec:doubt-driven-development and get explicit sign-off before continuingAfter the user resolves a blocker, they re-invoke /build — step 3 classifies it as a resume and it continues from the next pending task.
Archive on completion. Once every task is done, move .tasks/plan.md and .tasks/todo.md into .tasks/archive/<YYYY-MM-DD>-<feature>/, keeping both filenames. A plan left directly in .tasks/ therefore always means unfinished work, which is what makes step 3's classification trustworthy.
Summarize at the end: tasks completed, tests added, commits made, and anything skipped, flagged, or Suggestions left for the user.
If any step fails, follow the vibe-spec:debugging-and-error-recovery skill.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub yuntan/vibe-spec --plugin vibe-spec8 skills in this plugin
/code-review-and-qualityConducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch./debugging-and-error-recoveryGuides systematic root-cause debugging. Use when tests fail, builds break, behavior doesn't match expectations, or you encounter any unexpected error. Use when you need a systematic approach to finding and fixing the root cause rather than guessing./doubt-driven-developmentSubjects every non-trivial decision to a fresh-context adversarial review before it stands. Use when correctness matters more than speed, when working in unfamiliar code, when stakes are high (production, security-sensitive logic, irreversible operations), or any time a confident output would be cheaper to verify now than to debug later./incremental-implementationDelivers changes incrementally. Use when implementing any feature or change that touches more than one file. Use when you're about to write a large amount of code at once, or when a task feels too big to land in one step./planning-and-task-breakdownBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible./specWrite or update the specification under spec/ — the first phase of the Spec -> Build workflow.