bmad-method 4.4.0 → 4.4.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 (128) hide show
  1. package/.claude/commands/bmad-orchestrator.md +65 -6
  2. package/.cursor/rules/bmad-orchestrator.mdc +65 -6
  3. package/.roo/README.md +0 -11
  4. package/.windsurf/rules/bmad-orchestrator.md +65 -6
  5. package/CHANGELOG.md +15 -3
  6. package/README.md +6 -26
  7. package/{.bmad-core → bmad-core}/agent-teams/team-all.yml +2 -4
  8. package/bmad-core/agent-teams/team-fullstack.yml +18 -0
  9. package/bmad-core/agent-teams/team-ide-minimal.yml +10 -0
  10. package/{.bmad-core → bmad-core}/agent-teams/team-no-ui.yml +1 -3
  11. package/bmad-core/agents/bmad-orchestrator.md +128 -0
  12. package/{.bmad-core → bmad-core}/agents/qa.md +11 -17
  13. package/{.bmad-core → bmad-core}/agents/ux-expert.md +14 -20
  14. package/{.bmad-core → bmad-core}/tasks/shard-doc.md +5 -3
  15. package/{.bmad-core → bmad-core}/templates/architecture-tmpl.md +2 -2
  16. package/{.bmad-core → bmad-core}/templates/brownfield-architecture-tmpl.md +6 -6
  17. package/{.bmad-core → bmad-core}/templates/front-end-spec-tmpl.md +6 -6
  18. package/{.bmad-core → bmad-core}/utils/agent-switcher.ide.md +6 -6
  19. package/{.bmad-core → bmad-core}/utils/workflow-management.md +4 -4
  20. package/{.bmad-core → bmad-core}/web-bundles/agents/architect.txt +3 -3
  21. package/{.bmad-core → bmad-core}/web-bundles/agents/bmad-master.txt +10 -10
  22. package/{.bmad-core → bmad-core}/web-bundles/agents/bmad-orchestrator.txt +67 -8
  23. package/{.bmad-core → bmad-core}/web-bundles/agents/pm.txt +1 -1
  24. package/{.bmad-core → bmad-core}/web-bundles/agents/po.txt +1 -1
  25. package/{.bmad-core → bmad-core}/web-bundles/agents/qa.txt +11 -17
  26. package/{.bmad-core → bmad-core}/web-bundles/agents/ux-expert.txt +16 -22
  27. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/team-game-dev.yml +12 -0
  28. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +58 -0
  29. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +66 -0
  30. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +51 -0
  31. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +201 -0
  32. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +160 -0
  33. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +254 -0
  34. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +631 -0
  35. package/expansion-packs/bmad-2d-phaser-game-dev/manifest.yml +45 -0
  36. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +111 -0
  37. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +216 -0
  38. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +308 -0
  39. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +560 -0
  40. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +345 -0
  41. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +331 -0
  42. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +235 -0
  43. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +451 -0
  44. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/agents/game-designer.txt +1758 -0
  45. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/agents/game-developer.txt +1444 -0
  46. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/agents/game-sm.txt +674 -0
  47. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/team-game-dev.txt +4395 -0
  48. package/expansion-packs/bmad-2d-phaser-game-dev/web-bundles/teams/team-game-dev.txt +4395 -0
  49. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yml +183 -0
  50. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yml +175 -0
  51. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/README.md +5 -5
  52. package/expansion-packs/bmad-infrastructure-devops/manifest.yml +23 -0
  53. package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
  54. package/expansion-packs/bmad-infrastructure-devops/web-bundles/agents/infra-devops-platform.txt +2021 -0
  55. package/package.json +3 -3
  56. package/tools/builders/web-builder.js +191 -2
  57. package/tools/cli.js +55 -7
  58. package/tools/installer/bin/bmad.js +120 -9
  59. package/tools/installer/config/install.config.yml +43 -43
  60. package/tools/installer/lib/config-loader.js +116 -6
  61. package/tools/installer/lib/installer.js +194 -5
  62. package/tools/installer/package-lock.json +3 -3
  63. package/tools/installer/package.json +2 -2
  64. package/tools/lib/dependency-resolver.js +1 -1
  65. package/.bmad-core/agent-teams/team-fullstack.yml +0 -26
  66. package/.bmad-core/agents/bmad-orchestrator.md +0 -69
  67. package/.bmad-core/web-bundles/teams/team-all.txt +0 -10262
  68. package/.bmad-core/web-bundles/teams/team-fullstack.txt +0 -9614
  69. package/.bmad-core/web-bundles/teams/team-no-ui.txt +0 -8462
  70. package/expansion-packs/infrastructure-devops/manifest.yml +0 -38
  71. /package/{.bmad-core → bmad-core}/agents/analyst.md +0 -0
  72. /package/{.bmad-core → bmad-core}/agents/architect.md +0 -0
  73. /package/{.bmad-core → bmad-core}/agents/bmad-master.md +0 -0
  74. /package/{.bmad-core → bmad-core}/agents/dev.md +0 -0
  75. /package/{.bmad-core → bmad-core}/agents/pm.md +0 -0
  76. /package/{.bmad-core → bmad-core}/agents/po.md +0 -0
  77. /package/{.bmad-core → bmad-core}/agents/sm.md +0 -0
  78. /package/{.bmad-core → bmad-core}/bmad-core-config.yml +0 -0
  79. /package/{.bmad-core → bmad-core}/checklists/architect-checklist.md +0 -0
  80. /package/{.bmad-core → bmad-core}/checklists/change-checklist.md +0 -0
  81. /package/{.bmad-core → bmad-core}/checklists/pm-checklist.md +0 -0
  82. /package/{.bmad-core → bmad-core}/checklists/po-master-checklist.md +0 -0
  83. /package/{.bmad-core → bmad-core}/checklists/story-dod-checklist.md +0 -0
  84. /package/{.bmad-core → bmad-core}/checklists/story-draft-checklist.md +0 -0
  85. /package/{.bmad-core → bmad-core}/data/bmad-kb.md +0 -0
  86. /package/{.bmad-core → bmad-core}/data/technical-preferences.md +0 -0
  87. /package/{.bmad-core → bmad-core}/tasks/advanced-elicitation.md +0 -0
  88. /package/{.bmad-core → bmad-core}/tasks/brainstorming-techniques.md +0 -0
  89. /package/{.bmad-core → bmad-core}/tasks/brownfield-create-epic.md +0 -0
  90. /package/{.bmad-core → bmad-core}/tasks/brownfield-create-story.md +0 -0
  91. /package/{.bmad-core → bmad-core}/tasks/core-dump.md +0 -0
  92. /package/{.bmad-core → bmad-core}/tasks/correct-course.md +0 -0
  93. /package/{.bmad-core → bmad-core}/tasks/create-deep-research-prompt.md +0 -0
  94. /package/{.bmad-core → bmad-core}/tasks/create-doc.md +0 -0
  95. /package/{.bmad-core → bmad-core}/tasks/create-next-story.md +0 -0
  96. /package/{.bmad-core → bmad-core}/tasks/doc-migration-task.md +0 -0
  97. /package/{.bmad-core → bmad-core}/tasks/document-project.md +0 -0
  98. /package/{.bmad-core → bmad-core}/tasks/execute-checklist.md +0 -0
  99. /package/{.bmad-core → bmad-core}/tasks/generate-ai-frontend-prompt.md +0 -0
  100. /package/{.bmad-core → bmad-core}/tasks/index-docs.md +0 -0
  101. /package/{.bmad-core → bmad-core}/templates/agent-tmpl.md +0 -0
  102. /package/{.bmad-core → bmad-core}/templates/brownfield-prd-tmpl.md +0 -0
  103. /package/{.bmad-core → bmad-core}/templates/competitor-analysis-tmpl.md +0 -0
  104. /package/{.bmad-core → bmad-core}/templates/expansion-pack-plan-tmpl.md +0 -0
  105. /package/{.bmad-core → bmad-core}/templates/front-end-architecture-tmpl.md +0 -0
  106. /package/{.bmad-core → bmad-core}/templates/fullstack-architecture-tmpl.md +0 -0
  107. /package/{.bmad-core → bmad-core}/templates/market-research-tmpl.md +0 -0
  108. /package/{.bmad-core → bmad-core}/templates/prd-tmpl.md +0 -0
  109. /package/{.bmad-core → bmad-core}/templates/project-brief-tmpl.md +0 -0
  110. /package/{.bmad-core → bmad-core}/templates/simple-project-prd-tmpl.md +0 -0
  111. /package/{.bmad-core → bmad-core}/templates/story-tmpl.md +0 -0
  112. /package/{.bmad-core → bmad-core}/templates/web-agent-startup-instructions-template.md +0 -0
  113. /package/{.bmad-core → bmad-core}/utils/template-format.md +0 -0
  114. /package/{.bmad-core → bmad-core}/web-bundles/agents/analyst.txt +0 -0
  115. /package/{.bmad-core → bmad-core}/web-bundles/agents/dev.txt +0 -0
  116. /package/{.bmad-core → bmad-core}/web-bundles/agents/sm.txt +0 -0
  117. /package/{.bmad-core → bmad-core}/workflows/brownfield-fullstack.yml +0 -0
  118. /package/{.bmad-core → bmad-core}/workflows/brownfield-service.yml +0 -0
  119. /package/{.bmad-core → bmad-core}/workflows/brownfield-ui.yml +0 -0
  120. /package/{.bmad-core → bmad-core}/workflows/greenfield-fullstack.yml +0 -0
  121. /package/{.bmad-core → bmad-core}/workflows/greenfield-service.yml +0 -0
  122. /package/{.bmad-core → bmad-core}/workflows/greenfield-ui.yml +0 -0
  123. /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/agents/infra-devops-platform.md +0 -0
  124. /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/checklists/infrastructure-checklist.md +0 -0
  125. /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/create-doc.md +0 -0
  126. /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/review-infrastructure.md +0 -0
  127. /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/tasks/validate-infrastructure.md +0 -0
  128. /package/expansion-packs/{infrastructure-devops → bmad-infrastructure-devops}/templates/infrastructure-architecture-tmpl.md +0 -0
