A small todo app demonstrator for SpecDD.
The project shows how code can be guided by colocated .sdd specs. Code and specs live in src/; tests live in
tests/.
This repository is a minimal benchmark/demo for experimenting with SpecDD-style development:
- specs define local intent and constraints
- implementation follows nearby specs
- tests verify expected behavior
.specdd/ SpecDD bootstrap instructions
src/ Todo app source code and colocated .sdd specs
tests/ Test suite
Code is licensed under the Apache License 2.0.
JavaScript is used because most developers understand it. The language is not the point; it only serves as a familiar demonstration target.
No. It is intentionally small and exists to demonstrate SpecDD concepts.
Start with .specdd/bootstrap.*.md, then inspect the .sdd files in src/.
The specs in this example are intentionally heavier than the code. This is an artifact of the demonstrator, not a requirement or limitation of SpecDD. The app is deliberately small so the specs can clearly show how SpecDD works: ownership, constraints, tasks, scenarios, and local authority. In a larger or more complex project, the ratio will normally reverse itself quite quickly.
Yes. SpecDD is language-agnostic. The same approach can be used with Python, Go, PHP, TypeScript, Java, or other stacks.