04 spec

From ai-driven-dev/framework · View interactive version

04 spec is an AI agent skill from the GitHub repository ai-driven-dev/framework. 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.

How to use this skill

Skill file

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.