bmad-method 4.27.0 → 4.27.2

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 (99) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/bmad-core/agent-teams/team-all.yaml +6 -6
  3. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  4. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  5. package/bmad-core/agents/analyst.md +17 -20
  6. package/bmad-core/agents/architect.md +15 -18
  7. package/bmad-core/agents/bmad-master.md +55 -56
  8. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  9. package/bmad-core/agents/dev.md +10 -10
  10. package/bmad-core/agents/pm.md +17 -20
  11. package/bmad-core/agents/po.md +12 -15
  12. package/bmad-core/agents/qa.md +7 -8
  13. package/bmad-core/agents/sm.md +8 -13
  14. package/bmad-core/agents/ux-expert.md +7 -11
  15. package/bmad-core/core-config.yaml +1 -1
  16. package/bmad-core/templates/architecture-tmpl.yaml +650 -0
  17. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  18. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  19. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  20. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  21. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  22. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  23. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  24. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  25. package/bmad-core/templates/{prd-tmpl2.yaml → prd-tmpl.yaml} +3 -3
  26. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  27. package/bmad-core/templates/story-tmpl.yaml +137 -0
  28. package/common/tasks/create-doc.md +55 -67
  29. package/common/utils/bmad-doc-template.md +29 -0
  30. package/dist/agents/analyst.txt +1004 -1061
  31. package/dist/agents/architect.txt +2460 -2872
  32. package/dist/agents/bmad-master.txt +3842 -4354
  33. package/dist/agents/bmad-orchestrator.txt +211 -87
  34. package/dist/agents/dev.txt +4 -8
  35. package/dist/agents/pm.txt +557 -587
  36. package/dist/agents/po.txt +149 -102
  37. package/dist/agents/qa.txt +145 -35
  38. package/dist/agents/sm.txt +145 -100
  39. package/dist/agents/ux-expert.txt +413 -522
  40. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1258 -1236
  41. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +623 -573
  42. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +263 -248
  43. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9135 -4942
  44. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +288 -251
  45. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1123 -1145
  46. package/dist/teams/team-all.txt +4583 -4837
  47. package/dist/teams/team-fullstack.txt +5276 -5520
  48. package/dist/teams/team-ide-minimal.txt +375 -185
  49. package/dist/teams/team-no-ui.txt +4875 -5051
  50. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  51. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  52. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  53. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  54. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  55. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  56. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  57. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  58. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  59. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  60. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  61. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  62. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  63. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  64. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  65. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  66. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  67. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  68. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  69. package/package.json +1 -1
  70. package/tools/builders/web-builder.js +65 -85
  71. package/tools/installer/package.json +1 -1
  72. package/tools/lib/dependency-resolver.js +8 -19
  73. package/zoo/docs/architecture.md +812 -0
  74. package/zoo/docs/brief.md +253 -0
  75. package/zoo/docs/prd.md +500 -0
  76. package/zoo/docs/stories/1.1.story.md +278 -0
  77. package/bmad-core/templates/architecture-tmpl.md +0 -776
  78. package/bmad-core/templates/brainstorming-output-tmpl.md +0 -149
  79. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  80. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  81. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  82. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  83. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  84. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  85. package/bmad-core/templates/market-research-tmpl.md +0 -263
  86. package/bmad-core/templates/prd-tmpl.md +0 -202
  87. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  88. package/bmad-core/templates/story-tmpl.md +0 -58
  89. package/common/tasks/create-doc2.md +0 -65
  90. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  91. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  92. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  93. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  94. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  95. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  96. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  97. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  98. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  99. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -1,235 +0,0 @@
