bmad-game-dev-studio 0.1.9 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/package.json +1 -1
  2. package/src/agents/game-architect.agent.yaml +5 -1
  3. package/src/agents/game-designer.agent.yaml +1 -1
  4. package/src/agents/game-dev.agent.yaml +4 -4
  5. package/src/agents/game-qa.agent.yaml +7 -7
  6. package/src/agents/game-scrum-master.agent.yaml +5 -5
  7. package/src/agents/game-solo-dev.agent.yaml +9 -5
  8. package/src/agents/tech-writer/tech-writer.agent.yaml +1 -1
  9. package/src/module-help.csv +33 -23
  10. package/src/module.yaml +1 -1
  11. package/src/workflows/1-preproduction/brainstorm-game/bmad-skill-manifest.yaml +3 -0
  12. package/src/workflows/1-preproduction/game-brief/bmad-skill-manifest.yaml +3 -0
  13. package/src/workflows/1-preproduction/research/bmad-domain-research/bmad-skill-manifest.yaml +2 -0
  14. package/src/workflows/1-preproduction/research/bmad-skill-manifest.yaml +9 -0
  15. package/src/workflows/2-design/bmad-create-ux-design/bmad-skill-manifest.yaml +1 -0
  16. package/src/workflows/2-design/create-prd/bmad-skill-manifest.yaml +14 -0
  17. package/src/workflows/2-design/create-prd/data/domain-complexity.csv +15 -0
  18. package/src/workflows/2-design/create-prd/data/project-types.csv +11 -0
  19. package/src/workflows/2-design/gdd/bmad-skill-manifest.yaml +3 -0
  20. package/src/workflows/2-design/narrative/bmad-skill-manifest.yaml +3 -0
  21. package/src/workflows/3-technical/check-implementation-readiness/bmad-skill-manifest.yaml +3 -0
  22. package/src/workflows/3-technical/create-epics-and-stories/bmad-skill-manifest.yaml +3 -0
  23. package/src/workflows/3-technical/game-architecture/bmad-skill-manifest.yaml +3 -0
  24. package/src/workflows/3-technical/generate-project-context/bmad-skill-manifest.yaml +3 -0
  25. package/src/workflows/4-production/bmad-create-story/bmad-skill-manifest.yaml +1 -0
  26. package/src/workflows/4-production/bmad-dev-story/bmad-skill-manifest.yaml +1 -0
  27. package/src/workflows/4-production/code-review/bmad-skill-manifest.yaml +3 -0
  28. package/src/workflows/4-production/correct-course/bmad-skill-manifest.yaml +3 -0
  29. package/src/workflows/4-production/retrospective/bmad-skill-manifest.yaml +3 -0
  30. package/src/workflows/4-production/sprint-planning/bmad-skill-manifest.yaml +3 -0
  31. package/src/workflows/4-production/sprint-status/bmad-skill-manifest.yaml +3 -0
  32. package/src/workflows/document-project/bmad-skill-manifest.yaml +3 -0
  33. package/src/workflows/gametest/automate/bmad-skill-manifest.yaml +3 -0
  34. package/src/workflows/gametest/e2e-scaffold/bmad-skill-manifest.yaml +3 -0
  35. package/src/workflows/gametest/performance/bmad-skill-manifest.yaml +3 -0
  36. package/src/workflows/gametest/playtest-plan/bmad-skill-manifest.yaml +3 -0
  37. package/src/workflows/gametest/test-design/bmad-skill-manifest.yaml +3 -0
  38. package/src/workflows/gametest/test-framework/bmad-skill-manifest.yaml +3 -0
  39. package/src/workflows/gametest/test-review/bmad-skill-manifest.yaml +3 -0
  40. package/src/workflows/gds-quick-flow/quick-dev/bmad-skill-manifest.yaml +4 -0
  41. package/src/workflows/gds-quick-flow/quick-dev-new-preview/bmad-skill-manifest.yaml +4 -0
  42. package/src/workflows/gds-quick-flow/quick-spec/bmad-skill-manifest.yaml +3 -0
  43. package/src/workflows/1-preproduction/brainstorm-game/workflow.yaml +0 -62
  44. package/src/workflows/1-preproduction/game-brief/workflow.yaml +0 -67
  45. package/src/workflows/2-design/gdd/workflow.yaml +0 -101
  46. package/src/workflows/2-design/narrative/workflow.yaml +0 -77
  47. package/src/workflows/3-technical/game-architecture/workflow.yaml +0 -101
  48. package/src/workflows/4-production/code-review/instructions.xml +0 -226
  49. package/src/workflows/4-production/code-review/workflow.yaml +0 -65
  50. package/src/workflows/4-production/correct-course/workflow.yaml +0 -68
  51. package/src/workflows/4-production/create-story/instructions.xml +0 -345
  52. package/src/workflows/4-production/create-story/workflow.yaml +0 -61
  53. package/src/workflows/4-production/dev-story/instructions.xml +0 -410
  54. package/src/workflows/4-production/dev-story/workflow.yaml +0 -27
  55. package/src/workflows/4-production/retrospective/workflow.yaml +0 -58
  56. package/src/workflows/4-production/sprint-planning/workflow.yaml +0 -55
  57. package/src/workflows/4-production/sprint-status/workflow.yaml +0 -37
  58. package/src/workflows/document-project/workflow.yaml +0 -30
  59. package/src/workflows/document-project/workflows/deep-dive.yaml +0 -31
  60. package/src/workflows/document-project/workflows/full-scan.yaml +0 -31
  61. package/src/workflows/gametest/automate/workflow.yaml +0 -50
  62. package/src/workflows/gametest/e2e-scaffold/workflow.yaml +0 -143
  63. package/src/workflows/gametest/performance/workflow.yaml +0 -48
  64. package/src/workflows/gametest/playtest-plan/workflow.yaml +0 -59
  65. package/src/workflows/gametest/test-design/workflow.yaml +0 -47
  66. package/src/workflows/gametest/test-framework/workflow.yaml +0 -48
  67. package/src/workflows/gametest/test-review/workflow.yaml +0 -48
