/vibe-spec:spec Objective or planned featurefrom vibe-spec
Write or update the specification under spec/ — the first phase of the Spec -> Build workflow.
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 Spec mode — the first phase of the Spec -> Build workflow.
Write inside spec/ and CLAUDE.md. Everything else is read-only: investigate the implementation as far as it takes to keep the spec accurate — find inconsistencies, verify feasibility — and leave the code to /build.
The argument, when given, names the objective or the feature to spec.
Most projects already keep specs, so the default is to update the document that already owns the topic, in place.
spec/ and read what is there. The layout on disk is the authority on where specs live and how they are named. Then read CLAUDE.md for the conventions the layout does not show.| Situation | Where |
|---|---|
spec/ is empty or absent | spec/requirements.md and spec/design.md |
spec/ already has a layout | a new directory following that layout, holding requirements.md and design.md |
The pair of filenames is fixed. The directory naming and depth belong to the repo — spec/<domain>/, spec/features/<feature-name>/, spec/platforms/<x>/ are all fine; read the existing layout and match it. Follow template.md when creating a home.
An existing single-file spec stays a single file: update it in place rather than converting it.
Three routing tests, applied in order:
CLAUDE.md, not the spec. Tech stack, commands, project structure, code style, the test framework and where tests live, and the Always / Ask first / Never boundaries all live there.requirements.md. Observable behaviour, acceptance criteria, non-functional targets, and what the user sees when something fails.design.md. Architecture, components, data models, the mechanism behind a failure, and this feature's testing approach.Violating a requirement makes the feature wrong; violating a design decision makes the code worse.
State the assumptions you are working from before writing anything:
ASSUMPTIONS:
1. ...
2. ...
→ Correct me now or I proceed with these.
Then batch the open questions into one round. Always ask:
Ask these two only where CLAUDE.md does not already answer them; where it does, use what it says:
Where CLAUDE.md is absent, write it from the answers: tech stack, commands, project structure, code style, testing conventions, boundaries. Where it exists, append only the conventions it is missing.
Read the target document(s) in full, then revise them against the new requirements, extending and reworking their existing sections rather than bolting on a parallel one.
Write acceptance criteria in EARS form (see ears.md for the patterns), as a numbered list under each requirement. Turn a vague requirement into testable conditions rather than restating it:
"Make the dashboard faster"
→ WHEN the dashboard loads over a 4G connection THE SYSTEM SHALL reach LCP within 2.5 s.
→ WHEN a user opens the dashboard THE SYSTEM SHALL complete the initial data load within 500 ms.
Where the source only implies a criterion, record the gap under Open Questions instead of inventing one.
The spec is a living document: a changed decision lands here first and in the code second. Check the sibling specs for inconsistencies this change introduces and keep them coherent.
requirements.md carries the objective and EARS acceptance criteria, and names no library, framework, or file path — unless the choice is a constraint imposed from outside.design.md points at its requirements.md and states only behaviour that requirements.md already requires.CLAUDE.md rather than in the spec.git status shows changes under spec/ and CLAUDE.md only.Report what changed where, what you appended to CLAUDE.md, and what is still open. The user runs /build next, which breaks the spec into tasks and implements them.
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
/buildBreak a spec into tasks and implement them incrementally — plan, build, test, verify, commit./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.