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 11 of 22 · about 1 min

    11. Step 3: clarify (optional but recommended)

    What it is

    It's an interview. The AI reads your spec, finds what's vague or missing, and asks you up to about five targeted questions, one at a time. After each answer it writes the decision straight into spec.md.

    Why it matters

    Every gap you don't close here becomes an AI guess later. Fixing a misunderstanding in a sentence is cheap. Fixing it in 40 files of code is expensive.

    How to run it

    /speckit-clarify

    or point it at an area you care about:

    /speckit-clarify focus on security and input validation

    What it looks like

    Q1: How should email uniqueness be compared? A) Trim spaces; case-sensitive B) Trim spaces; case-insensitive (recommended) C) Trim; lowercase domain only Reply with a letter, "yes"/"recommended", or a short custom answer.

    You type B. It records the decision in a Clarifications section (with a date) and updates the affected requirements and edge cases, then asks the next most important question.

    Learning aid · SimulationA clarify session, simulated
    1. 1 · The spec is vague

      Given an account already exists with that email, when someone registers with the same email, then registration is rejected.

      ? Is email case-sensitive?

    2. 2 · Clarify asks one question

      Q1: How should email uniqueness be compared?
    3. 3 · The answer is recorded

      ## Clarifications (date)

      - How should email uniqueness be compared? → B) Trim spaces; case-insensitive

      The affected requirements and edge cases are updated too.

    Fixing it now costs one sentence, not 40 files of code.

    An illustrative simulation built from the guide's example. The question and options are the guide's; the spec excerpt is invented for illustration and is not Spec Kit's exact output format. Nothing here changes any file.

    Tips

    • Read the recommendation, but decide yourself. It's your product.
    • You can run clarify several times, each time on a different area.
    • It was formerly called /quizme.