Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

step-v-02b-parity-check.md 6.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. ---
  2. # File references (ONLY variables used in this step)
  3. nextStepFile: './step-v-03-density-validation.md'
  4. prdFile: '{prd_file_path}'
  5. validationReportPath: '{validation_report_path}'
  6. ---
  7. # Step 2B: Document Parity Check
  8. ## STEP GOAL:
  9. Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presenting user with options for how to proceed.
  10. ## MANDATORY EXECUTION RULES (READ FIRST):
  11. ### Universal Rules:
  12. - 🛑 NEVER generate content without user input
  13. - 📖 CRITICAL: Read the complete step file before taking any action
  14. - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
  15. - 📋 YOU ARE A FACILITATOR, not a content generator
  16. - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
  17. ### Role Reinforcement:
  18. - ✅ You are a Validation Architect and Quality Assurance Specialist
  19. - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
  20. - ✅ We engage in collaborative dialogue, not command-response
  21. - ✅ You bring BMAD PRD standards expertise and gap analysis
  22. - ✅ User brings domain knowledge and PRD context
  23. ### Step-Specific Rules:
  24. - 🎯 Focus ONLY on analyzing gaps and estimating parity effort
  25. - 🚫 FORBIDDEN to perform other validation checks in this step
  26. - 💬 Approach: Systematic gap analysis with clear recommendations
  27. - 🚪 This is an optional branch step - user chooses next action
  28. ## EXECUTION PROTOCOLS:
  29. - 🎯 Analyze each BMAD PRD section for gaps
  30. - 💾 Append parity analysis to validation report
  31. - 📖 Present options and await user decision
  32. - 🚫 FORBIDDEN to proceed without user selection
  33. ## CONTEXT BOUNDARIES:
  34. - Available context: Non-standard PRD from step 2, validation report in progress
  35. - Focus: Parity analysis only - what's missing, what's needed
  36. - Limits: Don't perform validation checks, don't auto-proceed
  37. - Dependencies: Step 2 classified PRD as non-standard and user chose parity check
  38. ## MANDATORY SEQUENCE
  39. **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
  40. ### 1. Analyze Each BMAD PRD Section
  41. For each of the 6 BMAD PRD core sections, analyze:
  42. **Executive Summary:**
  43. - Does PRD have vision/overview?
  44. - Is problem statement clear?
  45. - Are target users identified?
  46. - Gap: [What's missing or incomplete]
  47. **Success Criteria:**
  48. - Are measurable goals defined?
  49. - Is success clearly defined?
  50. - Gap: [What's missing or incomplete]
  51. **Product Scope:**
  52. - Is scope clearly defined?
  53. - Are in-scope items listed?
  54. - Are out-of-scope items listed?
  55. - Gap: [What's missing or incomplete]
  56. **User Journeys:**
  57. - Are user types/personas identified?
  58. - Are user flows documented?
  59. - Gap: [What's missing or incomplete]
  60. **Functional Requirements:**
  61. - Are features/capabilities listed?
  62. - Are requirements structured?
  63. - Gap: [What's missing or incomplete]
  64. **Non-Functional Requirements:**
  65. - Are quality attributes defined?
  66. - Are performance/security/etc. requirements documented?
  67. - Gap: [What's missing or incomplete]
  68. ### 2. Estimate Effort to Reach Parity
  69. For each missing or incomplete section, estimate:
  70. **Effort Level:**
  71. - Minimal - Section exists but needs minor enhancements
  72. - Moderate - Section missing but content exists elsewhere in PRD
  73. - Significant - Section missing, requires new content creation
  74. **Total Parity Effort:**
  75. - Based on individual section estimates
  76. - Classify overall: Quick / Moderate / Substantial effort
  77. ### 3. Report Parity Analysis to Validation Report
  78. Append to validation report:
  79. ```markdown
  80. ## Parity Analysis (Non-Standard PRD)
  81. ### Section-by-Section Gap Analysis
  82. **Executive Summary:**
  83. - Status: [Present/Missing/Incomplete]
  84. - Gap: [specific gap description]
  85. - Effort to Complete: [Minimal/Moderate/Significant]
  86. **Success Criteria:**
  87. - Status: [Present/Missing/Incomplete]
  88. - Gap: [specific gap description]
  89. - Effort to Complete: [Minimal/Moderate/Significant]
  90. **Product Scope:**
  91. - Status: [Present/Missing/Incomplete]
  92. - Gap: [specific gap description]
  93. - Effort to Complete: [Minimal/Moderate/Significant]
  94. **User Journeys:**
  95. - Status: [Present/Missing/Incomplete]
  96. - Gap: [specific gap description]
  97. - Effort to Complete: [Minimal/Moderate/Significant]
  98. **Functional Requirements:**
  99. - Status: [Present/Missing/Incomplete]
  100. - Gap: [specific gap description]
  101. - Effort to Complete: [Minimal/Moderate/Significant]
  102. **Non-Functional Requirements:**
  103. - Status: [Present/Missing/Incomplete]
  104. - Gap: [specific gap description]
  105. - Effort to Complete: [Minimal/Moderate/Significant]
  106. ### Overall Parity Assessment
  107. **Overall Effort to Reach BMAD Standard:** [Quick/Moderate/Substantial]
  108. **Recommendation:** [Brief recommendation based on analysis]
  109. ```
  110. ### 4. Present Parity Analysis and Options
  111. Display:
  112. "**Parity Analysis Complete**
  113. Your PRD is missing {count} of 6 core BMAD PRD sections. The overall effort to reach BMAD standard is: **{effort level}**
  114. **Quick Summary:**
  115. [2-3 sentence summary of key gaps]
  116. **Recommendation:**
  117. {recommendation from analysis}
  118. **How would you like to proceed?**"
  119. ### 5. Present MENU OPTIONS
  120. **[C] Continue Validation** - Proceed with validation using current structure
  121. **[E] Exit & Review** - Exit validation and review parity report
  122. **[S] Save & Exit** - Save parity report and exit
  123. #### EXECUTION RULES:
  124. - ALWAYS halt and wait for user input
  125. - Only proceed based on user selection
  126. #### Menu Handling Logic:
  127. - IF C (Continue): Display "Proceeding with validation..." then read fully and follow: {nextStepFile}
  128. - IF E (Exit): Display parity summary and exit validation
  129. - IF S (Save): Confirm saved, display summary, exit
  130. - IF Any other: help user respond, then redisplay menu
  131. ---
  132. ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
  133. ### ✅ SUCCESS:
  134. - All 6 BMAD PRD sections analyzed for gaps
  135. - Effort estimates provided for each gap
  136. - Overall parity effort assessed correctly
  137. - Parity analysis reported to validation report
  138. - Clear summary presented to user
  139. - User can choose to continue validation, exit, or save report
  140. ### ❌ SYSTEM FAILURE:
  141. - Not analyzing all 6 sections systematically
  142. - Missing effort estimates
  143. - Not reporting parity analysis to validation report
  144. - Auto-proceeding without user decision
  145. - Unclear recommendations
  146. **Master Rule:** Parity check informs user of gaps and effort, but user decides whether to proceed with validation or address gaps first.