spec-driven-development

Writes structured specifications through a gated specify-plan-tasks-implement workflow before coding.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Starting to code without a written specification leads to rework, hidden assumptions, and unclear definitions of done. This Skill enforces a gated workflow where a reviewed spec becomes the shared source of truth before any implementation begins. ## Core Features & Use Cases - Gated Four-Phase Workflow: Moves through Specify, Plan, Tasks, and Implement phases, each requiring human review before advancing. - Capability Mapping: Decomposes requests bundling several independently testable capabilities into a module map with dependency direction and build order. - Structured Spec Template: Covers objective, commands, project structure, code style, testing strategy, and three-tier boundaries (Always/Ask First/Never). - Use Case: When asked to build a new billing feature with vague requirements, surface assumptions, reframe them into testable success criteria, write a spec, and get it approved before writing any code. ## Quick Start Ask the agent to write a specification for your new feature before implementing it, and have it list its assumptions and success criteria for your review.

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 coding a new feature?▼

Start by listing your assumptions explicitly, then write a spec covering six areas: objective, commands, project structure, code style, testing strategy, and boundaries. Reframe vague requirements into specific, testable success criteria and get human approval before implementing.

When should I decompose a requirement into a capability map?▼

Decompose when a single requirement bundles several independently testable capabilities, such as identity, billing, and notifications. Create a small module table with stable kebab-case ids, one-way dependencies, and a build order, then get it reviewed 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. Even simple tasks benefit from a two-line spec with acceptance criteria, but the gated workflow is unnecessary overhead for trivial changes.

How do I keep a specification up to date during development?▼

Treat the spec as a living document: update it when decisions or scope change, commit it to version control alongside the code, and reference spec sections in pull requests. Update the spec first, then implement the change.

Why does coding without a spec cause rework?▼

Without a spec, implicit assumptions about requirements go unchecked until code review or production. A short spec surfaces misunderstandings before implementation, turning vague requests like "make it faster" into measurable targets such as LCP under 2.5 seconds.