Chapter 2 of 22 · about 1 min
2. Why "vibe coding" breaks, and how specs fix it
"Vibe coding" means describing something loosely and letting the AI improvise. It works for tiny demos, but falls apart on real projects because:
- The AI fills gaps with guesses. You said "users can register". Is email case-sensitive? What's the minimum password length? What happens on a duplicate email? The AI decides silently, and its choices may not be yours.
- No memory of your standards. Every new chat forgets that your team uses Java 21, Maven, layered architecture and JUnit 5.
- There's nothing to check against. When the AI says "done", you have no list of what "done" was supposed to mean.
- Big asks produce big messes. "Build the whole app" produces thousands of lines nobody reviewed.
How Spec Kit fixes each one:
| Problem | Spec Kit's fix |
|---|---|
| AI guesses | clarify asks you the questions before code exists |
| Forgets standards | The constitution is read automatically by every command |
| Nothing to check against | analyze (before coding) and converge (after coding) check the work against the spec |
| Too big | One feature at a time, broken into small numbered tasks |
Learning aidWhen each fix does its work
Optional reviewCheck yourself