bmad-method 4.26.0 → 4.27.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.
Files changed (109) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/CHANGELOG.md +22 -0
  3. package/README.md +29 -282
  4. package/bmad-core/agent-teams/team-all.yaml +6 -6
  5. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  6. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  7. package/bmad-core/agents/analyst.md +17 -18
  8. package/bmad-core/agents/architect.md +15 -18
  9. package/bmad-core/agents/bmad-master.md +56 -53
  10. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  11. package/bmad-core/agents/dev.md +10 -10
  12. package/bmad-core/agents/pm.md +17 -20
  13. package/bmad-core/agents/po.md +12 -15
  14. package/bmad-core/agents/qa.md +7 -8
  15. package/bmad-core/agents/sm.md +8 -13
  16. package/bmad-core/agents/ux-expert.md +7 -11
  17. package/bmad-core/core-config.yaml +1 -1
  18. package/bmad-core/data/bmad-kb.md +74 -15
  19. package/bmad-core/data/brainstorming-techniques.md +36 -0
  20. package/bmad-core/data/elicitation-methods.md +134 -0
  21. package/bmad-core/tasks/advanced-elicitation.md +82 -57
  22. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  23. package/bmad-core/templates/architecture-tmpl.yaml +658 -0
  24. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  25. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  26. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  27. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  28. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  29. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  30. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  31. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  32. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  33. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  34. package/bmad-core/templates/story-tmpl.yaml +137 -0
  35. package/bmad-core/utils/plan-management.md +9 -13
  36. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  37. package/common/tasks/create-doc.md +55 -67
  38. package/common/utils/bmad-doc-template.md +325 -0
  39. package/dist/agents/analyst.txt +1312 -1193
  40. package/dist/agents/architect.txt +2484 -2895
  41. package/dist/agents/bmad-master.txt +4680 -4897
  42. package/dist/agents/bmad-orchestrator.txt +400 -195
  43. package/dist/agents/dev.txt +21 -24
  44. package/dist/agents/pm.txt +590 -619
  45. package/dist/agents/po.txt +178 -130
  46. package/dist/agents/qa.txt +159 -48
  47. package/dist/agents/sm.txt +166 -120
  48. package/dist/agents/ux-expert.txt +436 -544
  49. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1283 -1260
  50. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +642 -591
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +284 -268
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9258 -4977
  53. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +388 -325
  54. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1144 -1165
  55. package/dist/teams/team-all.txt +4885 -4967
  56. package/dist/teams/team-fullstack.txt +5621 -5693
  57. package/dist/teams/team-ide-minimal.txt +604 -333
  58. package/dist/teams/team-no-ui.txt +5209 -5213
  59. package/docs/agentic-tools/github-copilot-guide.md +29 -9
  60. package/docs/bmad-workflow-guide.md +2 -2
  61. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  62. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  63. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  64. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  65. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  66. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
  67. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  68. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  69. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  72. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  73. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  74. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  75. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  76. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  77. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  78. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  79. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  80. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  81. package/package.json +1 -1
  82. package/tools/builders/web-builder.js +170 -95
  83. package/tools/installer/config/install.config.yaml +2 -2
  84. package/tools/installer/lib/ide-setup.js +2 -2
  85. package/tools/installer/package.json +1 -1
  86. package/tools/lib/dependency-resolver.js +11 -22
  87. package/tools/md-assets/web-agent-startup-instructions.md +10 -10
  88. package/bmad-core/tasks/brainstorming-techniques.md +0 -238
  89. package/bmad-core/templates/architecture-tmpl.md +0 -776
  90. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  91. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  92. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  93. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  94. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  95. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  96. package/bmad-core/templates/market-research-tmpl.md +0 -263
  97. package/bmad-core/templates/prd-tmpl.md +0 -202
  98. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  99. package/bmad-core/templates/story-tmpl.md +0 -58
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  102. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  103. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  104. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  105. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  106. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  107. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  108. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  109. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -1,345 +0,0 @@
1
- # {{Game Title}} Game Brief
2
-
3
- [[LLM: This template creates a comprehensive game brief that serves as the foundation for all subsequent game development work. The brief should capture the essential vision, scope, and requirements needed to create a detailed Game Design Document.
4
-
5
- This brief is typically created early in the ideation process, often after brainstorming sessions, to crystallize the game concept before moving into detailed design.]]
6
-
7
- ## Game Vision
8
-
9
- [[LLM: Establish the core vision and identity of the game. Present each subsection and gather user feedback before proceeding.]]
10
-
11
- ### Core Concept
12
-
13
- [[LLM: 2-3 sentences that clearly capture what the game is and why it will be compelling to players]]
14
-
15
- ### Elevator Pitch
16
-
17
- [[LLM: Single sentence that captures the essence of the game in a memorable way]]
18
-
19
- **"{{game_description_in_one_sentence}}"**
20
-
21
- ### Vision Statement
22
-
23
- [[LLM: Inspirational statement about what the game will achieve for players and why it matters]]
24
-
25
- ## Target Market
26
-
27
- [[LLM: Define the audience and market context. Apply `tasks#advanced-elicitation` after presenting this section.]]
28
-
29
- ### Primary Audience
30
-
31
- **Demographics:** {{age_range}}, {{platform_preference}}, {{gaming_experience}}
32
- **Psychographics:** {{interests}}, {{motivations}}, {{play_patterns}}
33
- **Gaming Preferences:** {{preferred_genres}}, {{session_length}}, {{difficulty_preference}}
34
-
35
- ### Secondary Audiences
36
-
37
- **Audience 2:** {{description}}
38
- **Audience 3:** {{description}}
39
-
40
- ### Market Context
41
-
42
- **Genre:** {{primary_genre}} / {{secondary_genre}}
43
- **Platform Strategy:** {{platform_focus}}
44
- **Competitive Positioning:** {{differentiation_statement}}
45
-
46
- ## Game Fundamentals
47
-
48
- [[LLM: Define the core gameplay elements. Each subsection should be specific enough to guide detailed design work.]]
49
-
50
- ### Core Gameplay Pillars
51
-
52
- [[LLM: 3-5 fundamental principles that guide all design decisions]]
53
-
54
- 1. **{{pillar_1}}** - {{description_and_rationale}}
55
- 2. **{{pillar_2}}** - {{description_and_rationale}}
56
- 3. **{{pillar_3}}** - {{description_and_rationale}}
57
-
58
- ### Primary Mechanics
59
-
60
- [[LLM: List the 3-5 most important gameplay mechanics that define the player experience]]
61
-
62
- **Core Mechanic 1: {{mechanic_name}}**
63
-
64
- - **Description:** {{how_it_works}}
65
- - **Player Value:** {{why_its_fun}}
66
- - **Implementation Scope:** {{complexity_estimate}}
67
-
68
- **Core Mechanic 2: {{mechanic_name}}**
69
-
70
- - **Description:** {{how_it_works}}
71
- - **Player Value:** {{why_its_fun}}
72
- - **Implementation Scope:** {{complexity_estimate}}
73
-
74
- ### Player Experience Goals
75
-
76
- [[LLM: Define what emotions and experiences the game should create for players]]
77
-
78
- **Primary Experience:** {{main_emotional_goal}}
79
- **Secondary Experiences:** {{supporting_emotional_goals}}
80
- **Engagement Pattern:** {{how_player_engagement_evolves}}
81
-
82
- ## Scope and Constraints
83
-
84
- [[LLM: Define the boundaries and limitations that will shape development. Apply `tasks#advanced-elicitation` to clarify any constraints.]]
85
-
86
- ### Project Scope
87
-
88
- **Game Length:** {{estimated_content_hours}}
89
- **Content Volume:** {{levels_areas_content_amount}}
90
- **Feature Complexity:** {{simple|moderate|complex}}
91
- **Scope Comparison:** "Similar to {{reference_game}} but with {{key_differences}}"
92
-
93
- ### Technical Constraints
94
-
95
- **Platform Requirements:**
96
-
97
- - Primary: {{platform_1}} - {{requirements}}
98
- - Secondary: {{platform_2}} - {{requirements}}
99
-
100
- **Technical Specifications:**
101
-
102
- - Engine: Phaser 3 + TypeScript
103
- - Performance Target: {{fps_target}} FPS on {{target_device}}
104
- - Memory Budget: <{{memory_limit}}MB
105
- - Load Time Goal: <{{load_time_seconds}}s
106
-
107
- ### Resource Constraints
108
-
109
- **Team Size:** {{team_composition}}
110
- **Timeline:** {{development_duration}}
111
- **Budget Considerations:** {{budget_constraints_or_targets}}
112
- **Asset Requirements:** {{art_audio_content_needs}}
113
-
114
- ### Business Constraints
115
-
116
- ^^CONDITION: has_business_goals^^
117
-
118
- **Monetization Model:** {{free|premium|freemium|subscription}}
119
- **Revenue Goals:** {{revenue_targets_if_applicable}}
120
- **Platform Requirements:** {{store_certification_needs}}
121
- **Launch Timeline:** {{target_launch_window}}
122
-
123
- ^^/CONDITION: has_business_goals^^
124
-
125
- ## Reference Framework
126
-
127
- [[LLM: Provide context through references and competitive analysis]]
128
-
129
- ### Inspiration Games
130
-
131
- **Primary References:**
132
-
133
- 1. **{{reference_game_1}}** - {{what_we_learn_from_it}}
134
- 2. **{{reference_game_2}}** - {{what_we_learn_from_it}}
135
- 3. **{{reference_game_3}}** - {{what_we_learn_from_it}}
136
-
137
- ### Competitive Analysis
138
-
139
- **Direct Competitors:**
140
-
141
- - {{competitor_1}}: {{strengths_and_weaknesses}}
142
- - {{competitor_2}}: {{strengths_and_weaknesses}}
143
-
144
- **Differentiation Strategy:**
145
- {{how_we_differ_and_why_thats_valuable}}
146
-
147
- ### Market Opportunity
148
-
149
- **Market Gap:** {{underserved_need_or_opportunity}}
150
- **Timing Factors:** {{why_now_is_the_right_time}}
151
- **Success Metrics:** {{how_well_measure_success}}
152
-
153
- ## Content Framework
154
-
155
- [[LLM: Outline the content structure and progression without full design detail]]
156
-
157
- ### Game Structure
158
-
159
- **Overall Flow:** {{linear|hub_world|open_world|procedural}}
160
- **Progression Model:** {{how_players_advance}}
161
- **Session Structure:** {{typical_play_session_flow}}
162
-
163
- ### Content Categories
164
-
165
- **Core Content:**
166
-
167
- - {{content_type_1}}: {{quantity_and_description}}
168
- - {{content_type_2}}: {{quantity_and_description}}
169
-
170
- **Optional Content:**
171
-
172
- - {{optional_content_type}}: {{quantity_and_description}}
173
-
174
- **Replay Elements:**
175
-
176
- - {{replayability_features}}
177
-
178
- ### Difficulty and Accessibility
179
-
180
- **Difficulty Approach:** {{how_challenge_is_structured}}
181
- **Accessibility Features:** {{planned_accessibility_support}}
182
- **Skill Requirements:** {{what_skills_players_need}}
183
-
184
- ## Art and Audio Direction
185
-
186
- [[LLM: Establish the aesthetic vision that will guide asset creation]]
187
-
188
- ### Visual Style
189
-
190
- **Art Direction:** {{style_description}}
191
- **Reference Materials:** {{visual_inspiration_sources}}
192
- **Technical Approach:** {{2d_style_pixel_vector_etc}}
193
- **Color Strategy:** {{color_palette_mood}}
194
-
195
- ### Audio Direction
196
-
197
- **Music Style:** {{genre_and_mood}}
198
- **Sound Design:** {{audio_personality}}
199
- **Implementation Needs:** {{technical_audio_requirements}}
200
-
201
- ### UI/UX Approach
202
-
203
- **Interface Style:** {{ui_aesthetic}}
204
- **User Experience Goals:** {{ux_priorities}}
205
- **Platform Adaptations:** {{cross_platform_considerations}}
206
-
207
- ## Risk Assessment
208
-
209
- [[LLM: Identify potential challenges and mitigation strategies]]
210
-
211
- ### Technical Risks
212
-
213
- | Risk | Probability | Impact | Mitigation Strategy |
214
- | -------------------- | ----------- | ------ | ------------------- | ------ | --- | ----- | ----------------------- |
215
- | {{technical_risk_1}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
216
- | {{technical_risk_2}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
217
-
218
- ### Design Risks
219
-
220
- | Risk | Probability | Impact | Mitigation Strategy |
221
- | ----------------- | ----------- | ------ | ------------------- | ------ | --- | ----- | ----------------------- |
222
- | {{design_risk_1}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
223
- | {{design_risk_2}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
224
-
225
- ### Market Risks
226
-
227
- | Risk | Probability | Impact | Mitigation Strategy |
228
- | ----------------- | ----------- | ------ | ------------------- | ------ | --- | ----- | ----------------------- |
229
- | {{market_risk_1}} | {{high | med | low}} | {{high | med | low}} | {{mitigation_approach}} |
230
-
231
- ## Success Criteria
232
-
233
- [[LLM: Define measurable goals for the project]]
234
-
235
- ### Player Experience Metrics
236
-
237
- **Engagement Goals:**
238
-
239
- - Tutorial completion rate: >{{percentage}}%
240
- - Average session length: {{duration}} minutes
241
- - Player retention: D1 {{d1}}%, D7 {{d7}}%, D30 {{d30}}%
242
-
243
- **Quality Benchmarks:**
244
-
245
- - Player satisfaction: >{{rating}}/10
246
- - Completion rate: >{{percentage}}%
247
- - Technical performance: {{fps_target}} FPS consistent
248
-
249
- ### Development Metrics
250
-
251
- **Technical Targets:**
252
-
253
- - Zero critical bugs at launch
254
- - Performance targets met on all platforms
255
- - Load times under {{seconds}}s
256
-
257
- **Process Goals:**
258
-
259
- - Development timeline adherence
260
- - Feature scope completion
261
- - Quality assurance standards
262
-
263
- ^^CONDITION: has_business_goals^^
264
-
265
- ### Business Metrics
266
-
267
- **Commercial Goals:**
268
-
269
- - {{revenue_target}} in first {{time_period}}
270
- - {{user_acquisition_target}} players in first {{time_period}}
271
- - {{retention_target}} monthly active users
272
-
273
- ^^/CONDITION: has_business_goals^^
274
-
275
- ## Next Steps
276
-
277
- [[LLM: Define immediate actions following the brief completion]]
278
-
279
- ### Immediate Actions
280
-
281
- 1. **Stakeholder Review** - {{review_process_and_timeline}}
282
- 2. **Concept Validation** - {{validation_approach}}
283
- 3. **Resource Planning** - {{team_and_resource_allocation}}
284
-
285
- ### Development Roadmap
286
-
287
- **Phase 1: Pre-Production** ({{duration}})
288
-
289
- - Detailed Game Design Document creation
290
- - Technical architecture planning
291
- - Art style exploration and pipeline setup
292
-
293
- **Phase 2: Prototype** ({{duration}})
294
-
295
- - Core mechanic implementation
296
- - Technical proof of concept
297
- - Initial playtesting and iteration
298
-
299
- **Phase 3: Production** ({{duration}})
300
-
301
- - Full feature development
302
- - Content creation and integration
303
- - Comprehensive testing and optimization
304
-
305
- ### Documentation Pipeline
306
-
307
- **Required Documents:**
308
-
309
- 1. Game Design Document (GDD) - {{target_completion}}
310
- 2. Technical Architecture Document - {{target_completion}}
311
- 3. Art Style Guide - {{target_completion}}
312
- 4. Production Plan - {{target_completion}}
313
-
314
- ### Validation Plan
315
-
316
- **Concept Testing:**
317
-
318
- - {{validation_method_1}} - {{timeline}}
319
- - {{validation_method_2}} - {{timeline}}
320
-
321
- **Prototype Testing:**
322
-
323
- - {{testing_approach}} - {{timeline}}
324
- - {{feedback_collection_method}} - {{timeline}}
325
-
326
- ## Appendices
327
-
328
- ### Research Materials
329
-
330
- [[LLM: Include any supporting research, competitive analysis, or market data that informed the brief]]
331
-
332
- ### Brainstorming Session Notes
333
-
334
- [[LLM: Reference any brainstorming sessions that led to this brief]]
335
-
336
- ### Stakeholder Input
337
-
338
- [[LLM: Include key input from stakeholders that shaped the vision]]
339
-
340
- ### Change Log
341
-
342
- [[LLM: Track document versions and changes]]
343
-
344
- | Date | Version | Description | Author |
345
- | :--- | :------ | :---------- | :----- |
@@ -1,331 +0,0 @@
1
- # {{Game Title}} Game Design Document (GDD)
2
-
3
- [[LLM: This template creates a comprehensive Game Design Document that will serve as the foundation for all game development work. The GDD should be detailed enough that developers can create user stories and epics from it. Focus on gameplay systems, mechanics, and technical requirements that can be broken down into implementable features.
4
-
5
- If available, review any provided documents or ask if any are optionally available: Project Brief, Market Research, Competitive Analysis]]
6
-
7
- ## Executive Summary
8
-
9
- [[LLM: Create a compelling overview that captures the essence of the game. Present this section first and get user feedback before proceeding.]]
10
-
11
- ### Core Concept
12
-
13
- [[LLM: 2-3 sentences that clearly describe what the game is and why players will love it]]
14
-
15
- ### Target Audience
16
-
17
- [[LLM: Define the primary and secondary audience with demographics and gaming preferences]]
18
-
19
- **Primary:** {{age_range}}, {{player_type}}, {{platform_preference}}
20
- **Secondary:** {{secondary_audience}}
21
-
22
- ### Platform & Technical Requirements
23
-
24
- [[LLM: Based on the technical preferences or user input, define the target platforms]]
25
-
26
- **Primary Platform:** {{platform}}
27
- **Engine:** Phaser 3 + TypeScript
28
- **Performance Target:** 60 FPS on {{minimum_device}}
29
- **Screen Support:** {{resolution_range}}
30
-
31
- ### Unique Selling Points
32
-
33
- [[LLM: List 3-5 key features that differentiate this game from competitors]]
34
-
35
- 1. {{usp_1}}
36
- 2. {{usp_2}}
37
- 3. {{usp_3}}
38
-
39
- ## Core Gameplay
40
-
41
- [[LLM: This section defines the fundamental game mechanics. After presenting each subsection, apply `tasks#advanced-elicitation` protocol to ensure completeness.]]
42
-
43
- ### Game Pillars
44
-
45
- [[LLM: Define 3-5 core pillars that guide all design decisions. These should be specific and actionable.]]
46
-
47
- 1. **{{pillar_1}}** - {{description}}
48
- 2. **{{pillar_2}}** - {{description}}
49
- 3. **{{pillar_3}}** - {{description}}
50
-
51
- ### Core Gameplay Loop
52
-
53
- [[LLM: Define the 30-60 second loop that players will repeat. Be specific about timing and player actions.]]
54
-
55
- **Primary Loop ({{duration}} seconds):**
56
-
57
- 1. {{action_1}} ({{time_1}}s)
58
- 2. {{action_2}} ({{time_2}}s)
59
- 3. {{action_3}} ({{time_3}}s)
60
- 4. {{reward_feedback}} ({{time_4}}s)
61
-
62
- ### Win/Loss Conditions
63
-
64
- [[LLM: Clearly define success and failure states]]
65
-
66
- **Victory Conditions:**
67
-
68
- - {{win_condition_1}}
69
- - {{win_condition_2}}
70
-
71
- **Failure States:**
72
-
73
- - {{loss_condition_1}}
74
- - {{loss_condition_2}}
75
-
76
- ## Game Mechanics
77
-
78
- [[LLM: Detail each major mechanic that will need to be implemented. Each mechanic should be specific enough for developers to create implementation stories.]]
79
-
80
- ### Primary Mechanics
81
-
82
- <<REPEAT section="mechanic" count="3-5">>
83
-
84
- #### {{mechanic_name}}
85
-
86
- **Description:** {{detailed_description}}
87
-
88
- **Player Input:** {{input_method}}
89
-
90
- **System Response:** {{game_response}}
91
-
92
- **Implementation Notes:**
93
-
94
- - {{tech_requirement_1}}
95
- - {{tech_requirement_2}}
96
- - {{performance_consideration}}
97
-
98
- **Dependencies:** {{other_mechanics_needed}}
99
-
100
- <</REPEAT>>
101
-
102
- ### Controls
103
-
104
- [[LLM: Define all input methods for different platforms]]
105
-
106
- | Action | Desktop | Mobile | Gamepad |
107
- | ------------ | ------- | ----------- | ---------- |
108
- | {{action_1}} | {{key}} | {{gesture}} | {{button}} |
109
- | {{action_2}} | {{key}} | {{gesture}} | {{button}} |
110
-
111
- ## Progression & Balance
112
-
113
- [[LLM: Define how players advance and how difficulty scales. This section should provide clear parameters for implementation.]]
114
-
115
- ### Player Progression
116
-
117
- **Progression Type:** {{linear|branching|metroidvania}}
118
-
119
- **Key Milestones:**
120
-
121
- 1. **{{milestone_1}}** - {{unlock_description}}
122
- 2. **{{milestone_2}}** - {{unlock_description}}
123
- 3. **{{milestone_3}}** - {{unlock_description}}
124
-
125
- ### Difficulty Curve
126
-
127
- [[LLM: Provide specific parameters for balancing]]
128
-
129
- **Tutorial Phase:** {{duration}} - {{difficulty_description}}
130
- **Early Game:** {{duration}} - {{difficulty_description}}
131
- **Mid Game:** {{duration}} - {{difficulty_description}}
132
- **Late Game:** {{duration}} - {{difficulty_description}}
133
-
134
- ### Economy & Resources
135
-
136
- ^^CONDITION: has_economy^^
137
-
138
- [[LLM: Define any in-game currencies, resources, or collectibles]]
139
-
140
- | Resource | Earn Rate | Spend Rate | Purpose | Cap |
141
- | -------------- | --------- | ---------- | ------- | ------- |
142
- | {{resource_1}} | {{rate}} | {{rate}} | {{use}} | {{max}} |
143
-
144
- ^^/CONDITION: has_economy^^
145
-
146
- ## Level Design Framework
147
-
148
- [[LLM: Provide guidelines for level creation that developers can use to create level implementation stories]]
149
-
150
- ### Level Types
151
-
152
- <<REPEAT section="level_type" count="2-4">>
153
-
154
- #### {{level_type_name}}
155
-
156
- **Purpose:** {{gameplay_purpose}}
157
- **Duration:** {{target_time}}
158
- **Key Elements:** {{required_mechanics}}
159
- **Difficulty:** {{relative_difficulty}}
160
-
161
- **Structure Template:**
162
-
163
- - Introduction: {{intro_description}}
164
- - Challenge: {{main_challenge}}
165
- - Resolution: {{completion_requirement}}
166
-
167
- <</REPEAT>>
168
-
169
- ### Level Progression
170
-
171
- **World Structure:** {{linear|hub|open}}
172
- **Total Levels:** {{number}}
173
- **Unlock Pattern:** {{progression_method}}
174
-
175
- ## Technical Specifications
176
-
177
- [[LLM: Define technical requirements that will guide architecture and implementation decisions. Review any existing technical preferences.]]
178
-
179
- ### Performance Requirements
180
-
181
- **Frame Rate:** 60 FPS (minimum 30 FPS on low-end devices)
182
- **Memory Usage:** <{{memory_limit}}MB
183
- **Load Times:** <{{load_time}}s initial, <{{level_load}}s between levels
184
- **Battery Usage:** Optimized for mobile devices
185
-
186
- ### Platform Specific
187
-
188
- **Desktop:**
189
-
190
- - Resolution: {{min_resolution}} - {{max_resolution}}
191
- - Input: Keyboard, Mouse, Gamepad
192
- - Browser: Chrome 80+, Firefox 75+, Safari 13+
193
-
194
- **Mobile:**
195
-
196
- - Resolution: {{mobile_min}} - {{mobile_max}}
197
- - Input: Touch, Tilt (optional)
198
- - OS: iOS 13+, Android 8+
199
-
200
- ### Asset Requirements
201
-
202
- [[LLM: Define asset specifications for the art and audio teams]]
203
-
204
- **Visual Assets:**
205
-
206
- - Art Style: {{style_description}}
207
- - Color Palette: {{color_specification}}
208
- - Animation: {{animation_requirements}}
209
- - UI Resolution: {{ui_specs}}
210
-
211
- **Audio Assets:**
212
-
213
- - Music Style: {{music_genre}}
214
- - Sound Effects: {{sfx_requirements}}
215
- - Voice Acting: {{voice_needs}}
216
-
217
- ## Technical Architecture Requirements
218
-
219
- [[LLM: Define high-level technical requirements that the game architecture must support]]
220
-
221
- ### Engine Configuration
222
-
223
- **Phaser 3 Setup:**
224
-
225
- - TypeScript: Strict mode enabled
226
- - Physics: {{physics_system}} (Arcade/Matter)
227
- - Renderer: WebGL with Canvas fallback
228
- - Scale Mode: {{scale_mode}}
229
-
230
- ### Code Architecture
231
-
232
- **Required Systems:**
233
-
234
- - Scene Management
235
- - State Management
236
- - Asset Loading
237
- - Save/Load System
238
- - Input Management
239
- - Audio System
240
- - Performance Monitoring
241
-
242
- ### Data Management
243
-
244
- **Save Data:**
245
-
246
- - Progress tracking
247
- - Settings persistence
248
- - Statistics collection
249
- - {{additional_data}}
250
-
251
- ## Development Phases
252
-
253
- [[LLM: Break down the development into phases that can be converted to epics]]
254
-
255
- ### Phase 1: Core Systems ({{duration}})
256
-
257
- **Epic: Foundation**
258
-
259
- - Engine setup and configuration
260
- - Basic scene management
261
- - Core input handling
262
- - Asset loading pipeline
263
-
264
- **Epic: Core Mechanics**
265
-
266
- - {{primary_mechanic}} implementation
267
- - Basic physics and collision
268
- - Player controller
269
-
270
- ### Phase 2: Gameplay Features ({{duration}})
271
-
272
- **Epic: Game Systems**
273
-
274
- - {{mechanic_2}} implementation
275
- - {{mechanic_3}} implementation
276
- - Game state management
277
-
278
- **Epic: Content Creation**
279
-
280
- - Level loading system
281
- - First playable levels
282
- - Basic UI implementation
283
-
284
- ### Phase 3: Polish & Optimization ({{duration}})
285
-
286
- **Epic: Performance**
287
-
288
- - Optimization and profiling
289
- - Mobile platform testing
290
- - Memory management
291
-
292
- **Epic: User Experience**
293
-
294
- - Audio implementation
295
- - Visual effects and polish
296
- - Final UI/UX refinement
297
-
298
- ## Success Metrics
299
-
300
- [[LLM: Define measurable goals for the game]]
301
-
302
- **Technical Metrics:**
303
-
304
- - Frame rate: {{fps_target}}
305
- - Load time: {{load_target}}
306
- - Crash rate: <{{crash_threshold}}%
307
- - Memory usage: <{{memory_target}}MB
308
-
309
- **Gameplay Metrics:**
310
-
311
- - Tutorial completion: {{completion_rate}}%
312
- - Average session: {{session_length}} minutes
313
- - Level completion: {{level_completion}}%
314
- - Player retention: D1 {{d1}}%, D7 {{d7}}%
315
-
316
- ## Appendices
317
-
318
- ### Change Log
319
-
320
- [[LLM: Track document versions and changes]]
321
-
322
- | Date | Version | Description | Author |
323
- | :--- | :------ | :---------- | :----- |
324
-
325
- ### References
326
-
327
- [[LLM: List any competitive analysis, inspiration, or research sources]]
328
-
329
- - {{reference_1}}
330
- - {{reference_2}}
331
- - {{reference_3}}