From vibe-spec
Guides environment setup for the Vibe-Spec stack by detecting required tools, checking what's missing, and proposing OS-specific install commands one at a time with user confirmation.
How this command is triggered — by the user, by Claude, or both
Slash command
/vibe-spec:spec-setup static|crud|api|dataThe summary Claude sees in its command listing — used to decide when to auto-load this command
You are running **`/spec-setup`**: a **guided, confirm-each-step** onboarding that
gets the user's machine ready by installing **only the tools their project needs**.
Consult the `vibe-spec` skill
(`${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/18-prerequisites.md`) for the tool
list, detection commands, and OS-specific install methods.
## Hard rules
- **Never auto-install.** Propose the exact command and **wait for the user to confirm**
before running anything. If they decline, just print the command for them to run
themselves.
- **Never run `sudo`** without surfacing it explicitl...You are running /spec-setup: a guided, confirm-each-step onboarding that
gets the user's machine ready by installing only the tools their project needs.
Consult the vibe-spec skill
(${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/18-prerequisites.md) for the tool
list, detection commands, and OS-specific install methods.
sudo without surfacing it explicitly and getting confirmation.Consult reference/18-prerequisites.md.
Determine the required tool set (spec first):
docs/project-spec.md exists, read it and infer the needed tools from the
features and the tool mappings written during /spec-refine:
$ARGUMENTS project type if given, else ask the user which it
is (static / crud / api / data). Map it to references via the "what do I need?"
table in SKILL.md, then to tools.Detect what's already installed (same checks as /spec-doctor), scoped to the
required set. Detect the OS first. For Docker, also check the daemon (docker info).
For each MISSING tool, in dependency order (Git → Node → pnpm → Docker → uv):
/spec-troubleshoot and the reference's alternate install
method.End with a summary (installed / already-present / skipped) and the next step:
/spec-refine or /spec-implement
as appropriate./spec-draft to start the workflow./spec-doctor for a re-check anytime.npx claudepluginhub connorrmcd6/vibe-spec --plugin vibe-spec