/vibe-spec:spec-phasesfrom vibe-spec
Breaks a V1 project specification into sequential, self-contained phases and appends a phase index, producing the final V2 spec. Part of the Vibe-Spec workflow.
Ships in vibe-spec. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
specification, phasing, vibe-spec, project-planning, workflow
You are running Step 3 of the Vibe-Spec spec-driven workflow: promoting the V1
spec → V2 spec by breaking it into phases. See the vibe-spec skill
(${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/00-workflow.md) for the phase
conventions.
Read docs/project-spec.md (the V1 spec from /spec-refine). If it isn't a
tool-mapped V1, tell the user to run /spec-refine first.
Break the work into sequential, self-contained phases. Each phase should be a chunk that can be planned, implemented, and verified independently, completable in roughly 1–3 sessions, with clear entry/exit boundaries so no context bleeds between phases. Early phases lay foundation (scaffold, DB, auth); later phases build features and polish.
Outline only at this stage — phase name, scope boundaries, and a sentence or
two on what each covers. Do not fully design them yet (that's /spec-plan).
Append a phase index table to the end of docs/project-spec.md and mark the
document V2. Use this shape:
### Phase Plan
| # | File | Scope |
|---|------|-------|
| 1 | `docs/plans/phase-1-foundation.md` | Project scaffold, data ingestion |
| 2 | `docs/plans/phase-2-auth.md` | Auth, onboarding |
| 3 | `docs/plans/phase-3-dashboard.md` | Transforms, core dashboard views |
The V2 spec is the final version — V0 and V1 can be discarded. End by telling the
user to run /spec-plan to flesh out the first phase.
7-day visitors to each command page
9 commands in this plugin
/spec-doctorWhat to doRead-only environment health check for the Vibe-Spec stack. Detects your OS and reports which prerequisite tools (Git, Node, pnpm, Docker, uv) are installed, their versions, and what each is needed for. Installs nothing./spec-draftWhat to doStep 1 of the Vibe-Spec workflow. Interview the user about their product and write a rough V0 spec — what it does and how users interact with it, no tooling decisions yet./spec-implementWhat to doStep 5 of the Vibe-Spec workflow. Promote a phase plan to detailed, implement it following the vibe-spec references, then update the docs so the spec reflects reality./spec-planWhat to doStep 4 of the Vibe-Spec workflow. Generate the high-level plan file for every phase in the V2 phase index, each with a scope + status header, so the user has a complete set of plan files to work from./spec-refineWhat to doStep 2 of the Vibe-Spec workflow. Critique the V0 spec, fill gaps with clarifying questions, then promote it to a V1 spec that maps each piece of functionality to concrete stack tools using the vibe-spec references./spec-secretsThe trust boundary (do not break it)Audit a Vibe-Spec app for secrets leaking to the browser. A locked-down, redacting command — a local script reads .env and the built bundle, and Claude only ever sees variable NAMES and pass/fail verdicts. Secret values never enter the model's context.npx claudepluginhub connorrmcd6/vibe-spec --plugin vibe-spec