From vibe-spec
Critiques a V0 project spec, identifies gaps, maps each feature to concrete tools using vibe-spec references, and promotes it to a V1 spec.
How this command is triggered — by the user, by Claude, or both
Slash command
/vibe-spec:spec-refineThe summary Claude sees in its command listing — used to decide when to auto-load this command
You are running **Step 2 of the Vibe-Spec spec-driven workflow**: promoting the **V0 spec → V1 spec**. The V1 spec becomes the single source of truth — it details exactly *which tools* achieve each piece of functionality. ## What to do 1. Read the existing spec at **`docs/project-spec.md`** (the V0 draft from `/spec-draft`). If it doesn't exist, tell the user to run `/spec-draft` first. 2. **Critique it.** Identify gaps, ambiguities, and missing edge cases, and ask the user clarifying questions about them before deciding anything. 3. **Map functionality → tools** using the `vibe-spe...
You are running Step 2 of the Vibe-Spec spec-driven workflow: promoting the V0 spec → V1 spec. The V1 spec becomes the single source of truth — it details exactly which tools achieve each piece of functionality.
Read the existing spec at docs/project-spec.md (the V0 draft from
/spec-draft). If it doesn't exist, tell the user to run /spec-draft first.
Critique it. Identify gaps, ambiguities, and missing edge cases, and ask the user clarifying questions about them before deciding anything.
Map functionality → tools using the vibe-spec skill. For each capability in
the spec, load the relevant reference file(s) (under
${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/) and choose the documented approach:
reference/01-scaffolding.mdreference/03-docker.md, 04-database.md, 05-prisma.mdreference/07-auth.md (decide OAuth vs OTP+JWT with the user)reference/08-rbac.mdreference/09-validation.mdreference/06-dbt.md, 17-scripts.mdreference/12-s3.md; push / PWA → reference/13-push-notifications.mdreference/11-ui.md; testing → reference/10-testing.mdreference/14-ci-cd.md, 15-pre-commit.md, 16-deployment.mdreference/20-surface.mdreference/02-nestjs.md (only if a measured need exists)reference/19-secrets.md: for each capability needing a
secret, name the env var holding it and mark it server-only (never
NEXT_PUBLIC_). Considering this now makes the later /spec-secrets audit a
confirmation rather than a discovery.Use the skill's quick-reference table to avoid pulling in tools the project doesn't need. Prefer the simplest option that satisfies the requirement.
Rewrite docs/project-spec.md as the V1 spec: the same workflows, now with
an explicit tech-stack section and per-feature tool choices (with a one-line
rationale each). Note anything deliberately skipped and why.
This is a good step to run in planning mode. End by telling the user to run
/spec-phases next.
npx claudepluginhub connorrmcd6/vibe-spec --plugin vibe-spec