write-spec

Generate specification documents with user stories, acceptance criteria, API contracts, and data models.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/hpsgd/turtlestack --skill write-spec-hpsgd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-spec
Source: https://github.com/hpsgd/turtlestack/tree/main/plugins/leadership/coordinator/skills/write-spec
Command: npx skills add https://github.com/hpsgd/turtlestack --skill write-spec-hpsgd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates comprehensive, unambiguous specifications that align product, engineering, and QA, reducing rework and miscommunication across initiatives.

Core Features & Use Cases

  • Generates problem definitions, user stories with RICE scoring, acceptance criteria, API contracts, and data models.
  • Supports multi-workstream initiatives by producing isolated specs per workstream after decompose-initiative.
  • Provides a structured template that guides open questions, edge cases, non-functional requirements, and review status.

Quick Start

Create a new spec by first decomposing the initiative with /coordinator:decompose-initiative and then write a per-workstream spec using /coordinator:write-spec for each workstream.

Frequently Asked Questions about write-spec

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

FAQPage Schema
How do I write a specification document that aligns product, engineering, and QA?

To write a specification document that aligns product, engineering, and QA, capture user stories with RICE scoring, acceptance criteria, API contracts, and data models to establish a shared contract and reduce rework.

What is the best way to define API contracts and data models for a new workstream?

The best way to define API contracts and data models is to apply a specification template after decomposing an initiative, isolating each workstream to capture its distinct contract, data models, and testable acceptance criteria.

How do I structure acceptance criteria and user stories for engineering and QA teams?

Structure acceptance criteria and user stories by using a comprehensive specification template that includes problem definitions, RICE scoring, non-functional requirements, and edge cases to guide development and verification.

Do I need to decompose an initiative before drafting individual workstream specifications?

Yes, you need to decompose an initiative before drafting workstream specifications. You must first break down the initiative into separate workstreams to produce isolated specs with clear scope, prioritization, and testable criteria for each.

Can a specification template handle non-functional requirements and open questions?

Yes, a specification template can handle non-functional requirements and open questions. It provides a structured format that guides the documentation of edge cases, review status, and open questions alongside core API contracts.