Spec-Driven Development (SDD)
SDD is the operating rhythm for LeanSpec: capture intent in a spec, let humans and AI execute from it, and keep the spec in sync.
Five Loop Stages
- Discover — search existing specs before starting new work.
- Plan — create or update a spec so intent is unambiguous.
- Implement — humans and AI agents follow the spec to build.
- Validate — run tests and
lean-spec validateto ensure quality. - Update — mark the status, lessons, and follow-ups.
The loop restarts whenever new information appears. Specs are living documents, not ceremonial paperwork.
Roles in the Workflow
- Author clarifies the problem and desired outcome.
- Implementer (human or AI) executes the plan.
- Reviewer checks success criteria before status changes.
Tooling Support
lean-spec list,search, andviewfor discovery.lean-spec createandupdatefor planning/status.lean-spec validateand the MCP server for automation.