spec-driven-development

Draft formal specifications covering objectives, commands, structure, style, testing, and boundaries.

2|1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/huangzida/skills --skill spec-driven-development-huangzida
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: spec-driven-development
Source: https://github.com/huangzida/skills/tree/main/spec-driven-development
Command: npx skills add https://github.com/huangzida/skills --skill spec-driven-development-huangzida

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drafting a formal specification before coding clarifies goals, aligns stakeholders, reduces rework, and ensures a shared understanding of success criteria.

Core Features & Use Cases

  • Phase-based workflow for Spec, Plan, Tasks, and Implement, guiding teams from ambiguity to concrete execution.
  • Applicable to starting new projects, major features, or architectural changes where requirements are unclear or evolving.
  • Provides a repeatable structure with defined objectives, commands, project structure, code style, testing strategy, and boundaries.

Quick Start

Draft a concise spec outlining objective, assumptions, and acceptance criteria before writing any code.

Frequently Asked Questions about spec-driven-development

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

FAQPage Schema
How do I write a project specification before coding to align stakeholders?▼

To write a project specification, draft a concise outline covering objectives, assumptions, and acceptance criteria to align stakeholders before development begins. This clarifies goals, reduces rework, and ensures a shared understanding of success criteria.

What is the best way to define acceptance criteria for unclear or evolving project requirements?▼

The best way to define acceptance criteria for evolving requirements is using a phase-based workflow that moves from ambiguity to concrete execution. This structured approach enforces explicit success criteria and an iteration plan.

How do I structure a specification for a multi-file software project?▼

To structure a specification for a multi-file project, enforce six core areas: Objective, Commands, Project Structure, Code Style, Testing Strategy, and Boundaries. This repeatable structure guides teams through complex architectural changes.

Do I need a formal specification for adding major features to an existing codebase?▼

Yes, you need a formal specification when adding major features where requirements are unclear or evolving. Drafting a spec crystallizes requirements and ensures alignment among stakeholders for smoother handoffs.

What should be included in a code style and testing strategy specification?▼

A code style and testing strategy specification should include explicit boundaries, defined commands, and structured testing approaches. These elements are part of a repeatable structure that ensures smoother project handoffs.