bmad-method 4.30.1 → 4.30.3
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/CHANGELOG.md +14 -0
- package/README.md +1 -1
- package/bmad-core/core-config.yaml +0 -1
- package/bmad-core/data/bmad-kb.md +1 -1
- package/dist/agents/analyst.txt +1 -1
- package/dist/agents/bmad-master.txt +1 -1
- package/dist/agents/bmad-orchestrator.txt +1 -1
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +2409 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +1480 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +826 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +10690 -0
- package/dist/teams/team-all.txt +1 -1
- package/dist/teams/team-fullstack.txt +1 -1
- package/dist/teams/team-ide-minimal.txt +1 -1
- package/dist/teams/team-no-ui.txt +1 -1
- package/docs/bmad-workflow-guide.md +2 -2
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +2 -2
- package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +13 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +72 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +78 -0
- package/expansion-packs/{bmad-creator-tools/agents/bmad-the-creator.md → bmad-2d-unity-game-dev/agents/game-sm.md} +26 -28
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +201 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +160 -0
- package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +6 -0
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +251 -0
- package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +590 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +111 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +217 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +308 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +545 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +356 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +256 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +183 -0
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +175 -0
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +2 -2
- package/package.json +4 -8
- package/tools/bump-all-versions.js +8 -9
- package/tools/bump-expansion-version.js +40 -35
- package/tools/installer/bin/bmad.js +8 -21
- package/tools/installer/lib/file-manager.js +76 -44
- package/tools/installer/lib/ide-base-setup.js +227 -0
- package/tools/installer/lib/ide-setup.js +14 -60
- package/tools/installer/lib/installer.js +99 -121
- package/tools/installer/lib/memory-profiler.js +224 -0
- package/tools/installer/lib/module-manager.js +110 -0
- package/tools/installer/lib/resource-locator.js +310 -0
- package/tools/installer/package.json +1 -1
- package/tools/semantic-release-sync-installer.js +20 -21
- package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2008
- package/expansion-packs/bmad-creator-tools/README.md +0 -8
- package/expansion-packs/bmad-creator-tools/config.yaml +0 -6
- package/expansion-packs/bmad-creator-tools/tasks/create-agent.md +0 -200
- package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
- package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
- package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
- package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
- package/tools/bump-core-version.js +0 -57
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
template:
|
|
2
|
+
id: game-story-template-v2
|
|
3
|
+
name: Game Development Story
|
|
4
|
+
version: 2.0
|
|
5
|
+
output:
|
|
6
|
+
format: markdown
|
|
7
|
+
filename: "stories/{{epic_name}}/{{story_id}}-{{story_name}}.md"
|
|
8
|
+
title: "Story: {{story_title}}"
|
|
9
|
+
|
|
10
|
+
workflow:
|
|
11
|
+
mode: interactive
|
|
12
|
+
|
|
13
|
+
sections:
|
|
14
|
+
- id: initial-setup
|
|
15
|
+
instruction: |
|
|
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
|
+
|
|
18
|
+
Before starting, ensure you have access to:
|
|
19
|
+
|
|
20
|
+
- Game Design Document (GDD)
|
|
21
|
+
- Game Architecture Document
|
|
22
|
+
- Any existing stories in this epic
|
|
23
|
+
|
|
24
|
+
The story should be specific enough that a developer can implement it without requiring additional design decisions.
|
|
25
|
+
|
|
26
|
+
- id: story-header
|
|
27
|
+
content: |
|
|
28
|
+
**Epic:** {{epic_name}}
|
|
29
|
+
**Story ID:** {{story_id}}
|
|
30
|
+
**Priority:** {{High|Medium|Low}}
|
|
31
|
+
**Points:** {{story_points}}
|
|
32
|
+
**Status:** Draft
|
|
33
|
+
|
|
34
|
+
- id: description
|
|
35
|
+
title: Description
|
|
36
|
+
instruction: Provide a clear, concise description of what this story implements. Focus on the specific game feature or system being built. Reference the GDD section that defines this feature.
|
|
37
|
+
template: "{{clear_description_of_what_needs_to_be_implemented}}"
|
|
38
|
+
|
|
39
|
+
- id: acceptance-criteria
|
|
40
|
+
title: Acceptance Criteria
|
|
41
|
+
instruction: Define specific, testable conditions that must be met for the story to be considered complete. Each criterion should be verifiable and directly related to gameplay functionality.
|
|
42
|
+
sections:
|
|
43
|
+
- id: functional-requirements
|
|
44
|
+
title: Functional Requirements
|
|
45
|
+
type: checklist
|
|
46
|
+
items:
|
|
47
|
+
- "{{specific_functional_requirement}}"
|
|
48
|
+
- id: technical-requirements
|
|
49
|
+
title: Technical Requirements
|
|
50
|
+
type: checklist
|
|
51
|
+
items:
|
|
52
|
+
- "Code follows C# best practices"
|
|
53
|
+
- "Maintains stable frame rate on target devices"
|
|
54
|
+
- "No memory leaks or performance degradation"
|
|
55
|
+
- "{{specific_technical_requirement}}"
|
|
56
|
+
- id: game-design-requirements
|
|
57
|
+
title: Game Design Requirements
|
|
58
|
+
type: checklist
|
|
59
|
+
items:
|
|
60
|
+
- "{{gameplay_requirement_from_gdd}}"
|
|
61
|
+
- "{{balance_requirement_if_applicable}}"
|
|
62
|
+
- "{{player_experience_requirement}}"
|
|
63
|
+
|
|
64
|
+
- id: technical-specifications
|
|
65
|
+
title: Technical Specifications
|
|
66
|
+
instruction: Provide specific technical details that guide implementation. Include class names, file locations, and integration points based on the game architecture.
|
|
67
|
+
sections:
|
|
68
|
+
- id: files-to-modify
|
|
69
|
+
title: Files to Create/Modify
|
|
70
|
+
template: |
|
|
71
|
+
**New Files:**
|
|
72
|
+
|
|
73
|
+
- `{{file_path_1}}` - {{purpose}}
|
|
74
|
+
- `{{file_path_2}}` - {{purpose}}
|
|
75
|
+
|
|
76
|
+
**Modified Files:**
|
|
77
|
+
|
|
78
|
+
- `{{existing_file_1}}` - {{changes_needed}}
|
|
79
|
+
- `{{existing_file_2}}` - {{changes_needed}}
|
|
80
|
+
- id: class-interface-definitions
|
|
81
|
+
title: Class/Interface Definitions
|
|
82
|
+
instruction: Define specific C# interfaces and class structures needed
|
|
83
|
+
type: code
|
|
84
|
+
language: c#
|
|
85
|
+
template: |
|
|
86
|
+
// {{interface_name}}
|
|
87
|
+
public interface {{InterfaceName}}
|
|
88
|
+
{
|
|
89
|
+
{{type}} {{Property1}} { get; set; }
|
|
90
|
+
{{return_type}} {{Method1}}({{params}});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// {{class_name}}
|
|
94
|
+
public class {{ClassName}} : MonoBehaviour
|
|
95
|
+
{
|
|
96
|
+
private {{type}} _{{property}};
|
|
97
|
+
|
|
98
|
+
private void Awake()
|
|
99
|
+
{
|
|
100
|
+
// Implementation requirements
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public {{return_type}} {{Method1}}({{params}})
|
|
104
|
+
{
|
|
105
|
+
// Method requirements
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
- id: integration-points
|
|
109
|
+
title: Integration Points
|
|
110
|
+
instruction: Specify how this feature integrates with existing systems
|
|
111
|
+
template: |
|
|
112
|
+
**Scene Integration:**
|
|
113
|
+
|
|
114
|
+
- {{scene_name}}: {{integration_details}}
|
|
115
|
+
|
|
116
|
+
**Component Dependencies:**
|
|
117
|
+
|
|
118
|
+
- {{component_name}}: {{dependency_description}}
|
|
119
|
+
|
|
120
|
+
**Event Communication:**
|
|
121
|
+
|
|
122
|
+
- Emits: `{{event_name}}` when {{condition}}
|
|
123
|
+
- Listens: `{{event_name}}` to {{response}}
|
|
124
|
+
|
|
125
|
+
- id: implementation-tasks
|
|
126
|
+
title: Implementation Tasks
|
|
127
|
+
instruction: Break down the implementation into specific, ordered tasks. Each task should be completable in 1-4 hours.
|
|
128
|
+
sections:
|
|
129
|
+
- id: dev-agent-record
|
|
130
|
+
title: Dev Agent Record
|
|
131
|
+
template: |
|
|
132
|
+
**Tasks:**
|
|
133
|
+
|
|
134
|
+
- [ ] {{task_1_description}}
|
|
135
|
+
- [ ] {{task_2_description}}
|
|
136
|
+
- [ ] {{task_3_description}}
|
|
137
|
+
- [ ] {{task_4_description}}
|
|
138
|
+
- [ ] Write unit tests for {{component}}
|
|
139
|
+
- [ ] Integration testing with {{related_system}}
|
|
140
|
+
- [ ] Performance testing and optimization
|
|
141
|
+
|
|
142
|
+
**Debug Log:**
|
|
143
|
+
| Task | File | Change | Reverted? |
|
|
144
|
+
|------|------|--------|-----------|
|
|
145
|
+
| | | | |
|
|
146
|
+
|
|
147
|
+
**Completion Notes:**
|
|
148
|
+
|
|
149
|
+
<!-- Only note deviations from requirements, keep under 50 words -->
|
|
150
|
+
|
|
151
|
+
**Change Log:**
|
|
152
|
+
|
|
153
|
+
<!-- Only requirement changes during implementation -->
|
|
154
|
+
|
|
155
|
+
- id: game-design-context
|
|
156
|
+
title: Game Design Context
|
|
157
|
+
instruction: Reference the specific sections of the GDD that this story implements
|
|
158
|
+
template: |
|
|
159
|
+
**GDD Reference:** {{section_name}} ({{page_or_section_number}})
|
|
160
|
+
|
|
161
|
+
**Game Mechanic:** {{mechanic_name}}
|
|
162
|
+
|
|
163
|
+
**Player Experience Goal:** {{experience_description}}
|
|
164
|
+
|
|
165
|
+
**Balance Parameters:**
|
|
166
|
+
|
|
167
|
+
- {{parameter_1}}: {{value_or_range}}
|
|
168
|
+
- {{parameter_2}}: {{value_or_range}}
|
|
169
|
+
|
|
170
|
+
- id: testing-requirements
|
|
171
|
+
title: Testing Requirements
|
|
172
|
+
instruction: Define specific testing criteria for this game feature
|
|
173
|
+
sections:
|
|
174
|
+
- id: unit-tests
|
|
175
|
+
title: Unit Tests
|
|
176
|
+
template: |
|
|
177
|
+
**Test Files:**
|
|
178
|
+
|
|
179
|
+
- `Assets/Tests/EditMode/{{component_name}}Tests.cs`
|
|
180
|
+
|
|
181
|
+
**Test Scenarios:**
|
|
182
|
+
|
|
183
|
+
- {{test_scenario_1}}
|
|
184
|
+
- {{test_scenario_2}}
|
|
185
|
+
- {{edge_case_test}}
|
|
186
|
+
- id: game-testing
|
|
187
|
+
title: Game Testing
|
|
188
|
+
template: |
|
|
189
|
+
**Manual Test Cases:**
|
|
190
|
+
|
|
191
|
+
1. {{test_case_1_description}}
|
|
192
|
+
|
|
193
|
+
- Expected: {{expected_behavior}}
|
|
194
|
+
- Performance: {{performance_expectation}}
|
|
195
|
+
|
|
196
|
+
2. {{test_case_2_description}}
|
|
197
|
+
- Expected: {{expected_behavior}}
|
|
198
|
+
- Edge Case: {{edge_case_handling}}
|
|
199
|
+
- id: performance-tests
|
|
200
|
+
title: Performance Tests
|
|
201
|
+
template: |
|
|
202
|
+
**Metrics to Verify:**
|
|
203
|
+
|
|
204
|
+
- Frame rate maintains stable FPS
|
|
205
|
+
- Memory usage stays under {{memory_limit}}MB
|
|
206
|
+
- {{feature_specific_performance_metric}}
|
|
207
|
+
|
|
208
|
+
- id: dependencies
|
|
209
|
+
title: Dependencies
|
|
210
|
+
instruction: List any dependencies that must be completed before this story can be implemented
|
|
211
|
+
template: |
|
|
212
|
+
**Story Dependencies:**
|
|
213
|
+
|
|
214
|
+
- {{story_id}}: {{dependency_description}}
|
|
215
|
+
|
|
216
|
+
**Technical Dependencies:**
|
|
217
|
+
|
|
218
|
+
- {{system_or_file}}: {{requirement}}
|
|
219
|
+
|
|
220
|
+
**Asset Dependencies:**
|
|
221
|
+
|
|
222
|
+
- {{asset_type}}: {{asset_description}}
|
|
223
|
+
- Location: `{{asset_path}}`
|
|
224
|
+
|
|
225
|
+
- id: definition-of-done
|
|
226
|
+
title: Definition of Done
|
|
227
|
+
instruction: Checklist that must be completed before the story is considered finished
|
|
228
|
+
type: checklist
|
|
229
|
+
items:
|
|
230
|
+
- "All acceptance criteria met"
|
|
231
|
+
- "Code reviewed and approved"
|
|
232
|
+
- "Unit tests written and passing"
|
|
233
|
+
- "Integration tests passing"
|
|
234
|
+
- "Performance targets met"
|
|
235
|
+
- "No C# compiler errors or warnings"
|
|
236
|
+
- "Documentation updated"
|
|
237
|
+
- "{{game_specific_dod_item}}"
|
|
238
|
+
|
|
239
|
+
- id: notes
|
|
240
|
+
title: Notes
|
|
241
|
+
instruction: Any additional context, design decisions, or implementation notes
|
|
242
|
+
template: |
|
|
243
|
+
**Implementation Notes:**
|
|
244
|
+
|
|
245
|
+
- {{note_1}}
|
|
246
|
+
- {{note_2}}
|
|
247
|
+
|
|
248
|
+
**Design Decisions:**
|
|
249
|
+
|
|
250
|
+
- {{decision_1}}: {{rationale}}
|
|
251
|
+
- {{decision_2}}: {{rationale}}
|
|
252
|
+
|
|
253
|
+
**Future Considerations:**
|
|
254
|
+
|
|
255
|
+
- {{future_enhancement_1}}
|
|
256
|
+
- {{future_optimization_1}}
|