@zeyue0329/xiaoma-cli 1.0.8 → 1.0.10

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 (326) hide show
  1. package/.github/FORK_GUIDE.md +106 -0
  2. package/.github/FUNDING.yaml +15 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
  4. package/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
  5. package/.github/workflows/discord.yaml +26 -0
  6. package/.github/workflows/format-check.yaml +44 -0
  7. package/.github/workflows/manual-release.yaml +174 -0
  8. package/.github/workflows/pr-validation.yaml +55 -0
  9. package/.husky/pre-commit +3 -0
  10. package/.vscode/settings.json +26 -1
  11. package/CHANGELOG.md +686 -0
  12. package/CONTRIBUTING.md +250 -0
  13. package/LICENSE +6 -1
  14. package/common/tasks/create-doc.md +2 -0
  15. package/common/tasks/execute-checklist.md +2 -7
  16. package/common/utils/bmad-doc-template.md +7 -5
  17. package/common/utils/workflow-management.md +2 -0
  18. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +2103 -0
  19. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +1627 -0
  20. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +822 -0
  21. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +8486 -0
  22. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +3210 -0
  23. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +3244 -0
  24. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +317 -0
  25. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +982 -0
  26. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +12854 -0
  27. package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +921 -0
  28. package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +81 -0
  29. package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +886 -0
  30. package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
  31. package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +903 -0
  32. package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +837 -0
  33. package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +989 -0
  34. package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +888 -0
  35. package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1173 -0
  36. package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +914 -0
  37. package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +6071 -0
  38. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2079 -0
  39. package/docs/GUIDING-PRINCIPLES.md +91 -0
  40. package/docs/core-architecture.md +219 -0
  41. package/docs/enhanced-ide-development-workflow.md +248 -0
  42. package/docs/expansion-packs.md +200 -0
  43. package/docs/how-to-contribute-with-pull-requests.md +158 -0
  44. package/docs/user-guide.md +530 -0
  45. package/docs/versioning-and-releases.md +155 -0
  46. package/docs/versions.md +48 -0
  47. package/docs/working-in-the-brownfield.md +597 -0
  48. package/eslint.config.mjs +119 -0
  49. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +14 -0
  50. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +73 -0
  51. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +80 -0
  52. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +66 -0
  53. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +203 -0
  54. package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +162 -0
  55. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +9 -0
  56. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +252 -0
  57. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +649 -0
  58. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +112 -0
  59. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +218 -0
  60. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +292 -0
  61. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +614 -0
  62. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +357 -0
  63. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +344 -0
  64. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +254 -0
  65. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +485 -0
  66. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +184 -0
  67. package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +176 -0
  68. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +15 -0
  69. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +82 -0
  70. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +79 -0
  71. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +80 -0
  72. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +67 -0
  73. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +393 -0
  74. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +205 -0
  75. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +203 -0
  76. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +126 -0
  77. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +7 -0
  78. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +771 -0
  79. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +588 -0
  80. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +112 -0
  81. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +143 -0
  82. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +186 -0
  83. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +292 -0
  84. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +202 -0
  85. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +1031 -0
  86. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +357 -0
  87. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +706 -0
  88. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +257 -0
  89. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +485 -0
  90. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +184 -0
  91. package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +176 -0
  92. package/expansion-packs/bmad-creative-writing/README.md +146 -0
  93. package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +20 -0
  94. package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +94 -0
  95. package/expansion-packs/bmad-creative-writing/agents/book-critic.md +40 -0
  96. package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +93 -0
  97. package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +46 -0
  98. package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +92 -0
  99. package/expansion-packs/bmad-creative-writing/agents/editor.md +93 -0
  100. package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +95 -0
  101. package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +93 -0
  102. package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +95 -0
  103. package/expansion-packs/bmad-creative-writing/agents/world-builder.md +94 -0
  104. package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +23 -0
  105. package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +23 -0
  106. package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +23 -0
  107. package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +23 -0
  108. package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +21 -0
  109. package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +23 -0
  110. package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +23 -0
  111. package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +22 -0
  112. package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +22 -0
  113. package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +23 -0
  114. package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +23 -0
  115. package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +25 -0
  116. package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +23 -0
  117. package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +23 -0
  118. package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +23 -0
  119. package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +23 -0
  120. package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +59 -0
  121. package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +23 -0
  122. package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +23 -0
  123. package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +23 -0
  124. package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +22 -0
  125. package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +23 -0
  126. package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +23 -0
  127. package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +23 -0
  128. package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +23 -0
  129. package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +23 -0
  130. package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +23 -0
  131. package/expansion-packs/bmad-creative-writing/config.yaml +12 -0
  132. package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +209 -0
  133. package/expansion-packs/bmad-creative-writing/data/story-structures.md +67 -0
  134. package/expansion-packs/bmad-creative-writing/docs/brief.md +212 -0
  135. package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +119 -0
  136. package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +23 -0
  137. package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +67 -0
  138. package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +29 -0
  139. package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +23 -0
  140. package/expansion-packs/bmad-creative-writing/tasks/build-world.md +24 -0
  141. package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +22 -0
  142. package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +103 -0
  143. package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +26 -0
  144. package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +26 -0
  145. package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +24 -0
  146. package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +88 -0
  147. package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +23 -0
  148. package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +23 -0
  149. package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +23 -0
  150. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +25 -0
  151. package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +26 -0
  152. package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +23 -0
  153. package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +25 -0
  154. package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +23 -0
  155. package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +24 -0
  156. package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +23 -0
  157. package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +22 -0
  158. package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +23 -0
  159. package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +64 -0
  160. package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +97 -0
  161. package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +82 -0
  162. package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
  163. package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +98 -0
  164. package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +78 -0
  165. package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +55 -0
  166. package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
  167. package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +89 -0
  168. package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +218 -0
  169. package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +56 -0
  170. package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +50 -0
  171. package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
  172. package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +91 -0
  173. package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +85 -0
  174. package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +78 -0
  175. package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +64 -0
  176. package/expansion-packs/bmad-infrastructure-devops/README.md +147 -0
  177. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +73 -0
  178. package/expansion-packs/bmad-infrastructure-devops/checklists/infrastructure-checklist.md +486 -0
  179. package/expansion-packs/bmad-infrastructure-devops/config.yaml +10 -0
  180. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +307 -0
  181. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +161 -0
  182. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +155 -0
  183. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +425 -0
  184. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +630 -0
  185. package/implement-fork-friendly-ci.sh +229 -0
  186. package/package.json +75 -45
  187. package/prettier.config.mjs +32 -0
  188. package/test.md +1 -0
  189. package/tools/builders/web-builder.js +143 -149
  190. package/tools/bump-all-versions.js +42 -33
  191. package/tools/bump-expansion-version.js +23 -16
  192. package/tools/cli.js +15 -15
  193. package/tools/flattener/aggregate.js +76 -0
  194. package/tools/flattener/binary.js +80 -0
  195. package/tools/flattener/discovery.js +71 -0
  196. package/tools/flattener/files.js +35 -0
  197. package/tools/flattener/ignoreRules.js +176 -0
  198. package/tools/flattener/main.js +458 -460
  199. package/tools/flattener/projectRoot.js +206 -0
  200. package/tools/flattener/prompts.js +44 -0
  201. package/tools/flattener/stats.helpers.js +395 -0
  202. package/tools/flattener/stats.js +80 -0
  203. package/tools/flattener/test-matrix.js +413 -0
  204. package/tools/flattener/xml.js +88 -0
  205. package/tools/installer/README.md +1 -1
  206. package/tools/installer/bin/xiaoma.js +390 -150
  207. package/tools/installer/config/ide-agent-config.yaml +1 -1
  208. package/tools/installer/config/install.config.yaml +60 -9
  209. package/tools/installer/lib/config-loader.js +55 -51
  210. package/tools/installer/lib/file-manager.js +92 -117
  211. package/tools/installer/lib/ide-base-setup.js +57 -56
  212. package/tools/installer/lib/ide-setup.js +821 -414
  213. package/tools/installer/lib/installer.js +924 -699
  214. package/tools/installer/lib/memory-profiler.js +54 -53
  215. package/tools/installer/lib/module-manager.js +19 -15
  216. package/tools/installer/lib/resource-locator.js +31 -33
  217. package/tools/installer/package.json +24 -23
  218. package/tools/lib/dependency-resolver.js +39 -43
  219. package/tools/lib/yaml-utils.js +7 -7
  220. package/tools/md-assets/web-agent-startup-instructions.md +6 -6
  221. package/tools/preview-release-notes.js +66 -0
  222. package/tools/setup-hooks.sh +37 -0
  223. package/tools/shared/bannerArt.js +105 -0
  224. package/tools/sync-installer-version.js +7 -9
  225. package/tools/sync-version.sh +23 -0
  226. package/tools/update-expansion-version.js +14 -15
  227. package/tools/upgraders/v3-to-v4-upgrader.js +203 -294
  228. package/tools/version-bump.js +41 -26
  229. package/tools/xiaoma-npx-wrapper.js +14 -14
  230. package/tools/yaml-format.js +56 -43
  231. package/xiaoma-core/agent-teams/team-all.yaml +3 -2
  232. package/xiaoma-core/agent-teams/team-fullstack.yaml +2 -1
  233. package/xiaoma-core/agent-teams/team-ide-minimal.yaml +1 -0
  234. package/xiaoma-core/agent-teams/team-no-ui.yaml +2 -1
  235. package/xiaoma-core/agents/analyst.md +20 -17
  236. package/xiaoma-core/agents/architect.md +15 -14
  237. package/xiaoma-core/agents/{xiaoma-master.md → bmad-master.md} +29 -27
  238. package/xiaoma-core/agents/{xiaoma-orchestrator.md → bmad-orchestrator.md} +36 -39
  239. package/xiaoma-core/agents/dev.md +23 -18
  240. package/xiaoma-core/agents/pm.md +18 -15
  241. package/xiaoma-core/agents/po.md +13 -10
  242. package/xiaoma-core/agents/qa.md +46 -24
  243. package/xiaoma-core/agents/sm.md +11 -8
  244. package/xiaoma-core/agents/ux-expert.md +10 -7
  245. package/xiaoma-core/checklists/architect-checklist.md +2 -5
  246. package/xiaoma-core/checklists/change-checklist.md +4 -2
  247. package/xiaoma-core/checklists/pm-checklist.md +2 -5
  248. package/xiaoma-core/checklists/po-master-checklist.md +2 -9
  249. package/xiaoma-core/checklists/story-dod-checklist.md +2 -7
  250. package/xiaoma-core/checklists/story-draft-checklist.md +2 -3
  251. package/xiaoma-core/core-config.yaml +4 -1
  252. package/xiaoma-core/data/{xiaoma-kb.md → bmad-kb.md} +48 -42
  253. package/xiaoma-core/data/brainstorming-techniques.md +2 -0
  254. package/xiaoma-core/data/elicitation-methods.md +22 -0
  255. package/xiaoma-core/data/technical-preferences.md +2 -0
  256. package/xiaoma-core/data/test-levels-framework.md +148 -0
  257. package/xiaoma-core/data/test-priorities-matrix.md +174 -0
  258. package/xiaoma-core/tasks/advanced-elicitation.md +2 -0
  259. package/xiaoma-core/tasks/apply-qa-fixes.md +150 -0
  260. package/xiaoma-core/tasks/brownfield-create-epic.md +2 -0
  261. package/xiaoma-core/tasks/brownfield-create-story.md +2 -0
  262. package/xiaoma-core/tasks/correct-course.md +2 -0
  263. package/xiaoma-core/tasks/create-brownfield-story.md +14 -4
  264. package/xiaoma-core/tasks/create-deep-research-prompt.md +2 -11
  265. package/xiaoma-core/tasks/create-next-story.md +3 -1
  266. package/xiaoma-core/tasks/document-project.md +17 -13
  267. package/xiaoma-core/tasks/facilitate-brainstorming-session.md +5 -3
  268. package/xiaoma-core/tasks/generate-ai-frontend-prompt.md +2 -0
  269. package/xiaoma-core/tasks/index-docs.md +2 -6
  270. package/xiaoma-core/tasks/kb-mode-interaction.md +17 -15
  271. package/xiaoma-core/tasks/nfr-assess.md +345 -0
  272. package/xiaoma-core/tasks/qa-gate.md +163 -0
  273. package/xiaoma-core/tasks/review-story.md +245 -74
  274. package/xiaoma-core/tasks/risk-profile.md +355 -0
  275. package/xiaoma-core/tasks/shard-doc.md +2 -2
  276. package/xiaoma-core/tasks/test-design.md +176 -0
  277. package/xiaoma-core/tasks/trace-requirements.md +266 -0
  278. package/xiaoma-core/tasks/validate-next-story.md +5 -3
  279. package/xiaoma-core/templates/architecture-tmpl.yaml +50 -49
  280. package/xiaoma-core/templates/brainstorming-output-tmpl.yaml +5 -5
  281. package/xiaoma-core/templates/brownfield-architecture-tmpl.yaml +32 -31
  282. package/xiaoma-core/templates/brownfield-prd-tmpl.yaml +14 -13
  283. package/xiaoma-core/templates/competitor-analysis-tmpl.yaml +20 -6
  284. package/xiaoma-core/templates/front-end-architecture-tmpl.yaml +22 -9
  285. package/xiaoma-core/templates/front-end-spec-tmpl.yaml +25 -24
  286. package/xiaoma-core/templates/fullstack-architecture-tmpl.yaml +123 -104
  287. package/xiaoma-core/templates/market-research-tmpl.yaml +3 -2
  288. package/xiaoma-core/templates/prd-tmpl.yaml +10 -9
  289. package/xiaoma-core/templates/project-brief-tmpl.yaml +5 -4
  290. package/xiaoma-core/templates/qa-gate-tmpl.yaml +103 -0
  291. package/xiaoma-core/templates/story-tmpl.yaml +13 -12
  292. package/xiaoma-core/workflows/brownfield-fullstack.yaml +13 -12
  293. package/xiaoma-core/workflows/brownfield-service.yaml +5 -4
  294. package/xiaoma-core/workflows/brownfield-ui.yaml +5 -4
  295. package/xiaoma-core/workflows/greenfield-fullstack.yaml +7 -6
  296. package/xiaoma-core/workflows/greenfield-service.yaml +5 -4
  297. package/xiaoma-core/workflows/greenfield-ui.yaml +6 -5
  298. package/.releaserc.json +0 -18
  299. package/README.md +0 -532
  300. package/XiaoMa-Web/345/244/232/346/231/272/350/203/275/344/275/2230-1/351/241/271/347/233/256/345/274/200/345/217/221/345/256/214/346/225/264/346/214/207/345/215/227.md +0 -977
  301. package/XiaoMa-Web/347/216/260/346/234/211/351/241/271/347/233/256/351/234/200/346/261/202/345/274/200/345/217/221/345/256/214/346/225/264/346/214/207/345/215/227.md +0 -873
  302. package/XiaoMa-Web/347/272/257/345/211/215/347/253/257/351/241/271/347/233/256Claude-Code/345/274/200/345/217/221/345/256/214/346/225/264/346/214/207/345/215/227.md +0 -372
  303. package/XiaoMa-Web/351/241/271/347/233/256/346/200/273/347/273/223/346/212/245/345/221/212.md +0 -310
  304. package/dist/agents/analyst.txt +0 -2882
  305. package/dist/agents/architect.txt +0 -3543
  306. package/dist/agents/dev-cn.txt +0 -428
  307. package/dist/agents/dev.txt +0 -428
  308. package/dist/agents/pm.txt +0 -2229
  309. package/dist/agents/po.txt +0 -1364
  310. package/dist/agents/qa.txt +0 -386
  311. package/dist/agents/sm.txt +0 -668
  312. package/dist/agents/ux-expert.txt +0 -701
  313. package/dist/agents/xiaoma-master.txt +0 -8756
  314. package/dist/agents/xiaoma-orchestrator.txt +0 -1490
  315. package/dist/teams/team-all.txt +0 -11062
  316. package/dist/teams/team-fullstack.txt +0 -10392
  317. package/dist/teams/team-ide-minimal.txt +0 -3507
  318. package/dist/teams/team-no-ui.txt +0 -8951
  319. package/docs/quick-start.md +0 -179
  320. package/tools/bmad-npx-wrapper.js +0 -39
  321. package/tools/installer/package-lock.json +0 -704
  322. package/tools/semantic-release-sync-installer.js +0 -30
  323. package/xiaoma-core/bmad-core/user-guide.md +0 -0
  324. package/xiaoma-core/enhanced-ide-development-workflow.md +0 -43
  325. package/xiaoma-core/user-guide.md +0 -251
  326. package/xiaoma-core/working-in-the-brownfield.md +0 -364
