CASE FILE Vibe Coding Β§6/6
Task

Write Spec

Write a Vibe-Code Spec

Pick a small feature from a real app you use (or imagine one). Write a spec that an AI could use to generate code. Your spec should:

  1. Name the feature in one sentence. (e.g., "Add a button that toggles dark mode.")
  2. List 3–5 key constraints: the data that flows through, what triggers it, what the user sees. Don't try to exhaustively document β€” just close the biggest ambiguities.
  3. Note one assumption you're making. What default will an AI probably pick that you might need to correct? Why might it matter?
  4. State the success metric. How will you know this feature is done and working?

Keep it to ~150–200 words. Remember: a spec is a starting point, not a blueprint. It's done when an AI could generate something you'd want to correct, not when every detail is decided.

Open Claude Output Β· project