[[Specification]][[-driven development]] [^1] > [[Specification pattern]] is the first artifact and [[Single source of truth]], rather thaan [[Source code]] itself It is a specialized [[Model-driven development]] ## Levels 1. 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. 2. 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. 3. 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 [[Source code|code]]. ^levels [^1]: ![[Martin Fowler#^understanding-spec-driven-development|§]]