🛑 NEVER generate content without user input
📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
✅ ALWAYS treat this as collaborative completion between architectural peers
📋 YOU ARE A FACILITATOR, not a content generator
💬 FOCUS on successful workflow completion and implementation handoff
🎯 PROVIDE clear next steps for implementation phase
⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config {communication_language}
Complete the architecture workflow, provide a comprehensive completion summary, and guide the user to the next phase of their project development.
Based on user skill level, present the completion:
For Expert Users: "Architecture workflow complete. {{decision_count}} architectural decisions documented across {{step_count}} steps.
Your architecture is ready for AI agent implementation. All decisions are documented with specific versions and implementation patterns.
Key deliverables:
Ready for implementation phase."
For Intermediate Users: "Excellent! Your architecture for {{project_name}} is now complete and ready for implementation.
What we accomplished:
Your architecture document includes:
The architecture is comprehensive and ready to guide consistent implementation."
For Beginner Users: "Congratulations! Your architecture for {{project_name}} is complete! 🎉
What this means: Think of this as creating the complete blueprint for your house. We've made all the important decisions about how it will be built, what materials to use, and how everything fits together.
What we created together:
What happens next: AI agents will read this architecture document before building anything. They'll follow all your decisions exactly, which means your app will be built with consistent patterns throughout.
You're ready for the implementation phase!"
Confirm the architecture document is complete:
Document Structure Verification:
Frontmatter Update:
stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8]
workflowType: 'architecture'
lastStep: 8
status: 'complete'
completedAt: '{{current_date}}'
Provide specific next steps for implementation:
Immediate Next Steps:
{planning_artifacts}/architecture.mdDevelopment Workflow: "AI agents will:
Quality Assurance: "Your architecture includes:
Prepare the final content to append to the document:
## Architecture Completion Summary
### Workflow Completion
**Architecture Decision Workflow:** COMPLETED ✅
**Total Steps Completed:** 8
**Date Completed:** {{current_date}}
**Document Location:** {planning_artifacts}/architecture.md
### Final Architecture Deliverables
**📋 Complete Architecture Document**
- All architectural decisions documented with specific versions
- Implementation patterns ensuring AI agent consistency
- Complete project structure with all files and directories
- Requirements to architecture mapping
- Validation confirming coherence and completeness
**🏗️ Implementation Ready Foundation**
- {{decision_count}} architectural decisions made
- {{pattern_count}} implementation patterns defined
- {{component_count}} architectural components specified
- {{requirement_count}} requirements fully supported
**📚 AI Agent Implementation Guide**
- Technology stack with verified versions
- Consistency rules that prevent implementation conflicts
- Project structure with clear boundaries
- Integration patterns and communication standards
### Implementation Handoff
**For AI Agents:**
This architecture document is your complete guide for implementing {{project_name}}. Follow all decisions, patterns, and structures exactly as documented.
**First Implementation Priority:**
{{starter_template_command_or_initialization_step}}
**Development Sequence:**
1. Initialize project using documented starter template
2. Set up development environment per architecture
3. Implement core architectural foundations
4. Build features following established patterns
5. Maintain consistency with documented rules
### Quality Assurance Checklist
**✅ Architecture Coherence**
- [x] All decisions work together without conflicts
- [x] Technology choices are compatible
- [x] Patterns support the architectural decisions
- [x] Structure aligns with all choices
**✅ Requirements Coverage**
- [x] All functional requirements are supported
- [x] All non-functional requirements are addressed
- [x] Cross-cutting concerns are handled
- [x] Integration points are defined
**✅ Implementation Readiness**
- [x] Decisions are specific and actionable
- [x] Patterns prevent agent conflicts
- [x] Structure is complete and unambiguous
- [x] Examples are provided for clarity
### Project Success Factors
**🎯 Clear Decision Framework**
Every technology choice was made collaboratively with clear rationale, ensuring all stakeholders understand the architectural direction.
**🔧 Consistency Guarantee**
Implementation patterns and rules ensure that multiple AI agents will produce compatible, consistent code that works together seamlessly.
**📋 Complete Coverage**
All project requirements are architecturally supported, with clear mapping from business needs to technical implementation.
**🏗️ Solid Foundation**
The chosen starter template and architectural patterns provide a production-ready foundation following current best practices.
---
**Architecture Status:** READY FOR IMPLEMENTATION ✅
**Next Phase:** Begin implementation using the architectural decisions and patterns documented herein.
**Document Maintenance:** Update this architecture when major technical decisions are made during implementation.
Save Final Document:
{planning_artifacts}/architecture.mdWorkflow Status Update: If not in standalone mode, update workflow status:
{planning_artifacts}/bmm-workflow-status.yaml"🎉 Architecture Workflow Complete!
Your architecture for {{project_name}} is comprehensive, validated, and ready for implementation.
✅ What's been delivered:
📍 Where to find it:
{planning_artifacts}/architecture.md
🚀 What's next:
Your architecture will ensure consistent, high-quality implementation across all development work. Great job collaborating through these important architectural decisions!
💡 Optional Enhancement: Project Context File
Would you like to create a project-context.md file? This is a concise, optimized guide for AI agents that captures:
{if_existing_project_context} I noticed you already have a project context file. Would you like to update it with your new architectural decisions? {else} This file helps ensure AI agents implement code consistently with your project's unique requirements and patterns. {/if_existing_project_context}
Create/Update project context? [Y/N]
Ready to move to the next phase of your project development?"
If user responds 'Y' or 'yes' to creating/updating project context:
"Excellent choice! Let me launch the Generate Project Context workflow to create a comprehensive guide for AI agents.
This will help ensure consistent implementation by capturing:
The workflow will collaborate with you to create an optimized project-context.md file that AI agents will read before implementing any code."
Execute the Generate Project Context workflow:
{project-root}/_bmad/bmm/workflows/generate-project-context/workflow.mdIf user responds 'N' or 'no': "Understood! Your architecture is complete and ready for implementation. You can always create a project context file later using the Generate Project Context workflow if needed."
✅ Complete architecture document delivered with all sections ✅ All architectural decisions documented and validated ✅ Implementation patterns and consistency rules finalized ✅ Project structure complete with all files and directories ✅ User provided with clear next steps and implementation guidance ✅ Workflow status properly updated ✅ User collaboration maintained throughout completion process
❌ Not providing clear implementation guidance ❌ Missing final validation of document completeness ❌ Not updating workflow status appropriately ❌ Failing to celebrate the successful completion ❌ Not providing specific next steps for the user ❌ Rushing completion without proper summary
❌ CRITICAL: Reading only partial step file - leads to incomplete understanding and poor decisions ❌ CRITICAL: Proceeding with 'C' without fully reading and understanding the next step file ❌ CRITICAL: Making decisions without complete understanding of step requirements and protocols
This is the final step of the Architecture workflow. The user now has a complete, validated architecture document ready for AI agent implementation.
The architecture will serve as the single source of truth for all technical decisions, ensuring consistent implementation across the entire project development lifecycle.