Product Specs Writer
Comprehensive product documentation expertise — from strategic PRDs to implementation-ready specifications that engineering teams can actually build from.
Philosophy
Great product specs bridge the gap between vision and execution. They're not bureaucratic documents; they're communication tools that align teams and prevent expensive misunderstandings.
The best product specifications:
- Start with the why — Context before requirements
- Are testable — Every requirement has clear acceptance criteria
- Anticipate questions — Edge cases, errors, and constraints documented upfront
- Evolve with the product — Living documents, not static artifacts
- Respect the reader — Engineers, designers, and stakeholders can all understand them
How This Skill Works
When invoked, apply the guidelines in rules/ organized by:
prd-* — Product Requirements Documents, vision, scope
stories-* — User stories, personas, jobs-to-be-done
criteria-* — Acceptance criteria, definition of done
technical-* — Technical specifications, architecture decisions
api-* — API specifications, contracts, versioning
edge-* — Edge cases, error handling, failure modes
design-* — Design handoff, component specs, interactions
rollout-* — Feature flags, rollout plans, experiments
metrics-* — Success metrics, KPIs, measurement plans
maintenance-* — Documentation lifecycle, versioning, deprecation
Core Frameworks
Specification Hierarchy
┌─────────────────────────────────────────┐
│ VISION │ ← Why are we building this?
│ (Problem & Opportunity) │
├─────────────────────────────────────────┤
│ PRD │ ← What are we building?
│ (Requirements & Constraints) │
├─────────────────────────────────────────┤
│ USER STORIES │ ← Who benefits and how?
│ (Personas & Journeys) │
├─────────────────────────────────────────┤
│ ACCEPTANCE CRITERIA │ ← How do we know it's done?
│ (Testable Conditions) │
├─────────────────────────────────────────┤
│ TECHNICAL SPECS │ ← How do we build it?
│ (Architecture & Implementation) │
└─────────────────────────────────────────┘
Document Types by Audience
| Document |
Primary Audience |
Purpose |
Update Frequency |
| PRD |
Leadership, PM, Design |
Align on what and why |
Per milestone |
| User Stories |
Engineering, QA |
Define scope and value |
Per sprint |
| Acceptance Criteria |
QA, Engineering |
Define done |
Per story |
| Technical Spec |
Engineering |
Define how |
Per feature |
| API Spec |
Frontend, External devs |
Define contracts |
Per version |
| Design Handoff |
Engineering |
Define UI/UX |
Per component |
| Rollout Plan |
Engineering, Ops |
Define deployment |
Per release |
| Success Metrics |
Leadership, Data |
Define success |
Per quarter |
The INVEST Criteria (User Stories)
| Criteria |
Question |
Example |
| Independent |
Can it be built alone? |
No dependencies on unfinished stories |
| Negotiable |
Is scope flexible? |
Details can be refined with engineering |
| Valuable |
Does user benefit? |
Clear value proposition stated |
| Estimable |
Can we size it? |
Enough detail to estimate effort |
| Small |
Fits in a sprint? |
Can be completed in 1-5 days |
| Testable |
Can we verify it? |
Has clear acceptance criteria |
Specification Completeness Checklist
PRD Completeness:
├── Problem Statement □ Clearly defined user pain
├── Success Metrics □ Measurable outcomes defined
├── User Stories □ All personas covered
├── Scope □ In-scope and out-of-scope clear
├── Constraints □ Technical and business limits stated
├── Dependencies □ External dependencies identified
├── Risks □ Known risks and mitigations
├── Timeline □ Milestones and deadlines set
└── Open Questions □ Unknowns explicitly listed
Technical Spec Completeness:
├── Architecture □ System design documented
├── Data Model □ Schema and relationships defined
├── API Contracts □ Endpoints and payloads specified
├── Edge Cases □ Failure modes documented
├── Security □ Auth, encryption, compliance covered
├── Performance □ SLAs and benchmarks defined
├── Monitoring □ Observability strategy clear
└── Rollback Plan □ Recovery procedures documented
Error Handling Taxonomy
| Error Type |
Example |
Documentation Required |
| Validation |
Invalid email format |
Error message, field highlighting |
| Authorization |
User lacks permission |
Error state, escalation path |
| Resource |
Item not found |
Empty state, recovery action |
| System |
Database timeout |
Retry strategy, user feedback |
| Business Logic |
Insufficient balance |
Error explanation, next steps |
| External |
Third-party API down |
Fallback behavior, degraded mode |
Specification Templates
Minimal PRD Structure
# Feature: [Name]
## Problem
What user problem are we solving?
## Solution
High-level approach (1-2 paragraphs)
## Success Metrics
- Primary: [Metric] from X to Y
- Secondary: [Metric] from X to Y
## User Stories
- As a [user], I want [goal] so that [benefit]
## Scope
**In scope:** [List]
**Out of scope:** [List]
## Open Questions
- [ ] Question 1
- [ ] Question 2
User Story Template
**As a** [persona/user type]
**I want** [capability/action]
**So that** [benefit/value]
**Acceptance Criteria:**
- Given [context], when [action], then [result]
- Given [context], when [action], then [result]
**Edge Cases:**
- What if [edge case]? Then [behavior]
**Out of Scope:**
- [Explicit exclusion]
Anti-Patterns
- Spec by committee — Over-collaboration produces vague documents
- Premature optimization — Specifying implementation details too early
- Missing the why — Requirements without context for decisions
- Kitchen sink scope — Trying to solve everything in one release
- One-way documentation — Specs that don't get updated as learnings emerge
- Assumption blindness — Not documenting implicit assumptions
- Designer/Engineer telephone — No direct communication, only docs
- Success theater — Metrics chosen because they're easy, not meaningful
- Spec as contract — Treating specs as unchangeable legal documents
- Documentation debt — Outdated specs worse than no specs
1---2name: product-specs-writer3description: Expert product specification and documentation writer. Use when creating PRDs, user stories, acceptance criteria, technical specifications, API documentation, edge case analysis, design handoff docs, feature flag plans, or success metrics. Covers the full spectrum from high-level requirements to implementation-ready specifications.4---5
6# Product Specs Writer
7
8Comprehensive product documentation expertise — from strategic PRDs to implementation-ready specifications that engineering teams can actually build from.
9
10## Philosophy
11
12Great product specs bridge the gap between **vision and execution**. They're not bureaucratic documents; they're **communication tools** that align teams and prevent expensive misunderstandings.
13
14The best product specifications:
151. **Start with the why** — Context before requirements
162. **Are testable** — Every requirement has clear acceptance criteria
173. **Anticipate questions** — Edge cases, errors, and constraints documented upfront
184. **Evolve with the product** — Living documents, not static artifacts
195. **Respect the reader** — Engineers, designers, and stakeholders can all understand them
20
21## How This Skill Works
22
23When invoked, apply the guidelines in `rules/` organized by:
24
25- `prd-*` — Product Requirements Documents, vision, scope
26- `stories-*` — User stories, personas, jobs-to-be-done
27- `criteria-*` — Acceptance criteria, definition of done
28- `technical-*` — Technical specifications, architecture decisions
29- `api-*` — API specifications, contracts, versioning
30- `edge-*` — Edge cases, error handling, failure modes
31- `design-*` — Design handoff, component specs, interactions
32- `rollout-*` — Feature flags, rollout plans, experiments
33- `metrics-*` — Success metrics, KPIs, measurement plans
34- `maintenance-*` — Documentation lifecycle, versioning, deprecation
35
36## Core Frameworks
37
38### Specification Hierarchy
39
40```
41┌─────────────────────────────────────────┐
42│ VISION │ ← Why are we building this?
43│ (Problem & Opportunity) │
44├─────────────────────────────────────────┤
45│ PRD │ ← What are we building?
46│ (Requirements & Constraints) │
47├─────────────────────────────────────────┤
48│ USER STORIES │ ← Who benefits and how?
49│ (Personas & Journeys) │
50├─────────────────────────────────────────┤
51│ ACCEPTANCE CRITERIA │ ← How do we know it's done?
52│ (Testable Conditions) │
53├─────────────────────────────────────────┤
54│ TECHNICAL SPECS │ ← How do we build it?
55│ (Architecture & Implementation) │
56└─────────────────────────────────────────┘
57```
58
59### Document Types by Audience
60
61| Document | Primary Audience | Purpose | Update Frequency |
62|----------|------------------|---------|------------------|
63| **PRD** | Leadership, PM, Design | Align on what and why | Per milestone |
64| **User Stories** | Engineering, QA | Define scope and value | Per sprint |
65| **Acceptance Criteria** | QA, Engineering | Define done | Per story |
66| **Technical Spec** | Engineering | Define how | Per feature |
67| **API Spec** | Frontend, External devs | Define contracts | Per version |
68| **Design Handoff** | Engineering | Define UI/UX | Per component |
69| **Rollout Plan** | Engineering, Ops | Define deployment | Per release |
70| **Success Metrics** | Leadership, Data | Define success | Per quarter |
71
72### The INVEST Criteria (User Stories)
73
74| Criteria | Question | Example |
75|----------|----------|---------|
76| **I**ndependent | Can it be built alone? | No dependencies on unfinished stories |
77| **N**egotiable | Is scope flexible? | Details can be refined with engineering |
78| **V**aluable | Does user benefit? | Clear value proposition stated |
79| **E**stimable | Can we size it? | Enough detail to estimate effort |
80| **S**mall | Fits in a sprint? | Can be completed in 1-5 days |
81| **T**estable | Can we verify it? | Has clear acceptance criteria |
82
83### Specification Completeness Checklist
84
85```
86PRD Completeness:
87├── Problem Statement □ Clearly defined user pain
88├── Success Metrics □ Measurable outcomes defined
89├── User Stories □ All personas covered
90├── Scope □ In-scope and out-of-scope clear
91├── Constraints □ Technical and business limits stated
92├── Dependencies □ External dependencies identified
93├── Risks □ Known risks and mitigations
94├── Timeline □ Milestones and deadlines set
95└── Open Questions □ Unknowns explicitly listed
96
97Technical Spec Completeness:
98├── Architecture □ System design documented
99├── Data Model □ Schema and relationships defined
100├── API Contracts □ Endpoints and payloads specified
101├── Edge Cases □ Failure modes documented
102├── Security □ Auth, encryption, compliance covered
103├── Performance □ SLAs and benchmarks defined
104├── Monitoring □ Observability strategy clear
105└── Rollback Plan □ Recovery procedures documented
106```
107
108### Error Handling Taxonomy
109
110| Error Type | Example | Documentation Required |
111|------------|---------|------------------------|
112| **Validation** | Invalid email format | Error message, field highlighting |
113| **Authorization** | User lacks permission | Error state, escalation path |
114| **Resource** | Item not found | Empty state, recovery action |
115| **System** | Database timeout | Retry strategy, user feedback |
116| **Business Logic** | Insufficient balance | Error explanation, next steps |
117| **External** | Third-party API down | Fallback behavior, degraded mode |
118
119## Specification Templates
120
121### Minimal PRD Structure
122
123```markdown
124# Feature: [Name]
125
126## Problem
127What user problem are we solving?
128
129## Solution
130High-level approach (1-2 paragraphs)
131
132## Success Metrics
133- Primary: [Metric] from X to Y
134- Secondary: [Metric] from X to Y
135
136## User Stories
137- As a [user], I want [goal] so that [benefit]
138
139## Scope
140**In scope:** [List]
141**Out of scope:** [List]
142
143## Open Questions
144- [ ] Question 1
145- [ ] Question 2
146```
147
148### User Story Template
149
150```markdown
151**As a** [persona/user type]
152**I want** [capability/action]
153**So that** [benefit/value]
154
155**Acceptance Criteria:**
156- Given [context], when [action], then [result]
157- Given [context], when [action], then [result]
158
159**Edge Cases:**
160- What if [edge case]? Then [behavior]
161
162**Out of Scope:**
163- [Explicit exclusion]
164```
165
166## Anti-Patterns
167
168- **Spec by committee** — Over-collaboration produces vague documents
169- **Premature optimization** — Specifying implementation details too early
170- **Missing the why** — Requirements without context for decisions
171- **Kitchen sink scope** — Trying to solve everything in one release
172- **One-way documentation** — Specs that don't get updated as learnings emerge
173- **Assumption blindness** — Not documenting implicit assumptions
174- **Designer/Engineer telephone** — No direct communication, only docs
175- **Success theater** — Metrics chosen because they're easy, not meaningful
176- **Spec as contract** — Treating specs as unchangeable legal documents
177- **Documentation debt** — Outdated specs worse than no specs