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-clarifyor point it at an area you care about:
/speckit-clarify focus on security and input validationWhat 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.
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 · Clarify asks one question
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.
Tips
- Read the recommendation, but decide yourself. It's your product.
- You can run
clarifyseveral times, each time on a different area. - It was formerly called
/quizme.