bmad-method 5.0.0-beta.2 → 5.0.1
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.
- package/.github/ISSUE_TEMPLATE/bug_report.md +3 -3
- package/.github/ISSUE_TEMPLATE/feature_request.md +3 -3
- package/.github/workflows/discord.yaml +11 -2
- package/.github/workflows/format-check.yaml +42 -0
- package/.github/workflows/manual-release.yaml +173 -0
- package/.husky/pre-commit +3 -0
- package/.vscode/settings.json +26 -1
- package/CHANGELOG.md +0 -11
- package/README.md +2 -0
- package/bmad-core/agent-teams/team-all.yaml +1 -1
- package/bmad-core/agents/bmad-orchestrator.md +1 -1
- package/bmad-core/agents/dev.md +4 -4
- package/bmad-core/data/bmad-kb.md +1 -1
- package/bmad-core/data/test-levels-framework.md +12 -12
- package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
- package/bmad-core/tasks/nfr-assess.md +10 -10
- package/bmad-core/tasks/qa-gate.md +23 -23
- package/bmad-core/tasks/review-story.md +18 -18
- package/bmad-core/tasks/risk-profile.md +25 -25
- package/bmad-core/tasks/test-design.md +9 -9
- package/bmad-core/tasks/trace-requirements.md +21 -21
- package/bmad-core/templates/architecture-tmpl.yaml +49 -49
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +5 -5
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +31 -31
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +13 -13
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +19 -6
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +21 -9
- package/bmad-core/templates/front-end-spec-tmpl.yaml +24 -24
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +122 -104
- package/bmad-core/templates/market-research-tmpl.yaml +2 -2
- package/bmad-core/templates/prd-tmpl.yaml +9 -9
- package/bmad-core/templates/project-brief-tmpl.yaml +4 -4
- package/bmad-core/templates/qa-gate-tmpl.yaml +9 -9
- package/bmad-core/templates/story-tmpl.yaml +12 -12
- package/bmad-core/workflows/brownfield-fullstack.yaml +9 -9
- package/bmad-core/workflows/brownfield-service.yaml +1 -1
- package/bmad-core/workflows/brownfield-ui.yaml +1 -1
- package/bmad-core/workflows/greenfield-fullstack.yaml +1 -1
- package/bmad-core/workflows/greenfield-service.yaml +1 -1
- package/bmad-core/workflows/greenfield-ui.yaml +1 -1
- package/common/utils/bmad-doc-template.md +5 -5
- package/dist/agents/analyst.txt +28 -15
- package/dist/agents/architect.txt +220 -190
- package/dist/agents/bmad-master.txt +298 -255
- package/dist/agents/bmad-orchestrator.txt +1 -1
- package/dist/agents/pm.txt +20 -20
- package/dist/agents/po.txt +11 -11
- package/dist/agents/qa.txt +275 -618
- package/dist/agents/sm.txt +11 -11
- package/dist/agents/ux-expert.txt +23 -23
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +109 -109
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +75 -77
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +41 -41
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +483 -474
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +1 -1
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +149 -149
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +20 -20
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +371 -358
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +25 -25
- package/dist/teams/team-all.txt +581 -881
- package/dist/teams/team-fullstack.txt +316 -273
- package/dist/teams/team-ide-minimal.txt +276 -619
- package/dist/teams/team-no-ui.txt +281 -238
- package/docs/versioning-and-releases.md +114 -44
- package/eslint.config.mjs +119 -0
- package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/PART 1 - Google Cloud Vertex AI Setup Documentation/1.4 Deployment Configuration/1.4.2 - cloudbuild.yaml +26 -26
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +4 -4
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +1 -1
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +26 -28
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +50 -50
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +23 -23
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +24 -24
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +42 -42
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +5 -5
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +3 -3
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +1 -1
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +23 -23
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +63 -63
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +20 -20
- package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +65 -65
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +5 -5
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +1 -1
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +20 -20
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +7 -7
- package/package.json +62 -39
- package/prettier.config.mjs +32 -0
- package/release_notes.md +30 -0
- package/tools/bmad-npx-wrapper.js +10 -10
- package/tools/builders/web-builder.js +124 -130
- package/tools/bump-all-versions.js +42 -33
- package/tools/bump-expansion-version.js +23 -16
- package/tools/cli.js +10 -12
- package/tools/flattener/aggregate.js +10 -10
- package/tools/flattener/binary.js +44 -17
- package/tools/flattener/discovery.js +19 -18
- package/tools/flattener/files.js +6 -6
- package/tools/flattener/ignoreRules.js +125 -125
- package/tools/flattener/main.js +201 -304
- package/tools/flattener/projectRoot.js +75 -73
- package/tools/flattener/prompts.js +9 -9
- package/tools/flattener/stats.helpers.js +131 -67
- package/tools/flattener/stats.js +3 -3
- package/tools/flattener/test-matrix.js +201 -193
- package/tools/flattener/xml.js +33 -31
- package/tools/installer/bin/bmad.js +130 -89
- package/tools/installer/config/ide-agent-config.yaml +1 -1
- package/tools/installer/config/install.config.yaml +2 -2
- package/tools/installer/lib/config-loader.js +46 -42
- package/tools/installer/lib/file-manager.js +91 -113
- package/tools/installer/lib/ide-base-setup.js +57 -56
- package/tools/installer/lib/ide-setup.js +375 -343
- package/tools/installer/lib/installer.js +875 -714
- package/tools/installer/lib/memory-profiler.js +54 -53
- package/tools/installer/lib/module-manager.js +19 -15
- package/tools/installer/lib/resource-locator.js +26 -28
- package/tools/installer/package.json +19 -19
- package/tools/lib/dependency-resolver.js +26 -30
- package/tools/lib/yaml-utils.js +7 -7
- package/tools/preview-release-notes.js +66 -0
- package/tools/shared/bannerArt.js +3 -3
- package/tools/sync-installer-version.js +7 -9
- package/tools/update-expansion-version.js +14 -15
- package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
- package/tools/version-bump.js +41 -26
- package/tools/yaml-format.js +56 -43
- package/.github/workflows/promote-to-stable.yml +0 -144
- package/.github/workflows/release.yaml +0 -60
- package/.releaserc.json +0 -21
- package/tools/semantic-release-sync-installer.js +0 -30
|
@@ -14,13 +14,13 @@ sections:
|
|
|
14
14
|
- id: initial-setup
|
|
15
15
|
instruction: |
|
|
16
16
|
This template creates detailed game development stories that are immediately actionable by game developers. Each story should focus on a single, implementable feature that contributes to the overall game functionality.
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
Before starting, ensure you have access to:
|
|
19
|
-
|
|
19
|
+
|
|
20
20
|
- Game Design Document (GDD)
|
|
21
21
|
- Game Architecture Document
|
|
22
22
|
- Any existing stories in this epic
|
|
23
|
-
|
|
23
|
+
|
|
24
24
|
The story should be specific enough that a developer can implement it without requiring additional design decisions.
|
|
25
25
|
|
|
26
26
|
- id: story-header
|
|
@@ -69,12 +69,12 @@ sections:
|
|
|
69
69
|
title: Files to Create/Modify
|
|
70
70
|
template: |
|
|
71
71
|
**New Files:**
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
- `{{file_path_1}}` - {{purpose}}
|
|
74
74
|
- `{{file_path_2}}` - {{purpose}}
|
|
75
|
-
|
|
75
|
+
|
|
76
76
|
**Modified Files:**
|
|
77
|
-
|
|
77
|
+
|
|
78
78
|
- `{{existing_file_1}}` - {{changes_needed}}
|
|
79
79
|
- `{{existing_file_2}}` - {{changes_needed}}
|
|
80
80
|
- id: class-interface-definitions
|
|
@@ -89,15 +89,15 @@ sections:
|
|
|
89
89
|
{{property_2}}: {{type}};
|
|
90
90
|
{{method_1}}({{params}}): {{return_type}};
|
|
91
91
|
}
|
|
92
|
-
|
|
92
|
+
|
|
93
93
|
// {{class_name}}
|
|
94
94
|
class {{class_name}} extends {{phaser_class}} {
|
|
95
95
|
private {{property}}: {{type}};
|
|
96
|
-
|
|
96
|
+
|
|
97
97
|
constructor({{params}}) {
|
|
98
98
|
// Implementation requirements
|
|
99
99
|
}
|
|
100
|
-
|
|
100
|
+
|
|
101
101
|
public {{method}}({{params}}): {{return_type}} {
|
|
102
102
|
// Method requirements
|
|
103
103
|
}
|
|
@@ -107,15 +107,15 @@ sections:
|
|
|
107
107
|
instruction: Specify how this feature integrates with existing systems
|
|
108
108
|
template: |
|
|
109
109
|
**Scene Integration:**
|
|
110
|
-
|
|
110
|
+
|
|
111
111
|
- {{scene_name}}: {{integration_details}}
|
|
112
|
-
|
|
112
|
+
|
|
113
113
|
**System Dependencies:**
|
|
114
|
-
|
|
114
|
+
|
|
115
115
|
- {{system_name}}: {{dependency_description}}
|
|
116
|
-
|
|
116
|
+
|
|
117
117
|
**Event Communication:**
|
|
118
|
-
|
|
118
|
+
|
|
119
119
|
- Emits: `{{event_name}}` when {{condition}}
|
|
120
120
|
- Listens: `{{event_name}}` to {{response}}
|
|
121
121
|
|
|
@@ -127,7 +127,7 @@ sections:
|
|
|
127
127
|
title: Dev Agent Record
|
|
128
128
|
template: |
|
|
129
129
|
**Tasks:**
|
|
130
|
-
|
|
130
|
+
|
|
131
131
|
- [ ] {{task_1_description}}
|
|
132
132
|
- [ ] {{task_2_description}}
|
|
133
133
|
- [ ] {{task_3_description}}
|
|
@@ -135,18 +135,18 @@ sections:
|
|
|
135
135
|
- [ ] Write unit tests for {{component}}
|
|
136
136
|
- [ ] Integration testing with {{related_system}}
|
|
137
137
|
- [ ] Performance testing and optimization
|
|
138
|
-
|
|
138
|
+
|
|
139
139
|
**Debug Log:**
|
|
140
140
|
| Task | File | Change | Reverted? |
|
|
141
141
|
|------|------|--------|-----------|
|
|
142
142
|
| | | | |
|
|
143
|
-
|
|
143
|
+
|
|
144
144
|
**Completion Notes:**
|
|
145
|
-
|
|
145
|
+
|
|
146
146
|
<!-- Only note deviations from requirements, keep under 50 words -->
|
|
147
|
-
|
|
147
|
+
|
|
148
148
|
**Change Log:**
|
|
149
|
-
|
|
149
|
+
|
|
150
150
|
<!-- Only requirement changes during implementation -->
|
|
151
151
|
|
|
152
152
|
- id: game-design-context
|
|
@@ -154,13 +154,13 @@ sections:
|
|
|
154
154
|
instruction: Reference the specific sections of the GDD that this story implements
|
|
155
155
|
template: |
|
|
156
156
|
**GDD Reference:** {{section_name}} ({{page_or_section_number}})
|
|
157
|
-
|
|
157
|
+
|
|
158
158
|
**Game Mechanic:** {{mechanic_name}}
|
|
159
|
-
|
|
159
|
+
|
|
160
160
|
**Player Experience Goal:** {{experience_description}}
|
|
161
|
-
|
|
161
|
+
|
|
162
162
|
**Balance Parameters:**
|
|
163
|
-
|
|
163
|
+
|
|
164
164
|
- {{parameter_1}}: {{value_or_range}}
|
|
165
165
|
- {{parameter_2}}: {{value_or_range}}
|
|
166
166
|
|
|
@@ -172,11 +172,11 @@ sections:
|
|
|
172
172
|
title: Unit Tests
|
|
173
173
|
template: |
|
|
174
174
|
**Test Files:**
|
|
175
|
-
|
|
175
|
+
|
|
176
176
|
- `tests/{{component_name}}.test.ts`
|
|
177
|
-
|
|
177
|
+
|
|
178
178
|
**Test Scenarios:**
|
|
179
|
-
|
|
179
|
+
|
|
180
180
|
- {{test_scenario_1}}
|
|
181
181
|
- {{test_scenario_2}}
|
|
182
182
|
- {{edge_case_test}}
|
|
@@ -184,12 +184,12 @@ sections:
|
|
|
184
184
|
title: Game Testing
|
|
185
185
|
template: |
|
|
186
186
|
**Manual Test Cases:**
|
|
187
|
-
|
|
187
|
+
|
|
188
188
|
1. {{test_case_1_description}}
|
|
189
|
-
|
|
189
|
+
|
|
190
190
|
- Expected: {{expected_behavior}}
|
|
191
191
|
- Performance: {{performance_expectation}}
|
|
192
|
-
|
|
192
|
+
|
|
193
193
|
2. {{test_case_2_description}}
|
|
194
194
|
- Expected: {{expected_behavior}}
|
|
195
195
|
- Edge Case: {{edge_case_handling}}
|
|
@@ -197,7 +197,7 @@ sections:
|
|
|
197
197
|
title: Performance Tests
|
|
198
198
|
template: |
|
|
199
199
|
**Metrics to Verify:**
|
|
200
|
-
|
|
200
|
+
|
|
201
201
|
- Frame rate maintains {{fps_target}} FPS
|
|
202
202
|
- Memory usage stays under {{memory_limit}}MB
|
|
203
203
|
- {{feature_specific_performance_metric}}
|
|
@@ -207,15 +207,15 @@ sections:
|
|
|
207
207
|
instruction: List any dependencies that must be completed before this story can be implemented
|
|
208
208
|
template: |
|
|
209
209
|
**Story Dependencies:**
|
|
210
|
-
|
|
210
|
+
|
|
211
211
|
- {{story_id}}: {{dependency_description}}
|
|
212
|
-
|
|
212
|
+
|
|
213
213
|
**Technical Dependencies:**
|
|
214
|
-
|
|
214
|
+
|
|
215
215
|
- {{system_or_file}}: {{requirement}}
|
|
216
|
-
|
|
216
|
+
|
|
217
217
|
**Asset Dependencies:**
|
|
218
|
-
|
|
218
|
+
|
|
219
219
|
- {{asset_type}}: {{asset_description}}
|
|
220
220
|
- Location: `{{asset_path}}`
|
|
221
221
|
|
|
@@ -238,16 +238,16 @@ sections:
|
|
|
238
238
|
instruction: Any additional context, design decisions, or implementation notes
|
|
239
239
|
template: |
|
|
240
240
|
**Implementation Notes:**
|
|
241
|
-
|
|
241
|
+
|
|
242
242
|
- {{note_1}}
|
|
243
243
|
- {{note_2}}
|
|
244
|
-
|
|
244
|
+
|
|
245
245
|
**Design Decisions:**
|
|
246
|
-
|
|
246
|
+
|
|
247
247
|
- {{decision_1}}: {{rationale}}
|
|
248
248
|
- {{decision_2}}: {{rationale}}
|
|
249
|
-
|
|
249
|
+
|
|
250
250
|
**Future Considerations:**
|
|
251
|
-
|
|
251
|
+
|
|
252
252
|
- {{future_enhancement_1}}
|
|
253
|
-
- {{future_optimization_1}}
|
|
253
|
+
- {{future_optimization_1}}
|
|
@@ -14,7 +14,7 @@ sections:
|
|
|
14
14
|
- id: initial-setup
|
|
15
15
|
instruction: |
|
|
16
16
|
This template creates comprehensive level design documentation that guides both content creation and technical implementation. This document should provide enough detail for developers to create level loading systems and for designers to create specific levels.
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
If available, review: Game Design Document (GDD), Game Architecture Document. This document should align with the game mechanics and technical systems defined in those documents.
|
|
19
19
|
|
|
20
20
|
- id: introduction
|
|
@@ -22,7 +22,7 @@ sections:
|
|
|
22
22
|
instruction: Establish the purpose and scope of level design for this game
|
|
23
23
|
content: |
|
|
24
24
|
This document defines the level design framework for {{game_title}}, providing guidelines for creating engaging, balanced levels that support the core gameplay mechanics defined in the Game Design Document.
|
|
25
|
-
|
|
25
|
+
|
|
26
26
|
This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
|
|
27
27
|
sections:
|
|
28
28
|
- id: change-log
|
|
@@ -69,29 +69,29 @@ sections:
|
|
|
69
69
|
title: "{{category_name}} Levels"
|
|
70
70
|
template: |
|
|
71
71
|
**Purpose:** {{gameplay_purpose}}
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
**Target Duration:** {{min_time}} - {{max_time}} minutes
|
|
74
|
-
|
|
74
|
+
|
|
75
75
|
**Difficulty Range:** {{difficulty_scale}}
|
|
76
|
-
|
|
76
|
+
|
|
77
77
|
**Key Mechanics Featured:**
|
|
78
|
-
|
|
78
|
+
|
|
79
79
|
- {{mechanic_1}} - {{usage_description}}
|
|
80
80
|
- {{mechanic_2}} - {{usage_description}}
|
|
81
|
-
|
|
81
|
+
|
|
82
82
|
**Player Objectives:**
|
|
83
|
-
|
|
83
|
+
|
|
84
84
|
- Primary: {{primary_objective}}
|
|
85
85
|
- Secondary: {{secondary_objective}}
|
|
86
86
|
- Hidden: {{secret_objective}}
|
|
87
|
-
|
|
87
|
+
|
|
88
88
|
**Success Criteria:**
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
- {{completion_requirement_1}}
|
|
91
91
|
- {{completion_requirement_2}}
|
|
92
|
-
|
|
92
|
+
|
|
93
93
|
**Technical Requirements:**
|
|
94
|
-
|
|
94
|
+
|
|
95
95
|
- Maximum entities: {{entity_limit}}
|
|
96
96
|
- Performance target: {{fps_target}} FPS
|
|
97
97
|
- Memory budget: {{memory_limit}}MB
|
|
@@ -106,11 +106,11 @@ sections:
|
|
|
106
106
|
instruction: Based on GDD requirements, define the overall level organization
|
|
107
107
|
template: |
|
|
108
108
|
**Organization Type:** {{linear|hub_world|open_world}}
|
|
109
|
-
|
|
109
|
+
|
|
110
110
|
**Total Level Count:** {{number}}
|
|
111
|
-
|
|
111
|
+
|
|
112
112
|
**World Breakdown:**
|
|
113
|
-
|
|
113
|
+
|
|
114
114
|
- World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
|
|
115
115
|
- World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
|
|
116
116
|
- World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
|
|
@@ -145,7 +145,7 @@ sections:
|
|
|
145
145
|
instruction: Define how players access new levels
|
|
146
146
|
template: |
|
|
147
147
|
**Progression Gates:**
|
|
148
|
-
|
|
148
|
+
|
|
149
149
|
- Linear progression: Complete previous level
|
|
150
150
|
- Star requirements: {{star_count}} stars to unlock
|
|
151
151
|
- Skill gates: Demonstrate {{skill_requirement}}
|
|
@@ -160,17 +160,17 @@ sections:
|
|
|
160
160
|
instruction: Define all environmental components that can be used in levels
|
|
161
161
|
template: |
|
|
162
162
|
**Terrain Types:**
|
|
163
|
-
|
|
163
|
+
|
|
164
164
|
- {{terrain_1}}: {{properties_and_usage}}
|
|
165
165
|
- {{terrain_2}}: {{properties_and_usage}}
|
|
166
|
-
|
|
166
|
+
|
|
167
167
|
**Interactive Objects:**
|
|
168
|
-
|
|
168
|
+
|
|
169
169
|
- {{object_1}}: {{behavior_and_purpose}}
|
|
170
170
|
- {{object_2}}: {{behavior_and_purpose}}
|
|
171
|
-
|
|
171
|
+
|
|
172
172
|
**Hazards and Obstacles:**
|
|
173
|
-
|
|
173
|
+
|
|
174
174
|
- {{hazard_1}}: {{damage_and_behavior}}
|
|
175
175
|
- {{hazard_2}}: {{damage_and_behavior}}
|
|
176
176
|
- id: collectibles-rewards
|
|
@@ -178,18 +178,18 @@ sections:
|
|
|
178
178
|
instruction: Define all collectible items and their placement rules
|
|
179
179
|
template: |
|
|
180
180
|
**Collectible Types:**
|
|
181
|
-
|
|
181
|
+
|
|
182
182
|
- {{collectible_1}}: {{value_and_purpose}}
|
|
183
183
|
- {{collectible_2}}: {{value_and_purpose}}
|
|
184
|
-
|
|
184
|
+
|
|
185
185
|
**Placement Guidelines:**
|
|
186
|
-
|
|
186
|
+
|
|
187
187
|
- Mandatory collectibles: {{placement_rules}}
|
|
188
188
|
- Optional collectibles: {{placement_rules}}
|
|
189
189
|
- Secret collectibles: {{placement_rules}}
|
|
190
|
-
|
|
190
|
+
|
|
191
191
|
**Reward Distribution:**
|
|
192
|
-
|
|
192
|
+
|
|
193
193
|
- Easy to find: {{percentage}}%
|
|
194
194
|
- Moderate challenge: {{percentage}}%
|
|
195
195
|
- High skill required: {{percentage}}%
|
|
@@ -198,18 +198,18 @@ sections:
|
|
|
198
198
|
instruction: Define how enemies should be placed and balanced in levels
|
|
199
199
|
template: |
|
|
200
200
|
**Enemy Categories:**
|
|
201
|
-
|
|
201
|
+
|
|
202
202
|
- {{enemy_type_1}}: {{behavior_and_usage}}
|
|
203
203
|
- {{enemy_type_2}}: {{behavior_and_usage}}
|
|
204
|
-
|
|
204
|
+
|
|
205
205
|
**Placement Principles:**
|
|
206
|
-
|
|
206
|
+
|
|
207
207
|
- Introduction encounters: {{guideline}}
|
|
208
208
|
- Standard encounters: {{guideline}}
|
|
209
209
|
- Challenge encounters: {{guideline}}
|
|
210
|
-
|
|
210
|
+
|
|
211
211
|
**Difficulty Scaling:**
|
|
212
|
-
|
|
212
|
+
|
|
213
213
|
- Enemy count progression: {{scaling_rule}}
|
|
214
214
|
- Enemy type introduction: {{pacing_rule}}
|
|
215
215
|
- Encounter complexity: {{complexity_rule}}
|
|
@@ -222,14 +222,14 @@ sections:
|
|
|
222
222
|
title: Level Layout Principles
|
|
223
223
|
template: |
|
|
224
224
|
**Spatial Design:**
|
|
225
|
-
|
|
225
|
+
|
|
226
226
|
- Grid size: {{grid_dimensions}}
|
|
227
227
|
- Minimum path width: {{width_units}}
|
|
228
228
|
- Maximum vertical distance: {{height_units}}
|
|
229
229
|
- Safe zones placement: {{safety_guidelines}}
|
|
230
|
-
|
|
230
|
+
|
|
231
231
|
**Navigation Design:**
|
|
232
|
-
|
|
232
|
+
|
|
233
233
|
- Clear path indication: {{visual_cues}}
|
|
234
234
|
- Landmark placement: {{landmark_rules}}
|
|
235
235
|
- Dead end avoidance: {{dead_end_policy}}
|
|
@@ -239,13 +239,13 @@ sections:
|
|
|
239
239
|
instruction: Define how to control the rhythm and pace of gameplay within levels
|
|
240
240
|
template: |
|
|
241
241
|
**Action Sequences:**
|
|
242
|
-
|
|
242
|
+
|
|
243
243
|
- High intensity duration: {{max_duration}}
|
|
244
244
|
- Rest period requirement: {{min_rest_time}}
|
|
245
245
|
- Intensity variation: {{pacing_pattern}}
|
|
246
|
-
|
|
246
|
+
|
|
247
247
|
**Learning Sequences:**
|
|
248
|
-
|
|
248
|
+
|
|
249
249
|
- New mechanic introduction: {{teaching_method}}
|
|
250
250
|
- Practice opportunity: {{practice_duration}}
|
|
251
251
|
- Skill application: {{application_context}}
|
|
@@ -254,14 +254,14 @@ sections:
|
|
|
254
254
|
instruction: Define how to create appropriate challenges for each level type
|
|
255
255
|
template: |
|
|
256
256
|
**Challenge Types:**
|
|
257
|
-
|
|
257
|
+
|
|
258
258
|
- Execution challenges: {{skill_requirements}}
|
|
259
259
|
- Puzzle challenges: {{complexity_guidelines}}
|
|
260
260
|
- Time challenges: {{time_pressure_rules}}
|
|
261
261
|
- Resource challenges: {{resource_management}}
|
|
262
|
-
|
|
262
|
+
|
|
263
263
|
**Difficulty Calibration:**
|
|
264
|
-
|
|
264
|
+
|
|
265
265
|
- Skill check frequency: {{frequency_guidelines}}
|
|
266
266
|
- Failure recovery: {{retry_mechanics}}
|
|
267
267
|
- Hint system integration: {{help_system}}
|
|
@@ -275,7 +275,7 @@ sections:
|
|
|
275
275
|
instruction: Define how level data should be structured for implementation
|
|
276
276
|
template: |
|
|
277
277
|
**Level File Format:**
|
|
278
|
-
|
|
278
|
+
|
|
279
279
|
- Data format: {{json|yaml|custom}}
|
|
280
280
|
- File naming: `level_{{world}}_{{number}}.{{extension}}`
|
|
281
281
|
- Data organization: {{structure_description}}
|
|
@@ -313,14 +313,14 @@ sections:
|
|
|
313
313
|
instruction: Define how level assets are organized and loaded
|
|
314
314
|
template: |
|
|
315
315
|
**Tilemap Requirements:**
|
|
316
|
-
|
|
316
|
+
|
|
317
317
|
- Tile size: {{tile_dimensions}}px
|
|
318
318
|
- Tileset organization: {{tileset_structure}}
|
|
319
319
|
- Layer organization: {{layer_system}}
|
|
320
320
|
- Collision data: {{collision_format}}
|
|
321
|
-
|
|
321
|
+
|
|
322
322
|
**Audio Integration:**
|
|
323
|
-
|
|
323
|
+
|
|
324
324
|
- Background music: {{music_requirements}}
|
|
325
325
|
- Ambient sounds: {{ambient_system}}
|
|
326
326
|
- Dynamic audio: {{dynamic_audio_rules}}
|
|
@@ -329,19 +329,19 @@ sections:
|
|
|
329
329
|
instruction: Define performance requirements for level systems
|
|
330
330
|
template: |
|
|
331
331
|
**Entity Limits:**
|
|
332
|
-
|
|
332
|
+
|
|
333
333
|
- Maximum active entities: {{entity_limit}}
|
|
334
334
|
- Maximum particles: {{particle_limit}}
|
|
335
335
|
- Maximum audio sources: {{audio_limit}}
|
|
336
|
-
|
|
336
|
+
|
|
337
337
|
**Memory Management:**
|
|
338
|
-
|
|
338
|
+
|
|
339
339
|
- Texture memory budget: {{texture_memory}}MB
|
|
340
340
|
- Audio memory budget: {{audio_memory}}MB
|
|
341
341
|
- Level loading time: <{{load_time}}s
|
|
342
|
-
|
|
342
|
+
|
|
343
343
|
**Culling and LOD:**
|
|
344
|
-
|
|
344
|
+
|
|
345
345
|
- Off-screen culling: {{culling_distance}}
|
|
346
346
|
- Level-of-detail rules: {{lod_system}}
|
|
347
347
|
- Asset streaming: {{streaming_requirements}}
|
|
@@ -354,13 +354,13 @@ sections:
|
|
|
354
354
|
title: Automated Testing
|
|
355
355
|
template: |
|
|
356
356
|
**Performance Testing:**
|
|
357
|
-
|
|
357
|
+
|
|
358
358
|
- Frame rate validation: Maintain {{fps_target}} FPS
|
|
359
359
|
- Memory usage monitoring: Stay under {{memory_limit}}MB
|
|
360
360
|
- Loading time verification: Complete in <{{load_time}}s
|
|
361
|
-
|
|
361
|
+
|
|
362
362
|
**Gameplay Testing:**
|
|
363
|
-
|
|
363
|
+
|
|
364
364
|
- Completion path validation: All objectives achievable
|
|
365
365
|
- Collectible accessibility: All items reachable
|
|
366
366
|
- Softlock prevention: No unwinnable states
|
|
@@ -388,14 +388,14 @@ sections:
|
|
|
388
388
|
title: Balance Validation
|
|
389
389
|
template: |
|
|
390
390
|
**Metrics Collection:**
|
|
391
|
-
|
|
391
|
+
|
|
392
392
|
- Completion rate: Target {{completion_percentage}}%
|
|
393
393
|
- Average completion time: {{target_time}} ± {{variance}}
|
|
394
394
|
- Death count per level: <{{max_deaths}}
|
|
395
395
|
- Collectible discovery rate: {{discovery_percentage}}%
|
|
396
|
-
|
|
396
|
+
|
|
397
397
|
**Iteration Guidelines:**
|
|
398
|
-
|
|
398
|
+
|
|
399
399
|
- Adjustment criteria: {{criteria_for_changes}}
|
|
400
400
|
- Testing sample size: {{minimum_testers}}
|
|
401
401
|
- Validation period: {{testing_duration}}
|
|
@@ -408,14 +408,14 @@ sections:
|
|
|
408
408
|
title: Design Phase
|
|
409
409
|
template: |
|
|
410
410
|
**Concept Development:**
|
|
411
|
-
|
|
411
|
+
|
|
412
412
|
1. Define level purpose and goals
|
|
413
413
|
2. Create rough layout sketch
|
|
414
414
|
3. Identify key mechanics and challenges
|
|
415
415
|
4. Estimate difficulty and duration
|
|
416
|
-
|
|
416
|
+
|
|
417
417
|
**Documentation Requirements:**
|
|
418
|
-
|
|
418
|
+
|
|
419
419
|
- Level design brief
|
|
420
420
|
- Layout diagrams
|
|
421
421
|
- Mechanic integration notes
|
|
@@ -424,15 +424,15 @@ sections:
|
|
|
424
424
|
title: Implementation Phase
|
|
425
425
|
template: |
|
|
426
426
|
**Technical Implementation:**
|
|
427
|
-
|
|
427
|
+
|
|
428
428
|
1. Create level data file
|
|
429
429
|
2. Build tilemap and layout
|
|
430
430
|
3. Place entities and objects
|
|
431
431
|
4. Configure level logic and triggers
|
|
432
432
|
5. Integrate audio and visual effects
|
|
433
|
-
|
|
433
|
+
|
|
434
434
|
**Quality Assurance:**
|
|
435
|
-
|
|
435
|
+
|
|
436
436
|
1. Automated testing execution
|
|
437
437
|
2. Internal playtesting
|
|
438
438
|
3. Performance validation
|
|
@@ -441,14 +441,14 @@ sections:
|
|
|
441
441
|
title: Integration Phase
|
|
442
442
|
template: |
|
|
443
443
|
**Game Integration:**
|
|
444
|
-
|
|
444
|
+
|
|
445
445
|
1. Level progression integration
|
|
446
446
|
2. Save system compatibility
|
|
447
447
|
3. Analytics integration
|
|
448
448
|
4. Achievement system integration
|
|
449
|
-
|
|
449
|
+
|
|
450
450
|
**Final Validation:**
|
|
451
|
-
|
|
451
|
+
|
|
452
452
|
1. Full game context testing
|
|
453
453
|
2. Performance regression testing
|
|
454
454
|
3. Platform compatibility verification
|
|
@@ -481,4 +481,4 @@ sections:
|
|
|
481
481
|
- Difficulty curve adherence: {{curve_accuracy}}
|
|
482
482
|
- Mechanic integration effectiveness: {{integration_score}}
|
|
483
483
|
- Player guidance clarity: {{guidance_score}}
|
|
484
|
-
- Content accessibility: {{accessibility_rate}}%
|
|
484
|
+
- Content accessibility: {{accessibility_rate}}%
|
|
@@ -17,21 +17,21 @@ workflow:
|
|
|
17
17
|
- brainstorming_session
|
|
18
18
|
- game_research_prompt
|
|
19
19
|
- player_research
|
|
20
|
-
notes:
|
|
20
|
+
notes: "Start with brainstorming game concepts, then create comprehensive game brief. SAVE OUTPUT: Copy final game-brief.md to your project's docs/design/ folder."
|
|
21
21
|
- agent: game-designer
|
|
22
22
|
creates: game-design-doc.md
|
|
23
23
|
requires: game-brief.md
|
|
24
24
|
optional_steps:
|
|
25
25
|
- competitive_analysis
|
|
26
26
|
- technical_research
|
|
27
|
-
notes:
|
|
27
|
+
notes: "Create detailed Game Design Document using game-design-doc-tmpl. Defines all gameplay mechanics, progression, and technical requirements. SAVE OUTPUT: Copy final game-design-doc.md to your project's docs/design/ folder."
|
|
28
28
|
- agent: game-designer
|
|
29
29
|
creates: level-design-doc.md
|
|
30
30
|
requires: game-design-doc.md
|
|
31
31
|
optional_steps:
|
|
32
32
|
- level_prototyping
|
|
33
33
|
- difficulty_analysis
|
|
34
|
-
notes:
|
|
34
|
+
notes: "Create level design framework using level-design-doc-tmpl. Establishes content creation guidelines and performance requirements. SAVE OUTPUT: Copy final level-design-doc.md to your project's docs/design/ folder."
|
|
35
35
|
- agent: solution-architect
|
|
36
36
|
creates: game-architecture.md
|
|
37
37
|
requires:
|
|
@@ -41,7 +41,7 @@ workflow:
|
|
|
41
41
|
- technical_research_prompt
|
|
42
42
|
- performance_analysis
|
|
43
43
|
- platform_research
|
|
44
|
-
notes:
|
|
44
|
+
notes: "Create comprehensive technical architecture using game-architecture-tmpl. Defines Phaser 3 systems, performance optimization, and code structure. SAVE OUTPUT: Copy final game-architecture.md to your project's docs/architecture/ folder."
|
|
45
45
|
- agent: game-designer
|
|
46
46
|
validates: design_consistency
|
|
47
47
|
requires: all_design_documents
|
|
@@ -66,7 +66,7 @@ workflow:
|
|
|
66
66
|
optional_steps:
|
|
67
67
|
- quick_brainstorming
|
|
68
68
|
- concept_validation
|
|
69
|
-
notes:
|
|
69
|
+
notes: "Create focused game brief for prototype. Emphasize core mechanics and immediate playability. SAVE OUTPUT: Copy final game-brief.md to your project's docs/ folder."
|
|
70
70
|
- agent: game-designer
|
|
71
71
|
creates: prototype-design.md
|
|
72
72
|
uses: create-doc prototype-design OR create-game-story
|
|
@@ -44,7 +44,7 @@ workflow:
|
|
|
44
44
|
notes: Implement stories in priority order. Test frequently and adjust design based on what feels fun. Document discoveries.
|
|
45
45
|
workflow_end:
|
|
46
46
|
action: prototype_evaluation
|
|
47
|
-
notes:
|
|
47
|
+
notes: "Prototype complete. Evaluate core mechanics, gather feedback, and decide next steps: iterate, expand, or archive."
|
|
48
48
|
game_jam_sequence:
|
|
49
49
|
- step: jam_concept
|
|
50
50
|
agent: game-designer
|
|
@@ -61,13 +61,13 @@ commands:
|
|
|
61
61
|
- explain: teach me what and why you did whatever you just did in detail so I can learn. Explain to me as if you were training a junior Unity developer.
|
|
62
62
|
- exit: Say goodbye as the Game Developer, and then abandon inhabiting this persona
|
|
63
63
|
develop-story:
|
|
64
|
-
order-of-execution:
|
|
64
|
+
order-of-execution: 'Read (first or next) task→Implement Task and its subtasks→Write tests→Execute validations→Only if ALL pass, then update the task checkbox with [x]→Update story section File List to ensure it lists and new or modified or deleted source file→repeat order-of-execution until complete'
|
|
65
65
|
story-file-updates-ONLY:
|
|
66
66
|
- CRITICAL: ONLY UPDATE THE STORY FILE WITH UPDATES TO SECTIONS INDICATED BELOW. DO NOT MODIFY ANY OTHER SECTIONS.
|
|
67
67
|
- CRITICAL: You are ONLY authorized to edit these specific sections of story files - Tasks / Subtasks Checkboxes, Dev Agent Record section and all its subsections, Agent Model Used, Debug Log References, Completion Notes List, File List, Change Log, Status
|
|
68
68
|
- CRITICAL: DO NOT modify Status, Story, Acceptance Criteria, Dev Notes, Testing sections, or any other sections not listed above
|
|
69
|
-
blocking:
|
|
70
|
-
ready-for-review:
|
|
69
|
+
blocking: 'HALT for: Unapproved deps needed, confirm with user | Ambiguous after story check | 3 failures attempting to implement or fix something repeatedly | Missing config | Failing regression'
|
|
70
|
+
ready-for-review: 'Code matches requirements + All validations pass + Follows Unity & C# standards + File List complete + Stable FPS'
|
|
71
71
|
completion: "All Tasks and Subtasks marked [x] and have tests→Validations and full regression passes (DON'T BE LAZY, EXECUTE ALL TESTS and CONFIRM)→Ensure File List is Complete→run the task execute-checklist for the checklist game-story-dod-checklist→set story status: 'Ready for Review'→HALT"
|
|
72
72
|
dependencies:
|
|
73
73
|
tasks:
|
|
@@ -456,7 +456,7 @@ Use the `shard-doc` task or `@kayvan/markdown-tree-parser` tool for automatic ga
|
|
|
456
456
|
|
|
457
457
|
- **Claude Code**: `/bmad2du/game-designer`, `/bmad2du/game-developer`, `/bmad2du/game-sm`, `/bmad2du/game-architect`
|
|
458
458
|
- **Cursor**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
|
|
459
|
-
- **Windsurf**:
|
|
459
|
+
- **Windsurf**: `/bmad2du/game-designer`, `/bmad2du/game-developer`, `/bmad2du/game-sm`, `/bmad2du/game-architect`
|
|
460
460
|
- **Trae**: `@bmad2du/game-designer`, `@bmad2du/game-developer`, `@bmad2du/game-sm`, `@bmad2du/game-architect`
|
|
461
461
|
- **Roo Code**: Select mode from mode selector with bmad2du prefix
|
|
462
462
|
- **GitHub Copilot**: Open the Chat view (`⌃⌘I` on Mac, `Ctrl+Alt+I` on Windows/Linux) and select the appropriate game agent.
|