spec-driven-development

Creates structured specifications through a gated Specify-Plan-Tasks-Implement workflow before writing code.

Updated Sep 5, 2026
One-click install
npx skills add https://github.com/pohlai88/afenda-xforge-v5 --skill spec-driven-development-pohlai88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-driven-development
Source: https://github.com/pohlai88/afenda-xforge-v5/tree/main/.agents/skills/spec-driven-development
Command: npx skills add https://github.com/pohlai88/afenda-xforge-v5 --skill spec-driven-development-pohlai88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? It prevents wasted engineering effort caused by ambiguous requirements by forcing a written, human-reviewed specification before any code is written, surfacing hidden assumptions early. ## Core Features & Use Cases - Gated Four-Phase Workflow: Enforces Specify, Plan, Tasks, and Implement phases, each requiring human review before advancing. - Capability Mapping: Decomposes requests bundling multiple independently testable capabilities into a module map with dependency direction and build order. - Spec Template & Success Criteria: Provides a six-section spec template (Objective, Commands, Structure, Style, Testing, Boundaries) and reframes vague requirements into testable success criteria. - Use Case: When asked to build a new billing feature with unclear requirements, use this Skill to surface assumptions, write a spec with acceptance criteria, get it approved, then break it into verifiable tasks. ## Quick Start Ask the AI to write a specification for your new feature before implementing it, including objectives, commands, boundaries, and testable success criteria.

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 specification before starting a new feature?

Follow the gated workflow: surface assumptions, write a spec covering objective, commands, project structure, code style, testing strategy, and boundaries, then get human approval. Reframe vague requirements into specific, testable success criteria before planning tasks.

When should I decompose a requirement into a capability map?

Decompose when one requirement bundles several independently testable capabilities with distinct consumers or data, such as identity, billing, and notifications. Create a module table with stable kebab-case ids, one-way dependencies, and a build order before writing any module spec.

When should I skip writing a spec?

Skip the full spec process for single-line fixes, typo corrections, or changes where requirements are unambiguous and self-contained. Simple tasks still benefit from a two-line spec with acceptance criteria, but the gated workflow is unnecessary overhead.

How do I turn vague requirements into testable acceptance criteria?

Translate vague statements into concrete measurable conditions. For example, reframe "make the dashboard faster" as LCP under 2.5 seconds on 4G, initial data load under 500ms, and CLS under 0.1, then confirm these targets with the human.

What are the limitations of spec-driven development?

The workflow adds upfront review time and is overkill for trivial changes. It also depends on human availability for phase gates, and specs must be actively maintained as living documents or they become stale and misleading.