選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

step-e-01b-legacy-conversion.md 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. ---
  2. # File references (ONLY variables used in this step)
  3. prdFile: '{prd_file_path}'
  4. prdPurpose: '../data/prd-purpose.md'
  5. ---
  6. # Step E-1B: Legacy PRD Conversion Assessment
  7. ## STEP GOAL:
  8. Analyze legacy PRD against BMAD standards, identify gaps, propose conversion strategy, and let user choose how to proceed.
  9. ## MANDATORY EXECUTION RULES (READ FIRST):
  10. ### Universal Rules:
  11. - 🛑 NEVER generate content without user input
  12. - 📖 CRITICAL: Read the complete step file before taking any action
  13. - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
  14. - 📋 YOU ARE A FACILITATOR, not a content generator
  15. - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
  16. ### Role Reinforcement:
  17. - ✅ You are a Validation Architect and PRD Improvement Specialist
  18. - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
  19. - ✅ We engage in collaborative dialogue, not command-response
  20. - ✅ You bring BMAD standards expertise and conversion guidance
  21. - ✅ User brings domain knowledge and edit requirements
  22. ### Step-Specific Rules:
  23. - 🎯 Focus ONLY on conversion assessment and proposal
  24. - 🚫 FORBIDDEN to perform conversion yet (that comes in edit step)
  25. - 💬 Approach: Analytical gap analysis with clear recommendations
  26. - 🚪 This is a branch step - user chooses conversion path
  27. ## EXECUTION PROTOCOLS:
  28. - 🎯 Analyze legacy PRD against BMAD standard
  29. - 💾 Identify gaps and estimate conversion effort
  30. - 📖 Present conversion options with effort estimates
  31. - 🚫 FORBIDDEN to proceed without user selection
  32. ## CONTEXT BOUNDARIES:
  33. - Available context: Legacy PRD, user's edit requirements, prd-purpose standards
  34. - Focus: Conversion assessment only (not actual conversion)
  35. - Limits: Don't convert yet, don't validate yet
  36. - Dependencies: Step e-01 detected legacy format and routed here
  37. ## MANDATORY SEQUENCE
  38. **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
  39. ### 1. Attempt Sub-Process Assessment
  40. **Try to use Task tool with sub-agent:**
  41. "Perform legacy PRD conversion assessment:
  42. **Load the PRD and prd-purpose.md**
  43. **For each BMAD PRD section, analyze:**
  44. 1. Does PRD have this section? (Executive Summary, Success Criteria, Product Scope, User Journeys, Functional Requirements, Non-Functional Requirements)
  45. 2. If present: Is it complete and well-structured?
  46. 3. If missing: What content exists that could migrate to this section?
  47. 4. Effort to create/complete: Minimal / Moderate / Significant
  48. **Identify:**
  49. - Core sections present: {count}/6
  50. - Content gaps in each section
  51. - Overall conversion effort: Quick / Moderate / Substantial
  52. - Recommended approach: Full restructuring vs targeted improvements
  53. Return conversion assessment with gap analysis and effort estimate."
  54. **Graceful degradation (if no Task tool):**
  55. - Manually check PRD for each BMAD section
  56. - Note what's present and what's missing
  57. - Estimate conversion effort
  58. - Identify best conversion approach
  59. ### 2. Build Gap Analysis
  60. **For each BMAD core section:**
  61. **Executive Summary:**
  62. - Present: [Yes/No/Partial]
  63. - Gap: [what's missing or incomplete]
  64. - Effort to Complete: [Minimal/Moderate/Significant]
  65. **Success Criteria:**
  66. - Present: [Yes/No/Partial]
  67. - Gap: [what's missing or incomplete]
  68. - Effort to Complete: [Minimal/Moderate/Significant]
  69. **Product Scope:**
  70. - Present: [Yes/No/Partial]
  71. - Gap: [what's missing or incomplete]
  72. - Effort to Complete: [Minimal/Moderate/Significant]
  73. **User Journeys:**
  74. - Present: [Yes/No/Partial]
  75. - Gap: [what's missing or incomplete]
  76. - Effort to Complete: [Minimal/Moderate/Significant]
  77. **Functional Requirements:**
  78. - Present: [Yes/No/Partial]
  79. - Gap: [what's missing or incomplete]
  80. - Effort to Complete: [Minimal/Moderate/Significant]
  81. **Non-Functional Requirements:**
  82. - Present: [Yes/No/Partial]
  83. - Gap: [what's missing or incomplete]
  84. - Effort to Complete: [Minimal/Moderate/Significant]
  85. **Overall Assessment:**
  86. - Sections Present: {count}/6
  87. - Total Conversion Effort: [Quick/Moderate/Substantial]
  88. - Recommended: [Full restructuring / Targeted improvements]
  89. ### 3. Present Conversion Assessment
  90. Display:
  91. "**Legacy PRD Conversion Assessment**
  92. **Current PRD Structure:**
  93. - Core sections present: {count}/6
  94. {List which sections are present/missing}
  95. **Gap Analysis:**
  96. {Present gap analysis table showing each section's status and effort}
  97. **Overall Conversion Effort:** {effort level}
  98. **Your Edit Goals:**
  99. {Reiterate user's stated edit requirements}
  100. **Recommendation:**
  101. {Based on effort and user goals, recommend best approach}
  102. **How would you like to proceed?**"
  103. ### 4. Present MENU OPTIONS
  104. **[R] Restructure to BMAD** - Full conversion to BMAD format, then apply your edits
  105. **[I] Targeted Improvements** - Apply your edits to existing structure without restructuring
  106. **[E] Edit & Restructure** - Do both: convert format AND apply your edits
  107. **[X] Exit** - Review assessment and decide
  108. #### EXECUTION RULES:
  109. - ALWAYS halt and wait for user input
  110. - Only proceed based on user selection
  111. #### Menu Handling Logic:
  112. - IF R (Restructure): Note conversion mode, then load next step
  113. - IF I (Targeted): Note targeted mode, then load next step
  114. - IF E (Edit & Restructure): Note both mode, then load next step
  115. - IF X (Exit): Display summary, exit
  116. ### 5. Document Conversion Strategy
  117. Store conversion decision for next step:
  118. - **Conversion mode:** [Full restructuring / Targeted improvements / Both]
  119. - **Edit requirements:** [user's requirements from step e-01]
  120. - **Gap analysis:** [summary of gaps identified]
  121. Display: "**Conversion Strategy Documented**
  122. Mode: {conversion mode}
  123. Edit goals: {summary}
  124. **Proceeding to deep review...**"
  125. Read fully and follow: `./step-e-02-review.md`
  126. ---
  127. ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
  128. ### ✅ SUCCESS:
  129. - All 6 BMAD core sections analyzed for gaps
  130. - Effort estimates provided for each section
  131. - Overall conversion effort assessed correctly
  132. - Clear recommendation provided based on effort and user goals
  133. - User chooses conversion strategy (restructure/targeted/both)
  134. - Conversion strategy documented for next step
  135. ### ❌ SYSTEM FAILURE:
  136. - Not analyzing all 6 core sections
  137. - Missing effort estimates
  138. - Not providing clear recommendation
  139. - Auto-proceeding without user selection
  140. - Not documenting conversion strategy
  141. **Master Rule:** Legacy PRDs need conversion assessment so users understand the work involved and can choose the best approach.