spec-driven-development

Creates specification documents before coding with human approval gates.

9|Updated Jul 8, 2026
One-click install
npx skills add https://github.com/jerrylin96/dotgemini --skill spec-driven-development-jerrylin96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-driven-development
Source: https://github.com/jerrylin96/dotgemini/tree/main/skills/spec-driven-development
Command: npx skills add https://github.com/jerrylin96/dotgemini --skill spec-driven-development-jerrylin96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Starting code without written requirements leads to rework, scope creep, and undocumented architectural decisions. This Skill enforces writing a specification before any implementation, with an explicit human approval pause. ## Core Features & Use Cases - Requirements Clarification: Runs an interactive interview stage to resolve ambiguities, assumptions, and edge cases before drafting. - Structured Spec Drafting: Produces specs covering objectives, scope, project structure, code style, testing strategy, and boundaries. - Adversarial Spec Review: Invokes a subagent reviewer to audit the spec for unstated assumptions, security risks, and scope creep until approved. - Use Case: When starting a new feature under the make-feature pipeline, the spec is written to the feature worktree as spec.md, reviewed adversarially, and paused for explicit human sign-off before planning begins. ## Quick Start Ask the agent to write a specification for your new feature before any code is written, then approve it to proceed to planning.

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

Start with a requirements clarification stage to resolve ambiguities, then draft a spec covering objectives, scope, project structure, code style, testing strategy, and boundaries. Pause for explicit human approval before moving to planning or implementation.

What should a software feature specification include?

A complete spec covers objectives, scope, project structure, code style, testing strategy, and boundaries including non-goals and constraints. Success criteria must be specific, measurable, and testable.

When is a spec not needed for a code change?

Trivial edits like typo fixes can skip the full pipeline with self-clarification only. However, even simple tasks benefit from a two-line spec with acceptance criteria, since the value lies in forcing clarity before code.

How does adversarial spec review work?

Under the make-feature pipeline, a subagent acting as an adversarial reviewer audits the spec for unstated assumptions, missing edge cases, security and architectural risks, and scope creep, iterating until it approves.

Where is the spec file stored during feature development?

Under the make-feature pipeline, the spec is written to the feature worktree as spec.md inside the feature slug directory and committed to origin. Standalone specs outside git branches are stored as artifacts with feedback requested.