Chapter 8 of 22 · about 1 min
8. How Spec Kit handles many features
Golden rule: one feature at a time. Don't spec the whole app at once. You'll drown in review work and edge cases.
What happens when you run /speckit-specify for a new feature:
- Spec Kit picks the next number and a short name, for example
001-user-registration. - It creates
specs/001-user-registration/, and every document for that feature lives there. - It updates
.specify/feature.jsonto point at that folder, so that feature becomes "active". - If the Git extension is installed, it also creates and switches to a branch called
001-user-registration.
Later commands (clarify, plan, tasks, ...) read feature.json first, which is why you never need to tell them which feature you mean.
Next feature? Run /speckit-specify again and you get 002-user-login, then 003-..., and so on.
specs/├── 001-user-registration/ (done)├── 002-user-login/ (done)└── 003-password-reset/ ← feature.json points here nowNote: In current versions the active feature comes from
feature.json, not from your Git branch. Runninggit checkout 001-user-registrationalone does not switch Spec Kit back. To switch, edit.specify/feature.jsonor set the environment variableSPECIFY_FEATURE_DIRECTORY.
specs/
- 001-user-registration/(done)← feature.json
- 002-user-login/(done)← feature.json
- 003-password-reset/(done)← feature.json
Git branch
003-password-reset
Later commands (clarify, plan, tasks, ...) read feature.json first.
To switch, edit .specify/feature.json or set SPECIFY_FEATURE_DIRECTORY.
The lifecycle:
constitutionruns once per project.specify → … → convergeruns once per feature, again and again.