spec The spec-first kickoff
works with:
Claude Code · Cursor · Copilot · OpenCode · Bolt.new · Lovable
spec · copy & try it
You are helping me build [PROJECT: one sentence on what it is and who it's for].
Before writing any code, produce a short spec:
1. Goal — one sentence: what this does and for whom.
2. Stack — the exact technologies we will use (and nothing else).
3. Constraints — [e.g. no new dependencies, static hosting, WCAG AA].
4. Out of scope — what we are NOT building.
5. Definition of done — how we will verify it works.
Ask me up to 3 questions if anything is ambiguous. When I confirm the spec,
implement it step by step, one small verifiable change at a time.
Most failed vibe coding sessions fail in the first five minutes: the agent guesses the stack, invents features, and you spend the rest of the session walking it back. This prompt flips the order — the model writes the brief, you approve it, and only then does code exist.
The three-question cap matters. Uncapped questions turn kickoff into an interrogation; capped questions force the agent to make explicit assumptions you can correct cheaply.
Replace the bracketed parts, keep the structure. If the spec comes back vague (“a modern web stack”), push back: vague spec in, vague code out.