appiq-solution 1.3.3 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (295) hide show
  1. package/#Tools/APPIQ-METHOD/.bmad-config.json +13 -0
  2. package/#Tools/APPIQ-METHOD/.cursor/commands/analyze.md +27 -0
  3. package/#Tools/APPIQ-METHOD/.cursor/commands/appiq.md +27 -0
  4. package/#Tools/APPIQ-METHOD/.cursor/commands/help.md +27 -0
  5. package/#Tools/APPIQ-METHOD/.cursor/commands/story.md +27 -0
  6. package/#Tools/APPIQ-METHOD/CHANGELOG.md +119 -173
  7. package/#Tools/APPIQ-METHOD/DEVELOPMENT_GUIDE.md +855 -0
  8. package/#Tools/APPIQ-METHOD/NPM-README.md +138 -0
  9. package/#Tools/APPIQ-METHOD/SMART_WORKFLOW_GUIDE.md +401 -0
  10. package/#Tools/APPIQ-METHOD/activate-appiq.js +81 -0
  11. package/#Tools/APPIQ-METHOD/appiq-solution/README.md +226 -0
  12. package/#Tools/APPIQ-METHOD/bmad-core/agent-teams/team-flutter-mobile.yaml +114 -0
  13. package/#Tools/APPIQ-METHOD/bmad-core/agent-teams/team-fullstack.yaml +11 -1
  14. package/#Tools/APPIQ-METHOD/bmad-core/agents/analyst.md +7 -3
  15. package/#Tools/APPIQ-METHOD/bmad-core/agents/architect.md +6 -0
  16. package/#Tools/APPIQ-METHOD/bmad-core/agents/bmad-orchestrator.md +0 -84
  17. package/#Tools/APPIQ-METHOD/bmad-core/agents/bmad-smart-launcher.md +170 -0
  18. package/#Tools/APPIQ-METHOD/bmad-core/agents/dev.md +31 -12
  19. package/#Tools/APPIQ-METHOD/bmad-core/agents/pm.md +10 -4
  20. package/#Tools/APPIQ-METHOD/bmad-core/agents/qa.md +17 -0
  21. package/#Tools/APPIQ-METHOD/bmad-core/agents/sm.md +8 -3
  22. package/#Tools/APPIQ-METHOD/bmad-core/agents/ux-expert.md +8 -3
  23. package/#Tools/APPIQ-METHOD/bmad-core/bmad-core/user-guide.md +0 -0
  24. package/#Tools/APPIQ-METHOD/bmad-core/checklists/security-validation-checklist.md +332 -0
  25. package/#Tools/APPIQ-METHOD/bmad-core/data/backend-services-integration.md +686 -0
  26. package/#Tools/APPIQ-METHOD/bmad-core/data/shadcn-ui-integration.md +388 -0
  27. package/#Tools/APPIQ-METHOD/bmad-core/data/technical-preferences.md +147 -1
  28. package/#Tools/APPIQ-METHOD/bmad-core/enhanced-ide-development-workflow.md +43 -0
  29. package/#Tools/APPIQ-METHOD/bmad-core/tasks/create-flutter-story.md +197 -0
  30. package/#Tools/APPIQ-METHOD/bmad-core/tasks/intelligent-epic-creation.md +234 -0
  31. package/#Tools/APPIQ-METHOD/bmad-core/tasks/smart-project-analysis.md +289 -0
  32. package/#Tools/APPIQ-METHOD/bmad-core/templates/flutter-mobile-prd-tmpl.yaml +330 -0
  33. package/#Tools/APPIQ-METHOD/bmad-core/templates/flutter-story-tmpl.yaml +376 -0
  34. package/#Tools/APPIQ-METHOD/bmad-core/templates/flutter-ui-spec-tmpl.yaml +415 -0
  35. package/#Tools/APPIQ-METHOD/bmad-core/templates/fullstack-architecture-tmpl.yaml +12 -5
  36. package/#Tools/APPIQ-METHOD/bmad-core/user-guide.md +10 -9
  37. package/#Tools/APPIQ-METHOD/bmad-core/workflows/brownfield-fullstack.yaml +15 -1
  38. package/#Tools/APPIQ-METHOD/bmad-core/workflows/greenfield-fullstack.yaml +49 -5
  39. package/#Tools/APPIQ-METHOD/bmad-core/working-in-the-brownfield.md +56 -44
  40. package/#Tools/APPIQ-METHOD/commands/README.md +28 -0
  41. package/#Tools/APPIQ-METHOD/commands/analyze.md +27 -0
  42. package/#Tools/APPIQ-METHOD/commands/appiq.md +27 -0
  43. package/#Tools/APPIQ-METHOD/commands/help.md +27 -0
  44. package/#Tools/APPIQ-METHOD/commands/story.md +27 -0
  45. package/#Tools/APPIQ-METHOD/dist/agents/bmad-orchestrator.txt +0 -111
  46. package/#Tools/APPIQ-METHOD/dist/agents/pm.txt +2 -0
  47. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -111
  48. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +0 -111
  49. package/#Tools/APPIQ-METHOD/dist/teams/team-all.txt +2 -111
  50. package/#Tools/APPIQ-METHOD/dist/teams/team-fullstack.txt +2 -111
  51. package/#Tools/APPIQ-METHOD/dist/teams/team-ide-minimal.txt +0 -111
  52. package/#Tools/APPIQ-METHOD/dist/teams/team-no-ui.txt +2 -111
  53. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  54. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  55. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/agent-teams/flutter-mobile-team.yaml +23 -0
  56. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/agents/flutter-cubit-agent.md +133 -0
  57. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/agents/flutter-data-agent.md +160 -0
  58. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/agents/flutter-domain-agent.md +153 -0
  59. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/agents/flutter-ui-agent.md +122 -0
  60. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/agents/shared-components-agent.md +161 -0
  61. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/checklists/flutter-story-dod-checklist.md +194 -0
  62. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/config.yaml +41 -0
  63. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/data/flutter-development-guidelines.md +551 -0
  64. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/templates/flutter-mobile-architecture-tmpl.yaml +530 -0
  65. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-flutter-mobile-dev/workflows/flutter-ui-first-development.yaml +220 -0
  66. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  67. package/#Tools/APPIQ-METHOD/install-appiq.sh +41 -0
  68. package/#Tools/APPIQ-METHOD/package-lock.json +631 -0
  69. package/#Tools/APPIQ-METHOD/package.json +20 -69
  70. package/#Tools/APPIQ-METHOD/tasks/todo.md +275 -0
  71. package/#Tools/APPIQ-METHOD/tools/appiq-installer.js +2714 -0
  72. package/#Tools/APPIQ-METHOD/tools/bmad-npx-wrapper.js +5 -7
  73. package/#Tools/APPIQ-METHOD/tools/cli.js +3 -3
  74. package/#Tools/APPIQ-METHOD/tools/epic-solution-installer.js +538 -0
  75. package/#Tools/APPIQ-METHOD/tools/flattener/main.js +570 -0
  76. package/#Tools/APPIQ-METHOD/tools/installer/bin/bmad.js +15 -14
  77. package/#Tools/APPIQ-METHOD/tools/installer/lib/installer.js +28 -2
  78. package/#Tools/APPIQ-METHOD/tools/installer/package-lock.json +906 -0
  79. package/#Tools/APPIQ-METHOD/tools/installer/package.json +1 -1
  80. package/#Tools/APPIQ-METHOD/tools/setup-ide-commands.js +345 -0
  81. package/#Tools/APPIQ-METHOD/tools/smart-installer.js +589 -0
  82. package/package.json +20 -69
  83. package/tools/appiq-installer.js +2714 -0
  84. package/tools/bmad-npx-wrapper.js +5 -7
  85. package/tools/cli.js +3 -3
  86. package/tools/epic-solution-installer.js +538 -0
  87. package/tools/flattener/main.js +570 -0
  88. package/tools/installer/bin/bmad.js +15 -14
  89. package/tools/installer/lib/installer.js +28 -2
  90. package/tools/installer/package-lock.json +89 -89
  91. package/tools/installer/package.json +1 -1
  92. package/tools/setup-ide-commands.js +345 -0
  93. package/tools/smart-installer.js +589 -0
  94. package/#Tools/APPIQ-METHOD/appiq_start.md +0 -232
  95. package/#Tools/APPIQ-METHOD/deployment/DEPLOYMENT_GUIDE.md +0 -426
  96. package/#Tools/APPIQ-METHOD/deployment/GITHUB_RELEASE_GUIDE.md +0 -326
  97. package/#Tools/APPIQ-METHOD/deployment/README.md +0 -331
  98. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agent-teams/team-all.yaml +0 -14
  99. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agent-teams/team-fullstack.yaml +0 -18
  100. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
  101. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agent-teams/team-no-ui.yaml +0 -13
  102. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/analyst.md +0 -81
  103. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/architect.md +0 -84
  104. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/bmad-master.md +0 -108
  105. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/bmad-orchestrator.md +0 -234
  106. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/dev.md +0 -76
  107. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/pm.md +0 -79
  108. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/po.md +0 -76
  109. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/qa.md +0 -69
  110. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/sm.md +0 -62
  111. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/agents/ux-expert.md +0 -66
  112. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/checklists/architect-checklist.md +0 -443
  113. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/checklists/change-checklist.md +0 -182
  114. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/checklists/pm-checklist.md +0 -375
  115. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/checklists/po-master-checklist.md +0 -441
  116. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/checklists/story-dod-checklist.md +0 -101
  117. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/checklists/story-draft-checklist.md +0 -156
  118. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/data/bmad-kb.md +0 -803
  119. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/data/brainstorming-techniques.md +0 -36
  120. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/data/elicitation-methods.md +0 -134
  121. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/data/technical-preferences.md +0 -3
  122. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/advanced-elicitation.md +0 -117
  123. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/brownfield-create-epic.md +0 -160
  124. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/brownfield-create-story.md +0 -147
  125. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/correct-course.md +0 -70
  126. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/create-brownfield-story.md +0 -304
  127. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/create-deep-research-prompt.md +0 -289
  128. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/create-next-story.md +0 -112
  129. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/document-project.md +0 -341
  130. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
  131. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
  132. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/index-docs.md +0 -179
  133. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/kb-mode-interaction.md +0 -75
  134. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/review-story.md +0 -145
  135. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/shard-doc.md +0 -187
  136. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/tasks/validate-next-story.md +0 -134
  137. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/architecture-tmpl.yaml +0 -650
  138. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
  139. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
  140. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
  141. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
  142. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
  143. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
  144. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
  145. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/market-research-tmpl.yaml +0 -252
  146. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/prd-tmpl.yaml +0 -202
  147. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/project-brief-tmpl.yaml +0 -221
  148. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/templates/story-tmpl.yaml +0 -137
  149. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/user-guide.md +0 -250
  150. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
  151. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/workflows/brownfield-service.yaml +0 -187
  152. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/workflows/brownfield-ui.yaml +0 -197
  153. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
  154. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/workflows/greenfield-service.yaml +0 -206
  155. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/workflows/greenfield-ui.yaml +0 -235
  156. package/#Tools/APPIQ-METHOD/deployment/build/bmad-core/working-in-the-brownfield.md +0 -361
  157. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/README.md +0 -3
  158. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
  159. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -71
  160. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -78
  161. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -64
  162. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
  163. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
  164. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -8
  165. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
  166. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
  167. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
  168. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
  169. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
  170. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
  171. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
  172. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
  173. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
  174. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  175. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  176. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
  177. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +0 -14
  178. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +0 -80
  179. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +0 -77
  180. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +0 -78
  181. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +0 -65
  182. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +0 -396
  183. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +0 -203
  184. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +0 -201
  185. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +0 -132
  186. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/config.yaml +0 -6
  187. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +0 -776
  188. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -590
  189. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -111
  190. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +0 -151
  191. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +0 -184
  192. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -308
  193. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +0 -200
  194. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +0 -1030
  195. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +0 -356
  196. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +0 -705
  197. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +0 -256
  198. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
  199. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +0 -183
  200. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +0 -175
  201. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/README.md +0 -147
  202. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +0 -71
  203. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/checklists/infrastructure-checklist.md +0 -484
  204. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -9
  205. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
  206. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -160
  207. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -154
  208. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
  209. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
  210. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-cross-platform.yaml +0 -22
  211. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-flutter.yaml +0 -20
  212. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-minimal.yaml +0 -13
  213. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-react-native.yaml +0 -20
  214. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-analytics.md +0 -1487
  215. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-architect.md +0 -279
  216. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-developer.md +0 -649
  217. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-pm.md +0 -339
  218. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-qa.md +0 -622
  219. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-security.md +0 -1027
  220. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/agents/mobile-ux-expert.md +0 -1451
  221. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/checklists/mobile-development-checklist.md +0 -490
  222. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/config.yaml +0 -54
  223. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/data/bmad-kb.md +0 -292
  224. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/data/flutter-development-guidelines.md +0 -483
  225. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/tasks/existing-app-analysis.md +0 -645
  226. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/tasks/platform-selection.md +0 -489
  227. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/templates/mobile-architecture-tmpl.yaml +0 -437
  228. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/templates/mobile-prd-tmpl.yaml +0 -408
  229. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/workflows/mobile-app-development-init.yaml +0 -555
  230. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/workflows/mobile-brownfield-flutter.yaml +0 -336
  231. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/workflows/mobile-brownfield-react-native.yaml +0 -345
  232. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/workflows/mobile-greenfield-flutter.yaml +0 -281
  233. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/workflows/mobile-greenfield-react-native.yaml +0 -283
  234. package/#Tools/APPIQ-METHOD/deployment/build/expansion-packs/bmad-mobile-app-dev/workflows/mobile-platform-selection.yaml +0 -404
  235. package/#Tools/APPIQ-METHOD/deployment/build/slash-commands/appiq.md +0 -273
  236. package/#Tools/APPIQ-METHOD/deployment/build/slash-commands/ide-integrations/claude-appiq.md +0 -294
  237. package/#Tools/APPIQ-METHOD/deployment/build/slash-commands/ide-integrations/cursor-appiq.md +0 -516
  238. package/#Tools/APPIQ-METHOD/deployment/build/slash-commands/ide-integrations/universal-appiq.md +0 -448
  239. package/#Tools/APPIQ-METHOD/deployment/build/slash-commands/ide-integrations/windsurf-appiq.md +0 -698
  240. package/#Tools/APPIQ-METHOD/deployment/build/slash-commands/start.md +0 -211
  241. package/#Tools/APPIQ-METHOD/deployment/build-release.sh +0 -449
  242. package/#Tools/APPIQ-METHOD/deployment/create-release.sh +0 -196
  243. package/#Tools/APPIQ-METHOD/deployment/dist/appiq_installer.sh +0 -678
  244. package/#Tools/APPIQ-METHOD/deployment/docs/main_prd.md +0 -36
  245. package/#Tools/APPIQ-METHOD/deployment/init_appiq.sh +0 -805
  246. package/#Tools/APPIQ-METHOD/deployment/init_appiq_v2.sh +0 -678
  247. package/#Tools/APPIQ-METHOD/deployment/installers/appiq-global.sh +0 -91
  248. package/#Tools/APPIQ-METHOD/deployment/installers/claude-integration.sh +0 -281
  249. package/#Tools/APPIQ-METHOD/deployment/installers/cursor-integration.sh +0 -257
  250. package/#Tools/APPIQ-METHOD/deployment/installers/terminal-integration.sh +0 -645
  251. package/#Tools/APPIQ-METHOD/deployment/installers/windsurf-integration.sh +0 -350
  252. package/#Tools/APPIQ-METHOD/deployment/package-v2.sh +0 -97
  253. package/#Tools/APPIQ-METHOD/deployment/package.sh +0 -363
  254. package/#Tools/APPIQ-METHOD/deployment/quick-install.sh +0 -57
  255. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-analytics.txt +0 -1530
  256. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-architect.txt +0 -322
  257. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-developer.txt +0 -692
  258. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-pm.txt +0 -382
  259. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-qa.txt +0 -665
  260. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-security.txt +0 -1070
  261. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/agents/mobile-ux-expert.txt +0 -1494
  262. package/#Tools/APPIQ-METHOD/dist/expansion-packs/bmad-mobile-app-dev/teams/mobile-team-cross-platform.txt +0 -15613
  263. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-cross-platform.yaml +0 -22
  264. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-flutter.yaml +0 -20
  265. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-minimal.yaml +0 -13
  266. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agent-teams/mobile-team-react-native.yaml +0 -20
  267. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-analytics.md +0 -1487
  268. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-architect.md +0 -279
  269. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-developer.md +0 -649
  270. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-pm.md +0 -339
  271. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-qa.md +0 -622
  272. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-security.md +0 -1027
  273. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/agents/mobile-ux-expert.md +0 -1451
  274. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/checklists/mobile-development-checklist.md +0 -490
  275. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/config.yaml +0 -54
  276. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/data/bmad-kb.md +0 -292
  277. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/data/flutter-development-guidelines.md +0 -483
  278. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/tasks/existing-app-analysis.md +0 -645
  279. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/tasks/platform-selection.md +0 -489
  280. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/templates/mobile-architecture-tmpl.yaml +0 -437
  281. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/templates/mobile-prd-tmpl.yaml +0 -408
  282. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/workflows/mobile-app-development-init.yaml +0 -555
  283. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/workflows/mobile-brownfield-flutter.yaml +0 -336
  284. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/workflows/mobile-brownfield-react-native.yaml +0 -345
  285. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/workflows/mobile-greenfield-flutter.yaml +0 -281
  286. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/workflows/mobile-greenfield-react-native.yaml +0 -283
  287. package/#Tools/APPIQ-METHOD/expansion-packs/bmad-mobile-app-dev/workflows/mobile-platform-selection.yaml +0 -404
  288. package/#Tools/APPIQ-METHOD/package-bmad-backup.json +0 -78
  289. package/#Tools/APPIQ-METHOD/slash-commands/appiq.md +0 -273
  290. package/#Tools/APPIQ-METHOD/slash-commands/ide-integrations/claude-appiq.md +0 -294
  291. package/#Tools/APPIQ-METHOD/slash-commands/ide-integrations/cursor-appiq.md +0 -516
  292. package/#Tools/APPIQ-METHOD/slash-commands/ide-integrations/universal-appiq.md +0 -448
  293. package/#Tools/APPIQ-METHOD/slash-commands/ide-integrations/windsurf-appiq.md +0 -698
  294. package/#Tools/APPIQ-METHOD/slash-commands/start.md +0 -211
  295. /package/#Tools/APPIQ-METHOD/{deployment/build/bmad-core/core-config.yaml → bmad-core/core-config.yaml.bak} +0 -0
