From vibe-spec
Promotes a phase plan from high-level to detailed, implements it following spec-driven conventions, then updates documentation to reflect reality.
How this command is triggered — by the user, by Claude, or both
Slash command
/vibe-spec:spec-implement phaseThe summary Claude sees in its command listing — used to decide when to auto-load this command
You are running **Step 5 of the Vibe-Spec spec-driven workflow**: detailing and
implementing one phase. This step is **iterative** — run it once per phase, ideally in
a fresh session. See the `vibe-spec` skill
(`${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/00-workflow.md`).
## What to do
1. **Load context.** Read `docs/project-spec.md` (the V2 spec) and the target phase's
plan file under `docs/plans/`. Pick the phase from `$ARGUMENTS`, or default to the
next phase whose status isn't `Complete`. Also read the *previous* phase's plan so
decisions carry forward.
2. **Promote to ...You are running Step 5 of the Vibe-Spec spec-driven workflow: detailing and
implementing one phase. This step is iterative — run it once per phase, ideally in
a fresh session. See the vibe-spec skill
(${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/00-workflow.md).
docs/project-spec.md (the V2 spec) and the target phase's
plan file under docs/plans/. Pick the phase from $ARGUMENTS, or default to the
next phase whose status isn't Complete. Also read the previous phase's plan so
decisions carry forward.Detailed and Status to In Progress. For each stack area, consult the
matching vibe-spec reference file and follow its conventions and gotchas exactly
(e.g. 01-scaffolding.md for project setup, 05-prisma.md for schema, 07-auth.md
for auth, 08-rbac.md for roles, 10-testing.md for tests).pnpm create next-app, pnpm prisma init, shadcn init).Complete when done.
surf verify to re-seal it so the pre-commit surf check gate
stays green. New invariant worth governing? Author a fresh claim with
surf new / surf suggest. See reference/20-surface.md. This makes "keep the docs
honest" a mechanical gate, not just a good intention.End by summarizing what changed and telling the user to start a fresh session and run
/spec-implement for the next phase. If new phases became necessary, add them with
/spec-phases conventions and continue.
npx claudepluginhub connorrmcd6/vibe-spec --plugin vibe-spec