Chapter 20 of 22 · about 1 min
20. Best practices and common mistakes
Do ✅
- One feature per spec. Small specs are easier to review.
- Start each step in a fresh chat session (as the course does). The documents carry the context, so the chat doesn't need to.
- Review every document before moving on. AI drafts, you decide.
- Use priorities (P1/P2/P3) and Out of Scope to keep the AI focused.
- Commit to Git after each step (spec done → commit, plan done → commit). You get history and an easy undo.
- Fix problems at the earliest document where they started.
- Keep the constitution short and strict. Real rules only, not wishes.
Don't ❌
- ❌ Put technology in
specify("use a REST controller…"). - ❌ Put feature details in the
constitution. - ❌ Repeat constitution rules in the
planprompt. - ❌ Skip
clarifyon anything important. Guesses become bugs. - ❌ Ignore
analyzeHIGH/CRITICAL findings. - ❌ Trust "Converged" or "Implementation complete" without running the app and the tests.
- ❌ Patch code to change behaviour without updating the spec, because then the spec stops being the truth.
When is SDD overkill?
For a 5-line script or a throwaway prototype, the full process is too heavy. Use the short path (specify → plan → tasks → implement) or just code it. SDD shines on real features, team projects, and anything you'll maintain.
Learning aidFull process or short path?
Short path
The guide's examples: a 5-line script · a throwaway prototype
specifyplantasksimplement
… or just code it.
Full process
The guide's examples: real features · team projects · anything you'll maintain
constitutionspecifyclarifyoptionalplanchecklistoptionaltasksanalyzeoptionalimplementconvergerecommended
Brownfield (existing code) tips
- Write a constitution that describes how the existing code already works, so the AI follows your current patterns.
- Specs can describe changes ("add password strength rule to existing registration").
- Commit before
specify init --here, since it may merge or overwrite files.