Spec-Driven Development with OpenSpec
Create the specification artifact first — everything else is derived from it
The spec is the shared understanding between you and the AI
BDD, TDD, OpenAPI contract-first, ... share the same concept
| Stage | What Happens |
|---|---|
| Spec | Define .md artifacts such as prd.md, research.md, design.md, tasks.md, ... |
| Implement | AI read Spec artifacts and implement within the Spec context |
| Validation | Verify implementation against the spec |
| Archive | Archive after implementation done |
| Vibe Coding | Spec-Driven |
|---|---|
| Prompt → hope | Spec → high quality generated code |
| AI guesses scope | AI works inside defined scope |
| Session decays | Resume anywhere from the spec |
| Review code | Review intent |
| One long chaotic session | Small, scoped, well-defined changes |
A compiler catches errors before your code runs. Spec catches misunderstandings before your AI codes.
Always review the spec to ensure a shared understanding between you and your AI
| spec-kit | GSD | OpenSpec | |
|---|---|---|---|
| Artifact volume | High | Very high | Low |
| Human review checkpoints | Medium | Low | High |
| Noise level | High | Very high | Low |
Your AI knows what you want (and also you) if there is enough context
If you have any questions, feel free to reach out on GitHub or scan the QR below.
| GitHub | Website |
|---|---|