Brian Madison f84e18760f feat: Extract BMGD module and implement workflow vendoring
This commit extracts game development functionality from BMM into a standalone
BMGD (BMad Game Development) module and implements workflow vendoring to enable
module independence.

BMGD Module Creation:
- Moved agents: game-designer, game-dev, game-architect from BMM to BMGD
- Moved team config: team-gamedev
- Created new Game Dev Scrum Master agent using workflow vendoring pattern
- Reorganized workflows into industry-standard game dev phases:
  * Phase 1 (Preproduction): brainstorm-game, game-brief
  * Phase 2 (Design): gdd, narrative
  * Phase 3 (Technical): game-architecture
  * Phase 4 (Production): vendored from BMM workflows
- Updated all module metadata and config_source references

Workflow Vendoring Feature:
- Enables modules to copy workflows from other modules during installation
- Build-time process that updates config_source in vendored workflows
- New agent YAML attribute: workflow-install (build-time metadata)
- Final compiled agents use workflow-install value for workflow attribute
- Implementation in module manager: vendorCrossModuleWorkflows()
- Allows standalone module installation without forced dependencies

Technical Changes:
- tools/cli/lib/yaml-xml-builder.js: Use workflow-install for workflow attribute
- tools/cli/installers/lib/modules/manager.js: Add vendoring functions
- tools/schema/agent.js: Add workflow-install to menu item schema
- Updated 3 documentation files with workflow vendoring details

BMM Workflow Updates:
- workflow-status/init: Added game detection checkpoint
- workflow-status/paths/game-design.yaml: Redirect to BMGD module
- prd/instructions.md: Route game projects to BMGD
- research/instructions-market.md: Reference BMGD for game development

Documentation:
- Created comprehensive BMGD module README
- Added workflow vendoring documentation
- Updated BMB agent creation and module creation guides
2025-11-05 20:44:22 -06:00

2.1 KiB

{{game_name}} - Narrative Design Document

Author: {{user_name}} Game Type: {{game_type}} Narrative Complexity: {{narrative_complexity}}


Executive Summary

Narrative Premise

{{narrative_premise}}

Core Themes

{{core_themes}}

Tone and Atmosphere

{{tone_atmosphere}}


Story Structure

Story Type

{{story_type}}

Structure used: (3-act, hero's journey, kishōtenketsu, episodic, branching, etc.)

Act Breakdown

{{act_breakdown}}

Story Beats

{{story_beats}}

Pacing and Flow

{{pacing_flow}}


Characters

Protagonist(s)

{{protagonists}}

Antagonist(s)

{{antagonists}}

Supporting Characters

{{supporting_characters}}

Character Arcs

{{character_arcs}}


World and Lore

World Overview

{{world_overview}}

History and Backstory

{{history_backstory}}

Factions and Organizations

{{factions_organizations}}

Locations

{{locations}}

Cultural Elements

{{cultural_elements}}


Dialogue Framework

Dialogue Style

{{dialogue_style}}

Key Conversations

{{key_conversations}}

Branching Dialogue

{{branching_dialogue}}

Voice and Characterization

{{voice_characterization}}


Environmental Storytelling

Visual Storytelling

{{visual_storytelling}}

Audio Storytelling

{{audio_storytelling}}

Found Documents

{{found_documents}}

Environmental Clues

{{environmental_clues}}


Narrative Delivery

Cutscenes and Cinematics

{{cutscenes}}

In-Game Storytelling

{{ingame_storytelling}}

Optional Content

{{optional_content}}

Multiple Endings

{{multiple_endings}}


Integration with Gameplay

Narrative-Gameplay Harmony

{{narrative_gameplay}}

Story Gates

{{story_gates}}

Player Agency

{{player_agency}}


Production Notes

Writing Scope

{{writing_scope}}

Localization Considerations

{{localization}}

Voice Acting

{{voice_acting}}


Appendix

Character Relationship Map

{{relationship_map}}

Timeline

{{timeline}}

References and Inspirations

{{references}}