You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prd-purpose.md 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. # BMAD PRD Purpose
  2. **The PRD is the top of the required funnel that feeds all subsequent product development work in rhw BMad Method.**
  3. ---
  4. ## What is a BMAD PRD?
  5. A dual-audience document serving:
  6. 1. **Human Product Managers and builders** - Vision, strategy, stakeholder communication
  7. 2. **LLM Downstream Consumption** - UX Design → Architecture → Epics → Development AI Agents
  8. Each successive document becomes more AI-tailored and granular.
  9. ---
  10. ## Core Philosophy: Information Density
  11. **High Signal-to-Noise Ratio**
  12. Every sentence must carry information weight. LLMs consume precise, dense content efficiently.
  13. **Anti-Patterns (Eliminate These):**
  14. - ❌ "The system will allow users to..." → ✅ "Users can..."
  15. - ❌ "It is important to note that..." → ✅ State the fact directly
  16. - ❌ "In order to..." → ✅ "To..."
  17. - ❌ Conversational filler and padding → ✅ Direct, concise statements
  18. **Goal:** Maximum information per word. Zero fluff.
  19. ---
  20. ## The Traceability Chain
  21. **PRD starts the chain:**
  22. ```
  23. Vision → Success Criteria → User Journeys → Functional Requirements → (future: User Stories)
  24. ```
  25. **In the PRD, establish:**
  26. - Vision → Success Criteria alignment
  27. - Success Criteria → User Journey coverage
  28. - User Journey → Functional Requirement mapping
  29. - All requirements traceable to user needs
  30. **Why:** Each downstream artifact (UX, Architecture, Epics, Stories) must trace back to documented user needs and business objectives. This chain ensures we build the right thing.
  31. ---
  32. ## What Makes Great Functional Requirements?
  33. ### FRs are Capabilities, Not Implementation
  34. **Good FR:** "Users can reset their password via email link"
  35. **Bad FR:** "System sends JWT via email and validates with database" (implementation leakage)
  36. **Good FR:** "Dashboard loads in under 2 seconds for 95th percentile"
  37. **Bad FR:** "Fast loading time" (subjective, unmeasurable)
  38. ### SMART Quality Criteria
  39. **Specific:** Clear, precisely defined capability
  40. **Measurable:** Quantifiable with test criteria
  41. **Attainable:** Realistic within constraints
  42. **Relevant:** Aligns with business objectives
  43. **Traceable:** Links to source (executive summary or user journey)
  44. ### FR Anti-Patterns
  45. **Subjective Adjectives:**
  46. - ❌ "easy to use", "intuitive", "user-friendly", "fast", "responsive"
  47. - ✅ Use metrics: "completes task in under 3 clicks", "loads in under 2 seconds"
  48. **Implementation Leakage:**
  49. - ❌ Technology names, specific libraries, implementation details
  50. - ✅ Focus on capability and measurable outcomes
  51. **Vague Quantifiers:**
  52. - ❌ "multiple users", "several options", "various formats"
  53. - ✅ "up to 100 concurrent users", "3-5 options", "PDF, DOCX, TXT formats"
  54. **Missing Test Criteria:**
  55. - ❌ "The system shall provide notifications"
  56. - ✅ "The system shall send email notifications within 30 seconds of trigger event"
  57. ---
  58. ## What Makes Great Non-Functional Requirements?
  59. ### NFRs Must Be Measurable
  60. **Template:**
  61. ```
  62. "The system shall [metric] [condition] [measurement method]"
  63. ```
  64. **Examples:**
  65. - ✅ "The system shall respond to API requests in under 200ms for 95th percentile as measured by APM monitoring"
  66. - ✅ "The system shall maintain 99.9% uptime during business hours as measured by cloud provider SLA"
  67. - ✅ "The system shall support 10,000 concurrent users as measured by load testing"
  68. ### NFR Anti-Patterns
  69. **Unmeasurable Claims:**
  70. - ❌ "The system shall be scalable" → ✅ "The system shall handle 10x load growth through horizontal scaling"
  71. - ❌ "High availability required" → ✅ "99.9% uptime as measured by cloud provider SLA"
  72. **Missing Context:**
  73. - ❌ "Response time under 1 second" → ✅ "API response time under 1 second for 95th percentile under normal load"
  74. ---
  75. ## Domain-Specific Requirements
  76. **Auto-Detect and Enforce Based on Project Context**
  77. Certain industries have mandatory requirements that must be present:
  78. - **Healthcare:** HIPAA Privacy & Security Rules, PHI encryption, audit logging, MFA
  79. - **Fintech:** PCI-DSS Level 1, AML/KYC compliance, SOX controls, financial audit trails
  80. - **GovTech:** NIST framework, Section 508 accessibility (WCAG 2.1 AA), FedRAMP, data residency
  81. - **E-Commerce:** PCI-DSS for payments, inventory accuracy, tax calculation by jurisdiction
  82. **Why:** Missing these requirements in the PRD means they'll be missed in architecture and implementation, creating expensive rework. During PRD creation there is a step to cover this - during validation we want to make sure it was covered. For this purpose steps will utilize a domain-complexity.csv and project-types.csv.
  83. ---
  84. ## Document Structure (Markdown, Human-Readable)
  85. ### Required Sections
  86. 1. **Executive Summary** - Vision, differentiator, target users
  87. 2. **Success Criteria** - Measurable outcomes (SMART)
  88. 3. **Product Scope** - MVP, Growth, Vision phases
  89. 4. **User Journeys** - Comprehensive coverage
  90. 5. **Domain Requirements** - Industry-specific compliance (if applicable)
  91. 6. **Innovation Analysis** - Competitive differentiation (if applicable)
  92. 7. **Project-Type Requirements** - Platform-specific needs
  93. 8. **Functional Requirements** - Capability contract (FRs)
  94. 9. **Non-Functional Requirements** - Quality attributes (NFRs)
  95. ### Formatting for Dual Consumption
  96. **For Humans:**
  97. - Clear, professional language
  98. - Logical flow from vision to requirements
  99. - Easy for stakeholders to review and approve
  100. **For LLMs:**
  101. - ## Level 2 headers for all main sections (enables extraction)
  102. - Consistent structure and patterns
  103. - Precise, testable language
  104. - High information density
  105. ---
  106. ## Downstream Impact
  107. **How the PRD Feeds Next Artifacts:**
  108. **UX Design:**
  109. - User journeys → interaction flows
  110. - FRs → design requirements
  111. - Success criteria → UX metrics
  112. **Architecture:**
  113. - FRs → system capabilities
  114. - NFRs → architecture decisions
  115. - Domain requirements → compliance architecture
  116. - Project-type requirements → platform choices
  117. **Epics & Stories (created after architecture):**
  118. - FRs → user stories (1 FR could map to 1-3 stories potentially)
  119. - Acceptance criteria → story acceptance tests
  120. - Priority → sprint sequencing
  121. - Traceability → stories map back to vision
  122. **Development AI Agents:**
  123. - Precise requirements → implementation clarity
  124. - Test criteria → automated test generation
  125. - Domain requirements → compliance enforcement
  126. - Measurable NFRs → performance targets
  127. ---
  128. ## Summary: What Makes a Great BMAD PRD?
  129. ✅ **High Information Density** - Every sentence carries weight, zero fluff
  130. ✅ **Measurable Requirements** - All FRs and NFRs are testable with specific criteria
  131. ✅ **Clear Traceability** - Each requirement links to user need and business objective
  132. ✅ **Domain Awareness** - Industry-specific requirements auto-detected and included
  133. ✅ **Zero Anti-Patterns** - No subjective adjectives, implementation leakage, or vague quantifiers
  134. ✅ **Dual Audience Optimized** - Human-readable AND LLM-consumable
  135. ✅ **Markdown Format** - Professional, clean, accessible to all stakeholders
  136. ---
  137. **Remember:** The PRD is the foundation. Quality here ripples through every subsequent phase. A dense, precise, well-traced PRD makes UX design, architecture, epic breakdown, and AI development dramatically more effective.