Spec-Driven Development (SDD)

Specification-Driven Development Workflow

Definition

A structured approach to agent-based coding that emphasizes multi-step specification generation (requirements, code analysis, design) followed by sequential task decomposition and implementation, with context clearing between steps and persistent disk storage of specifications to improve agent accuracy and reduce costs.

Examples in the Wild

  • Example 1:Generating requirements spec before code analysis
  • Example 2:Clearing context after design phase before implementation
  • Example 3:Storing specs to disk for multi-run persistence
  • Example 4:Delivering specs layer-by-layer to catch errors early