@@ -0,0 +1,112 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Advanced Game Design Elicitation Task
4
+
5
+ ## Purpose
6
+
7
+ - Provide optional reflective and brainstorming actions to enhance game design content quality
8
+ - Enable deeper exploration of game mechanics and player experience through structured elicitation techniques
9
+ - Support iterative refinement through multiple game development perspectives
10
+ - Apply game-specific critical thinking to design decisions
11
+
12
+ ## Task Instructions
13
+
14
+ ### 1. Game Design Context and Review
15
+
16
+ [[LLM: When invoked after outputting a game design section:
17
+
18
+ 1. First, provide a brief 1-2 sentence summary of what the user should look for in the section just presented, with game-specific focus (e.g., "Please review the core mechanics for player engagement and implementation feasibility. Pay special attention to how these mechanics create the intended player experience and whether they're technically achievable with Phaser 3.")
19
+
20
+ 2. If the section contains game flow diagrams, level layouts, or system diagrams, explain each diagram briefly with game development context before offering elicitation options (e.g., "The gameplay loop diagram shows how player actions lead to rewards and progression. Notice how each step maintains player engagement and creates opportunities for skill development.")
21
+
22
+ 3. If the section contains multiple game elements (like multiple mechanics, multiple levels, multiple systems, etc.), inform the user they can apply elicitation actions to:
23
+ - The entire section as a whole
24
+ - Individual game elements within the section (specify which element when selecting an action)
25
+
26
+ 4. Then present the action list as specified below.]]
27
+
28
+ ### 2. Ask for Review and Present Game Design Action List
29
+
30
+ [[LLM: Ask the user to review the drafted game design section. In the SAME message, inform them that they can suggest additions, removals, or modifications, OR they can select an action by number from the 'Advanced Game Design Elicitation & Brainstorming Actions'. If there are multiple game elements in the section, mention they can specify which element(s) to apply the action to. Then, present ONLY the numbered list (0-9) of these actions. Conclude by stating that selecting 9 will proceed to the next section. Await user selection. If an elicitation action (0-8) is chosen, execute it and then re-offer this combined review/elicitation choice. If option 9 is chosen, or if the user provides direct feedback, proceed accordingly.]]
31
+
32
+ **Present the numbered list (0-9) with this exact format:**
33
+
34
+ ```text
35
+ **Advanced Game Design Elicitation & Brainstorming Actions**
36
+ Choose an action (0-9 - 9 to bypass - HELP for explanation of these options):
37
+
38
+ 0. Expand or Contract for Target Audience
39
+ 1. Explain Game Design Reasoning (Step-by-Step)
40
+ 2. Critique and Refine from Player Perspective
41
+ 3. Analyze Game Flow and Mechanic Dependencies
42
+ 4. Assess Alignment with Player Experience Goals
43
+ 5. Identify Potential Player Confusion and Design Risks
44
+ 6. Challenge from Critical Game Design Perspective
45
+ 7. Explore Alternative Game Design Approaches
46
+ 8. Hindsight Postmortem: The 'If Only...' Game Design Reflection
47
+ 9. Proceed / No Further Actions
48
+ ```
49
+
50
+ ### 2. Processing Guidelines
51
+
52
+ **Do NOT show:**
53
+
54
+ - The full protocol text with `[[LLM: ...]]` instructions
55
+ - Detailed explanations of each option unless executing or the user asks, when giving the definition you can modify to tie its game development relevance
56
+ - Any internal template markup
57
+
58
+ **After user selection from the list:**
59
+
60
+ - Execute the chosen action according to the game design protocol instructions below
61
+ - Ask if they want to select another action or proceed with option 9 once complete
62
+ - Continue until user selects option 9 or indicates completion
63
+
64
+ ## Game Design Action Definitions
65
+
66
+ 0. Expand or Contract for Target Audience
67
+ [[LLM: Ask the user whether they want to 'expand' on the game design content (add more detail, elaborate on mechanics, include more examples) or 'contract' it (simplify mechanics, focus on core features, reduce complexity). Also, ask if there's a specific player demographic or experience level they have in mind (casual players, hardcore gamers, children, etc.). Once clarified, perform the expansion or contraction from your current game design role's perspective, tailored to the specified player audience if provided.]]
68
+
69
+ 1. Explain Game Design Reasoning (Step-by-Step)
70
+ [[LLM: Explain the step-by-step game design thinking process that you used to arrive at the current proposal for this game content. Focus on player psychology, engagement mechanics, technical feasibility, and how design decisions support the overall player experience goals.]]
71
+
72
+ 2. Critique and Refine from Player Perspective
73
+ [[LLM: From your current game design role's perspective, review your last output or the current section for potential player confusion, engagement issues, balance problems, or areas for improvement. Consider how players will actually interact with and experience these systems, then suggest a refined version that better serves player enjoyment and understanding.]]
74
+
75
+ 3. Analyze Game Flow and Mechanic Dependencies
76
+ [[LLM: From your game design role's standpoint, examine the content's structure for logical gameplay progression, mechanic interdependencies, and player learning curve. Confirm if game elements are introduced in an effective order that teaches players naturally and maintains engagement throughout the experience.]]
77
+
78
+ 4. Assess Alignment with Player Experience Goals
79
+ [[LLM: Evaluate how well the current game design content contributes to the stated player experience goals and core game pillars. Consider whether the mechanics actually create the intended emotions and engagement patterns. Identify any misalignments between design intentions and likely player reactions.]]
80
+
81
+ 5. Identify Potential Player Confusion and Design Risks
82
+ [[LLM: Based on your game design expertise, brainstorm potential sources of player confusion, overlooked edge cases in gameplay, balance issues, technical implementation risks, or unintended player behaviors that could emerge from the current design. Consider both new and experienced players' perspectives.]]
83
+
84
+ 6. Challenge from Critical Game Design Perspective
85
+ [[LLM: Adopt a critical game design perspective on the current content. If the user specifies another viewpoint (e.g., 'as a casual player', 'as a speedrunner', 'as a mobile player', 'as a technical implementer'), critique the content from that specified perspective. If no other role is specified, play devil's advocate from your game design expertise, arguing against the current design proposal and highlighting potential weaknesses, player experience issues, or implementation challenges. This can include questioning scope creep, unnecessary complexity, or features that don't serve the core player experience.]]
86
+
87
+ 7. Explore Alternative Game Design Approaches
88
+ [[LLM: From your game design role's perspective, first broadly brainstorm a range of diverse approaches to achieving the same player experience goals or solving the same design challenge. Consider different genres, mechanics, interaction models, or technical approaches. Then, from this wider exploration, select and present 2-3 distinct alternative design approaches, detailing the pros, cons, player experience implications, and technical feasibility you foresee for each.]]
89
+
90
+ 8. Hindsight Postmortem: The 'If Only...' Game Design Reflection
91
+ [[LLM: In your current game design persona, imagine this is a postmortem for a shipped game based on the current design content. What's the one 'if only we had designed/considered/tested X...' that your role would highlight from a game design perspective? Include the imagined player reactions, review scores, or development consequences. This should be both insightful and somewhat humorous, focusing on common game design pitfalls.]]
92
+
93
+ 9. Proceed / No Further Actions
94
+ [[LLM: Acknowledge the user's choice to finalize the current game design work, accept the AI's last output as is, or move on to the next step without selecting another action from this list. Prepare to proceed accordingly.]]
95
+
96
+ ## Game Development Context Integration
97
+
98
+ This elicitation task is specifically designed for game development and should be used in contexts where:
99
+
100
+ - **Game Mechanics Design**: When defining core gameplay systems and player interactions
101
+ - **Player Experience Planning**: When designing for specific emotional responses and engagement patterns
102
+ - **Technical Game Architecture**: When balancing design ambitions with implementation realities
103
+ - **Game Balance and Progression**: When designing difficulty curves and player advancement systems
104
+ - **Platform Considerations**: When adapting designs for different devices and input methods
105
+
106
+ The questions and perspectives offered should always consider:
107
+
108
+ - Player psychology and motivation
109
+ - Technical feasibility with Phaser 3 and TypeScript
110
+ - Performance implications for 60 FPS targets
111
+ - Cross-platform compatibility (desktop and mobile)
112
+ - Game development best practices and common pitfalls
@@ -0,0 +1,218 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Create Game Development Story Task
4
+
5
+ ## Purpose
6
+
7
+ Create detailed, actionable game development stories that enable AI developers to implement specific game features without requiring additional design decisions.
8
+
9
+ ## When to Use
10
+
11
+ - Breaking down game epics into implementable stories
12
+ - Converting GDD features into development tasks
13
+ - Preparing work for game developers
14
+ - Ensuring clear handoffs from design to development
15
+
16
+ ## Prerequisites
17
+
18
+ Before creating stories, ensure you have:
19
+
20
+ - Completed Game Design Document (GDD)
21
+ - Game Architecture Document
22
+ - Epic definition this story belongs to
23
+ - Clear understanding of the specific game feature
24
+
25
+ ## Process
26
+
27
+ ### 1. Story Identification
28
+
29
+ **Review Epic Context:**
30
+
31
+ - Understand the epic's overall goal
32
+ - Identify specific features that need implementation
33
+ - Review any existing stories in the epic
34
+ - Ensure no duplicate work
35
+
36
+ **Feature Analysis:**
37
+
38
+ - Reference specific GDD sections
39
+ - Understand player experience goals
40
+ - Identify technical complexity
41
+ - Estimate implementation scope
42
+
43
+ ### 2. Story Scoping
44
+
45
+ **Single Responsibility:**
46
+
47
+ - Focus on one specific game feature
48
+ - Ensure story is completable in 1-3 days
49
+ - Break down complex features into multiple stories
50
+ - Maintain clear boundaries with other stories
51
+
52
+ **Implementation Clarity:**
53
+
54
+ - Define exactly what needs to be built
55
+ - Specify all technical requirements
56
+ - Include all necessary integration points
57
+ - Provide clear success criteria
58
+
59
+ ### 3. Template Execution
60
+
61
+ **Load Template:**
62
+ Use `{root}/templates/game-story-tmpl.md` following all embedded LLM instructions
63
+
64
+ **Key Focus Areas:**
65
+
66
+ - Clear, actionable description
67
+ - Specific acceptance criteria
68
+ - Detailed technical specifications
69
+ - Complete implementation task list
70
+ - Comprehensive testing requirements
71
+
72
+ ### 4. Story Validation
73
+
74
+ **Technical Review:**
75
+
76
+ - Verify all technical specifications are complete
77
+ - Ensure integration points are clearly defined
78
+ - Confirm file paths match architecture
79
+ - Validate TypeScript interfaces and classes
80
+
81
+ **Game Design Alignment:**
82
+
83
+ - Confirm story implements GDD requirements
84
+ - Verify player experience goals are met
85
+ - Check balance parameters are included
86
+ - Ensure game mechanics are correctly interpreted
87
+
88
+ **Implementation Readiness:**
89
+
90
+ - All dependencies identified
91
+ - Assets requirements specified
92
+ - Testing criteria defined
93
+ - Definition of Done complete
94
+
95
+ ### 5. Quality Assurance
96
+
97
+ **Apply Checklist:**
98
+ Execute `{root}/checklists/game-story-dod-checklist.md` against completed story
99
+
100
+ **Story Criteria:**
101
+
102
+ - Story is immediately actionable
103
+ - No design decisions left to developer
104
+ - Technical requirements are complete
105
+ - Testing requirements are comprehensive
106
+ - Performance requirements are specified
107
+
108
+ ### 6. Story Refinement
109
+
110
+ **Developer Perspective:**
111
+
112
+ - Can a developer start implementation immediately?
113
+ - Are all technical questions answered?
114
+ - Is the scope appropriate for the estimated points?
115
+ - Are all dependencies clearly identified?
116
+
117
+ **Iterative Improvement:**
118
+
119
+ - Address any gaps or ambiguities
120
+ - Clarify complex technical requirements
121
+ - Ensure story fits within epic scope
122
+ - Verify story points estimation
123
+
124
+ ## Story Elements Checklist
125
+
126
+ ### Required Sections
127
+
128
+ - [ ] Clear, specific description
129
+ - [ ] Complete acceptance criteria (functional, technical, game design)
130
+ - [ ] Detailed technical specifications
131
+ - [ ] File creation/modification list
132
+ - [ ] TypeScript interfaces and classes
133
+ - [ ] Integration point specifications
134
+ - [ ] Ordered implementation tasks
135
+ - [ ] Comprehensive testing requirements
136
+ - [ ] Performance criteria
137
+ - [ ] Dependencies clearly identified
138
+ - [ ] Definition of Done checklist
139
+
140
+ ### Game-Specific Requirements
141
+
142
+ - [ ] GDD section references
143
+ - [ ] Game mechanic implementation details
144
+ - [ ] Player experience goals
145
+ - [ ] Balance parameters
146
+ - [ ] Phaser 3 specific requirements
147
+ - [ ] Performance targets (60 FPS)
148
+ - [ ] Cross-platform considerations
149
+
150
+ ### Technical Quality
151
+
152
+ - [ ] TypeScript strict mode compliance
153
+ - [ ] Architecture document alignment
154
+ - [ ] Code organization follows standards
155
+ - [ ] Error handling requirements
156
+ - [ ] Memory management considerations
157
+ - [ ] Testing strategy defined
158
+
159
+ ## Common Pitfalls
160
+
161
+ **Scope Issues:**
162
+
163
+ - Story too large (break into multiple stories)
164
+ - Story too vague (add specific requirements)
165
+ - Missing dependencies (identify all prerequisites)
166
+ - Unclear boundaries (define what's in/out of scope)
167
+
168
+ **Technical Issues:**
169
+
170
+ - Missing integration details
171
+ - Incomplete technical specifications
172
+ - Undefined interfaces or classes
173
+ - Missing performance requirements
174
+
175
+ **Game Design Issues:**
176
+
177
+ - Not referencing GDD properly
178
+ - Missing player experience context
179
+ - Unclear game mechanic implementation
180
+ - Missing balance parameters
181
+
182
+ ## Success Criteria
183
+
184
+ **Story Readiness:**
185
+
186
+ - [ ] Developer can start implementation immediately
187
+ - [ ] No additional design decisions required
188
+ - [ ] All technical questions answered
189
+ - [ ] Testing strategy is complete
190
+ - [ ] Performance requirements are clear
191
+ - [ ] Story fits within epic scope
192
+
193
+ **Quality Validation:**
194
+
195
+ - [ ] Game story DOD checklist passes
196
+ - [ ] Architecture alignment confirmed
197
+ - [ ] GDD requirements covered
198
+ - [ ] Implementation tasks are ordered and specific
199
+ - [ ] Dependencies are complete and accurate
200
+
201
+ ## Handoff Protocol
202
+
203
+ **To Game Developer:**
204
+
205
+ 1. Provide story document
206
+ 2. Confirm GDD and architecture access
207
+ 3. Verify all dependencies are met
208
+ 4. Answer any clarification questions
209
+ 5. Establish check-in schedule
210
+
211
+ **Story Status Updates:**
212
+
213
+ - Draft → Ready for Development
214
+ - In Development → Code Review
215
+ - Code Review → Testing
216
+ - Testing → Done
217
+
218
+ This task ensures game development stories are immediately actionable and enable efficient AI-driven development of game features.
@@ -0,0 +1,292 @@
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Game Design Brainstorming Techniques Task
4
+
5
+ This task provides a comprehensive toolkit of creative brainstorming techniques specifically designed for game design ideation and innovative thinking. The game designer can use these techniques to facilitate productive brainstorming sessions focused on game mechanics, player experience, and creative concepts.
6
+
7
+ ## Process
8
+
9
+ ### 1. Session Setup
10
+
11
+ [[LLM: Begin by understanding the game design context and goals. Ask clarifying questions if needed to determine the best approach for game-specific ideation.]]
12
+
13
+ 1. **Establish Game Context**
14
+ - Understand the game genre or opportunity area
15
+ - Identify target audience and platform constraints
16
+ - Determine session goals (concept exploration vs. mechanic refinement)
17
+ - Clarify scope (full game vs. specific feature)
18
+
19
+ 2. **Select Technique Approach**
20
+ - Option A: User selects specific game design techniques
21
+ - Option B: Game Designer recommends techniques based on context
22
+ - Option C: Random technique selection for creative variety
23
+ - Option D: Progressive technique flow (broad concepts to specific mechanics)
24
+
25
+ ### 2. Game Design Brainstorming Techniques
26
+
27
+ #### Game Concept Expansion Techniques
28
+
29
+ 1. **"What If" Game Scenarios**
30
+ [[LLM: Generate provocative what-if questions that challenge game design assumptions and expand thinking beyond current genre limitations.]]
31
+ - What if players could rewind time in any genre?
32
+ - What if the game world reacted to the player's real-world location?
33
+ - What if failure was more rewarding than success?
34
+ - What if players controlled the antagonist instead?
35
+ - What if the game played itself when no one was watching?
36
+
37
+ 2. **Cross-Genre Fusion**
38
+ [[LLM: Help user combine unexpected game genres and mechanics to create unique experiences.]]
39
+ - "How might [genre A] mechanics work in [genre B]?"
40
+ - Puzzle mechanics in action games
41
+ - Dating sim elements in strategy games
42
+ - Horror elements in racing games
43
+ - Educational content in roguelike structure
44
+
45
+ 3. **Player Motivation Reversal**
46
+ [[LLM: Flip traditional player motivations to reveal new gameplay possibilities.]]
47
+ - What if losing was the goal?
48
+ - What if cooperation was forced in competitive games?
49
+ - What if players had to help their enemies?
50
+ - What if progress meant giving up abilities?
51
+
52
+ 4. **Core Loop Deconstruction**
53
+ [[LLM: Break down successful games to fundamental mechanics and rebuild differently.]]
54
+ - What are the essential 3 actions in this game type?
55
+ - How could we make each action more interesting?
56
+ - What if we changed the order of these actions?
57
+ - What if players could skip or automate certain actions?
58
+
59
+ #### Mechanic Innovation Frameworks
60
+
61
+ 1. **SCAMPER for Game Mechanics**
62
+ [[LLM: Guide through each SCAMPER prompt specifically for game design.]]
63
+ - **S** = Substitute: What mechanics can be substituted? (walking → flying → swimming)
64
+ - **C** = Combine: What systems can be merged? (inventory + character growth)
65
+ - **A** = Adapt: What mechanics from other media? (books, movies, sports)
66
+ - **M** = Modify/Magnify: What can be exaggerated? (super speed, massive scale)
67
+ - **P** = Put to other uses: What else could this mechanic do? (jumping → attacking)
68
+ - **E** = Eliminate: What can be removed? (UI, tutorials, fail states)
69
+ - **R** = Reverse/Rearrange: What sequence changes? (end-to-start, simultaneous)
70
+
71
+ 2. **Player Agency Spectrum**
72
+ [[LLM: Explore different levels of player control and agency across game systems.]]
73
+ - Full Control: Direct character movement, combat, building
74
+ - Indirect Control: Setting rules, giving commands, environmental changes
75
+ - Influence Only: Suggestions, preferences, emotional reactions
76
+ - No Control: Observation, interpretation, passive experience
77
+
78
+ 3. **Temporal Game Design**
79
+ [[LLM: Explore how time affects gameplay and player experience.]]
80
+ - Real-time vs. turn-based mechanics
81
+ - Time travel and manipulation
82
+ - Persistent vs. session-based progress
83
+ - Asynchronous multiplayer timing
84
+ - Seasonal and event-based content
85
+
86
+ #### Player Experience Ideation
87
+
88
+ 1. **Emotion-First Design**
89
+ [[LLM: Start with target emotions and work backward to mechanics that create them.]]
90
+ - Target Emotion: Wonder → Mechanics: Discovery, mystery, scale
91
+ - Target Emotion: Triumph → Mechanics: Challenge, skill growth, recognition
92
+ - Target Emotion: Connection → Mechanics: Cooperation, shared goals, communication
93
+ - Target Emotion: Flow → Mechanics: Clear feedback, progressive difficulty
94
+
95
+ 2. **Player Archetype Brainstorming**
96
+ [[LLM: Design for different player types and motivations.]]
97
+ - Achievers: Progression, completion, mastery
98
+ - Explorers: Discovery, secrets, world-building
99
+ - Socializers: Interaction, cooperation, community
100
+ - Killers: Competition, dominance, conflict
101
+ - Creators: Building, customization, expression
102
+
103
+ 3. **Accessibility-First Innovation**
104
+ [[LLM: Generate ideas that make games more accessible while creating new gameplay.]]
105
+ - Visual impairment considerations leading to audio-focused mechanics
106
+ - Motor accessibility inspiring one-handed or simplified controls
107
+ - Cognitive accessibility driving clear feedback and pacing
108
+ - Economic accessibility creating free-to-play innovations
109
+
110
+ #### Narrative and World Building
111
+
112
+ 1. **Environmental Storytelling**
113
+ [[LLM: Brainstorm ways the game world itself tells stories without explicit narrative.]]
114
+ - How does the environment show history?
115
+ - What do interactive objects reveal about characters?
116
+ - How can level design communicate mood?
117
+ - What stories do systems and mechanics tell?
118
+
119
+ 2. **Player-Generated Narrative**
120
+ [[LLM: Explore ways players create their own stories through gameplay.]]
121
+ - Emergent storytelling through player choices
122
+ - Procedural narrative generation
123
+ - Player-to-player story sharing
124
+ - Community-driven world events
125
+
126
+ 3. **Genre Expectation Subversion**
127
+ [[LLM: Identify and deliberately subvert player expectations within genres.]]
128
+ - Fantasy RPG where magic is mundane
129
+ - Horror game where monsters are friendly
130
+ - Racing game where going slow is optimal
131
+ - Puzzle game where there are multiple correct answers
132
+
133
+ #### Technical Innovation Inspiration
134
+
135
+ 1. **Platform-Specific Design**
136
+ [[LLM: Generate ideas that leverage unique platform capabilities.]]
137
+ - Mobile: GPS, accelerometer, camera, always-connected
138
+ - Web: URLs, tabs, social sharing, real-time collaboration
139
+ - Console: Controllers, TV viewing, couch co-op
140
+ - VR/AR: Physical movement, spatial interaction, presence
141
+
142
+ 2. **Constraint-Based Creativity**
143
+ [[LLM: Use technical or design constraints as creative catalysts.]]
144
+ - One-button games
145
+ - Games without graphics
146
+ - Games that play in notification bars
147
+ - Games using only system sounds
148
+ - Games with intentionally bad graphics
149
+
150
+ ### 3. Game-Specific Technique Selection
151
+
152
+ [[LLM: Help user select appropriate techniques based on their specific game design needs.]]
153
+
154
+ **For Initial Game Concepts:**
155
+
156
+ - What If Game Scenarios
157
+ - Cross-Genre Fusion
158
+ - Emotion-First Design
159
+
160
+ **For Stuck/Blocked Creativity:**
161
+
162
+ - Player Motivation Reversal
163
+ - Constraint-Based Creativity
164
+ - Genre Expectation Subversion
165
+
166
+ **For Mechanic Development:**
167
+
168
+ - SCAMPER for Game Mechanics
169
+ - Core Loop Deconstruction
170
+ - Player Agency Spectrum
171
+
172
+ **For Player Experience:**
173
+
174
+ - Player Archetype Brainstorming
175
+ - Emotion-First Design
176
+ - Accessibility-First Innovation
177
+
178
+ **For World Building:**
179
+
180
+ - Environmental Storytelling
181
+ - Player-Generated Narrative
182
+ - Platform-Specific Design
183
+
184
+ ### 4. Game Design Session Flow
185
+
186
+ [[LLM: Guide the brainstorming session with appropriate pacing for game design exploration.]]
187
+
188
+ 1. **Inspiration Phase** (10-15 min)
189
+ - Reference existing games and mechanics
190
+ - Explore player experiences and emotions
191
+ - Gather visual and thematic inspiration
192
+
193
+ 2. **Divergent Exploration** (25-35 min)
194
+ - Generate many game concepts or mechanics
195
+ - Use expansion and fusion techniques
196
+ - Encourage wild and impossible ideas
197
+
198
+ 3. **Player-Centered Filtering** (15-20 min)
199
+ - Consider target audience reactions
200
+ - Evaluate emotional impact and engagement
201
+ - Group ideas by player experience goals
202
+
203
+ 4. **Feasibility and Synthesis** (15-20 min)
204
+ - Assess technical and design feasibility
205
+ - Combine complementary ideas
206
+ - Develop most promising concepts
207
+
208
+ ### 5. Game Design Output Format
209
+
210
+ [[LLM: Present brainstorming results in a format useful for game development.]]
211
+
212
+ **Session Summary:**
213
+
214
+ - Techniques used and focus areas
215
+ - Total concepts/mechanics generated
216
+ - Key themes and patterns identified
217
+
218
+ **Game Concept Categories:**
219
+
220
+ 1. **Core Game Ideas** - Complete game concepts ready for prototyping
221
+ 2. **Mechanic Innovations** - Specific gameplay mechanics to explore
222
+ 3. **Player Experience Goals** - Emotional and engagement targets
223
+ 4. **Technical Experiments** - Platform or technology-focused concepts
224
+ 5. **Long-term Vision** - Ambitious ideas for future development
225
+
226
+ **Development Readiness:**
227
+
228
+ **Prototype-Ready Ideas:**
229
+
230
+ - Ideas that can be tested immediately
231
+ - Minimum viable implementations
232
+ - Quick validation approaches
233
+
234
+ **Research-Required Ideas:**
235
+
236
+ - Concepts needing technical investigation
237
+ - Player testing and market research needs
238
+ - Competitive analysis requirements
239
+
240
+ **Future Innovation Pipeline:**
241
+
242
+ - Ideas requiring significant development
243
+ - Technology-dependent concepts
244
+ - Market timing considerations
245
+
246
+ **Next Steps:**
247
+
248
+ - Which concepts to prototype first
249
+ - Recommended research areas
250
+ - Suggested playtesting approaches
251
+ - Documentation and GDD planning
252
+
253
+ ## Game Design Specific Considerations
254
+
255
+ ### Platform and Audience Awareness
256
+
257
+ - Always consider target platform limitations and advantages
258
+ - Keep target audience preferences and expectations in mind
259
+ - Balance innovation with familiar game design patterns
260
+ - Consider monetization and business model implications
261
+
262
+ ### Rapid Prototyping Mindset
263
+
264
+ - Focus on ideas that can be quickly tested
265
+ - Emphasize core mechanics over complex features
266
+ - Design for iteration and player feedback
267
+ - Consider digital and paper prototyping approaches
268
+
269
+ ### Player Psychology Integration
270
+
271
+ - Understand motivation and engagement drivers
272
+ - Consider learning curves and skill development
273
+ - Design for different play session lengths
274
+ - Balance challenge and reward appropriately
275
+
276
+ ### Technical Feasibility
277
+
278
+ - Keep development resources and timeline in mind
279
+ - Consider art and audio asset requirements
280
+ - Think about performance and optimization needs
281
+ - Plan for testing and debugging complexity
282
+
283
+ ## Important Notes for Game Design Sessions
284
+
285
+ - Encourage "impossible" ideas - constraints can be added later
286
+ - Build on game mechanics that have proven engagement
287
+ - Consider how ideas scale from prototype to full game
288
+ - Document player experience goals alongside mechanics
289
+ - Think about community and social aspects of gameplay
290
+ - Consider accessibility and inclusivity from the start
291
+ - Balance innovation with market viability
292
+ - Plan for iteration based on player feedback