04 Spec

Generate or refine a spec, a feature's immutable contract, from a request, a PRD, or review findings. Use when the user wants to draft or refine a spec. Not for writing code, a full PRD, or changing a locked spec.

ai-driven-dev 10afd34 6 files · 8.1 KB Updated

File contents

Spec

flowchart LR
  request([request or PRD path]) --> build --> done([spec.md])
  target([spec path + findings]) --> refine --> done

Actions

Run the flow above. Read only the next action file.

Action Does
build draft a fresh spec from a request or PRD
refine rewrite an existing spec to address findings

Transversal rules

  • Never invent; mark every gap instead of guessing.
  • Never explore the codebase.
  • Hold intent, never implementation: solution-agnostic, no how, few acceptance criteria.
  • Keep it readable: clear headers, bulleted criteria, explicit non-goals.
  • Immutable once validated: never rewrite a locked spec.

ai-driven-dev/aidd-framework/tree/main/plugins/aidd-pm/skills/04-spec commit 10afd34c00

Frequently asked questions

npx skillmds@latest add ai-driven-dev/04-spec