spec-driven-development

Write a six-area specification before coding to guide implementation.

1|Updated Apr 8, 2026
One-click install
npx skills add https://github.com/pko89403/ZeroAlign-Rec --skill spec-driven-development-pko89403
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-driven-development
Source: https://github.com/pko89403/ZeroAlign-Rec/tree/main/.agents/skills/spec-driven-development
Command: npx skills add https://github.com/pko89403/ZeroAlign-Rec --skill spec-driven-development-pko89403

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Write a structured specification before writing any code. The spec is the shared source of truth between you and the human engineer — it defines what we're building, why, and how we'll know it's done. Code without a spec is guessing.

Core Features & Use Cases

  • Phase-driven workflow: specification-first approach that reduces rework and miscommunication.
  • Six-core-area spec: objective, commands, project structure, code style, testing strategy, and boundaries, used to guide implementation and reviews.
  • Reframing and living document: updates as decisions change, with tests and acceptance criteria captured in the spec.

Quick Start

Draft a compact spec outlining objectives, commands, structure, code style, testing, and boundaries for your next project.

Frequently Asked Questions about spec-driven-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is specification-driven development and when should I use it?

Specification-driven development is writing a structured specification before coding to reduce miscommunication. Use it for early-stage projects or changes spanning multiple modules with unclear, evolving requirements to establish a shared truth.

How do I write a project specification before starting implementation?

Draft a project specification covering six core areas: objective, commands, project structure, code style, testing strategy, and boundaries. This specification-first approach guides implementation and code reviews.

What should be included in software architecture documentation for evolving requirements?

Software architecture documentation for evolving requirements should include objectives, commands, structure, code style, testing strategy, boundaries, explicit success criteria, and open questions. This living document updates as decisions change.

Does specification-driven development work for early-stage projects with unclear requirements?

Yes, specification-driven development targets early-stage projects with unclear or evolving requirements. It enforces a six-area specification to reframe unclear requirements into a concrete document, reducing rework before coding begins.

How do you handle requirement changes during spec-driven development?

Handle requirement changes by treating the specification as a living document. Update the spec as decisions change, capturing new tests and acceptance criteria within the document to maintain a single source of truth.

Why write a specification before coding instead of during implementation?

Writing a specification before coding prevents guessing and reduces rework. Code without a spec lacks a shared source of truth, leading to miscommunication, whereas a prior spec defines what to build and how to know it is done.