From sdd
Produces a product requirements document from the scope. Covers users, features, requirements, success criteria with testable acceptance criteria.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdd:prdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Read `skills/sdd-guide/SKILL.md` for shared behavior before executing this command. Follow its tone, interaction rules, and guard rails throughout.
Read skills/sdd-guide/SKILL.md for shared behavior before executing this command. Follow its tone, interaction rules, and guard rails throughout.
Read skills/sdd-guide/references/deepening-rounds.md for the two-phase interview pattern used by this command.
skills/sdd-guide/SKILL.md (core behavior)skills/sdd-guide/references/deepening-rounds.md (interview pattern)docs/scope.md in fulldocs/scope.md must exist. If missing, tell the user: "Run /sdd:scope first."Set lastCommand to /sdd:prd in docs/project-state.json. If the file does not exist, create it.
Check commandExplanationsShown.prd in docs/project-state.json. If it has not been shown:
/sdd:prd converts your scope document into a structured product requirements document. It walks through your scope section by section, translating brainstorm language into precise behavior descriptions organized as user stories with testable acceptance criteria. The PRD serves a dual purpose: it's both your requirements document and your progress tracker — acceptance criteria checkboxes get checked off during sprints as work is completed.
Output this as plain text. Not gated — do not wait for acknowledgment. Set commandExplanationsShown.prd to true in docs/project-state.json.
Read docs/open-concerns.md. Follow the open concerns protocol from sdd-guide:
/sdd:prd.Walk through docs/scope.md section by section. For each section:
The goal is to transform every meaningful piece of the scope into a requirement that can be verified. Brainstorm language like "it should be fast" becomes a specific, testable statement like "page load completes in under 2 seconds on a 3G connection."
Organize requirements as user stories grouped into epics:
Heading stability matters. Epic names and story descriptions become addresses that /sdd:sprint references when pulling work into sprints. Once a heading is written, it should not change unless the requirement itself changes. Choose clear, stable names.
If 10 or more epics emerge, recommend phase-splitting to the user. Phase-splitting means breaking the project into smaller pieces, each going through the full SDD workflow independently (/sdd:scope through /sdd:retro). This keeps individual PRDs manageable and sprints focused.
Present this as a recommendation, not a gate. The user decides whether to split.
After the section-by-section walkthrough is complete, follow the deepening rounds pattern from skills/sdd-guide/references/deepening-rounds.md:
When the user is ready to proceed, generate docs/prd.md using the template at skills/sdd-guide/templates/prd-template.md.
Template usage:
[Project Name] with the project name from docs/scope.md.## Problem Statement — distilled from the scope's problem/motivation section.## User Stories — all epics and stories from the conversation. Epics are ### headings inside this section. Stories are list items. Acceptance criteria are checkboxes under each story.## Unvetted — leave empty. This section is critical: during sprints, new items that surface but haven't been refined land here. /sdd:refine processes them before future sprints.## What We're Building — concise summary of the product being built, synthesized from the full conversation.## What We'd Add With More Time — nice-to-have features that were discussed but deliberately excluded from the current scope.## Non-Goals — things this project explicitly does not do. Pulled from scope if present, supplemented by anything surfaced during the PRD conversation.Acceptance criteria quality check: Before writing the file, review every acceptance criterion. Each one must be:
Rewrite any criterion that fails this check.
Append to process-notes.md in the project root. Capture:
Append any new concerns that arose during the PRD conversation to docs/open-concerns.md. Follow the entry format from skills/sdd-guide/references/open-concerns.md.
Confirm lastCommand is set to /sdd:prd in docs/project-state.json.
Tell the user the PRD has been written and to run /sdd:spec when ready.
/sdd:sprint references them. Do not use generic names like "Miscellaneous" or "Other."Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub zabuuq/sdd-plugin --plugin sdd