spec-init

Bootstrap Spec-Driven Development specs with EARS acceptance criteria and traceability.

4|Updated Feb 9, 2021
One-click install
npx skills add https://github.com/breengles/poor-man-OS-setup --skill spec-init-breengles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spec-init
Source: https://github.com/breengles/poor-man-OS-setup/tree/main/.claude/skills/spec-init
Command: npx skills add https://github.com/breengles/poor-man-OS-setup --skill spec-init-breengles

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

spec-init helps you create consistent, traceable Spec-Driven Development (SDD) artifacts for a new feature so requirements, design, and tasks stay aligned from the start.

Core Features & Use Cases

  • Guided spec bootstrapping: Walks you through a requirements interview and then drafts requirements, design, optional research, and tasks in the project’s conventions.
  • EARS-compliant requirements: Produces testable acceptance criteria using the required EARS patterns and includes explicit open questions.
  • Traceability and lifecycle structure: Enforces lifecycle frontmatter and sets up requirement-to-design traceability and a review step before task generation.
  • Use cases: Creating specs for long-lived engineering work like APIs, CLIs, pipelines, or shared libraries; starting new SDD initiatives in a repository without an existing spec structure.

Quick Start

Run spec-init with a kebab-case feature name like spec-init "token-refresh Refresh access tokens automatically" to generate the spec scaffolding stage by stage.

Frequently Asked Questions about spec-init

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

FAQPage Schema
How do I create traceable specifications for a new software feature?

Bootstrapping traceable specifications requires a Spec-Driven Development approach that drafts requirements, design, and tasks while enforcing lifecycle frontmatter and requirement-to-design traceability. This keeps engineering artifacts aligned from the start.

What are EARS acceptance criteria and when do I need them for engineering workflows?

EARS acceptance criteria are testable requirement patterns used in specification-driven engineering workflows. You need them when creating long-lived artifacts like APIs, CLIs, pipelines, or shared libraries to ensure requirements remain unambiguous and verifiable.

How do I bootstrap a spec directory structure for a new API or CLI?

Bootstrap a spec directory by running an initialization command with a kebab-case feature name to generate scaffolding stage by stage. This creates a specs/<feature-name>/ structure containing requirements, design, optional research, and tasks.

Can I use Spec-Driven Development for shared libraries and data pipelines?

Yes, Spec-Driven Development suits long-lived engineering work including shared libraries and data pipelines. It guides requirements discovery and drafts design and research docs, ensuring traceability conventions are applied to durable repository artifacts.

What is the best way to align software requirements with design and tasks?

The best way to align software requirements with design and tasks is enforcing traceability conventions and a spec review gate before task generation. This ensures design decisions explicitly map back to discovered requirements.

Why do my feature requirements lack traceability and open questions?

Feature requirements lack traceability and open questions when not generated through a guided requirements interview with explicit needs-clarification markers. Establishing lifecycle frontmatter and EARS patterns forces explicit open questions and design traceability.