SPDD Generate
Translate an approved REASONS Canvas into code and tests without improvising outside the prompt/spec.
Announce at start: "I'm using the spdd-generate skill to implement strictly from the approved REASONS Canvas."
Preconditions
spdd-alignment,spdd-analysis, andspdd-reasons-canvasartifacts exist or are included in the prompt.- The canvas has passed
spdd-abstraction-firstreview. - Operations, Norms, and Safeguards are specific enough to execute.
If any precondition fails, stop and repair the prompt artifact before editing code.
Execution rules
- Implement Operations in canvas order unless repository dependencies force a narrower order; record any deviation in the artifact.
- Modify only files required by Requirements and Operations.
- Preserve existing behavior not explicitly changed by the canvas.
- Add or update tests where the canvas says behavior must be proven.
- If implementation reveals a behavior/design mismatch, do not patch around it. Use
spdd-prompt-updatefirst. - If implementation requires a harmless internal refactor, do it in a small step and later run
spdd-sync.
Verification sequence
- Run the smallest command that proves each operation's behavior.
- For API or system-boundary changes, use
spdd-api-testor an equivalent executable scenario. - After behavior passes, run
spdd-iterative-reviewfor prompt/code consistency and maintainability.
Output
Report:
- Canvas file/version used.
- Operations completed.
- Tests or scenarios run.
- Any prompt updates or sync needed.