[[Specification]][[-driven development]] [^1]
> [[Specification pattern]] is the first artifact and [[Single source of truth]], rather thaan [[Code]] itself
It is a specialized [[Model-driven development]]
## Levels
### Spec-first
> A well thought-out [[Specification|spec]] is written first, and then used in the AI-assisted development workflow for the task at hand.
### Spec-anchored
> The [[Specification|spec]] is kept even after the task is complete, to continue using it for evolution and maintenance of the respective feature.
### Spec-as-source
> The [[Specification|spec]] is the main source file over time, and only the spec is edited by the human, the human never touches the [[Code|code]].
[^1]: https://martinfowler.com/articles/exploring-gen-ai/sdd-3-tools.html