@@ -0,0 +1,235 @@
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}}
@@ -0,0 +1,451 @@
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
+ ```text
126
+
127
+ **Scaling Parameters:**
128
+ - Enemy count: {{start_count}} → {{end_count}}
129
+ - Enemy difficulty: {{start_diff}} → {{end_diff}}
130
+ - Level complexity: {{start_complex}} → {{end_complex}}
131
+ - Time pressure: {{start_time}} → {{end_time}}
132
+
133
+ ### Unlock Requirements
134
+
135
+ [[LLM: Define how players access new levels]]
136
+
137
+ **Progression Gates:**
138
+ - Linear progression: Complete previous level
139
+ - Star requirements: {{star_count}} stars to unlock
140
+ - Skill gates: Demonstrate {{skill_requirement}}
141
+ - Optional content: {{unlock_condition}}
142
+
143
+ ## Level Design Components
144
+
145
+ [[LLM: Define the building blocks used to create levels]]
146
+
147
+ ### Environmental Elements
148
+
149
+ [[LLM: Define all environmental components that can be used in levels]]
150
+
151
+ **Terrain Types:**
152
+ - {{terrain_1}}: {{properties_and_usage}}
153
+ - {{terrain_2}}: {{properties_and_usage}}
154
+
155
+ **Interactive Objects:**
156
+ - {{object_1}}: {{behavior_and_purpose}}
157
+ - {{object_2}}: {{behavior_and_purpose}}
158
+
159
+ **Hazards and Obstacles:**
160
+ - {{hazard_1}}: {{damage_and_behavior}}
161
+ - {{hazard_2}}: {{damage_and_behavior}}
162
+
163
+ ### Collectibles and Rewards
164
+
165
+ [[LLM: Define all collectible items and their placement rules]]
166
+
167
+ **Collectible Types:**
168
+ - {{collectible_1}}: {{value_and_purpose}}
169
+ - {{collectible_2}}: {{value_and_purpose}}
170
+
171
+ **Placement Guidelines:**
172
+ - Mandatory collectibles: {{placement_rules}}
173
+ - Optional collectibles: {{placement_rules}}
174
+ - Secret collectibles: {{placement_rules}}
175
+
176
+ **Reward Distribution:**
177
+ - Easy to find: {{percentage}}%
178
+ - Moderate challenge: {{percentage}}%
179
+ - High skill required: {{percentage}}%
180
+
181
+ ### Enemy Placement Framework
182
+
183
+ [[LLM: Define how enemies should be placed and balanced in levels]]
184
+
185
+ **Enemy Categories:**
186
+ - {{enemy_type_1}}: {{behavior_and_usage}}
187
+ - {{enemy_type_2}}: {{behavior_and_usage}}
188
+
189
+ **Placement Principles:**
190
+ - Introduction encounters: {{guideline}}
191
+ - Standard encounters: {{guideline}}
192
+ - Challenge encounters: {{guideline}}
193
+
194
+ **Difficulty Scaling:**
195
+ - Enemy count progression: {{scaling_rule}}
196
+ - Enemy type introduction: {{pacing_rule}}
197
+ - Encounter complexity: {{complexity_rule}}
198
+
199
+ ## Level Creation Guidelines
200
+
201
+ [[LLM: Provide specific guidelines for creating individual levels]]
202
+
203
+ ### Level Layout Principles
204
+
205
+ **Spatial Design:**
206
+ - Grid size: {{grid_dimensions}}
207
+ - Minimum path width: {{width_units}}
208
+ - Maximum vertical distance: {{height_units}}
209
+ - Safe zones placement: {{safety_guidelines}}
210
+
211
+ **Navigation Design:**
212
+ - Clear path indication: {{visual_cues}}
213
+ - Landmark placement: {{landmark_rules}}
214
+ - Dead end avoidance: {{dead_end_policy}}
215
+ - Multiple path options: {{branching_rules}}
216
+
217
+ ### Pacing and Flow
218
+
219
+ [[LLM: Define how to control the rhythm and pace of gameplay within levels]]
220
+
221
+ **Action Sequences:**
222
+ - High intensity duration: {{max_duration}}
223
+ - Rest period requirement: {{min_rest_time}}
224
+ - Intensity variation: {{pacing_pattern}}
225
+
226
+ **Learning Sequences:**
227
+ - New mechanic introduction: {{teaching_method}}
228
+ - Practice opportunity: {{practice_duration}}
229
+ - Skill application: {{application_context}}
230
+
231
+ ### Challenge Design
232
+
233
+ [[LLM: Define how to create appropriate challenges for each level type]]
234
+
235
+ **Challenge Types:**
236
+ - Execution challenges: {{skill_requirements}}
237
+ - Puzzle challenges: {{complexity_guidelines}}
238
+ - Time challenges: {{time_pressure_rules}}
239
+ - Resource challenges: {{resource_management}}
240
+
241
+ **Difficulty Calibration:**
242
+ - Skill check frequency: {{frequency_guidelines}}
243
+ - Failure recovery: {{retry_mechanics}}
244
+ - Hint system integration: {{help_system}}
245
+
246
+ ## Technical Implementation
247
+
248
+ [[LLM: Define technical requirements for level implementation]]
249
+
250
+ ### Level Data Structure
251
+
252
+ [[LLM: Define how level data should be structured for implementation]]
253
+
254
+ **Level File Format:**
255
+ - Data format: {{json|yaml|custom}}
256
+ - File naming: `level_{{world}}_{{number}}.{{extension}}`
257
+ - Data organization: {{structure_description}}
258
+
259
+ **Required Data Fields:**
260
+ ```json
261
+ {
262
+ "levelId": "{{unique_identifier}}",
263
+ "worldId": "{{world_identifier}}",
264
+ "difficulty": {{difficulty_value}},
265
+ "targetTime": {{completion_time_seconds}},
266
+ "objectives": {
267
+ "primary": "{{primary_objective}}",
268
+ "secondary": ["{{secondary_objectives}}"],
269
+ "hidden": ["{{secret_objectives}}"]
270
+ },
271
+ "layout": {
272
+ "width": {{grid_width}},
273
+ "height": {{grid_height}},
274
+ "tilemap": "{{tilemap_reference}}"
275
+ },
276
+ "entities": [
277
+ {
278
+ "type": "{{entity_type}}",
279
+ "position": {"x": {{x}}, "y": {{y}}},
280
+ "properties": {{entity_properties}}
281
+ }
282
+ ]
283
+ }
284
+ ````
285
+
286
+ ### Asset Integration
287
+
288
+ [[LLM: Define how level assets are organized and loaded]]
289
+
290
+ **Tilemap Requirements:**
291
+
292
+ - Tile size: {{tile_dimensions}}px
293
+ - Tileset organization: {{tileset_structure}}
294
+ - Layer organization: {{layer_system}}
295
+ - Collision data: {{collision_format}}
296
+
297
+ **Audio Integration:**
298
+
299
+ - Background music: {{music_requirements}}
300
+ - Ambient sounds: {{ambient_system}}
301
+ - Dynamic audio: {{dynamic_audio_rules}}
302
+
303
+ ### Performance Optimization
304
+
305
+ [[LLM: Define performance requirements for level systems]]
306
+
307
+ **Entity Limits:**
308
+
309
+ - Maximum active entities: {{entity_limit}}
310
+ - Maximum particles: {{particle_limit}}
311
+ - Maximum audio sources: {{audio_limit}}
312
+
313
+ **Memory Management:**
314
+
315
+ - Texture memory budget: {{texture_memory}}MB
316
+ - Audio memory budget: {{audio_memory}}MB
317
+ - Level loading time: <{{load_time}}s
318
+
319
+ **Culling and LOD:**
320
+
321
+ - Off-screen culling: {{culling_distance}}
322
+ - Level-of-detail rules: {{lod_system}}
323
+ - Asset streaming: {{streaming_requirements}}
324
+
325
+ ## Level Testing Framework
326
+
327
+ [[LLM: Define how levels should be tested and validated]]
328
+
329
+ ### Automated Testing
330
+
331
+ **Performance Testing:**
332
+
333
+ - Frame rate validation: Maintain {{fps_target}} FPS
334
+ - Memory usage monitoring: Stay under {{memory_limit}}MB
335
+ - Loading time verification: Complete in <{{load_time}}s
336
+
337
+ **Gameplay Testing:**
338
+
339
+ - Completion path validation: All objectives achievable
340
+ - Collectible accessibility: All items reachable
341
+ - Softlock prevention: No unwinnable states
342
+
343
+ ### Manual Testing Protocol
344
+
345
+ **Playtesting Checklist:**
346
+
347
+ - [ ] Level completes within target time range
348
+ - [ ] All mechanics function correctly
349
+ - [ ] Difficulty feels appropriate for level category
350
+ - [ ] Player guidance is clear and effective
351
+ - [ ] No exploits or sequence breaks (unless intended)
352
+
353
+ **Player Experience Testing:**
354
+
355
+ - [ ] Tutorial levels teach effectively
356
+ - [ ] Challenge feels fair and rewarding
357
+ - [ ] Flow and pacing maintain engagement
358
+ - [ ] Audio and visual feedback support gameplay
359
+
360
+ ### Balance Validation
361
+
362
+ **Metrics Collection:**
363
+
364
+ - Completion rate: Target {{completion_percentage}}%
365
+ - Average completion time: {{target_time}} ± {{variance}}
366
+ - Death count per level: <{{max_deaths}}
367
+ - Collectible discovery rate: {{discovery_percentage}}%
368
+
369
+ **Iteration Guidelines:**
370
+
371
+ - Adjustment criteria: {{criteria_for_changes}}
372
+ - Testing sample size: {{minimum_testers}}
373
+ - Validation period: {{testing_duration}}
374
+
375
+ ## Content Creation Pipeline
376
+
377
+ [[LLM: Define the workflow for creating new levels]]
378
+
379
+ ### Design Phase
380
+
381
+ **Concept Development:**
382
+
383
+ 1. Define level purpose and goals
384
+ 2. Create rough layout sketch
385
+ 3. Identify key mechanics and challenges
386
+ 4. Estimate difficulty and duration
387
+
388
+ **Documentation Requirements:**
389
+
390
+ - Level design brief
391
+ - Layout diagrams
392
+ - Mechanic integration notes
393
+ - Asset requirement list
394
+
395
+ ### Implementation Phase
396
+
397
+ **Technical Implementation:**
398
+
399
+ 1. Create level data file
400
+ 2. Build tilemap and layout
401
+ 3. Place entities and objects
402
+ 4. Configure level logic and triggers
403
+ 5. Integrate audio and visual effects
404
+
405
+ **Quality Assurance:**
406
+
407
+ 1. Automated testing execution
408
+ 2. Internal playtesting
409
+ 3. Performance validation
410
+ 4. Bug fixing and polish
411
+
412
+ ### Integration Phase
413
+
414
+ **Game Integration:**
415
+
416
+ 1. Level progression integration
417
+ 2. Save system compatibility
418
+ 3. Analytics integration
419
+ 4. Achievement system integration
420
+
421
+ **Final Validation:**
422
+
423
+ 1. Full game context testing
424
+ 2. Performance regression testing
425
+ 3. Platform compatibility verification
426
+ 4. Final approval and release
427
+
428
+ ## Success Metrics
429
+
430
+ [[LLM: Define how to measure level design success]]
431
+
432
+ **Player Engagement:**
433
+
434
+ - Level completion rate: {{target_rate}}%
435
+ - Replay rate: {{replay_target}}%
436
+ - Time spent per level: {{engagement_time}}
437
+ - Player satisfaction scores: {{satisfaction_target}}/10
438
+
439
+ **Technical Performance:**
440
+
441
+ - Frame rate consistency: {{fps_consistency}}%
442
+ - Loading time compliance: {{load_compliance}}%
443
+ - Memory usage efficiency: {{memory_efficiency}}%
444
+ - Crash rate: <{{crash_threshold}}%
445
+
446
+ **Design Quality:**
447
+
448
+ - Difficulty curve adherence: {{curve_accuracy}}
449
+ - Mechanic integration effectiveness: {{integration_score}}
450
+ - Player guidance clarity: {{guidance_score}}
451
+ - Content accessibility: {{accessibility_rate}}%