product-specs-writer
20
总安装量
6
周安装量
#17988
全站排名
安装命令
npx skills add https://github.com/ncklrs/startup-os-skills --skill product-specs-writer
Agent 安装分布
opencode
5
claude-code
5
replit
2
cursor
2
codex
2
github-copilot
2
Skill 文档
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, scopestories-*â User stories, personas, jobs-to-be-donecriteria-*â Acceptance criteria, definition of donetechnical-*â Technical specifications, architecture decisionsapi-*â API specifications, contracts, versioningedge-*â Edge cases, error handling, failure modesdesign-*â Design handoff, component specs, interactionsrollout-*â Feature flags, rollout plans, experimentsmetrics-*â Success metrics, KPIs, measurement plansmaintenance-*â 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