1
- # Story: {{Story Title}}
2
-
3
- **Epic:** {{Epic Name}}
4
- **Story ID:** {{ID}}
5
- **Priority:** {{High|Medium|Low}}
6
- **Points:** {{Story Points}}
7
- **Status:** Draft
8
-
9
- [[LLM: 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.
10
-
11
- Before starting, ensure you have access to:
12
-
13
- - Game Design Document (GDD)
14
- - Game Architecture Document
15
- - Any existing stories in this epic
16
-
17
- The story should be specific enough that a developer can implement it without requiring additional design decisions.]]
18
-
19
- ## Description
20
-
21
- [[LLM: 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.]]
22
-
23
- {{clear_description_of_what_needs_to_be_implemented}}
24
-
25
- ## Acceptance Criteria
26
-
27
- [[LLM: 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.]]
28
-
29
- ### Functional Requirements
30
-
31
- - [ ] {{specific_functional_requirement_1}}
32
- - [ ] {{specific_functional_requirement_2}}
33
- - [ ] {{specific_functional_requirement_3}}
34
-
35
- ### Technical Requirements
36
-
37
- - [ ] Code follows TypeScript strict mode standards
38
- - [ ] Maintains 60 FPS on target devices
39
- - [ ] No memory leaks or performance degradation
40
- - [ ] {{specific_technical_requirement}}
41
-
42
- ### Game Design Requirements
43
-
44
- - [ ] {{gameplay_requirement_from_gdd}}
45
- - [ ] {{balance_requirement_if_applicable}}
46
- - [ ] {{player_experience_requirement}}
47
-
48
- ## Technical Specifications
49
-
50
- [[LLM: Provide specific technical details that guide implementation. Include class names, file locations, and integration points based on the game architecture.]]
51
-
52
- ### Files to Create/Modify
53
-
54
- **New Files:**
55
-
56
- - `{{file_path_1}}` - {{purpose}}
57
- - `{{file_path_2}}` - {{purpose}}
58
-
59
- **Modified Files:**
60
-
61
- - `{{existing_file_1}}` - {{changes_needed}}
62
- - `{{existing_file_2}}` - {{changes_needed}}
63
-
64
- ### Class/Interface Definitions
65
-
66
- [[LLM: Define specific TypeScript interfaces and class structures needed]]
67
-
68
- ```typescript
69
- // {{interface_name}}
70
- interface {{InterfaceName}} {
71
- {{property_1}}: {{type}};
72
- {{property_2}}: {{type}};
73
- {{method_1}}({{params}}): {{return_type}};
74
- }
75
-
76
- // {{class_name}}
77
- class {{ClassName}} extends {{PhaseClass}} {
78
- private {{property}}: {{type}};
79
-
80
- constructor({{params}}) {
81
- // Implementation requirements
82
- }
83
-
84
- public {{method}}({{params}}): {{return_type}} {
85
- // Method requirements
86
- }
87
- }
88
- ```
89
-
90
- ### Integration Points
91
-
92
- [[LLM: Specify how this feature integrates with existing systems]]
93
-
94
- **Scene Integration:**
95
-
96
- - {{scene_name}}: {{integration_details}}
97
-
98
- **System Dependencies:**
99
-
100
- - {{system_name}}: {{dependency_description}}
101
-
102
- **Event Communication:**
103
-
104
- - Emits: `{{event_name}}` when {{condition}}
105
- - Listens: `{{event_name}}` to {{response}}
106
-
107
- ## Implementation Tasks
108
-
109
- [[LLM: Break down the implementation into specific, ordered tasks. Each task should be completable in 1-4 hours.]]
110
-
111
- ### Dev Agent Record
112
-
113
- **Tasks:**
114
-
115
- - [ ] {{task_1_description}}
116
- - [ ] {{task_2_description}}
117
- - [ ] {{task_3_description}}
118
- - [ ] {{task_4_description}}
119
- - [ ] Write unit tests for {{component}}
120
- - [ ] Integration testing with {{related_system}}
121
- - [ ] Performance testing and optimization
122
-
123
- **Debug Log:**
124
- | Task | File | Change | Reverted? |
125
- |------|------|--------|-----------|
126
- | | | | |
127
-
128
- **Completion Notes:**
129
-
130
- <!-- Only note deviations from requirements, keep under 50 words -->
131
-
132
- **Change Log:**
133
-
134
- <!-- Only requirement changes during implementation -->
135
-
136
- ## Game Design Context
137
-
138
- [[LLM: Reference the specific sections of the GDD that this story implements]]
139
-
140
- **GDD Reference:** {{section_name}} ({{page_or_section_number}})
141
-
142
- **Game Mechanic:** {{mechanic_name}}
143
-
144
- **Player Experience Goal:** {{experience_description}}
145
-
146
- **Balance Parameters:**
147
-
148
- - {{parameter_1}}: {{value_or_range}}
149
- - {{parameter_2}}: {{value_or_range}}
150
-
151
- ## Testing Requirements
152
-
153
- [[LLM: Define specific testing criteria for this game feature]]
154
-
155
- ### Unit Tests
156
-
157
- **Test Files:**
158
-
159
- - `tests/{{component_name}}.test.ts`
160
-
161
- **Test Scenarios:**
162
-
163
- - {{test_scenario_1}}
164
- - {{test_scenario_2}}
165
- - {{edge_case_test}}
166
-
167
- ### Game Testing
168
-
169
- **Manual Test Cases:**
170
-
171
- 1. {{test_case_1_description}}
172
-
173
- - Expected: {{expected_behavior}}
174
- - Performance: {{performance_expectation}}
175
-
176
- 2. {{test_case_2_description}}
177
- - Expected: {{expected_behavior}}
178
- - Edge Case: {{edge_case_handling}}
179
-
180
- ### Performance Tests
181
-
182
- **Metrics to Verify:**
183
-
184
- - Frame rate maintains {{fps_target}} FPS
185
- - Memory usage stays under {{memory_limit}}MB
186
- - {{feature_specific_performance_metric}}
187
-
188
- ## Dependencies
189
-
190
- [[LLM: List any dependencies that must be completed before this story can be implemented]]
191
-
192
- **Story Dependencies:**
193
-
194
- - {{story_id}}: {{dependency_description}}
195
-
196
- **Technical Dependencies:**
197
-
198
- - {{system_or_file}}: {{requirement}}
199
-
200
- **Asset Dependencies:**
201
-
202
- - {{asset_type}}: {{asset_description}}
203
- - Location: `{{asset_path}}`
204
-
205
- ## Definition of Done
206
-
207
- [[LLM: Checklist that must be completed before the story is considered finished]]
208
-
209
- - [ ] All acceptance criteria met
210
- - [ ] Code reviewed and approved
211
- - [ ] Unit tests written and passing
212
- - [ ] Integration tests passing
213
- - [ ] Performance targets met
214
- - [ ] No linting errors
215
- - [ ] Documentation updated
216
- - [ ] {{game_specific_dod_item}}
217
-
218
- ## Notes
219
-
220
- [[LLM: Any additional context, design decisions, or implementation notes]]
221
-
222
- **Implementation Notes:**
223
-
224
- - {{note_1}}
225
- - {{note_2}}
226
-
227
- **Design Decisions:**
228
-
229
- - {{decision_1}}: {{rationale}}
230
- - {{decision_2}}: {{rationale}}
231
-
232
- **Future Considerations:**
233
-
234
- - {{future_enhancement_1}}
235
- - {{future_optimization_1}}
@@ -1,470 +0,0 @@
1
- # {{Game Title}} Level Design Document
2
-
3
- [[LLM: 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.
4
-
5
- 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.]]
6
-
7
- ## Introduction
8
-
9
- [[LLM: Establish the purpose and scope of level design for this game]]
10
-
11
- 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.
12
-
13
- This framework ensures consistency across all levels while providing flexibility for creative level design within established technical and design constraints.
14
-
15
- ### Change Log
16
-
17
- [[LLM: Track document versions and changes]]
18
-
19
- | Date | Version | Description | Author |
20
- | :--- | :------ | :---------- | :----- |
21
-
22
- ## Level Design Philosophy
23
-
24
- [[LLM: Establish the overall approach to level design based on the game's core pillars and mechanics. Apply `tasks#advanced-elicitation` after presenting this section.]]
25
-
26
- ### Design Principles
27
-
28
- [[LLM: Define 3-5 core principles that guide all level design decisions]]
29
-
30
- 1. **{{principle_1}}** - {{description}}
31
- 2. **{{principle_2}}** - {{description}}
32
- 3. **{{principle_3}}** - {{description}}
33
-
34
- ### Player Experience Goals
35
-
36
- [[LLM: Define what players should feel and learn in each level category]]
37
-
38
- **Tutorial Levels:** {{experience_description}}
39
- **Standard Levels:** {{experience_description}}
40
- **Challenge Levels:** {{experience_description}}
41
- **Boss Levels:** {{experience_description}}
42
-
43
- ### Level Flow Framework
44
-
45
- [[LLM: Define the standard structure for level progression]]
46
-
47
- **Introduction Phase:** {{duration}} - {{purpose}}
48
- **Development Phase:** {{duration}} - {{purpose}}
49
- **Climax Phase:** {{duration}} - {{purpose}}
50
- **Resolution Phase:** {{duration}} - {{purpose}}
51
-
52
- ## Level Categories
53
-
54
- [[LLM: Define different types of levels based on the GDD requirements. Each category should be specific enough for implementation.]]
55
-
56
- <<REPEAT section="level_category" count="based_on_gdd">>
57
-
58
- ### {{category_name}} Levels
59
-
60
- **Purpose:** {{gameplay_purpose}}
61
-
62
- **Target Duration:** {{min_time}} - {{max_time}} minutes
63
-
64
- **Difficulty Range:** {{difficulty_scale}}
65
-
66
- **Key Mechanics Featured:**
67
-
68
- - {{mechanic_1}} - {{usage_description}}
69
- - {{mechanic_2}} - {{usage_description}}
70
-
71
- **Player Objectives:**
72
-
73
- - Primary: {{primary_objective}}
74
- - Secondary: {{secondary_objective}}
75
- - Hidden: {{secret_objective}}
76
-
77
- **Success Criteria:**
78
-
79
- - {{completion_requirement_1}}
80
- - {{completion_requirement_2}}
81
-
82
- **Technical Requirements:**
83
-
84
- - Maximum entities: {{entity_limit}}
85
- - Performance target: {{fps_target}} FPS
86
- - Memory budget: {{memory_limit}}MB
87
- - Asset requirements: {{asset_needs}}
88
-
89
- <</REPEAT>>
90
-
91
- ## Level Progression System
92
-
93
- [[LLM: Define how players move through levels and how difficulty scales]]
94
-
95
- ### World Structure
96
-
97
- [[LLM: Based on GDD requirements, define the overall level organization]]
98
-
99
- **Organization Type:** {{linear|hub_world|open_world}}
100
-
101
- **Total Level Count:** {{number}}
102
-
103
- **World Breakdown:**
104
-
105
- - World 1: {{level_count}} levels - {{theme}} - {{difficulty_range}}
106
- - World 2: {{level_count}} levels - {{theme}} - {{difficulty_range}}
107
- - World 3: {{level_count}} levels - {{theme}} - {{difficulty_range}}
108
-
109
- ### Difficulty Progression
110
-
111
- [[LLM: Define how challenge increases across the game]]
112
-
113
- **Progression Curve:**
114
-
115
- ````text
116
- Difficulty
117
- ^ ___/```
118
- | /
119
- | / ___/```
120
- | / /
121
- | / /
122
- |/ /
123
- +-----------> Level Number
124
- Tutorial Early Mid Late
125
- ````
126
-
127
- **Scaling Parameters:**
128
-
129
- - Enemy count: {{start_count}} → {{end_count}}
130
- - Enemy difficulty: {{start_diff}} → {{end_diff}}
131
- - Level complexity: {{start_complex}} → {{end_complex}}
132
- - Time pressure: {{start_time}} → {{end_time}}
133
-
134
- ### Unlock Requirements
135
-
136
- [[LLM: Define how players access new levels]]
137
-
138
- **Progression Gates:**
139
-
140
- - Linear progression: Complete previous level
141
- - Star requirements: {{star_count}} stars to unlock
142
- - Skill gates: Demonstrate {{skill_requirement}}
143
- - Optional content: {{unlock_condition}}
144
-
145
- ## Level Design Components
146
-
147
- [[LLM: Define the building blocks used to create levels]]
148
-
149
- ### Environmental Elements
150
-
151
- [[LLM: Define all environmental components that can be used in levels]]
152
-
153
- **Terrain Types:**
154
-
155
- - {{terrain_1}}: {{properties_and_usage}}
156
- - {{terrain_2}}: {{properties_and_usage}}
157
-
158
- **Interactive Objects:**
159
-
160
- - {{object_1}}: {{behavior_and_purpose}}
161
- - {{object_2}}: {{behavior_and_purpose}}
162
-
163
- **Hazards and Obstacles:**
164
-
165
- - {{hazard_1}}: {{damage_and_behavior}}
166
- - {{hazard_2}}: {{damage_and_behavior}}
167
-
168
- ### Collectibles and Rewards
169
-
170
- [[LLM: Define all collectible items and their placement rules]]
171
-
172
- **Collectible Types:**
173
-
174
- - {{collectible_1}}: {{value_and_purpose}}
175
- - {{collectible_2}}: {{value_and_purpose}}
176
-
177
- **Placement Guidelines:**
178
-
179
- - Mandatory collectibles: {{placement_rules}}
180
- - Optional collectibles: {{placement_rules}}
181
- - Secret collectibles: {{placement_rules}}
182
-
183
- **Reward Distribution:**
184
-
185
- - Easy to find: {{percentage}}%
186
- - Moderate challenge: {{percentage}}%
187
- - High skill required: {{percentage}}%
188
-
189
- ### Enemy Placement Framework
190
-
191
- [[LLM: Define how enemies should be placed and balanced in levels]]
192
-
193
- **Enemy Categories:**
194
-
195
- - {{enemy_type_1}}: {{behavior_and_usage}}
196
- - {{enemy_type_2}}: {{behavior_and_usage}}
197
-
198
- **Placement Principles:**
199
-
200
- - Introduction encounters: {{guideline}}
201
- - Standard encounters: {{guideline}}
202
- - Challenge encounters: {{guideline}}
203
-
204
- **Difficulty Scaling:**
205
-
206
- - Enemy count progression: {{scaling_rule}}
207
- - Enemy type introduction: {{pacing_rule}}
208
- - Encounter complexity: {{complexity_rule}}
209
-
210
- ## Level Creation Guidelines
211
-
212
- [[LLM: Provide specific guidelines for creating individual levels]]
213
-
214
- ### Level Layout Principles
215
-
216
- **Spatial Design:**
217
-
218
- - Grid size: {{grid_dimensions}}
219
- - Minimum path width: {{width_units}}
220
- - Maximum vertical distance: {{height_units}}
221
- - Safe zones placement: {{safety_guidelines}}
222
-
223
- **Navigation Design:**
224
-
225
- - Clear path indication: {{visual_cues}}
226
- - Landmark placement: {{landmark_rules}}
227
- - Dead end avoidance: {{dead_end_policy}}
228
- - Multiple path options: {{branching_rules}}
229
-
230
- ### Pacing and Flow
231
-
232
- [[LLM: Define how to control the rhythm and pace of gameplay within levels]]
233
-
234
- **Action Sequences:**
235
-
236
- - High intensity duration: {{max_duration}}
237
- - Rest period requirement: {{min_rest_time}}
238
- - Intensity variation: {{pacing_pattern}}
239
-
240
- **Learning Sequences:**
241
-
242
- - New mechanic introduction: {{teaching_method}}
243
- - Practice opportunity: {{practice_duration}}
244
- - Skill application: {{application_context}}
245
-
246
- ### Challenge Design
247
-
248
- [[LLM: Define how to create appropriate challenges for each level type]]
249
-
250
- **Challenge Types:**
251
-
252
- - Execution challenges: {{skill_requirements}}
253
- - Puzzle challenges: {{complexity_guidelines}}
254
- - Time challenges: {{time_pressure_rules}}
255
- - Resource challenges: {{resource_management}}
256
-
257
- **Difficulty Calibration:**
258
-
259
- - Skill check frequency: {{frequency_guidelines}}
260
- - Failure recovery: {{retry_mechanics}}
261
- - Hint system integration: {{help_system}}
262
-
263
- ## Technical Implementation
264
-
265
- [[LLM: Define technical requirements for level implementation]]
266
-
267
- ### Level Data Structure
268
-
269
- [[LLM: Define how level data should be structured for implementation]]
270
-
271
- **Level File Format:**
272
-
273
- - Data format: {{json|yaml|custom}}
274
- - File naming: `level_{{world}}_{{number}}.{{extension}}`
275
- - Data organization: {{structure_description}}
276
-
277
- **Required Data Fields:**
278
-
279
- ```json
280
- {
281
- "levelId": "{{unique_identifier}}",
282
- "worldId": "{{world_identifier}}",
283
- "difficulty": {{difficulty_value}},
284
- "targetTime": {{completion_time_seconds}},
285
- "objectives": {
286
- "primary": "{{primary_objective}}",
287
- "secondary": ["{{secondary_objectives}}"],
288
- "hidden": ["{{secret_objectives}}"]
289
- },
290
- "layout": {
291
- "width": {{grid_width}},
292
- "height": {{grid_height}},
293
- "tilemap": "{{tilemap_reference}}"
294
- },
295
- "entities": [
296
- {
297
- "type": "{{entity_type}}",
298
- "position": {"x": {{x}}, "y": {{y}}},
299
- "properties": {{entity_properties}}
300
- }
301
- ]
302
- }
303
- ```
304
-
305
- ### Asset Integration
306
-
307
- [[LLM: Define how level assets are organized and loaded]]
308
-
309
- **Tilemap Requirements:**
310
-
311
- - Tile size: {{tile_dimensions}}px
312
- - Tileset organization: {{tileset_structure}}
313
- - Layer organization: {{layer_system}}
314
- - Collision data: {{collision_format}}
315
-
316
- **Audio Integration:**
317
-
318
- - Background music: {{music_requirements}}
319
- - Ambient sounds: {{ambient_system}}
320
- - Dynamic audio: {{dynamic_audio_rules}}
321
-
322
- ### Performance Optimization
323
-
324
- [[LLM: Define performance requirements for level systems]]
325
-
326
- **Entity Limits:**
327
-
328
- - Maximum active entities: {{entity_limit}}
329
- - Maximum particles: {{particle_limit}}
330
- - Maximum audio sources: {{audio_limit}}
331
-
332
- **Memory Management:**
333
-
334
- - Texture memory budget: {{texture_memory}}MB
335
- - Audio memory budget: {{audio_memory}}MB
336
- - Level loading time: <{{load_time}}s
337
-
338
- **Culling and LOD:**
339
-
340
- - Off-screen culling: {{culling_distance}}
341
- - Level-of-detail rules: {{lod_system}}
342
- - Asset streaming: {{streaming_requirements}}
343
-
344
- ## Level Testing Framework
345
-
346
- [[LLM: Define how levels should be tested and validated]]
347
-
348
- ### Automated Testing
349
-
350
- **Performance Testing:**
351
-
352
- - Frame rate validation: Maintain {{fps_target}} FPS
353
- - Memory usage monitoring: Stay under {{memory_limit}}MB
354
- - Loading time verification: Complete in <{{load_time}}s
355
-
356
- **Gameplay Testing:**
357
-
358
- - Completion path validation: All objectives achievable
359
- - Collectible accessibility: All items reachable
360
- - Softlock prevention: No unwinnable states
361
-
362
- ### Manual Testing Protocol
363
-
364
- **Playtesting Checklist:**
365
-
366
- - [ ] Level completes within target time range
367
- - [ ] All mechanics function correctly
368
- - [ ] Difficulty feels appropriate for level category
369
- - [ ] Player guidance is clear and effective
370
- - [ ] No exploits or sequence breaks (unless intended)
371
-
372
- **Player Experience Testing:**
373
-
374
- - [ ] Tutorial levels teach effectively
375
- - [ ] Challenge feels fair and rewarding
376
- - [ ] Flow and pacing maintain engagement
377
- - [ ] Audio and visual feedback support gameplay
378
-
379
- ### Balance Validation
380
-
381
- **Metrics Collection:**
382
-
383
- - Completion rate: Target {{completion_percentage}}%
384
- - Average completion time: {{target_time}} ± {{variance}}
385
- - Death count per level: <{{max_deaths}}
386
- - Collectible discovery rate: {{discovery_percentage}}%
387
-
388
- **Iteration Guidelines:**
389
-
390
- - Adjustment criteria: {{criteria_for_changes}}
391
- - Testing sample size: {{minimum_testers}}
392
- - Validation period: {{testing_duration}}
393
-
394
- ## Content Creation Pipeline
395
-
396
- [[LLM: Define the workflow for creating new levels]]
397
-
398
- ### Design Phase
399
-
400
- **Concept Development:**
401
-
402
- 1. Define level purpose and goals
403
- 2. Create rough layout sketch
404
- 3. Identify key mechanics and challenges
405
- 4. Estimate difficulty and duration
406
-
407
- **Documentation Requirements:**
408
-
409
- - Level design brief
410
- - Layout diagrams
411
- - Mechanic integration notes
412
- - Asset requirement list
413
-
414
- ### Implementation Phase
415
-
416
- **Technical Implementation:**
417
-
418
- 1. Create level data file
419
- 2. Build tilemap and layout
420
- 3. Place entities and objects
421
- 4. Configure level logic and triggers
422
- 5. Integrate audio and visual effects
423
-
424
- **Quality Assurance:**
425
-
426
- 1. Automated testing execution
427
- 2. Internal playtesting
428
- 3. Performance validation
429
- 4. Bug fixing and polish
430
-
431
- ### Integration Phase
432
-
433
- **Game Integration:**
434
-
435
- 1. Level progression integration
436
- 2. Save system compatibility
437
- 3. Analytics integration
438
- 4. Achievement system integration
439
-
440
- **Final Validation:**
441
-
442
- 1. Full game context testing
443
- 2. Performance regression testing
444
- 3. Platform compatibility verification
445
- 4. Final approval and release
446
-
447
- ## Success Metrics
448
-
449
- [[LLM: Define how to measure level design success]]
450
-
451
- **Player Engagement:**
452
-
453
- - Level completion rate: {{target_rate}}%
454
- - Replay rate: {{replay_target}}%
455
- - Time spent per level: {{engagement_time}}
456
- - Player satisfaction scores: {{satisfaction_target}}/10
457
-
458
- **Technical Performance:**
459
-
460
- - Frame rate consistency: {{fps_consistency}}%
461
- - Loading time compliance: {{load_compliance}}%
462
- - Memory usage efficiency: {{memory_efficiency}}%
463
- - Crash rate: <{{crash_threshold}}%
464
-
465
- **Design Quality:**
466
-
467
- - Difficulty curve adherence: {{curve_accuracy}}
468
- - Mechanic integration effectiveness: {{integration_score}}
469
- - Player guidance clarity: {{guidance_score}}
470
- - Content accessibility: {{accessibility_rate}}%