I've worked spec-first with AI for a long time and assumed everyone did. Then a module in the Gemini certification training turned out to be entirely about Spec-Driven Development, and I started to doubt that.
The idea is simple: write the spec first, let the AI build against it, and treat the code as the output. I wrote up the 4-step loop (spec, plan, tasks, verify), what a short, checkable spec line looks like, and why it cuts rework and keeps context between sessions.
It isn't free. A good spec takes real time, and a stale one is worse than none. How do you handle it? Do you write the spec before you prompt, or let the AI explore first?

Top comments (1)
Link for the post: linkedin.com/posts/igor-p-coutinho...