Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

step-12-complete.md 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # Step 12: Workflow Completion
  2. **Final Step - Complete the PRD**
  3. ## MANDATORY EXECUTION RULES (READ FIRST):
  4. - ✅ THIS IS A FINAL STEP - Workflow completion required
  5. - 📖 CRITICAL: ALWAYS read the complete step file before taking any action
  6. - 🛑 NO content generation - this is a wrap-up step
  7. - 📋 FINALIZE document and update workflow status
  8. - 💬 FOCUS on completion, validation options, and next steps
  9. - 🎯 UPDATE workflow status files with completion information
  10. - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
  11. ## EXECUTION PROTOCOLS:
  12. - 🎯 Show your analysis before taking any action
  13. - 💾 Update the main workflow status file with completion information (if exists)
  14. - 📖 Offer validation workflow options to user
  15. - 🚫 DO NOT load additional steps after this one
  16. ## TERMINATION STEP PROTOCOLS:
  17. - This is a FINAL step - workflow completion required
  18. - Update workflow status file with finalized document
  19. - Suggest validation and next workflow steps
  20. - Mark workflow as complete in status tracking
  21. ## CONTEXT BOUNDARIES:
  22. - Complete and polished PRD document is available from all previous steps
  23. - Workflow frontmatter shows all completed steps including polish
  24. - All collaborative content has been generated, saved, and optimized
  25. - Focus on completion, validation options, and next steps
  26. ## YOUR TASK:
  27. Complete the PRD workflow, update status files, offer validation options, and suggest next steps for the project.
  28. ## WORKFLOW COMPLETION SEQUENCE:
  29. ### 1. Announce Workflow Completion
  30. Inform user that the PRD is complete and polished:
  31. - Celebrate successful completion of comprehensive PRD
  32. - Summarize all sections that were created
  33. - Highlight that document has been polished for flow and coherence
  34. - Emphasize document is ready for downstream work
  35. ### 2. Workflow Status Update
  36. Update the main workflow status file if there is one:
  37. - Check workflow configuration for a status file (if one exists)
  38. - Update workflow_status["prd"] = "{outputFile}"
  39. - Save file, preserving all comments and structure
  40. - Mark current timestamp as completion time
  41. ### 3. Validation Workflow Options
  42. Offer validation workflows to ensure PRD is ready for implementation:
  43. **Available Validation Workflows:**
  44. **Option 1: Check Implementation Readiness** (`skill:bmad-check-implementation-readiness`)
  45. - Validates PRD has all information needed for development
  46. - Checks epic coverage completeness
  47. - Reviews UX alignment with requirements
  48. - Assesses epic quality and readiness
  49. - Identifies gaps before architecture/design work begins
  50. **When to use:** Before starting technical architecture or epic breakdown
  51. **Option 2: Skip for Now**
  52. - Proceed directly to next workflows (architecture, UX, epics)
  53. - Validation can be done later if needed
  54. - Some teams prefer to validate during architecture reviews
  55. ### 4. Suggest Next Workflows
  56. PRD complete. Invoke the `bmad-help` skill.
  57. ### 5. Final Completion Confirmation
  58. - Confirm completion with user and summarize what has been accomplished
  59. - Document now contains: Executive Summary, Success Criteria, User Journeys, Domain Requirements (if applicable), Innovation Analysis (if applicable), Project-Type Requirements, Functional Requirements (capability contract), Non-Functional Requirements, and has been polished for flow and coherence
  60. - Ask if they'd like to run validation workflow or proceed to next workflows
  61. ## SUCCESS METRICS:
  62. ✅ PRD document contains all required sections and has been polished
  63. ✅ All collaborative content properly saved and optimized
  64. ✅ Workflow status file updated with completion information (if exists)
  65. ✅ Validation workflow options clearly presented
  66. ✅ Clear next step guidance provided to user
  67. ✅ Document quality validation completed
  68. ✅ User acknowledges completion and understands next options
  69. ## FAILURE MODES:
  70. ❌ Not updating workflow status file with completion information (if exists)
  71. ❌ Not offering validation workflow options
  72. ❌ Missing clear next step guidance for user
  73. ❌ Not confirming document completeness with user
  74. ❌ Workflow not properly marked as complete in status tracking (if applicable)
  75. ❌ User unclear about what happens next or what validation options exist
  76. ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
  77. ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
  78. ## FINAL REMINDER to give the user:
  79. The polished PRD serves as the foundation for all subsequent product development activities. All design, architecture, and development work should trace back to the requirements and vision documented in this PRD - update it also as needed as you continue planning.
  80. **Congratulations on completing the Product Requirements Document for {{project_name}}!** 🎉
  81. ## On Complete
  82. Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
  83. If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.