Chapter 13 of 22 · about 1 min
13. Step 5: checklist (optional)
What it is
Spec Kit calls it "unit tests for your requirements." Normal unit tests check whether code works. A checklist checks whether your requirements are well written: complete, clear, consistent and measurable.
codeDoes it work?requirementsAre they complete, clear, consistent and measurable?How it differs from clarify
clarify |
checklist |
|---|---|
| Asks you questions | Produces a list of questions for you to review |
Edits spec.md with your answers |
Doesn't edit the spec, only writes a checklist file |
| Interactive conversation | A document you go through on your own |
How to run it
/speckit-checklist/speckit-checklist security/speckit-checklist UX and accessibilityExample items it might generate:
- "Is the error message for a duplicate email specified exactly?"
- "Is the maximum length of the name field defined?"
- "Are requirements for what happens on a database failure defined?"
Your job
Go through each item. If the spec doesn't answer it, update spec.md (or run clarify again), then tick the box. [x] means "the requirement is clearly written", not "the code is done."
implementreads your checklists before it starts. If items are still unticked, it warns you and asks whether to continue.
checklists/requirements.md (example)
[x] = the requirement is clearly written
When to run it: after plan is a good default (so it can see both spec and plan), but you can run it any time after specify.