Skip to content

Reading

Appearance

Text size

Bookmarks

    No bookmarks yet. Use “Bookmark chapter” or “Bookmark this section” while reading.

    Your data

    Saved only in this browser on this device. It is not synced to other devices or sent anywhere.

    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:

    1. 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.
    2. No memory of your standards. Every new chat forgets that your team uses Java 21, Maven, layered architecture and JUnit 5.
    3. There's nothing to check against. When the AI says "done", you have no list of what "done" was supposed to mean.
    4. 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
    Each row pairs one problem from the list with its fix from the table, placed on a line from "before code exists" to "after coding". Select a row to find the problem in the list.
    Optional reviewCheck yourself
    1. Which fix asks you questions before any code exists?
    2. Which problem does reading the constitution in every command solve?