name: 'step-09-complete' description: 'Complete the architecture workflow with final review and handoff guidance'
workflow_path: '{installed_path}'
thisStepFile: './step-09-complete.md' workflowFile: '{workflow_path}/workflow.md' outputFile: '{output_folder}/game-architecture.md'
epicWorkflow: 'skill:gds-create-epics-and-stories'
Progress: Step 9 of 9 - Architecture Complete!
Generate the executive summary, finalize the document, update workflow status, and provide clear handoff guidance for the next workflow phase.
{communication_language}stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]Create summary from all sections:
Based on all documented content, synthesize an executive summary:
## Executive Summary
**{{game_name}}** architecture is designed for {{engine}} targeting {{platform}}.
**Key Architectural Decisions:**
- {{decision_1_summary}}
- {{decision_2_summary}}
- {{decision_3_summary}}
**Project Structure:** {{organization_pattern}} organization with {{system_count}} core systems.
**Implementation Patterns:** {{pattern_count}} patterns defined ensuring AI agent consistency.
**Ready for:** Epic implementation phase
"Let me generate the development environment setup section.
Development Prerequisites:
## Development Environment
### Prerequisites
{{prerequisites_list}}
### AI Tooling (MCP Servers)
{{if_mcps_selected}}
The following MCP servers were selected during architecture to enhance AI-assisted development:
| MCP Server | Purpose | Install Type |
| ---------- | ------- | ------------ |
{{mcp_table_rows}}
**Setup:**
{{mcp_setup_instructions}}
These give your AI assistant direct access to {{engine}} for scene inspection, asset queries, and context-aware code generation.
{{else}}
No engine-specific MCP servers were selected. You can add them later by searching for "{{engine}} MCP server" to find available integrations.
{{/if_mcps_selected}}
### Setup Commands
```bash
{{setup_commands}}
```
{{third_step}}
Does this capture the setup process correctly?"
### 3. Finalize Document
**Update the document with final content:**
- Add Executive Summary at the top (after frontmatter)
- Add Development Environment section
- Update document status to 'complete'
- Update frontmatter with all steps completed
**Final frontmatter:**
```yaml
---
title: 'Game Architecture'
project: '{{project_name}}'
date: '{{date}}'
author: '{{user_name}}'
version: '1.0'
stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]
status: 'complete'
engine: '{{engine}}'
platform: '{{platform}}'
---
If not in standalone mode:
Load {output_folder}/gds-workflow-status.yaml and:
create-architecture status to the output file path"Architecture Complete!
{{user_name}}, the Game Architecture for {{game_name}} is now complete!
Architecture Summary:
Sections Completed:
Document saved to: {outputFile}
Do you want to review or adjust anything before we finalize?
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 game code consistently with your project's unique requirements and patterns. {/if_existing_project_context}
Create/Update project context? [Y/N]"
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 game code."
Execute the Generate Project Context workflow:
{projectContextWorkflow}If 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."
If user wants to review:
"Which section would you like to review?
Or type 'all' to see the complete document."
Show requested section and allow edits.
After user confirms completion:
"Recommended Next Steps for {{game_name}}:
Initialize Project - Run the setup commands to create your project
{{setup_command}}Create Epics - Break down GDD into implementation epics
create-epicsBegin Implementation - Start coding with AI agents
Which would you like to do next?
Based on user choice:
If 1 (Review):
If 2 (Epic Creation):
If 3 (Exit):
For Epic Creation handoff:
"Handoff to Epic Creation
Your architecture is ready to guide epic creation.
What the Epic workflow will do:
Architecture inputs that will be used:
Ready to proceed to epic creation, or any questions about the architecture?"
This is the final step. Ensure:
Master Rule: Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
The Game Architecture workflow transforms a GDD into a comprehensive architecture document through 9 collaborative steps:
This step-file architecture ensures consistent, thorough architecture creation with user collaboration at every step.
Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete
If the resolved workflow.on_complete is non-empty, follow it as the final terminal instruction before exiting.