Create or update the shared PRD at {ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md.
This is a shared project document — not tied to any specific change. It defines WHAT the product is and WHY, and serves as context for all future changes.
Output: {ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md
Template: Use assets/prd.md as the document structure.
[!IMPORTANT]
This skill is designed to be used with the sdd-team:sdd-pm.agent agent.
Switch to it in the agent selector before invoking this skill for the full interactive experience.
If you are already using sdd-team:sdd-pm.agent, proceed with the workflow below.
Entry point
Check if PRD already exists
Read {ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md or any file provided by the user. If it exists:
- Summarize current content to the user.
- Ask: "Do you want to revise the existing PRD or start fresh?" Skip this question if you detect from existing document or user input.
- If revise → follow Edit PRD Workflow below.
- If fresh → follow Create PRD Workflow below.
Context gathering (always)
- Read existing project docs (README, package.json, any brief or research docs).
- Read
{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/architecture.md and {ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/ux.md if they exist — for alignment.
- Ask the user for additional context if needed.
Create PRD Workflow
Collaborative, step-by-step facilitation to produce a comprehensive Product Requirements Document.
Step 1 — Context gathering
- If no docs were found, ask: "Any product briefs, research docs, project context files, or existing project docs to load?"
- Read all provided files fully.
- If no input docs available: gather product information directly from the user via chat.
- Detect: brownfield (existing project docs) vs greenfield (new product). Report findings to user.
- Confirm gathered context before proceeding.
Output: ✅ Context loaded — ready to build PRD.
Step 2 — Project discovery & classification
Discover and classify the project through natural conversation:
- Project type: web app, API, mobile, SaaS, CLI, desktop, IoT, etc.
- Domain: healthcare, fintech, edtech, general, etc.
- Complexity: low / medium / high (based on domain regulations, integrations, novel tech).
- Context: greenfield (new) vs brownfield (existing system enhancement).
Use loaded docs as conversation starters. Present your assessment for confirmation:
"I'm hearing this as: Type: web app | Domain: general | Complexity: low | Context: greenfield. Sound right?"
Step 3 — Product vision discovery
Explore what makes this product special through conversation (no content generation yet):
- User delight: "What would make users say 'this is exactly what I needed'?"
- Differentiation: "What's the moment where users realize this is different?"
- Core insight: "What insight makes this product possible or unique?"
- Problem framing: "What's the real problem — not the surface symptom, but the deeper need?"
- Why now: "Why is this the right time to build this?"
Reflect back understanding and get user confirmation before proceeding.
Step 4 — Executive Summary
Draft the Executive Summary using insights from Steps 2–3:
- Vision alignment: product vision, target users, problem being solved (dense, precise)
- What Makes This Special: product differentiator, core insight, why users choose it
- Project Classification: type, domain, complexity, greenfield/brownfield
For each section (Steps 4–12): present draft, refine collaboratively, then append to output file.
Step 5 — Success Criteria
Facilitate defining what "winning" looks like:
- User success: guide from vague to measurable — NOT "users are happy" → "users complete [action] within [timeframe]".
- Business success: 3-month / 12-month success, key metrics.
- Technical success: reliability, performance targets, scale expectations.
- Challenge vague metrics: "10,000 users" → "What kind of users? Doing what?" / "Fast" → "How fast, specifically?"
- Scope negotiation: MVP (must work) vs Growth (competitive) vs Vision (dream).
Present drafted content. Refine with user. Append.
Step 6 — User Journey mapping
Map ALL user types that interact with the system using narrative story-based journeys:
- Identify user types: primary users, admins, moderators, support, API consumers, internal ops.
- Create narrative journeys for each user type:
- Opening scene: Where/how do we meet them? Current pain?
- Rising action: Steps they take, what they discover
- Climax: Critical moment of product value delivery
- Resolution: How their situation improves
- Connect journeys to capabilities: explicitly state what each journey reveals about required features.
- Ensure coverage: primary happy path, primary edge case, secondary users, API consumers (if applicable).
Target: 3–4 compelling narrative journeys minimum. Present and refine. Append.
Step 7 — Domain requirements (optional)
Skip if domain complexity is low. For medium/high complexity: compliance (HIPAA, PCI-DSS, GDPR), security constraints, integration requirements, domain-specific risks. Present and append if applicable.
Step 8 — Innovation discovery (optional)
Skip if no genuine innovation signals detected. If signals present ("nothing like this exists", novel tech combinations): explore what's novel, validate with market context, define risk fallbacks. Append if applicable.
Step 9 — Project-type deep dive
Conduct project-type specific requirements discovery:
- Web app: SPA/MPA, browser support, SEO, accessibility, real-time?
- API: endpoints, authentication, data formats, rate limits, versioning?
- SaaS B2B: multi-tenancy, permissions, subscriptions, integrations?
- Mobile: native/cross-platform, offline mode, push notifications, device features?
- Other types: adapt questions to relevant platform concerns.
Present and append.
Step 10 — Scoping exercise
- Review all PRD content built so far.
- MVP strategy: minimum that makes users say "this is useful"? Fastest path to validated learning?
- Feature prioritization: Must-have vs Nice-to-have. Ask: Without this, does the product fail?
- Phased roadmap: Phase 1 (MVP), Phase 2 (growth), Phase 3 (expansion).
- Risk analysis: technical, market, resource risks with mitigation strategies.
Present and append.
Step 11 — Functional Requirements
This is THE CAPABILITY CONTRACT for the entire product. What's not listed here won't exist.
- Extract capabilities from all previous sections.
- Organize by capability area (5–8 areas): "User Management" not "Authentication System".
- Format:
FR#: [Actor] can [capability] [context/constraint]. Target 20–50 FRs.
- Altitude check: WHAT capability exists, NOT HOW to implement.
- Self-validate: Every MVP capability covered? Domain requirements included? Readable by UX designer and architect?
Present and refine collaboratively. Append.
Step 12 — Non-Functional Requirements
Define quality attributes — only those that matter for this product. Make each measurable: NOT "fast" → "User actions complete within 2 seconds". Skip irrelevant categories.
Present and append.
Step 13 — Polish & completion
- Read complete document start to finish.
- Polish: flow, de-duplication, consistent terminology,
## Level 2 headers.
- Quality check: zero fluff, no anti-patterns ("the system will allow" → "Users can").
- Save final
{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md.
- Present a completion recap and suggest
/arch or /ux next.
Edit PRD Workflow
Structured improvement of an existing PRD.
Step 1 — Discovery
- Load
{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md completely.
- Ask: "What would you like to change?" (fix issues, add sections, improve structure, general improvements).
- Detect PRD format — check for core sections: Executive Summary, Success Criteria, Product Scope, User Journeys, Functional Requirements, Non-Functional Requirements.
Step 2 — Deep review & change plan
- Read the entire PRD thoroughly.
- Analyze against quality standards: information density, structure/flow, completeness, measurability, traceability, implementation leakage.
- Build section-by-section change plan: current state, issues found, changes needed, priority (Critical/High/Medium/Low).
- Present change plan with summary: additions, updates, removals, restructuring.
- Get user approval on the plan before proceeding.
Step 3 — Apply edits
- Follow approved change plan systematically, section by section, in priority order.
- For each section: load current content → apply changes → verify quality standards.
- If restructuring: reorganize to standard structure with proper ## Level 2 headers.
- Show progress after each major section update.
- Final review: load complete updated document, verify all changes applied correctly.
Step 4 — Completion
- Apply all edits directly to
{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md.
- Present a completion recap: sections modified, changes applied, quality assessment.
Tracker Update
After saving prd.md, follow the sdd-tracker skill — update shared.prd and changelog (only if PRD was revised, not for new documents).
Guardrails
{SKILL_ASSETS_NOTICE}
- Adopt the PM agent's persona — from:
agents/pm.agent.md
- Never generate content without user input — facilitate, Do not dictate.
- Challenge vague requirements, push for specificity.
- High information density: every sentence carries weight, zero fluff.
- FR format:
FR#: [Actor] can [capability] — implementation-agnostic, testable.
1---2name: sdd-prd3description: Create or update the shared PRD — discover product vision, map user journeys, define functional requirements, and write success criteria and NFRs. Use when defining product requirements, revising the product vision, or updating the PRD. Do not use for architecture decisions, UX design, or implementing features.4---56Create or update the shared PRD at `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md`.7This is a **shared project document** — not tied to any specific change. It defines WHAT the product is and WHY, and serves as context for all future changes.89**Output**: `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md`1011**Template**: Use `assets/prd.md` as the document structure.1213> [!IMPORTANT]14> This skill is designed to be used with the **sdd-team:sdd-pm.agent** agent.15> Switch to it in the agent selector before invoking this skill for the full interactive experience.16> If you are already using **sdd-team:sdd-pm.agent**, proceed with the workflow below.1718---1920## Entry point21221. **Check if PRD already exists**2324 Read `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md` or any file provided by the user. If it exists:25 - Summarize current content to the user.26 - Ask: "Do you want to **revise** the existing PRD or **start fresh**?" Skip this question if you detect from existing document or user input.27 - If revise → follow **Edit PRD Workflow** below.28 - If fresh → follow **Create PRD Workflow** below.29302. **Context gathering** (always)31 - Read existing project docs (README, package.json, any brief or research docs).32 - Read `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/architecture.md` and `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/ux.md` if they exist — for alignment.33 - Ask the user for additional context if needed.3435---3637## Create PRD Workflow3839Collaborative, step-by-step facilitation to produce a comprehensive Product Requirements Document.4041### Step 1 — Context gathering42431. If no docs were found, ask: *"Any product briefs, research docs, project context files, or existing project docs to load?"*442. Read all provided files fully.453. **If no input docs available:** gather product information directly from the user via chat.464. Detect: brownfield (existing project docs) vs greenfield (new product). Report findings to user.475. Confirm gathered context before proceeding.4849Output: `✅ Context loaded — ready to build PRD.`5051### Step 2 — Project discovery & classification5253Discover and classify the project through natural conversation:54551. **Project type:** web app, API, mobile, SaaS, CLI, desktop, IoT, etc.562. **Domain:** healthcare, fintech, edtech, general, etc.573. **Complexity:** low / medium / high (based on domain regulations, integrations, novel tech).584. **Context:** greenfield (new) vs brownfield (existing system enhancement).5960Use loaded docs as conversation starters. Present your assessment for confirmation:6162*"I'm hearing this as: **Type:** web app | **Domain:** general | **Complexity:** low | **Context:** greenfield. Sound right?"*6364### Step 3 — Product vision discovery6566Explore what makes this product special through conversation (no content generation yet):6768- **User delight:** *"What would make users say 'this is exactly what I needed'?"*69- **Differentiation:** *"What's the moment where users realize this is different?"*70- **Core insight:** *"What insight makes this product possible or unique?"*71- **Problem framing:** *"What's the real problem — not the surface symptom, but the deeper need?"*72- **Why now:** *"Why is this the right time to build this?"*7374Reflect back understanding and get user confirmation before proceeding.7576### Step 4 — Executive Summary7778Draft the Executive Summary using insights from Steps 2–3:7980- **Vision alignment:** product vision, target users, problem being solved (dense, precise)81- **What Makes This Special:** product differentiator, core insight, why users choose it82- **Project Classification:** type, domain, complexity, greenfield/brownfield8384> **For each section (Steps 4–12):** present draft, refine collaboratively, then append to output file.8586### Step 5 — Success Criteria8788Facilitate defining what "winning" looks like:89901. **User success:** guide from vague to measurable — NOT "users are happy" → "users complete [action] within [timeframe]".912. **Business success:** 3-month / 12-month success, key metrics.923. **Technical success:** reliability, performance targets, scale expectations.934. **Challenge vague metrics:** "10,000 users" → "What kind of users? Doing what?" / "Fast" → "How fast, specifically?"945. **Scope negotiation:** MVP (must work) vs Growth (competitive) vs Vision (dream).9596Present drafted content. Refine with user. Append.9798### Step 6 — User Journey mapping99100Map ALL user types that interact with the system using narrative story-based journeys:1011021. **Identify user types:** primary users, admins, moderators, support, API consumers, internal ops.1032. **Create narrative journeys** for each user type:104 - **Opening scene:** Where/how do we meet them? Current pain?105 - **Rising action:** Steps they take, what they discover106 - **Climax:** Critical moment of product value delivery107 - **Resolution:** How their situation improves1083. **Connect journeys to capabilities:** explicitly state what each journey reveals about required features.1094. **Ensure coverage:** primary happy path, primary edge case, secondary users, API consumers (if applicable).110111Target: 3–4 compelling narrative journeys minimum. Present and refine. Append.112113### Step 7 — Domain requirements (optional)114115**Skip if domain complexity is low.** For medium/high complexity: compliance (HIPAA, PCI-DSS, GDPR), security constraints, integration requirements, domain-specific risks. Present and append if applicable.116117### Step 8 — Innovation discovery (optional)118119**Skip if no genuine innovation signals detected.** If signals present ("nothing like this exists", novel tech combinations): explore what's novel, validate with market context, define risk fallbacks. Append if applicable.120121### Step 9 — Project-type deep dive122123Conduct project-type specific requirements discovery:124125- **Web app:** SPA/MPA, browser support, SEO, accessibility, real-time?126- **API:** endpoints, authentication, data formats, rate limits, versioning?127- **SaaS B2B:** multi-tenancy, permissions, subscriptions, integrations?128- **Mobile:** native/cross-platform, offline mode, push notifications, device features?129- **Other types:** adapt questions to relevant platform concerns.130131Present and append.132133### Step 10 — Scoping exercise1341351. **Review** all PRD content built so far.1362. **MVP strategy:** minimum that makes users say "this is useful"? Fastest path to validated learning?1373. **Feature prioritization:** Must-have vs Nice-to-have. Ask: *Without this, does the product fail?*1384. **Phased roadmap:** Phase 1 (MVP), Phase 2 (growth), Phase 3 (expansion).1395. **Risk analysis:** technical, market, resource risks with mitigation strategies.140141Present and append.142143### Step 11 — Functional Requirements144145**This is THE CAPABILITY CONTRACT for the entire product.** What's not listed here won't exist.1461471. Extract capabilities from all previous sections.1482. Organize by capability area (5–8 areas): "User Management" not "Authentication System".1493. **Format:** `FR#: [Actor] can [capability] [context/constraint]`. Target 20–50 FRs.1504. **Altitude check:** WHAT capability exists, NOT HOW to implement.1515. **Self-validate:** Every MVP capability covered? Domain requirements included? Readable by UX designer and architect?152153Present and refine collaboratively. Append.154155### Step 12 — Non-Functional Requirements156157Define quality attributes — **only those that matter for this product.** Make each measurable: NOT "fast" → "User actions complete within 2 seconds". Skip irrelevant categories.158159Present and append.160161### Step 13 — Polish & completion1621631. Read complete document start to finish.1642. Polish: flow, de-duplication, consistent terminology, `##` Level 2 headers.1653. Quality check: zero fluff, no anti-patterns ("the system will allow" → "Users can").1664. Save final `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md`.1675. Present a **completion recap** and suggest `/arch` or `/ux` next.168169---170171## Edit PRD Workflow172173Structured improvement of an existing PRD.174175### Step 1 — Discovery1761771. Load `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md` completely.1782. Ask: *"What would you like to change?"* (fix issues, add sections, improve structure, general improvements).1793. **Detect PRD format** — check for core sections: Executive Summary, Success Criteria, Product Scope, User Journeys, Functional Requirements, Non-Functional Requirements.180181### Step 2 — Deep review & change plan1821831. Read the entire PRD thoroughly.1842. Analyze against quality standards: information density, structure/flow, completeness, measurability, traceability, implementation leakage.1853. Build section-by-section change plan: current state, issues found, changes needed, priority (Critical/High/Medium/Low).1864. Present change plan with summary: additions, updates, removals, restructuring.1875. Get user approval on the plan before proceeding.188189### Step 3 — Apply edits1901911. Follow approved change plan systematically, section by section, in priority order.1922. For each section: load current content → apply changes → verify quality standards.1933. If restructuring: reorganize to standard structure with proper ## Level 2 headers.1944. Show progress after each major section update.1955. Final review: load complete updated document, verify all changes applied correctly.196197### Step 4 — Completion1981991. Apply all edits directly to `{ARTIFACT_MAIN_FOLDER}/{SHARED_SUBFOLDER}/prd.md`.2002. Present a **completion recap**: sections modified, changes applied, quality assessment.201202---203204## Tracker Update205206After saving `prd.md`, follow the **`sdd-tracker` skill** — update `shared.prd` and changelog (only if PRD was revised, not for new documents).207208---209210## Guardrails211212{SKILL_ASSETS_NOTICE}213- **Adopt the PM agent's persona** — from: `agents/pm.agent.md`214- **Never generate content without user input** — facilitate, Do not dictate.215- Challenge vague requirements, push for specificity.216- High information density: every sentence carries weight, zero fluff.217- FR format: `FR#: [Actor] can [capability]` — implementation-agnostic, testable.