@@ -1,67 +0,0 @@
1
- # Game Brief - Interactive Workflow Configuration
2
- name: game-brief
3
- description: 'Game vision definition workflow. Use when the user says "lets create a game brief" or "I want to define my game vision"'
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/_bmad/gds/config.yaml"
8
- output_folder: "{config_source}:output_folder"
9
- user_name: "{config_source}:user_name"
10
- communication_language: "{config_source}:communication_language"
11
- document_output_language: "{config_source}:document_output_language"
12
- game_dev_experience: "{config_source}:game_dev_experience"
13
- date: system-generated
14
-
15
- # Workflow components - Step-file architecture
16
- installed_path: "{project-root}/_bmad/gds/workflows/1-preproduction/game-brief"
17
- instructions: "{installed_path}/workflow.md"
18
- template: "{installed_path}/templates/game-brief-template.md"
19
- validation: "{installed_path}/checklist.md"
20
-
21
- # Smart input file references - handles brainstorming/research docs
22
- input_file_patterns:
23
- brainstorm:
24
- description: "Brainstorming or ideation documents (optional)"
25
- whole: "{output_folder}/*brainstorm*.md"
26
- sharded: "{output_folder}/*brainstorm*/index.md"
27
- load_strategy: "FULL_LOAD"
28
-
29
- research:
30
- description: "Market or domain research (optional)"
31
- whole: "{output_folder}/*research*.md"
32
- sharded: "{output_folder}/*research*/index.md"
33
- load_strategy: "FULL_LOAD"
34
-
35
- inspiration:
36
- description: "Inspiration or reference documents (optional)"
37
- whole: "{output_folder}/*inspiration*.md"
38
- sharded: "{output_folder}/*inspiration*/index.md"
39
- load_strategy: "FULL_LOAD"
40
-
41
- # Output configuration
42
- default_output_file: "{output_folder}/game-brief.md"
43
-
44
- standalone: true
45
-
46
- web_bundle:
47
- name: "game-brief"
48
- description: "Interactive game brief creation workflow that guides users through defining their game vision with multiple input sources and conversational collaboration"
49
- author: "BMad"
50
- instructions: "_bmad/gds/workflows/1-preproduction/game-brief/workflow.md"
51
- web_bundle_files:
52
- # Main workflow file
53
- - "_bmad/gds/workflows/1-preproduction/game-brief/workflow.md"
54
- # Step files
55
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-01-init.md"
56
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-01b-continue.md"
57
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-02-vision.md"
58
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-03-market.md"
59
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-04-fundamentals.md"
60
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-05-scope.md"
61
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-06-references.md"
62
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-07-content.md"
63
- - "_bmad/gds/workflows/1-preproduction/game-brief/steps/step-08-complete.md"
64
- # Template
65
- - "_bmad/gds/workflows/1-preproduction/game-brief/templates/game-brief-template.md"
66
- # Validation checklist
67
- - "_bmad/gds/workflows/1-preproduction/game-brief/checklist.md"
@@ -1,101 +0,0 @@
1
- # Game Design Document (GDD) Workflow
2
- name: gdd
3
- description: 'Comprehensive game design document creator. Use when the user says "lets create a game design document" or "I want to create a comprehensive GDD"'
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/_bmad/gds/config.yaml"
8
- output_folder: "{config_source}:output_folder"
9
- user_name: "{config_source}:user_name"
10
- communication_language: "{config_source}:communication_language"
11
- document_output_language: "{config_source}:document_output_language"
12
- game_dev_experience: "{config_source}:game_dev_experience"
13
- date: system-generated
14
-
15
- # Workflow components - Step-file architecture
16
- installed_path: "{project-root}/_bmad/gds/workflows/2-design/gdd"
17
- instructions: "{installed_path}/workflow.md"
18
- template: "{installed_path}/templates/gdd-template.md"
19
- game_types_csv: "{installed_path}/game-types.csv"
20
-
21
- # Output configuration
22
- default_output_file: "{output_folder}/gdd.md"
23
-
24
- # Game type references (loaded based on game type selection)
25
- game_type_guides: "{installed_path}/game-types/"
26
-
27
- # Smart input file references - handles both whole docs and sharded docs
28
- # Priority: Whole document first, then sharded version
29
- input_file_patterns:
30
- game_brief:
31
- description: "Game vision and core concept (optional)"
32
- whole: "{output_folder}/*game-brief*.md"
33
- sharded: "{output_folder}/*game-brief*/index.md"
34
- load_strategy: "INDEX_GUIDED"
35
-
36
- research:
37
- description: "Market or domain research (optional)"
38
- whole: "{output_folder}/*research*.md"
39
- sharded: "{output_folder}/*research*/index.md"
40
- load_strategy: "FULL_LOAD"
41
-
42
- document_project:
43
- description: "Brownfield project documentation (optional)"
44
- sharded: "{output_folder}/index.md"
45
- load_strategy: "INDEX_GUIDED"
46
-
47
- standalone: true
48
-
49
- web_bundle:
50
- name: "gdd"
51
- description: "Game Design Document workflow for all game project levels - from small prototypes to full AAA games. Generates comprehensive GDD with game mechanics, systems, progression, and implementation guidance."
52
- author: "BMad"
53
- instructions: "_bmad/gds/workflows/2-design/gdd/workflow.md"
54
- web_bundle_files:
55
- # Main workflow file
56
- - "_bmad/gds/workflows/2-design/gdd/workflow.md"
57
- # Step files
58
- - "_bmad/gds/workflows/2-design/gdd/steps/step-01-init.md"
59
- - "_bmad/gds/workflows/2-design/gdd/steps/step-01b-continue.md"
60
- - "_bmad/gds/workflows/2-design/gdd/steps/step-02-context.md"
61
- - "_bmad/gds/workflows/2-design/gdd/steps/step-03-platforms.md"
62
- - "_bmad/gds/workflows/2-design/gdd/steps/step-04-vision.md"
63
- - "_bmad/gds/workflows/2-design/gdd/steps/step-05-core-gameplay.md"
64
- - "_bmad/gds/workflows/2-design/gdd/steps/step-06-mechanics.md"
65
- - "_bmad/gds/workflows/2-design/gdd/steps/step-07-game-type.md"
66
- - "_bmad/gds/workflows/2-design/gdd/steps/step-08-progression.md"
67
- - "_bmad/gds/workflows/2-design/gdd/steps/step-09-levels.md"
68
- - "_bmad/gds/workflows/2-design/gdd/steps/step-10-art-audio.md"
69
- - "_bmad/gds/workflows/2-design/gdd/steps/step-11-technical.md"
70
- - "_bmad/gds/workflows/2-design/gdd/steps/step-12-epics.md"
71
- - "_bmad/gds/workflows/2-design/gdd/steps/step-13-metrics.md"
72
- - "_bmad/gds/workflows/2-design/gdd/steps/step-14-complete.md"
73
- # Template
74
- - "_bmad/gds/workflows/2-design/gdd/templates/gdd-template.md"
75
- # Data files
76
- - "_bmad/gds/workflows/2-design/gdd/game-types.csv"
77
- # Game type guides
78
- - "_bmad/gds/workflows/2-design/gdd/game-types/action-platformer.md"
79
- - "_bmad/gds/workflows/2-design/gdd/game-types/adventure.md"
80
- - "_bmad/gds/workflows/2-design/gdd/game-types/card-game.md"
81
- - "_bmad/gds/workflows/2-design/gdd/game-types/fighting.md"
82
- - "_bmad/gds/workflows/2-design/gdd/game-types/horror.md"
83
- - "_bmad/gds/workflows/2-design/gdd/game-types/idle-incremental.md"
84
- - "_bmad/gds/workflows/2-design/gdd/game-types/metroidvania.md"
85
- - "_bmad/gds/workflows/2-design/gdd/game-types/moba.md"
86
- - "_bmad/gds/workflows/2-design/gdd/game-types/party-game.md"
87
- - "_bmad/gds/workflows/2-design/gdd/game-types/puzzle.md"
88
- - "_bmad/gds/workflows/2-design/gdd/game-types/racing.md"
89
- - "_bmad/gds/workflows/2-design/gdd/game-types/rhythm.md"
90
- - "_bmad/gds/workflows/2-design/gdd/game-types/roguelike.md"
91
- - "_bmad/gds/workflows/2-design/gdd/game-types/rpg.md"
92
- - "_bmad/gds/workflows/2-design/gdd/game-types/sandbox.md"
93
- - "_bmad/gds/workflows/2-design/gdd/game-types/shooter.md"
94
- - "_bmad/gds/workflows/2-design/gdd/game-types/simulation.md"
95
- - "_bmad/gds/workflows/2-design/gdd/game-types/sports.md"
96
- - "_bmad/gds/workflows/2-design/gdd/game-types/strategy.md"
97
- - "_bmad/gds/workflows/2-design/gdd/game-types/survival.md"
98
- - "_bmad/gds/workflows/2-design/gdd/game-types/text-based.md"
99
- - "_bmad/gds/workflows/2-design/gdd/game-types/tower-defense.md"
100
- - "_bmad/gds/workflows/2-design/gdd/game-types/turn-based-tactics.md"
101
- - "_bmad/gds/workflows/2-design/gdd/game-types/visual-novel.md"
@@ -1,77 +0,0 @@
1
- # Narrative Design Workflow
2
- name: narrative
3
- description: 'Story-driven narrative design documentation. Use when the user says "lets create a narrative design document"'
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/_bmad/gds/config.yaml"
8
- output_folder: "{config_source}:output_folder"
9
- user_name: "{config_source}:user_name"
10
- communication_language: "{config_source}:communication_language"
11
- document_output_language: "{config_source}:document_output_language"
12
- game_dev_experience: "{config_source}:game_dev_experience"
13
- date: system-generated
14
-
15
- # Workflow components - Step-file architecture
16
- installed_path: "{project-root}/_bmad/gds/workflows/2-design/narrative"
17
- instructions: "{installed_path}/workflow.md"
18
- template: "{installed_path}/templates/narrative-template.md"
19
- validation: "{installed_path}/checklist.md"
20
-
21
- # Smart input file references
22
- input_file_patterns:
23
- gdd:
24
- description: "Game Design Document with mechanics and systems"
25
- whole: "{output_folder}/*gdd*.md"
26
- sharded: "{output_folder}/*gdd*/index.md"
27
- load_strategy: "INDEX_GUIDED"
28
-
29
- brief:
30
- description: "Game Brief with vision (optional)"
31
- whole: "{output_folder}/*brief*.md"
32
- sharded: "{output_folder}/*brief*/index.md"
33
- load_strategy: "INDEX_GUIDED"
34
-
35
- # Output configuration
36
- default_output_file: "{output_folder}/narrative-design.md"
37
-
38
- # Workflow metadata
39
- version: "2.0.0"
40
- paradigm: "step-file-architecture"
41
- features:
42
- - "Step-file architecture for modular execution"
43
- - "Narrative complexity assessment"
44
- - "Character development facilitation"
45
- - "World-building guidance"
46
- - "Dialogue system design"
47
- - "Environmental storytelling planning"
48
- - "Production scope estimation"
49
- - "State tracking via frontmatter"
50
-
51
- standalone: true
52
-
53
- web_bundle:
54
- name: "narrative"
55
- description: "Narrative design workflow for story-driven games"
56
- author: "BMad"
57
- instructions: "_bmad/gds/workflows/2-design/narrative/workflow.md"
58
- web_bundle_files:
59
- # Main workflow file
60
- - "_bmad/gds/workflows/2-design/narrative/workflow.md"
61
- # Step files
62
- - "_bmad/gds/workflows/2-design/narrative/steps/step-01-init.md"
63
- - "_bmad/gds/workflows/2-design/narrative/steps/step-01b-continue.md"
64
- - "_bmad/gds/workflows/2-design/narrative/steps/step-02-foundation.md"
65
- - "_bmad/gds/workflows/2-design/narrative/steps/step-03-story.md"
66
- - "_bmad/gds/workflows/2-design/narrative/steps/step-04-characters.md"
67
- - "_bmad/gds/workflows/2-design/narrative/steps/step-05-world.md"
68
- - "_bmad/gds/workflows/2-design/narrative/steps/step-06-dialogue.md"
69
- - "_bmad/gds/workflows/2-design/narrative/steps/step-07-environmental.md"
70
- - "_bmad/gds/workflows/2-design/narrative/steps/step-08-delivery.md"
71
- - "_bmad/gds/workflows/2-design/narrative/steps/step-09-integration.md"
72
- - "_bmad/gds/workflows/2-design/narrative/steps/step-10-production.md"
73
- - "_bmad/gds/workflows/2-design/narrative/steps/step-11-complete.md"
74
- # Template
75
- - "_bmad/gds/workflows/2-design/narrative/templates/narrative-template.md"
76
- # Validation checklist
77
- - "_bmad/gds/workflows/2-design/narrative/checklist.md"
@@ -1,101 +0,0 @@
1
- # Game Architecture Workflow Configuration
2
- name: game-architecture
3
- description: 'Technical game systems architecture design. Use when the user says "lets create a game architecture" or "I want to design technical game systems"'
4
- author: "BMad"
5
-
6
- # Critical variables
7
- config_source: "{project-root}/_bmad/gds/config.yaml"
8
- output_folder: "{config_source}:output_folder"
9
- user_name: "{config_source}:user_name"
10
- communication_language: "{config_source}:communication_language"
11
- document_output_language: "{config_source}:document_output_language"
12
- game_dev_experience: "{config_source}:game_dev_experience"
13
- date: system-generated
14
-
15
- # Workflow components - Step-file architecture
16
- installed_path: "{project-root}/_bmad/gds/workflows/3-technical/game-architecture"
17
- instructions: "{installed_path}/workflow.md"
18
- validation: "{installed_path}/checklist.md"
19
- template: "{installed_path}/templates/architecture-template.md"
20
-
21
- # Knowledge bases for intelligent decision making
22
- decision_catalog: "{installed_path}/decision-catalog.yaml"
23
- architecture_patterns: "{installed_path}/architecture-patterns.yaml"
24
- pattern_categories: "{installed_path}/pattern-categories.csv"
25
- engine_mcps: "{installed_path}/engine-mcps.yaml"
26
-
27
- # Smart input file references - handles both whole docs and sharded docs
28
- input_file_patterns:
29
- gdd:
30
- description: "Game Design Document with mechanics and systems"
31
- whole: "{output_folder}/*gdd*.md"
32
- sharded: "{output_folder}/*gdd*/index.md"
33
- load_strategy: "INDEX_GUIDED"
34
-
35
- epics:
36
- description: "Epic definitions with user stories"
37
- whole: "{output_folder}/*epic*.md"
38
- sharded: "{output_folder}/*epic*/index.md"
39
- load_strategy: "FULL_LOAD"
40
-
41
- brief:
42
- description: "Game Brief with vision and scope (optional)"
43
- whole: "{output_folder}/*brief*.md"
44
- sharded: "{output_folder}/*brief*/index.md"
45
- load_strategy: "INDEX_GUIDED"
46
-
47
- narrative:
48
- description: "Narrative design with story and characters (optional)"
49
- whole: "{output_folder}/*narrative*.md"
50
- sharded: "{output_folder}/*narrative*/index.md"
51
- load_strategy: "INDEX_GUIDED"
52
-
53
- # Output configuration
54
- default_output_file: "{output_folder}/game-architecture.md"
55
-
56
- # Workflow metadata
57
- version: "2.0.0"
58
- replaces: "architecture"
59
- paradigm: "step-file-architecture"
60
- features:
61
- - "Step-file architecture for modular execution"
62
- - "Starter template discovery and integration"
63
- - "Dynamic version verification via web search"
64
- - "Adaptive facilitation by skill level"
65
- - "Decision-focused architecture"
66
- - "Novel pattern design for unique concepts"
67
- - "Intelligent pattern identification"
68
- - "Implementation patterns for agent consistency"
69
- - "Game engine MCP recommendations for AI-assisted development"
70
- - "State tracking via frontmatter"
71
-
72
- standalone: true
73
-
74
- web_bundle:
75
- name: "game-architecture"
76
- description: "Collaborative game architecture workflow for AI-agent consistency"
77
- author: "BMad"
78
- instructions: "_bmad/gds/workflows/3-technical/game-architecture/workflow.md"
79
- web_bundle_files:
80
- # Main workflow file
81
- - "_bmad/gds/workflows/3-technical/game-architecture/workflow.md"
82
- # Step files
83
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-01-init.md"
84
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-01b-continue.md"
85
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-02-context.md"
86
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-03-starter.md"
87
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-04-decisions.md"
88
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-05-crosscutting.md"
89
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-06-structure.md"
90
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-07-patterns.md"
91
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-08-validation.md"
92
- - "_bmad/gds/workflows/3-technical/game-architecture/steps/step-09-complete.md"
93
- # Template
94
- - "_bmad/gds/workflows/3-technical/game-architecture/templates/architecture-template.md"
95
- # Validation checklist
96
- - "_bmad/gds/workflows/3-technical/game-architecture/checklist.md"
97
- # Knowledge bases
98
- - "_bmad/gds/workflows/3-technical/game-architecture/decision-catalog.yaml"
99
- - "_bmad/gds/workflows/3-technical/game-architecture/architecture-patterns.yaml"
100
- - "_bmad/gds/workflows/3-technical/game-architecture/pattern-categories.csv"
101
- - "_bmad/gds/workflows/3-technical/game-architecture/engine-mcps.yaml"
@@ -1,226 +0,0 @@
1
- <workflow>
2
- <critical>The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml</critical>
3
- <critical>You MUST have already loaded and processed: {installed_path}/workflow.yaml</critical>
4
- <critical>Communicate all responses in {communication_language} and language MUST be tailored to {game_dev_experience}</critical>
5
- <critical>Generate all documents in {document_output_language}</critical>
6
-
7
- <critical>🔥 YOU ARE AN ADVERSARIAL CODE REVIEWER - Find what's wrong or missing! 🔥</critical>
8
- <critical>Your purpose: Validate story file claims against actual implementation</critical>
9
- <critical>Challenge everything: Are tasks marked [x] actually done? Are ACs really implemented?</critical>
10
- <critical>Find 3-10 specific issues in every review minimum - no lazy "looks good" reviews - YOU are so much better than the dev agent
11
- that wrote this slop</critical>
12
- <critical>Read EVERY file in the File List - verify implementation against story requirements</critical>
13
- <critical>Tasks marked complete but not done = CRITICAL finding</critical>
14
- <critical>Acceptance Criteria not implemented = HIGH severity finding</critical>
15
- <critical>Do not review files that are not part of the application's source code. Always exclude the _bmad/ and _bmad-output/ folders from the review. Always exclude IDE and CLI configuration folders like .cursor/ and .windsurf/ and .claude/</critical>
16
-
17
- <step n="1" goal="Load story and discover changes">
18
- <action>Use provided {{story_path}} or ask user which story file to review</action>
19
- <action>Read COMPLETE story file</action>
20
- <action>Set {{story_key}} = extracted key from filename (e.g., "1-2-user-authentication.md" → "1-2-user-authentication") or story
21
- metadata</action>
22
- <action>Parse sections: Story, Acceptance Criteria, Tasks/Subtasks, Dev Agent Record → File List, Change Log</action>
23
-
24
- <!-- Discover actual changes via git -->
25
- <action>Check if git repository detected in current directory</action>
26
- <check if="git repository exists">
27
- <action>Run `git status --porcelain` to find uncommitted changes</action>
28
- <action>Run `git diff --name-only` to see modified files</action>
29
- <action>Run `git diff --cached --name-only` to see staged files</action>
30
- <action>Compile list of actually changed files from git output</action>
31
- </check>
32
-
33
- <!-- Cross-reference story File List vs git reality -->
34
- <action>Compare story's Dev Agent Record → File List with actual git changes</action>
35
- <action>Note discrepancies:
36
- - Files in git but not in story File List
37
- - Files in story File List but no git changes
38
- - Missing documentation of what was actually changed
39
- </action>
40
-
41
- <invoke-protocol name="discover_inputs" />
42
- <action>Load {project_context} for coding standards (if exists)</action>
43
- </step>
44
-
45
- <step n="2" goal="Build review attack plan">
46
- <action>Extract ALL Acceptance Criteria from story</action>
47
- <action>Extract ALL Tasks/Subtasks with completion status ([x] vs [ ])</action>
48
- <action>From Dev Agent Record → File List, compile list of claimed changes</action>
49
-
50
- <action>Create review plan:
51
- 1. **AC Validation**: Verify each AC is actually implemented
52
- 2. **Task Audit**: Verify each [x] task is really done
53
- 3. **Code Quality**: Security, performance, maintainability
54
- 4. **Test Quality**: Real tests vs placeholder bullshit
55
- </action>
56
- </step>
57
-
58
- <step n="3" goal="Execute adversarial review">
59
- <critical>VALIDATE EVERY CLAIM - Check git reality vs story claims</critical>
60
-
61
- <!-- Git vs Story Discrepancies -->
62
- <action>Review git vs story File List discrepancies:
63
- 1. **Files changed but not in story File List** → MEDIUM finding (incomplete documentation)
64
- 2. **Story lists files but no git changes** → HIGH finding (false claims)
65
- 3. **Uncommitted changes not documented** → MEDIUM finding (transparency issue)
66
- </action>
67
-
68
- <!-- Use combined file list: story File List + git discovered files -->
69
- <action>Create comprehensive review file list from story File List and git changes</action>
70
-
71
- <!-- AC Validation -->
72
- <action>For EACH Acceptance Criterion:
73
- 1. Read the AC requirement
74
- 2. Search implementation files for evidence
75
- 3. Determine: IMPLEMENTED, PARTIAL, or MISSING
76
- 4. If MISSING/PARTIAL → HIGH SEVERITY finding
77
- </action>
78
-
79
- <!-- Task Completion Audit -->
80
- <action>For EACH task marked [x]:
81
- 1. Read the task description
82
- 2. Search files for evidence it was actually done
83
- 3. **CRITICAL**: If marked [x] but NOT DONE → CRITICAL finding
84
- 4. Record specific proof (file:line)
85
- </action>
86
-
87
- <!-- Code Quality Deep Dive -->
88
- <action>For EACH file in comprehensive review list:
89
- 1. **Security**: Look for injection risks, missing validation, auth issues
90
- 2. **Performance**: N+1 queries, inefficient loops, missing caching
91
- 3. **Error Handling**: Missing try/catch, poor error messages
92
- 4. **Code Quality**: Complex functions, magic numbers, poor naming
93
- 5. **Test Quality**: Are tests real assertions or placeholders?
94
- </action>
95
-
96
- <check if="total_issues_found lt 3">
97
- <critical>NOT LOOKING HARD ENOUGH - Find more problems!</critical>
98
- <action>Re-examine code for:
99
- - Edge cases and null handling
100
- - Architecture violations
101
- - Documentation gaps
102
- - Integration issues
103
- - Dependency problems
104
- - Git commit message quality (if applicable)
105
- </action>
106
- <action>Find at least 3 more specific, actionable issues</action>
107
- </check>
108
- </step>
109
-
110
- <step n="4" goal="Present findings and fix them">
111
- <action>Categorize findings: HIGH (must fix), MEDIUM (should fix), LOW (nice to fix)</action>
112
- <action>Set {{fixed_count}} = 0</action>
113
- <action>Set {{action_count}} = 0</action>
114
-
115
- <output>**🔥 CODE REVIEW FINDINGS, {user_name}!**
116
-
117
- **Story:** {{story_file}}
118
- **Git vs Story Discrepancies:** {{git_discrepancy_count}} found
119
- **Issues Found:** {{high_count}} High, {{medium_count}} Medium, {{low_count}} Low
120
-
121
- ## 🔴 CRITICAL ISSUES
122
- - Tasks marked [x] but not actually implemented
123
- - Acceptance Criteria not implemented
124
- - Story claims files changed but no git evidence
125
- - Security vulnerabilities
126
-
127
- ## 🟡 MEDIUM ISSUES
128
- - Files changed but not documented in story File List
129
- - Uncommitted changes not tracked
130
- - Performance problems
131
- - Poor test coverage/quality
132
- - Code maintainability issues
133
-
134
- ## 🟢 LOW ISSUES
135
- - Code style improvements
136
- - Documentation gaps
137
- - Git commit message quality
138
- </output>
139
-
140
- <ask>What should I do with these issues?
141
-
142
- 1. **Fix them automatically** - I'll update the code and tests
143
- 2. **Create action items** - Add to story Tasks/Subtasks for later
144
- 3. **Show me details** - Deep dive into specific issues
145
-
146
- Choose [1], [2], or specify which issue to examine:</ask>
147
-
148
- <check if="user chooses 1">
149
- <action>Fix all HIGH and MEDIUM issues in the code</action>
150
- <action>Add/update tests as needed</action>
151
- <action>Update File List in story if files changed</action>
152
- <action>Update story Dev Agent Record with fixes applied</action>
153
- <action>Set {{fixed_count}} = number of HIGH and MEDIUM issues fixed</action>
154
- <action>Set {{action_count}} = 0</action>
155
- </check>
156
-
157
- <check if="user chooses 2">
158
- <action>Add "Review Follow-ups (AI)" subsection to Tasks/Subtasks</action>
159
- <action>For each issue: `- [ ] [AI-Review][Severity] Description [file:line]`</action>
160
- <action>Set {{action_count}} = number of action items created</action>
161
- <action>Set {{fixed_count}} = 0</action>
162
- </check>
163
-
164
- <check if="user chooses 3">
165
- <action>Show detailed explanation with code examples</action>
166
- <action>Return to fix decision</action>
167
- </check>
168
- </step>
169
-
170
- <step n="5" goal="Update story status and sync sprint tracking">
171
- <!-- Determine new status based on review outcome -->
172
- <check if="all HIGH and MEDIUM issues fixed AND all ACs implemented">
173
- <action>Set {{new_status}} = "done"</action>
174
- <action>Update story Status field to "done"</action>
175
- </check>
176
- <check if="HIGH or MEDIUM issues remain OR ACs not fully implemented">
177
- <action>Set {{new_status}} = "in-progress"</action>
178
- <action>Update story Status field to "in-progress"</action>
179
- </check>
180
- <action>Save story file</action>
181
-
182
- <!-- Determine sprint tracking status -->
183
- <check if="{sprint_status} file exists">
184
- <action>Set {{current_sprint_status}} = "enabled"</action>
185
- </check>
186
- <check if="{sprint_status} file does NOT exist">
187
- <action>Set {{current_sprint_status}} = "no-sprint-tracking"</action>
188
- </check>
189
-
190
- <!-- Sync sprint-status.yaml when story status changes (only if sprint tracking enabled) -->
191
- <check if="{{current_sprint_status}} != 'no-sprint-tracking'">
192
- <action>Load the FULL file: {sprint_status}</action>
193
- <action>Find development_status key matching {{story_key}}</action>
194
-
195
- <check if="{{new_status}} == 'done'">
196
- <action>Update development_status[{{story_key}}] = "done"</action>
197
- <action>Save file, preserving ALL comments and structure</action>
198
- <output>✅ Sprint status synced: {{story_key}} → done</output>
199
- </check>
200
-
201
- <check if="{{new_status}} == 'in-progress'">
202
- <action>Update development_status[{{story_key}}] = "in-progress"</action>
203
- <action>Save file, preserving ALL comments and structure</action>
204
- <output>🔄 Sprint status synced: {{story_key}} → in-progress</output>
205
- </check>
206
-
207
- <check if="story key not found in sprint status">
208
- <output>⚠️ Story file updated, but sprint-status sync failed: {{story_key}} not found in sprint-status.yaml</output>
209
- </check>
210
- </check>
211
-
212
- <check if="{{current_sprint_status}} == 'no-sprint-tracking'">
213
- <output>ℹ️ Story status updated (no sprint tracking configured)</output>
214
- </check>
215
-
216
- <output>**✅ Review Complete!**
217
-
218
- **Story Status:** {{new_status}}
219
- **Issues Fixed:** {{fixed_count}}
220
- **Action Items Created:** {{action_count}}
221
-
222
- {{#if new_status == "done"}}Code review complete!{{else}}Address the action items and continue development.{{/if}}
223
- </output>
224
- </step>
225
-
226
- </workflow>
@@ -1,65 +0,0 @@
1
- # Review Story Workflow - Game Development
2
- name: code-review
3
- description: 'Adversarial game dev code review. Use when the user says "lets review this code for game dev issues"'
4
- author: "BMad"
5
-
6
- # Critical variables from config
7
- config_source: "{project-root}/_bmad/gds/config.yaml"
8
- user_name: "{config_source}:user_name"
9
- communication_language: "{config_source}:communication_language"
10
- game_dev_experience: "{config_source}:game_dev_experience"
11
- document_output_language: "{config_source}:document_output_language"
12
- date: system-generated
13
- implementation_artifacts: "{config_source}:implementation_artifacts"
14
- planning_artifacts: "{config_source}:planning_artifacts"
15
- output_folder: "{implementation_artifacts}"
16
- sprint_status: "{implementation_artifacts}/sprint-status.yaml"
17
-
18
- # Workflow components
19
- installed_path: "{project-root}/_bmad/gds/workflows/4-production/code-review"
20
- instructions: "{installed_path}/instructions.xml"
21
- validation: "{installed_path}/checklist.md"
22
- template: false
23
-
24
- variables:
25
- # Project context
26
- project_context: "**/project-context.md"
27
- story_dir: "{implementation_artifacts}"
28
-
29
- # Smart input file references - game-specific patterns
30
- # Priority: Whole document first, then sharded version
31
- # Strategy: SELECTIVE LOAD - only load the specific epic needed for this story review
32
- input_file_patterns:
33
- gdd:
34
- description: "Game Design Document"
35
- whole: "{planning_artifacts}/*gdd*.md"
36
- sharded: "{planning_artifacts}/*gdd*/*.md"
37
- load_strategy: "FULL_LOAD"
38
- narrative:
39
- description: "Narrative Design Document (if story-driven)"
40
- whole: "{planning_artifacts}/*narrative*.md"
41
- sharded: "{planning_artifacts}/*narrative*/*.md"
42
- load_strategy: "FULL_LOAD"
43
- architecture:
44
- description: "Game architecture and technical decisions"
45
- whole: "{planning_artifacts}/*architecture*.md"
46
- sharded: "{planning_artifacts}/*architecture*/*.md"
47
- load_strategy: "FULL_LOAD"
48
- ux_design:
49
- description: "UX design specification (if UI)"
50
- whole: "{planning_artifacts}/*ux*.md"
51
- sharded: "{planning_artifacts}/*ux*/*.md"
52
- load_strategy: "FULL_LOAD"
53
- epics:
54
- description: "All epics with user stories"
55
- whole: "{planning_artifacts}/*epic*.md"
56
- sharded_index: "{planning_artifacts}/*epic*/index.md"
57
- sharded_single: "{planning_artifacts}/*epic*/epic-{{epic_num}}.md"
58
- load_strategy: "SELECTIVE_LOAD"
59
- document_project:
60
- description: "Brownfield project documentation (optional)"
61
- sharded: "{planning_artifacts}/index.md"
62
- load_strategy: "INDEX_GUIDED"
63
-
64
- standalone: true
65
- web_bundle: false