Home
cd ../playbooks
Product ManagementIntermediate

Product Spec Writer

Write feature specifications and PRDs from problem statements with user stories and acceptance criteria

10 minutes
By AnthropicSource
#prd#feature-spec#user-stories#product-requirements

Engineers keep asking 'what should happen when...' and you don't have an answer because the spec doesn't cover edge cases. Your feature specs describe the happy path but leave engineers guessing on error states, empty states, and permission boundaries.

Who it's for: product managers writing feature specs that engineering can build from, product owners defining sprint-ready user stories, UX designers specifying interaction details and edge cases, product designers documenting design decisions and constraints, technical writers creating detailed feature documentation

Example

"Write a feature spec for our new notification system" → Complete spec with problem statement, user stories, detailed acceptance criteria covering happy and error paths, wireframe descriptions, notification type matrix, and measurable success criteria

CLAUDE.md Template

New here? 3-minute setup guide → | Already set up? Copy the template below.

Or install from your terminal:
npx ccplaybooks add product-spec-writer
# Product Spec Writer

Write a feature specification or product requirements document (PRD).

## Workflow

### 1. Understand the Feature

Accept any of:
- A feature name ("SSO support")
- A problem statement ("Enterprise customers keep asking for centralized auth")
- A user request ("Users want to export their data as CSV")

Get new playbooks like this one

One email a week with new Claude Code workflows. Free, like everything here.

No spam. Unsubscribe anytime.

README.md

What This Does

Turns feature ideas, problem statements, or vague requests into structured PRDs. Generates problem statements, goals, non-goals, user stories, prioritized requirements (P0/P1/P2), success metrics, acceptance criteria, and open questions — all through a conversational process.


Quick Start

Step 1: Download the Template

Click Download above to get the CLAUDE.md file.

Step 2: Set Up Your Project

Create a project folder and place the template inside:

product-specs/
├── CLAUDE.md
├── specs/          # Generated PRDs
└── research/       # Supporting research

Step 3: Start Working

claude

Say: "Write a spec for SSO support — enterprise customers keep asking for centralized auth"


What Gets Produced

Section Details
Problem Statement User problem, who's affected, cost of not solving
Goals 3-5 specific, measurable outcomes
Non-Goals What's explicitly out of scope (prevents scope creep)
User Stories "As a [user], I want [capability] so that [benefit]"
Requirements Must-Have (P0), Nice-to-Have (P1), Future (P2)
Success Metrics Leading and lagging indicators with targets
Acceptance Criteria Given/When/Then format
Open Questions Tagged by who needs to answer

Tips

  • Be opinionated about scope — a tight, well-defined spec beats an expansive vague one
  • If the idea is too big, suggest breaking it into phases and spec the first phase
  • Success metrics should be specific and measurable, not vague
  • Non-goals are as important as goals — they prevent scope creep

Example Prompts

"Write a spec for SSO support"
"Create a PRD for CSV data export"
"Spec out our onboarding flow redesign"
"Turn this user request into a feature spec: users want bulk operations"

$Related Playbooks

Product Management

Proto-Persona

Create a lightweight, hypothesis-driven persona in hours from existing research, market signals, and team knowledge — a working customer profile before deeper validation.

60 minutes
Beginner
Product Management

Compounding PM Operating System

A persistent PM profile that learns your frameworks, vocabulary, and decision patterns across product cycles — comparing predictions to actuals so each cycle gets sharper than the last.

20 minutes
Advanced
Product Management

Acquisition Channel Advisor

Evaluate acquisition channels using unit economics, customer quality, and scalability. Decide whether to scale, test, or kill each channel with finance-backed reasoning.

10 minutes
Intermediate
Product Management

SaaS Business Health Diagnostic

Diagnose SaaS business health across growth, retention, unit economics, and capital efficiency. Identify red flags by urgency and get a prioritized action plan with stage-specific benchmarks.

15 minutes
Advanced
Product Management

Context Engineering Advisor

Diagnose whether you're doing context stuffing (volume without intent) or context engineering (structure for attention). Build memory architecture, define context boundaries, and implement the Research → Plan → Reset → Implement cycle.

15 minutes
Advanced
Product Management

AI-Shaped Readiness Advisor

Diagnose whether your product work is 'AI-first' (efficiency) or 'AI-shaped' (strategic transformation). Score 5 competencies, identify gaps, and get a priority action plan.

15 minutes
Advanced
Product Management

Altitude & Horizon Framework (PM → Director)

Understand the PM-to-Director transition through altitude (scope) and horizon (time). Diagnose which of four transition zones is creating friction and apply the Cascading Context Map when direction from above is vague.

10 minutes
Intermediate
Product Management

Director Readiness Advisor

Coach the PM-to-Director transition with 4 situational branches — preparing, interviewing, newly landed, or recalibrating — and deliver war-story-backed guidance calibrated to your specific stage.

10 minutes
Advanced
Product Management

Discovery Interview Prep

Design a customer discovery interview plan with the right methodology, questions, and bias guardrails — calibrated to your research goal, segment, and constraints via 4 adaptive questions.

15 minutes
Intermediate
Product Management

Discovery Process (End-to-End)

Run a complete 6-phase discovery cycle — frame, research, synthesize, generate, validate, decide — in 3-4 weeks. Orchestrates 10+ component skills for problem-to-validated-solution workflow.

30 minutes
Advanced
Product Management

Customer Journey Map

Build a strategic customer journey map across Awareness → Consideration → Decision → Service → Loyalty — with actions, touchpoints, emotions, KPIs, business goals, and owning teams per stage.

20 minutes
Intermediate
Product Management

Customer Journey Mapping Workshop

Run a 5-question adaptive workshop to build a customer journey map — actor, scenario, phases, actions/emotions, and prioritized opportunities — that aligns cross-functional teams around real pain points.

15 minutes
Intermediate

Browse all Product Management playbooks →