@@ -1,341 +0,0 @@
1
- # Document an Existing Project
2
-
3
- ## Purpose
4
-
5
- Generate comprehensive documentation for existing projects optimized for AI development agents. This task creates structured reference materials that enable AI agents to understand project context, conventions, and patterns for effective contribution to any codebase.
6
-
7
- ## Task Instructions
8
-
9
- ### 1. Initial Project Analysis
10
-
11
- **CRITICAL:** First, check if a PRD or requirements document exists in context. If yes, use it to focus your documentation efforts on relevant areas only.
12
-
13
- **IF PRD EXISTS**:
14
-
15
- - Review the PRD to understand what enhancement/feature is planned
16
- - Identify which modules, services, or areas will be affected
17
- - Focus documentation ONLY on these relevant areas
18
- - Skip unrelated parts of the codebase to keep docs lean
19
-
20
- **IF NO PRD EXISTS**:
21
- Ask the user:
22
-
23
- "I notice you haven't provided a PRD or requirements document. To create more focused and useful documentation, I recommend one of these options:
24
-
25
- 1. **Create a PRD first** - Would you like me to help create a brownfield PRD before documenting? This helps focus documentation on relevant areas.
26
-
27
- 2. **Provide existing requirements** - Do you have a requirements document, epic, or feature description you can share?
28
-
29
- 3. **Describe the focus** - Can you briefly describe what enhancement or feature you're planning? For example:
30
- - 'Adding payment processing to the user service'
31
- - 'Refactoring the authentication module'
32
- - 'Integrating with a new third-party API'
33
-
34
- 4. **Document everything** - Or should I proceed with comprehensive documentation of the entire codebase? (Note: This may create excessive documentation for large projects)
35
-
36
- Please let me know your preference, or I can proceed with full documentation if you prefer."
37
-
38
- Based on their response:
39
-
40
- - If they choose option 1-3: Use that context to focus documentation
41
- - If they choose option 4 or decline: Proceed with comprehensive analysis below
42
-
43
- Begin by conducting analysis of the existing project. Use available tools to:
44
-
45
- 1. **Project Structure Discovery**: Examine the root directory structure, identify main folders, and understand the overall organization
46
- 2. **Technology Stack Identification**: Look for package.json, requirements.txt, Cargo.toml, pom.xml, etc. to identify languages, frameworks, and dependencies
47
- 3. **Build System Analysis**: Find build scripts, CI/CD configurations, and development commands
48
- 4. **Existing Documentation Review**: Check for README files, docs folders, and any existing documentation
49
- 5. **Code Pattern Analysis**: Sample key files to understand coding patterns, naming conventions, and architectural approaches
50
-
51
- Ask the user these elicitation questions to better understand their needs:
52
-
53
- - What is the primary purpose of this project?
54
- - Are there any specific areas of the codebase that are particularly complex or important for agents to understand?
55
- - What types of tasks do you expect AI agents to perform on this project? (e.g., bug fixes, feature additions, refactoring, testing)
56
- - Are there any existing documentation standards or formats you prefer?
57
- - What level of technical detail should the documentation target? (junior developers, senior developers, mixed team)
58
- - Is there a specific feature or enhancement you're planning? (This helps focus documentation)
59
-
60
- ### 2. Deep Codebase Analysis
61
-
62
- CRITICAL: Before generating documentation, conduct extensive analysis of the existing codebase:
63
-
64
- 1. **Explore Key Areas**:
65
- - Entry points (main files, index files, app initializers)
66
- - Configuration files and environment setup
67
- - Package dependencies and versions
68
- - Build and deployment configurations
69
- - Test suites and coverage
70
-
71
- 2. **Ask Clarifying Questions**:
72
- - "I see you're using [technology X]. Are there any custom patterns or conventions I should document?"
73
- - "What are the most critical/complex parts of this system that developers struggle with?"
74
- - "Are there any undocumented 'tribal knowledge' areas I should capture?"
75
- - "What technical debt or known issues should I document?"
76
- - "Which parts of the codebase change most frequently?"
77
-
78
- 3. **Map the Reality**:
79
- - Identify ACTUAL patterns used (not theoretical best practices)
80
- - Find where key business logic lives
81
- - Locate integration points and external dependencies
82
- - Document workarounds and technical debt
83
- - Note areas that differ from standard patterns
84
-
85
- **IF PRD PROVIDED**: Also analyze what would need to change for the enhancement
86
-
87
- ### 3. Core Documentation Generation
88
-
89
- [[LLM: Generate a comprehensive BROWNFIELD architecture document that reflects the ACTUAL state of the codebase.
90
-
91
- **CRITICAL**: This is NOT an aspirational architecture document. Document what EXISTS, including:
92
-
93
- - Technical debt and workarounds
94
- - Inconsistent patterns between different parts
95
- - Legacy code that can't be changed
96
- - Integration constraints
97
- - Performance bottlenecks
98
-
99
- **Document Structure**:
100
-
101
- # [Project Name] Brownfield Architecture Document
102
-
103
- ## Introduction
104
-
105
- This document captures the CURRENT STATE of the [Project Name] codebase, including technical debt, workarounds, and real-world patterns. It serves as a reference for AI agents working on enhancements.
106
-
107
- ### Document Scope
108
-
109
- [If PRD provided: "Focused on areas relevant to: {enhancement description}"]
110
- [If no PRD: "Comprehensive documentation of entire system"]
111
-
112
- ### Change Log
113
-
114
- | Date | Version | Description | Author |
115
- |------|---------|-------------|--------|
116
- | [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
117
-
118
- ## Quick Reference - Key Files and Entry Points
119
-
120
- ### Critical Files for Understanding the System
121
-
122
- - **Main Entry**: `src/index.js` (or actual entry point)
123
- - **Configuration**: `config/app.config.js`, `.env.example`
124
- - **Core Business Logic**: `src/services/`, `src/domain/`
125
- - **API Definitions**: `src/routes/` or link to OpenAPI spec
126
- - **Database Models**: `src/models/` or link to schema files
127
- - **Key Algorithms**: [List specific files with complex logic]
128
-
129
- ### If PRD Provided - Enhancement Impact Areas
130
-
131
- [Highlight which files/modules will be affected by the planned enhancement]
132
-
133
- ## High Level Architecture
134
-
135
- ### Technical Summary
136
-
137
- ### Actual Tech Stack (from package.json/requirements.txt)
138
-
139
- | Category | Technology | Version | Notes |
140
- |----------|------------|---------|--------|
141
- | Runtime | Node.js | 16.x | [Any constraints] |
142
- | Framework | Express | 4.18.2 | [Custom middleware?] |
143
- | Database | PostgreSQL | 13 | [Connection pooling setup] |
144
-
145
- etc...
146
-
147
- ### Repository Structure Reality Check
148
-
149
- - Type: [Monorepo/Polyrepo/Hybrid]
150
- - Package Manager: [npm/yarn/pnpm]
151
- - Notable: [Any unusual structure decisions]
152
-
153
- ## Source Tree and Module Organization
154
-
155
- ### Project Structure (Actual)
156
-
157
- ```text
158
- project-root/
159
- ├── src/
160
- │ ├── controllers/ # HTTP request handlers
161
- │ ├── services/ # Business logic (NOTE: inconsistent patterns between user and payment services)
162
- │ ├── models/ # Database models (Sequelize)
163
- │ ├── utils/ # Mixed bag - needs refactoring
164
- │ └── legacy/ # DO NOT MODIFY - old payment system still in use
165
- ├── tests/ # Jest tests (60% coverage)
166
- ├── scripts/ # Build and deployment scripts
167
- └── config/ # Environment configs
168
- ```
169
-
170
- ### Key Modules and Their Purpose
171
-
172
- - **User Management**: `src/services/userService.js` - Handles all user operations
173
- - **Authentication**: `src/middleware/auth.js` - JWT-based, custom implementation
174
- - **Payment Processing**: `src/legacy/payment.js` - CRITICAL: Do not refactor, tightly coupled
175
- - **[List other key modules with their actual files]**
176
-
177
- ## Data Models and APIs
178
-
179
- ### Data Models
180
-
181
- Instead of duplicating, reference actual model files:
182
- - **User Model**: See `src/models/User.js`
183
- - **Order Model**: See `src/models/Order.js`
184
- - **Related Types**: TypeScript definitions in `src/types/`
185
-
186
- ### API Specifications
187
-
188
- - **OpenAPI Spec**: `docs/api/openapi.yaml` (if exists)
189
- - **Postman Collection**: `docs/api/postman-collection.json`
190
- - **Manual Endpoints**: [List any undocumented endpoints discovered]
191
-
192
- ## Technical Debt and Known Issues
193
-
194
- ### Critical Technical Debt
195
-
196
- 1. **Payment Service**: Legacy code in `src/legacy/payment.js` - tightly coupled, no tests
197
- 2. **User Service**: Different pattern than other services, uses callbacks instead of promises
198
- 3. **Database Migrations**: Manually tracked, no proper migration tool
199
- 4. **[Other significant debt]**
200
-
201
- ### Workarounds and Gotchas
202
-
203
- - **Environment Variables**: Must set `NODE_ENV=production` even for staging (historical reason)
204
- - **Database Connections**: Connection pool hardcoded to 10, changing breaks payment service
205
- - **[Other workarounds developers need to know]**
206
-
207
- ## Integration Points and External Dependencies
208
-
209
- ### External Services
210
-
211
- | Service | Purpose | Integration Type | Key Files |
212
- |---------|---------|------------------|-----------|
213
- | Stripe | Payments | REST API | `src/integrations/stripe/` |
214
- | SendGrid | Emails | SDK | `src/services/emailService.js` |
215
-
216
- etc...
217
-
218
- ### Internal Integration Points
219
-
220
- - **Frontend Communication**: REST API on port 3000, expects specific headers
221
- - **Background Jobs**: Redis queue, see `src/workers/`
222
- - **[Other integrations]**
223
-
224
- ## Development and Deployment
225
-
226
- ### Local Development Setup
227
-
228
- 1. Actual steps that work (not ideal steps)
229
- 2. Known issues with setup
230
- 3. Required environment variables (see `.env.example`)
231
-
232
- ### Build and Deployment Process
233
-
234
- - **Build Command**: `npm run build` (webpack config in `webpack.config.js`)
235
- - **Deployment**: Manual deployment via `scripts/deploy.sh`
236
- - **Environments**: Dev, Staging, Prod (see `config/environments/`)
237
-
238
- ## Testing Reality
239
-
240
- ### Current Test Coverage
241
-
242
- - Unit Tests: 60% coverage (Jest)
243
- - Integration Tests: Minimal, in `tests/integration/`
244
- - E2E Tests: None
245
- - Manual Testing: Primary QA method
246
-
247
- ### Running Tests
248
-
249
- ```bash
250
- npm test # Runs unit tests
251
- npm run test:integration # Runs integration tests (requires local DB)
252
- ```
253
-
254
- ## If Enhancement PRD Provided - Impact Analysis
255
-
256
- ### Files That Will Need Modification
257
-
258
- Based on the enhancement requirements, these files will be affected:
259
- - `src/services/userService.js` - Add new user fields
260
- - `src/models/User.js` - Update schema
261
- - `src/routes/userRoutes.js` - New endpoints
262
- - [etc...]
263
-
264
- ### New Files/Modules Needed
265
-
266
- - `src/services/newFeatureService.js` - New business logic
267
- - `src/models/NewFeature.js` - New data model
268
- - [etc...]
269
-
270
- ### Integration Considerations
271
-
272
- - Will need to integrate with existing auth middleware
273
- - Must follow existing response format in `src/utils/responseFormatter.js`
274
- - [Other integration points]
275
-
276
- ## Appendix - Useful Commands and Scripts
277
-
278
- ### Frequently Used Commands
279
-
280
- ```bash
281
- npm run dev # Start development server
282
- npm run build # Production build
283
- npm run migrate # Run database migrations
284
- npm run seed # Seed test data
285
- ```
286
-
287
- ### Debugging and Troubleshooting
288
-
289
- - **Logs**: Check `logs/app.log` for application logs
290
- - **Debug Mode**: Set `DEBUG=app:*` for verbose logging
291
- - **Common Issues**: See `docs/troubleshooting.md`]]
292
-
293
- ### 4. Document Delivery
294
-
295
- 1. **In Web UI (Gemini, ChatGPT, Claude)**:
296
- - Present the entire document in one response (or multiple if too long)
297
- - Tell user to copy and save as `docs/brownfield-architecture.md` or `docs/project-architecture.md`
298
- - Mention it can be sharded later in IDE if needed
299
-
300
- 2. **In IDE Environment**:
301
- - Create the document as `docs/brownfield-architecture.md`
302
- - Inform user this single document contains all architectural information
303
- - Can be sharded later using PO agent if desired
304
-
305
- The document should be comprehensive enough that future agents can understand:
306
-
307
- - The actual state of the system (not idealized)
308
- - Where to find key files and logic
309
- - What technical debt exists
310
- - What constraints must be respected
311
- - If PRD provided: What needs to change for the enhancement]]
312
-
313
- ### 5. Quality Assurance
314
-
315
- CRITICAL: Before finalizing the document:
316
-
317
- 1. **Accuracy Check**: Verify all technical details match the actual codebase
318
- 2. **Completeness Review**: Ensure all major system components are documented
319
- 3. **Focus Validation**: If user provided scope, verify relevant areas are emphasized
320
- 4. **Clarity Assessment**: Check that explanations are clear for AI agents
321
- 5. **Navigation**: Ensure document has clear section structure for easy reference
322
-
323
- Apply the advanced elicitation task after major sections to refine based on user feedback.
324
-
325
- ## Success Criteria
326
-
327
- - Single comprehensive brownfield architecture document created
328
- - Document reflects REALITY including technical debt and workarounds
329
- - Key files and modules are referenced with actual paths
330
- - Models/APIs reference source files rather than duplicating content
331
- - If PRD provided: Clear impact analysis showing what needs to change
332
- - Document enables AI agents to navigate and understand the actual codebase
333
- - Technical constraints and "gotchas" are clearly documented
334
-
335
- ## Notes
336
-
337
- - This task creates ONE document that captures the TRUE state of the system
338
- - References actual files rather than duplicating content when possible
339
- - Documents technical debt, workarounds, and constraints honestly
340
- - For brownfield projects with PRD: Provides clear enhancement impact analysis
341
- - The goal is PRACTICAL documentation for AI agents doing real work
@@ -1,136 +0,0 @@
1
- ---
2
- docOutputLocation: docs/brainstorming-session-results.md
3
- template: "{root}/templates/brainstorming-output-tmpl.yaml"
4
- ---
5
-
6
- # Facilitate Brainstorming Session Task
7
-
8
- Facilitate interactive brainstorming sessions with users. Be creative and adaptive in applying techniques.
9
-
10
- ## Process
11
-
12
- ### Step 1: Session Setup
13
-
14
- Ask 4 context questions (don't preview what happens next):
15
-
16
- 1. What are we brainstorming about?
17
- 2. Any constraints or parameters?
18
- 3. Goal: broad exploration or focused ideation?
19
- 4. Do you want a structured document output to reference later? (Default Yes)
20
-
21
- ### Step 2: Present Approach Options
22
-
23
- After getting answers to Step 1, present 4 approach options (numbered):
24
-
25
- 1. User selects specific techniques
26
- 2. Analyst recommends techniques based on context
27
- 3. Random technique selection for creative variety
28
- 4. Progressive technique flow (start broad, narrow down)
29
-
30
- ### Step 3: Execute Techniques Interactively
31
-
32
- **KEY PRINCIPLES:**
33
-
34
- - **FACILITATOR ROLE**: Guide user to generate their own ideas through questions, prompts, and examples
35
- - **CONTINUOUS ENGAGEMENT**: Keep user engaged with chosen technique until they want to switch or are satisfied
36
- - **CAPTURE OUTPUT**: If (default) document output requested, capture all ideas generated in each technique section to the document from the beginning.
37
-
38
- **Technique Selection:**
39
- If user selects Option 1, present numbered list of techniques from the brainstorming-techniques data file. User can select by number..
40
-
41
- **Technique Execution:**
42
-
43
- 1. Apply selected technique according to data file description
44
- 2. Keep engaging with technique until user indicates they want to:
45
- - Choose a different technique
46
- - Apply current ideas to a new technique
47
- - Move to convergent phase
48
- - End session
49
-
50
- **Output Capture (if requested):**
51
- For each technique used, capture:
52
-
53
- - Technique name and duration
54
- - Key ideas generated by user
55
- - Insights and patterns identified
56
- - User's reflections on the process
57
-
58
- ### Step 4: Session Flow
59
-
60
- 1. **Warm-up** (5-10 min) - Build creative confidence
61
- 2. **Divergent** (20-30 min) - Generate quantity over quality
62
- 3. **Convergent** (15-20 min) - Group and categorize ideas
63
- 4. **Synthesis** (10-15 min) - Refine and develop concepts
64
-
65
- ### Step 5: Document Output (if requested)
66
-
67
- Generate structured document with these sections:
68
-
69
- **Executive Summary**
70
-
71
- - Session topic and goals
72
- - Techniques used and duration
73
- - Total ideas generated
74
- - Key themes and patterns identified
75
-
76
- **Technique Sections** (for each technique used)
77
-
78
- - Technique name and description
79
- - Ideas generated (user's own words)
80
- - Insights discovered
81
- - Notable connections or patterns
82
-
83
- **Idea Categorization**
84
-
85
- - **Immediate Opportunities** - Ready to implement now
86
- - **Future Innovations** - Requires development/research
87
- - **Moonshots** - Ambitious, transformative concepts
88
- - **Insights & Learnings** - Key realizations from session
89
-
90
- **Action Planning**
91
-
92
- - Top 3 priority ideas with rationale
93
- - Next steps for each priority
94
- - Resources/research needed
95
- - Timeline considerations
96
-
97
- **Reflection & Follow-up**
98
-
99
- - What worked well in this session
100
- - Areas for further exploration
101
- - Recommended follow-up techniques
102
- - Questions that emerged for future sessions
103
-
104
- ## Key Principles
105
-
106
- - **YOU ARE A FACILITATOR**: Guide the user to brainstorm, don't brainstorm for them (unless they request it persistently)
107
- - **INTERACTIVE DIALOGUE**: Ask questions, wait for responses, build on their ideas
108
- - **ONE TECHNIQUE AT A TIME**: Don't mix multiple techniques in one response
109
- - **CONTINUOUS ENGAGEMENT**: Stay with one technique until user wants to switch
110
- - **DRAW IDEAS OUT**: Use prompts and examples to help them generate their own ideas
111
- - **REAL-TIME ADAPTATION**: Monitor engagement and adjust approach as needed
112
- - Maintain energy and momentum
113
- - Defer judgment during generation
114
- - Quantity leads to quality (aim for 100 ideas in 60 minutes)
115
- - Build on ideas collaboratively
116
- - Document everything in output document
117
-
118
- ## Advanced Engagement Strategies
119
-
120
- **Energy Management**
121
-
122
- - Check engagement levels: "How are you feeling about this direction?"
123
- - Offer breaks or technique switches if energy flags
124
- - Use encouraging language and celebrate idea generation
125
-
126
- **Depth vs. Breadth**
127
-
128
- - Ask follow-up questions to deepen ideas: "Tell me more about that..."
129
- - Use "Yes, and..." to build on their ideas
130
- - Help them make connections: "How does this relate to your earlier idea about...?"
131
-
132
- **Transition Management**
133
-
134
- - Always ask before switching techniques: "Ready to try a different approach?"
135
- - Offer options: "Should we explore this idea deeper or generate more alternatives?"
136
- - Respect their process and timing
@@ -1,51 +0,0 @@
1
- # Create AI Frontend Prompt Task
2
-
3
- ## Purpose
4
-
5
- To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application.
6
-
7
- ## Inputs
8
-
9
- - Completed UI/UX Specification (`front-end-spec.md`)
10
- - Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
11
- - Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
12
-
13
- ## Key Activities & Instructions
14
-
15
- ### 1. Core Prompting Principles
16
-
17
- Before generating the prompt, you must understand these core principles for interacting with a generative AI for code.
18
-
19
- - **Be Explicit and Detailed**: The AI cannot read your mind. Provide as much detail and context as possible. Vague requests lead to generic or incorrect outputs.
20
- - **Iterate, Don't Expect Perfection**: Generating an entire complex application in one go is rare. The most effective method is to prompt for one component or one section at a time, then build upon the results.
21
- - **Provide Context First**: Always start by providing the AI with the necessary context, such as the tech stack, existing code snippets, and overall project goals.
22
- - **Mobile-First Approach**: Frame all UI generation requests with a mobile-first design mindset. Describe the mobile layout first, then provide separate instructions for how it should adapt for tablet and desktop.
23
-
24
- ### 2. The Structured Prompting Framework
25
-
26
- To ensure the highest quality output, you MUST structure every prompt using the following four-part framework.
27
-
28
- 1. **High-Level Goal**: Start with a clear, concise summary of the overall objective. This orients the AI on the primary task.
29
- - _Example: "Create a responsive user registration form with client-side validation and API integration."_
30
- 2. **Detailed, Step-by-Step Instructions**: Provide a granular, numbered list of actions the AI should take. Break down complex tasks into smaller, sequential steps. This is the most critical part of the prompt.
31
- - _Example: "1. Create a new file named `RegistrationForm.js`. 2. Use React hooks for state management. 3. Add styled input fields for 'Name', 'Email', and 'Password'. 4. For the email field, ensure it is a valid email format. 5. On submission, call the API endpoint defined below."_
32
- 3. **Code Examples, Data Structures & Constraints**: Include any relevant snippets of existing code, data structures, or API contracts. This gives the AI concrete examples to work with. Crucially, you must also state what _not_ to do.
33
- - _Example: "Use this API endpoint: `POST /api/register`. The expected JSON payload is `{ "name": "string", "email": "string", "password": "string" }`. Do NOT include a 'confirm password' field. Use Tailwind CSS for all styling."_
34
- 4. **Define a Strict Scope**: Explicitly define the boundaries of the task. Tell the AI which files it can modify and, more importantly, which files to leave untouched to prevent unintended changes across the codebase.
35
- - _Example: "You should only create the `RegistrationForm.js` component and add it to the `pages/register.js` file. Do NOT alter the `Navbar.js` component or any other existing page or component."_
36
-
37
- ### 3. Assembling the Master Prompt
38
-
39
- You will now synthesize the inputs and the above principles into a final, comprehensive prompt.
40
-
41
- 1. **Gather Foundational Context**:
42
- - Start the prompt with a preamble describing the overall project purpose, the full tech stack (e.g., Next.js, TypeScript, Tailwind CSS), and the primary UI component library being used.
43
- 2. **Describe the Visuals**:
44
- - If the user has design files (Figma, etc.), instruct them to provide links or screenshots.
45
- - If not, describe the visual style: color palette, typography, spacing, and overall aesthetic (e.g., "minimalist", "corporate", "playful").
46
- 3. **Build the Prompt using the Structured Framework**:
47
- - Follow the four-part framework from Section 2 to build out the core request, whether it's for a single component or a full page.
48
- 4. **Present and Refine**:
49
- - Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
50
- - Explain the structure of the prompt and why certain information was included, referencing the principles above.
51
- - <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>