Structured-Prompt-Driven Development (SPDD)

2026-05-18 · source · source ↗ · raw capture · wiki page

Published on Martin Fowler's site. Authors: Wei Zhang and Jessie Jie Xia. Tag: generative AI.

Core Argument

SPDD treats prompts as first-class delivery artifacts — version-controlled, reviewed, and kept in sync with code — to make AI-generated changes governable, reviewable, and reusable at team scale. Individual developer speed from AI assistants doesn't automatically translate to system-level throughput: "buying a Ferrari and driving it on muddy roads: the engine is powerful, but your arrival time is determined by road conditions and traffic."

Closing thesis: "In the AI era, software development isn't a contest of model IQ. It's a contest of engineer cognitive bandwidth."

The REASONS Canvas (7-part prompt structure)

The SPDD Workflow (6 steps)

  1. Create initial requirements (optionally using /spdd-story)
  2. Clarify analysis (human reviews core logic, scope, DoD)
  3. Generate analysis context (/spdd-analysis)
  4. Generate structured prompt (/spdd-reasons-canvas)
  5. Generate code (/spdd-generate) + verify + review/adjust
  6. Generate unit tests

Golden rule: "When reality diverges, fix the prompt first — then update the code."

Key Commands (openspdd CLI)

Three Core Skills for Developers

  1. Abstraction first — "design before you generate"
  2. Alignment — "lock intent before you write code"
  3. Iterative Review — "turn output into a controlled loop"

Fitness Assessment

Key Quotes

Example: Billing Engine Enhancement

Token-billing system enhanced to support multi-plan, model-aware pricing. GitHub: gszhangwei/token-billing. ~99% intent alignment, complete engineering transparency, synchronized prompt assets.

Two types of code review adjustments: - Logic corrections → update prompt first (/spdd-prompt-update), then regenerate - Refactoring → change code first, then sync back (/spdd-sync)

Notable