Skip to content

Workflow Overview

SpecArk expresses SPDD as a sequence of explicit phases, with artifacts passed from one phase to the next.

Standard sequence

0a. spdd-discovery   (optional, manual — for unclear early context)
0b. spdd-plan        (optional, manual — for roadmap-sized input)
1. spdd-story         → requirements/STORY-*.md
2. spdd-analysis      → spdd/analysis/*.md
3. spdd-reasons-canvas → spdd/prompt/*.md
4. spdd-generate      → implementation files
5. spdd-api-test      → spdd/tests/*  (optional)

Maintenance:
   spdd-prompt-update  when requirements change
   spdd-sync           when implementation drifts from the prompt

Artifact-driven handoff

Each phase produces repository files that become the next phase's inputs. The goal is to avoid re-sending the same business context through chat.

Why file-backed handoffs matter

  • Each artifact is reviewable before moving forward.
  • Later phases read the file directly — no copy-pasting context.
  • If anything goes wrong, you have a clear checkpoint to return to.

Typical artifact path:

text
spdd/discovery/DISCOVERY-EXAMPLE.md
spdd/plan/PLAN-EXAMPLE.md
requirements/STORY-001-example.md
spdd/analysis/EXAMPLE.md
spdd/prompt/EXAMPLE.md
<implementation files>
spdd/tests/<verification assets>

spdd-plan and the orchestrator

spdd-plan is explicitly invoked and optional. The orchestrator still starts broad inputs at spdd-story until a separate change updates the start-phase contract.

spdd-discovery and the orchestrator

spdd-discovery is explicitly invoked and optional. Use it before spdd-plan, spdd-story, or spdd-analysis when the problem, users, outcome, or scope boundaries are still unclear. It does not change the orchestrator's default start-phase detection in this release.

Why the workflow matters

Benefits

  • Narrower prompts — each request stays focused on one phase.
  • Cheaper token usage — no repeated context in every message.
  • Clearer review points — every major transition has an artifact to inspect.
  • More reproducible outputs — same inputs produce consistent artifacts.
  • Better traceability — idea to code with a clear file history.

Just getting started?

Use the orchestrator in semi-auto mode. It stops at the natural review gates so you can inspect each artifact before the next phase begins.

text
Use the spdd-orchestrator skill on @your-idea.md in semi-auto mode.

Structured Prompt-Driven Development — works with Codex and Claude Code.