/sdlc-documentation:01-prd-generationfrom sdlc-documentation
Converts approved discovery evidence into a traceable PRD with objectives, prioritized features, success measures, constraints, and release scope. Requires validated inputs before drafting.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
04-lean-canvas. Do not use for implementation design; route approved requirements to Phase 03.| Artefact | Source or provider | Required? | Missing behaviour |
|---|---|---|---|
| Project context and discovery evidence | projects/<ProjectName>/_context/ and approved research | Required | Stop and list the missing discovery decisions; do not invent requirements. |
| Vision, scope and stakeholder decisions | Approved Phase 01 artefacts and decision log | Required | Mark unresolved conflicts and withhold affected requirements. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Product Requirements Document and manifest | Requirements, UX, architecture and delivery teams | Every feature traces to an objective and has a measurable acceptance or success condition; exclusions and open decisions are explicit. |
| Evidence | Consumer | Acceptance condition |
|---|---|---|
| Source and decision trace | Reviewer and downstream owner | Each material statement cites an approved input, named decision or qualified open issue. |
| Completed verification record | Release or phase gate owner | Every applicable check records pass/fail; unavailable checks remain not assessed. |
Read-only is the default for analysis, review, evaluation and planning. Read and search access to authorised project artefacts are required. Editing is limited to an explicitly requested project deliverable. Execution may run document, syntax or validation checks. Network access is used only for facts that require current verification. Do not publish, spend, change production, approve policy, or claim certification without explicit authority.
If any required capability is unavailable, return the narrowest useful qualified Product Requirements Document and manifest draft plus a gap register showing the missing item, affected sections, risk and owner. Never convert an unassessed check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Discovery maturity: Evidence resolves target user, problem and outcome | Write the PRD | Premature requirements harden guesses |
| Material assumption remains untested | Route it to the Lean Canvas hypothesis board | False certainty enters the backlog |
| Opportunity Record O1-O4 unanswered, or a Must-have feature has a product risk at evidence rung E0 | Mark the PRD SPECULATIVE and block baseline | Engineering builds an unvalidated guess |
| A requirement has no path to a funded objective or its outcome has no telemetry | Tag [TRACE-ORPHAN] or [TRACE-BLIND] and resolve before baseline | Scope that cannot be justified or judged |
high/medium/low without a rule. Fix: apply the priority matrix in this skill.Use the scenario-spine and requirement-contract reference for North Star scenarios, prioritised milestones, and evidence-backed requirements.
SaaS mode: if the project is a multi-tenant SaaS, apply
references/saas-prd-addendum.mdin addition to the generic steps below.
For every material objective, load the PRD learning contract. Convert uncertain assumptions into a baseline, hypothesis, smallest reversible experiment, primary measure, guardrails, owner, stop rule, decision, and next cycle. Do not let a roadmap statement masquerade as validated demand.
This is the second skill in Phase 01 (Strategic Vision). It builds on the Vision Statement to create a comprehensive Product Requirements Document (PRD) that bridges strategic intent and detailed requirements engineering. The PRD serves as the authoritative source for product scope, feature prioritization, and measurable objectives before downstream skills decompose features into formal SRS-level requirements.
03-vision-statement skill has produced Vision_Statement.md in projects/<ProjectName>/<phase>/<document>/.00-meta-initialization if the team is working without a formal vision document but has populated vision.md and features.md in projects/<ProjectName>/_context/.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/_context/vision.md, features.md, stakeholders.md; optionally projects/<ProjectName>/<phase>/<document>/Vision_Statement.md |
| Output | projects/<ProjectName>/<phase>/<document>/PRD.md |
| Tone | Strategic-technical, data-driven, no marketing language |
| Standards | IEEE 29148-2018, IEEE 1233-1998 |
| File | Location | Required | Purpose |
|---|---|---|---|
| vision.md | projects/<ProjectName>/_context/vision.md | Yes | Business goals, problem statement, constraints |
| features.md | projects/<ProjectName>/_context/features.md | Yes | Feature list with descriptions |
| stakeholders.md | projects/<ProjectName>/_context/stakeholders.md | Yes | User roles, personas, stakeholder groups |
| Vision_Statement.md | projects/<ProjectName>/<phase>/<document>/Vision_Statement.md | No | Enriches executive summary and market context |
| File | Location | Description |
|---|---|---|
| PRD.md | projects/<ProjectName>/<phase>/<document>/PRD.md | Complete Product Requirements Document with all sections |
Follow these nine steps in order. Halt and notify the user if a required input file is missing.
Read vision.md, features.md, and stakeholders.md from projects/<ProjectName>/_context/. Optionally read Vision_Statement.md from projects/<ProjectName>/<phase>/<document>/. Log every file path read. If vision.md or features.md is missing, halt execution and report the gap.
Write the document header containing:
vision.md)1.0[AUTHOR-TBD]DraftWrite one paragraph in active voice that distills the product purpose, the primary user segment it serves, and the key value proposition. Avoid superlatives and marketing language.
vision.md.stakeholders.md user roles and domains.[INFERRED].../07-premium-product-positioning/SKILL.md and apply its requirements gate before finalising market context, feature priorities, success metrics, or release strategy.Create one objective per business goal listed in vision.md. Each objective shall follow SMART format:
Flag any goal that lacks a measurable metric with [METRIC-TBD].
From stakeholders.md, produce a summary of user segments including:
Produce a table with the following columns:
| Feature | Description | Priority | Effort | Value | MoSCoW | Rationale |
|---|
Every feature in features.md shall appear in this table.
Define 3-5 Key Performance Indicators. Each KPI shall include:
| KPI | Baseline | Target | Measurement Method | Timeline |
|---|
Flag unknown baselines with [BASELINE-TBD].
vision.md. External system dependencies and API integrations.references/outcome-roadmap-and-objective-trace.md; only the Now horizon carries committed feature scope and dates.Write the completed document to projects/<ProjectName>/<phase>/<document>/PRD.md. Log the total section count and feature count.
manifest.mdAfter generating all section files, create (or overwrite) manifest.md in this document's directory listing the section files in the correct assembly order:
# Document Manifest — PRD
# Generated by prd-generation. Edit to reorder or exclude sections before building.
01-purpose.md
02-scope.md
03-stakeholders.md
04-features.md
05-constraints.md
This ensures scripts/build-doc.sh assembles sections in the intended order rather than alphabetical fallback.
The generated PRD.md shall follow this template structure:
# Product Requirements Document: [Project Name]
## Document Header
## 1. Executive Summary
## 2. Market Context
### 2.1 Problem Space
### 2.2 Target Market Segments
### 2.3 Competitive Landscape
## 3. Product Objectives
## 4. Target Users and Personas
## 5. Feature Priority Matrix
## 6. Success Metrics
## 7. Constraints and Dependencies
### 7.1 Constraints
### 7.2 Dependencies
## 8. Release Strategy
## 9. Standards Traceability
## Appendix A: Glossary
vision.md maps to at least one SMART objective.features.md appears in the Feature Priority Matrix with all columns populated.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 01-strategic-vision/03-vision-statement | Consumes Vision_Statement.md |
| Downstream | 01-strategic-vision/02-business-case | Feeds objectives and metrics |
| Downstream | 02-requirements-engineering | Feeds feature list for SRS decomposition |
logic.prompt -- executable prompt for automated PRD generation.README.md -- quick-start guide for this skill.Canonical reference: UX requirements foundations sections 2 (persona discipline) and 3 (strategy-statement filter).
Three checks before producing or finalizing the PRD:
Verify the upstream artifacts and PRD scope contain evidence for all four tenets:
| Tenet | PRD section | Pass criterion |
|---|---|---|
| Business Strategy | Strategic context / problem statement | Value proposition declared with revenue model |
| Value Innovation | Differentiation / competitive context | Specific differentiation vs named competitors, not generic claims |
| Validated User Research | User segments / personas | Personas cite real research, not pure hypothesis |
| Killer UX Design | Success criteria / UX requirements | UX outcomes specified, not implied |
If any tenet lacks evidence, the PRD is "speculative" — return to upstream stage rather than ship a polished but unfounded PRD.
The PRD's persona section must:
If the PRD contains no validated user research and no plan to acquire it, mark the PRD itself as "speculative." Speculative PRDs cannot be priced as execution engagements; they must precede a discovery engagement. Document the speculative-status banner at the top of the PRD.
For feature hypotheses, experiments, measures, and stop decisions, load evidence-backed hypothesis and learning.
README.md (opens in a new tab)logic.prompt (opens in a new tab)references/ai-feature-prd-addendum.md (opens in a new tab)references/evidence-backed-hypothesis-and-learning.md (opens in a new tab)references/kaizen-prd-learning-contract.md (opens in a new tab)references/opportunity-and-product-risk-evidence.md (opens in a new tab)references/outcome-roadmap-and-objective-trace.md (opens in a new tab)references/saas-prd-addendum.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job