Spec driven development

From charlieviettq/awesome-agent-skill · View interactive version

Spec driven development is an AI agent skill from the GitHub repository charlieviettq/awesome-agent-skill. Write a structured spec before significant implementation—objective, commands, boundaries, testing, and success criteria. Use when starting a feature, project, or multi-file change without a written spec.

How to use this skill

Skill file

Spec-driven development

When to use

When not to use

Gated workflow

SPECIFY -> PLAN -> TASKS -> IMPLEMENT

Do not implement until spec (or explicit assumptions) is agreed.

Chunked approval

Spec sections (minimum)

  1. Objective — user, problem, success criteria
  2. Commands — build, test, lint, dev (full commands)
  3. Structure — where code, tests, docs live
  4. Code style — one example snippet beats paragraphs
  5. Testing — framework, levels, coverage expectations
  6. Boundaries — Always / Ask first / Never

Assumptions block

Before writing the spec, list assumptions and ask for correction:

ASSUMPTIONS:
1. ...
2. ...
-> Correct me or I proceed with these.

Success criteria

Reframe vague asks into testable conditions (metrics, dates, thresholds).

Living document

Update spec when scope or decisions change; link spec sections in PRs.

Related

See reference.md for a lightweight template.

Workflow patterns inspired by obra/superpowers (MIT).

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.