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,805 +0,0 @@
1
- template:
2
- id: fullstack-architecture-template-v2
3
- name: Fullstack Architecture Document
4
- version: 2.0
5
- output:
6
- format: markdown
7
- filename: docs/architecture.md
8
- title: "{{project_name}} Fullstack Architecture Document"
9
-
10
- workflow:
11
- mode: interactive
12
- elicitation: advanced-elicitation
13
-
14
- sections:
15
- - id: introduction
16
- title: Introduction
17
- instruction: |
18
- If available, review any provided relevant documents to gather all relevant context before beginning. At minimum, you should have access to docs/prd.md and docs/front-end-spec.md. Ask the user for any documents you need but cannot locate. This template creates a unified architecture that covers both backend and frontend concerns to guide AI-driven fullstack development.
19
- elicit: true
20
- content: |
21
- This document outlines the complete fullstack architecture for {{project_name}}, including backend systems, frontend implementation, and their integration. It serves as the single source of truth for AI-driven development, ensuring consistency across the entire technology stack.
22
-
23
- This unified approach combines what would traditionally be separate backend and frontend architecture documents, streamlining the development process for modern fullstack applications where these concerns are increasingly intertwined.
24
- sections:
25
- - id: starter-template
26
- title: Starter Template or Existing Project
27
- instruction: |
28
- Before proceeding with architecture design, check if the project is based on any starter templates or existing codebases:
29
-
30
- 1. Review the PRD and other documents for mentions of:
31
- - Fullstack starter templates (e.g., T3 Stack, MEAN/MERN starters, Django + React templates)
32
- - Monorepo templates (e.g., Nx, Turborepo starters)
33
- - Platform-specific starters (e.g., Vercel templates, AWS Amplify starters)
34
- - Existing projects being extended or cloned
35
-
36
- 2. If starter templates or existing projects are mentioned:
37
- - Ask the user to provide access (links, repos, or files)
38
- - Analyze to understand pre-configured choices and constraints
39
- - Note any architectural decisions already made
40
- - Identify what can be modified vs what must be retained
41
-
42
- 3. If no starter is mentioned but this is greenfield:
43
- - Suggest appropriate fullstack starters based on tech preferences
44
- - Consider platform-specific options (Vercel, AWS, etc.)
45
- - Let user decide whether to use one
46
-
47
- 4. Document the decision and any constraints it imposes
48
-
49
- If none, state "N/A - Greenfield project"
50
- - id: changelog
51
- title: Change Log
52
- type: table
53
- columns: [Date, Version, Description, Author]
54
- instruction: Track document versions and changes
55
-
56
- - id: high-level-architecture
57
- title: High Level Architecture
58
- instruction: This section contains multiple subsections that establish the foundation. Present all subsections together, then elicit feedback on the complete section.
59
- elicit: true
60
- sections:
61
- - id: technical-summary
62
- title: Technical Summary
63
- instruction: |
64
- Provide a comprehensive overview (4-6 sentences) covering:
65
- - Overall architectural style and deployment approach
66
- - Frontend framework and backend technology choices
67
- - Key integration points between frontend and backend
68
- - Infrastructure platform and services
69
- - How this architecture achieves PRD goals
70
- - id: platform-infrastructure
71
- title: Platform and Infrastructure Choice
72
- instruction: |
73
- Based on PRD requirements and technical assumptions, make a platform recommendation:
74
-
75
- 1. Consider common patterns (not an exhaustive list, use your own best judgement and search the web as needed for emerging trends):
76
- - **Vercel + Supabase**: For rapid development with Next.js, built-in auth/storage
77
- - **AWS Full Stack**: For enterprise scale with Lambda, API Gateway, S3, Cognito
78
- - **Azure**: For .NET ecosystems or enterprise Microsoft environments
79
- - **Google Cloud**: For ML/AI heavy applications or Google ecosystem integration
80
-
81
- 2. Present 2-3 viable options with clear pros/cons
82
- 3. Make a recommendation with rationale
83
- 4. Get explicit user confirmation
84
-
85
- Document the choice and key services that will be used.
86
- template: |
87
- **Platform:** {{selected_platform}}
88
- **Key Services:** {{core_services_list}}
89
- **Deployment Host and Regions:** {{regions}}
90
- - id: repository-structure
91
- title: Repository Structure
92
- instruction: |
93
- Define the repository approach based on PRD requirements and platform choice, explain your rationale or ask questions to the user if unsure:
94
-
95
- 1. For modern fullstack apps, monorepo is often preferred
96
- 2. Consider tooling (Nx, Turborepo, Lerna, npm workspaces)
97
- 3. Define package/app boundaries
98
- 4. Plan for shared code between frontend and backend
99
- template: |
100
- **Structure:** {{repo_structure_choice}}
101
- **Monorepo Tool:** {{monorepo_tool_if_applicable}}
102
- **Package Organization:** {{package_strategy}}
103
- - id: architecture-diagram
104
- title: High Level Architecture Diagram
105
- type: mermaid
106
- mermaid_type: graph
107
- instruction: |
108
- Create a Mermaid diagram showing the complete system architecture including:
109
- - User entry points (web, mobile)
110
- - Frontend application deployment
111
- - API layer (REST/GraphQL)
112
- - Backend services
113
- - Databases and storage
114
- - External integrations
115
- - CDN and caching layers
116
-
117
- Use appropriate diagram type for clarity.
118
- - id: architectural-patterns
119
- title: Architectural Patterns
120
- instruction: |
121
- List patterns that will guide both frontend and backend development. Include patterns for:
122
- - Overall architecture (e.g., Jamstack, Serverless, Microservices)
123
- - Frontend patterns (e.g., Component-based, State management)
124
- - Backend patterns (e.g., Repository, CQRS, Event-driven)
125
- - Integration patterns (e.g., BFF, API Gateway)
126
-
127
- For each pattern, provide recommendation and rationale.
128
- repeatable: true
129
- template: "- **{{pattern_name}}:** {{pattern_description}} - _Rationale:_ {{rationale}}"
130
- examples:
131
- - "**Jamstack Architecture:** Static site generation with serverless APIs - _Rationale:_ Optimal performance and scalability for content-heavy applications"
132
- - "**Component-Based UI:** Reusable React components with TypeScript - _Rationale:_ Maintainability and type safety across large codebases"
133
- - "**Repository Pattern:** Abstract data access logic - _Rationale:_ Enables testing and future database migration flexibility"
134
- - "**API Gateway Pattern:** Single entry point for all API calls - _Rationale:_ Centralized auth, rate limiting, and monitoring"
135
-
136
- - id: tech-stack
137
- title: Tech Stack
138
- instruction: |
139
- This is the DEFINITIVE technology selection for the entire project. Work with user to finalize all choices. This table is the single source of truth - all development must use these exact versions.
140
-
141
- Key areas to cover:
142
- - Frontend and backend languages/frameworks
143
- - Databases and caching
144
- - Authentication and authorization
145
- - API approach
146
- - Testing tools for both frontend and backend
147
- - Build and deployment tools
148
- - Monitoring and logging
149
-
150
- Upon render, elicit feedback immediately.
151
- elicit: true
152
- sections:
153
- - id: tech-stack-table
154
- title: Technology Stack Table
155
- type: table
156
- columns: [Category, Technology, Version, Purpose, Rationale]
157
- rows:
158
- - ["Frontend Language", "{{fe_language}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
159
- - ["Frontend Framework", "{{fe_framework}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
160
- - ["UI Component Library", "{{ui_library}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
161
- - ["State Management", "{{state_mgmt}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
162
- - ["Backend Language", "{{be_language}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
163
- - ["Backend Framework", "{{be_framework}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
164
- - ["API Style", "{{api_style}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
165
- - ["Database", "{{database}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
166
- - ["Cache", "{{cache}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
167
- - ["File Storage", "{{storage}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
168
- - ["Authentication", "{{auth}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
169
- - ["Frontend Testing", "{{fe_test}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
170
- - ["Backend Testing", "{{be_test}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
171
- - ["E2E Testing", "{{e2e_test}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
172
- - ["Build Tool", "{{build_tool}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
173
- - ["Bundler", "{{bundler}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
174
- - ["IaC Tool", "{{iac_tool}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
175
- - ["CI/CD", "{{cicd}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
176
- - ["Monitoring", "{{monitoring}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
177
- - ["Logging", "{{logging}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
178
- - ["CSS Framework", "{{css_framework}}", "{{version}}", "{{purpose}}", "{{why_chosen}}"]
179
-
180
- - id: data-models
181
- title: Data Models
182
- instruction: |
183
- Define the core data models/entities that will be shared between frontend and backend:
184
-
185
- 1. Review PRD requirements and identify key business entities
186
- 2. For each model, explain its purpose and relationships
187
- 3. Include key attributes and data types
188
- 4. Show relationships between models
189
- 5. Create TypeScript interfaces that can be shared
190
- 6. Discuss design decisions with user
191
-
192
- Create a clear conceptual model before moving to database schema.
193
- elicit: true
194
- repeatable: true
195
- sections:
196
- - id: model
197
- title: "{{model_name}}"
198
- template: |
199
- **Purpose:** {{model_purpose}}
200
-
201
- **Key Attributes:**
202
- - {{attribute_1}}: {{type_1}} - {{description_1}}
203
- - {{attribute_2}}: {{type_2}} - {{description_2}}
204
- sections:
205
- - id: typescript-interface
206
- title: TypeScript Interface
207
- type: code
208
- language: typescript
209
- template: "{{model_interface}}"
210
- - id: relationships
211
- title: Relationships
212
- type: bullet-list
213
- template: "- {{relationship}}"
214
-
215
- - id: api-spec
216
- title: API Specification
217
- instruction: |
218
- Based on the chosen API style from Tech Stack:
219
-
220
- 1. If REST API, create an OpenAPI 3.0 specification
221
- 2. If GraphQL, provide the GraphQL schema
222
- 3. If tRPC, show router definitions
223
- 4. Include all endpoints from epics/stories
224
- 5. Define request/response schemas based on data models
225
- 6. Document authentication requirements
226
- 7. Include example requests/responses
227
-
228
- Use appropriate format for the chosen API style. If no API (e.g., static site), skip this section.
229
- elicit: true
230
- sections:
231
- - id: rest-api
232
- title: REST API Specification
233
- condition: API style is REST
234
- type: code
235
- language: yaml
236
- template: |
237
- openapi: 3.0.0
238
- info:
239
- title: {{api_title}}
240
- version: {{api_version}}
241
- description: {{api_description}}
242
- servers:
243
- - url: {{server_url}}
244
- description: {{server_description}}
245
- - id: graphql-api
246
- title: GraphQL Schema
247
- condition: API style is GraphQL
248
- type: code
249
- language: graphql
250
- template: "{{graphql_schema}}"
251
- - id: trpc-api
252
- title: tRPC Router Definitions
253
- condition: API style is tRPC
254
- type: code
255
- language: typescript
256
- template: "{{trpc_routers}}"
257
-
258
- - id: components
259
- title: Components
260
- instruction: |
261
- Based on the architectural patterns, tech stack, and data models from above:
262
-
263
- 1. Identify major logical components/services across the fullstack
264
- 2. Consider both frontend and backend components
265
- 3. Define clear boundaries and interfaces between components
266
- 4. For each component, specify:
267
- - Primary responsibility
268
- - Key interfaces/APIs exposed
269
- - Dependencies on other components
270
- - Technology specifics based on tech stack choices
271
-
272
- 5. Create component diagrams where helpful
273
- elicit: true
274
- sections:
275
- - id: component-list
276
- repeatable: true
277
- title: "{{component_name}}"
278
- template: |
279
- **Responsibility:** {{component_description}}
280
-
281
- **Key Interfaces:**
282
- - {{interface_1}}
283
- - {{interface_2}}
284
-
285
- **Dependencies:** {{dependencies}}
286
-
287
- **Technology Stack:** {{component_tech_details}}
288
- - id: component-diagrams
289
- title: Component Diagrams
290
- type: mermaid
291
- instruction: |
292
- Create Mermaid diagrams to visualize component relationships. Options:
293
- - C4 Container diagram for high-level view
294
- - Component diagram for detailed internal structure
295
- - Sequence diagrams for complex interactions
296
- Choose the most appropriate for clarity
297
-
298
- - id: external-apis
299
- title: External APIs
300
- condition: Project requires external API integrations
301
- instruction: |
302
- For each external service integration:
303
-
304
- 1. Identify APIs needed based on PRD requirements and component design
305
- 2. If documentation URLs are unknown, ask user for specifics
306
- 3. Document authentication methods and security considerations
307
- 4. List specific endpoints that will be used
308
- 5. Note any rate limits or usage constraints
309
-
310
- If no external APIs are needed, state this explicitly and skip to next section.
311
- elicit: true
312
- repeatable: true
313
- sections:
314
- - id: api
315
- title: "{{api_name}} API"
316
- template: |
317
- - **Purpose:** {{api_purpose}}
318
- - **Documentation:** {{api_docs_url}}
319
- - **Base URL(s):** {{api_base_url}}
320
- - **Authentication:** {{auth_method}}
321
- - **Rate Limits:** {{rate_limits}}
322
-
323
- **Key Endpoints Used:**
324
- - `{{method}} {{endpoint_path}}` - {{endpoint_purpose}}
325
-
326
- **Integration Notes:** {{integration_considerations}}
327
-
328
- - id: core-workflows
329
- title: Core Workflows
330
- type: mermaid
331
- mermaid_type: sequence
332
- instruction: |
333
- Illustrate key system workflows using sequence diagrams:
334
-
335
- 1. Identify critical user journeys from PRD
336
- 2. Show component interactions including external APIs
337
- 3. Include both frontend and backend flows
338
- 4. Include error handling paths
339
- 5. Document async operations
340
- 6. Create both high-level and detailed diagrams as needed
341
-
342
- Focus on workflows that clarify architecture decisions or complex interactions.
343
- elicit: true
344
-
345
- - id: database-schema
346
- title: Database Schema
347
- instruction: |
348
- Transform the conceptual data models into concrete database schemas:
349
-
350
- 1. Use the database type(s) selected in Tech Stack
351
- 2. Create schema definitions using appropriate notation
352
- 3. Include indexes, constraints, and relationships
353
- 4. Consider performance and scalability
354
- 5. For NoSQL, show document structures
355
-
356
- Present schema in format appropriate to database type (SQL DDL, JSON schema, etc.)
357
- elicit: true
358
-
359
- - id: frontend-architecture
360
- title: Frontend Architecture
361
- instruction: Define frontend-specific architecture details. After each subsection, note if user wants to refine before continuing.
362
- elicit: true
363
- sections:
364
- - id: component-architecture
365
- title: Component Architecture
366
- instruction: Define component organization and patterns based on chosen framework.
367
- sections:
368
- - id: component-organization
369
- title: Component Organization
370
- type: code
371
- language: text
372
- template: "{{component_structure}}"
373
- - id: component-template
374
- title: Component Template
375
- type: code
376
- language: typescript
377
- template: "{{component_template}}"
378
- - id: state-management
379
- title: State Management Architecture
380
- instruction: Detail state management approach based on chosen solution.
381
- sections:
382
- - id: state-structure
383
- title: State Structure
384
- type: code
385
- language: typescript
386
- template: "{{state_structure}}"
387
- - id: state-patterns
388
- title: State Management Patterns
389
- type: bullet-list
390
- template: "- {{pattern}}"
391
- - id: routing-architecture
392
- title: Routing Architecture
393
- instruction: Define routing structure based on framework choice.
394
- sections:
395
- - id: route-organization
396
- title: Route Organization
397
- type: code
398
- language: text
399
- template: "{{route_structure}}"
400
- - id: protected-routes
401
- title: Protected Route Pattern
402
- type: code
403
- language: typescript
404
- template: "{{protected_route_example}}"
405
- - id: frontend-services
406
- title: Frontend Services Layer
407
- instruction: Define how frontend communicates with backend.
408
- sections:
409
- - id: api-client-setup
410
- title: API Client Setup
411
- type: code
412
- language: typescript
413
- template: "{{api_client_setup}}"
414
- - id: service-example
415
- title: Service Example
416
- type: code
417
- language: typescript
418
- template: "{{service_example}}"
419
-
420
- - id: backend-architecture
421
- title: Backend Architecture
422
- instruction: Define backend-specific architecture details. Consider serverless vs traditional server approaches.
423
- elicit: true
424
- sections:
425
- - id: service-architecture
426
- title: Service Architecture
427
- instruction: Based on platform choice, define service organization.
428
- sections:
429
- - id: serverless-architecture
430
- condition: Serverless architecture chosen
431
- sections:
432
- - id: function-organization
433
- title: Function Organization
434
- type: code
435
- language: text
436
- template: "{{function_structure}}"
437
- - id: function-template
438
- title: Function Template
439
- type: code
440
- language: typescript
441
- template: "{{function_template}}"
442
- - id: traditional-server
443
- condition: Traditional server architecture chosen
444
- sections:
445
- - id: controller-organization
446
- title: Controller/Route Organization
447
- type: code
448
- language: text
449
- template: "{{controller_structure}}"
450
- - id: controller-template
451
- title: Controller Template
452
- type: code
453
- language: typescript
454
- template: "{{controller_template}}"
455
- - id: database-architecture
456
- title: Database Architecture
457
- instruction: Define database schema and access patterns.
458
- sections:
459
- - id: schema-design
460
- title: Schema Design
461
- type: code
462
- language: sql
463
- template: "{{database_schema}}"
464
- - id: data-access-layer
465
- title: Data Access Layer
466
- type: code
467
- language: typescript
468
- template: "{{repository_pattern}}"
469
- - id: auth-architecture
470
- title: Authentication and Authorization
471
- instruction: Define auth implementation details.
472
- sections:
473
- - id: auth-flow
474
- title: Auth Flow
475
- type: mermaid
476
- mermaid_type: sequence
477
- template: "{{auth_flow_diagram}}"
478
- - id: auth-middleware
479
- title: Middleware/Guards
480
- type: code
481
- language: typescript
482
- template: "{{auth_middleware}}"
483
-
484
- - id: unified-project-structure
485
- title: Unified Project Structure
486
- instruction: Create a monorepo structure that accommodates both frontend and backend. Adapt based on chosen tools and frameworks.
487
- elicit: true
488
- type: code
489
- language: plaintext
490
- examples:
491
- - |
492
- {{project-name}}/
493
- ├── .github/ # CI/CD workflows
494
- │ └── workflows/
495
- │ ├── ci.yaml
496
- │ └── deploy.yaml
497
- ├── apps/ # Application packages
498
- │ ├── web/ # Frontend application
499
- │ │ ├── src/
500
- │ │ │ ├── components/ # UI components
501
- │ │ │ ├── pages/ # Page components/routes
502
- │ │ │ ├── hooks/ # Custom React hooks
503
- │ │ │ ├── services/ # API client services
504
- │ │ │ ├── stores/ # State management
505
- │ │ │ ├── styles/ # Global styles/themes
506
- │ │ │ └── utils/ # Frontend utilities
507
- │ │ ├── public/ # Static assets
508
- │ │ ├── tests/ # Frontend tests
509
- │ │ └── package.json
510
- │ └── api/ # Backend application
511
- │ ├── src/
512
- │ │ ├── routes/ # API routes/controllers
513
- │ │ ├── services/ # Business logic
514
- │ │ ├── models/ # Data models
515
- │ │ ├── middleware/ # Express/API middleware
516
- │ │ ├── utils/ # Backend utilities
517
- │ │ └── {{serverless_or_server_entry}}
518
- │ ├── tests/ # Backend tests
519
- │ └── package.json
520
- ├── packages/ # Shared packages
521
- │ ├── shared/ # Shared types/utilities
522
- │ │ ├── src/
523
- │ │ │ ├── types/ # TypeScript interfaces
524
- │ │ │ ├── constants/ # Shared constants
525
- │ │ │ └── utils/ # Shared utilities
526
- │ │ └── package.json
527
- │ ├── ui/ # Shared UI components
528
- │ │ ├── src/
529
- │ │ └── package.json
530
- │ └── config/ # Shared configuration
531
- │ ├── eslint/
532
- │ ├── typescript/
533
- │ └── jest/
534
- ├── infrastructure/ # IaC definitions
535
- │ └── {{iac_structure}}
536
- ├── scripts/ # Build/deploy scripts
537
- ├── docs/ # Documentation
538
- │ ├── prd.md
539
- │ ├── front-end-spec.md
540
- │ └── fullstack-architecture.md
541
- ├── .env.example # Environment template
542
- ├── package.json # Root package.json
543
- ├── {{monorepo_config}} # Monorepo configuration
544
- └── README.md
545
-
546
- - id: development-workflow
547
- title: Development Workflow
548
- instruction: Define the development setup and workflow for the fullstack application.
549
- elicit: true
550
- sections:
551
- - id: local-setup
552
- title: Local Development Setup
553
- sections:
554
- - id: prerequisites
555
- title: Prerequisites
556
- type: code
557
- language: bash
558
- template: "{{prerequisites_commands}}"
559
- - id: initial-setup
560
- title: Initial Setup
561
- type: code
562
- language: bash
563
- template: "{{setup_commands}}"
564
- - id: dev-commands
565
- title: Development Commands
566
- type: code
567
- language: bash
568
- template: |
569
- # Start all services
570
- {{start_all_command}}
571
-
572
- # Start frontend only
573
- {{start_frontend_command}}
574
-
575
- # Start backend only
576
- {{start_backend_command}}
577
-
578
- # Run tests
579
- {{test_commands}}
580
- - id: environment-config
581
- title: Environment Configuration
582
- sections:
583
- - id: env-vars
584
- title: Required Environment Variables
585
- type: code
586
- language: bash
587
- template: |
588
- # Frontend (.env.local)
589
- {{frontend_env_vars}}
590
-
591
- # Backend (.env)
592
- {{backend_env_vars}}
593
-
594
- # Shared
595
- {{shared_env_vars}}
596
-
597
- - id: deployment-architecture
598
- title: Deployment Architecture
599
- instruction: Define deployment strategy based on platform choice.
600
- elicit: true
601
- sections:
602
- - id: deployment-strategy
603
- title: Deployment Strategy
604
- template: |
605
- **Frontend Deployment:**
606
- - **Platform:** {{frontend_deploy_platform}}
607
- - **Build Command:** {{frontend_build_command}}
608
- - **Output Directory:** {{frontend_output_dir}}
609
- - **CDN/Edge:** {{cdn_strategy}}
610
-
611
- **Backend Deployment:**
612
- - **Platform:** {{backend_deploy_platform}}
613
- - **Build Command:** {{backend_build_command}}
614
- - **Deployment Method:** {{deployment_method}}
615
- - id: cicd-pipeline
616
- title: CI/CD Pipeline
617
- type: code
618
- language: yaml
619
- template: "{{cicd_pipeline_config}}"
620
- - id: environments
621
- title: Environments
622
- type: table
623
- columns: [Environment, Frontend URL, Backend URL, Purpose]
624
- rows:
625
- - ["Development", "{{dev_fe_url}}", "{{dev_be_url}}", "Local development"]
626
- - ["Staging", "{{staging_fe_url}}", "{{staging_be_url}}", "Pre-production testing"]
627
- - ["Production", "{{prod_fe_url}}", "{{prod_be_url}}", "Live environment"]
628
-
629
- - id: security-performance
630
- title: Security and Performance
631
- instruction: Define security and performance considerations for the fullstack application.
632
- elicit: true
633
- sections:
634
- - id: security-requirements
635
- title: Security Requirements
636
- template: |
637
- **Frontend Security:**
638
- - CSP Headers: {{csp_policy}}
639
- - XSS Prevention: {{xss_strategy}}
640
- - Secure Storage: {{storage_strategy}}
641
-
642
- **Backend Security:**
643
- - Input Validation: {{validation_approach}}
644
- - Rate Limiting: {{rate_limit_config}}
645
- - CORS Policy: {{cors_config}}
646
-
647
- **Authentication Security:**
648
- - Token Storage: {{token_strategy}}
649
- - Session Management: {{session_approach}}
650
- - Password Policy: {{password_requirements}}
651
- - id: performance-optimization
652
- title: Performance Optimization
653
- template: |
654
- **Frontend Performance:**
655
- - Bundle Size Target: {{bundle_size}}
656
- - Loading Strategy: {{loading_approach}}
657
- - Caching Strategy: {{fe_cache_strategy}}
658
-
659
- **Backend Performance:**
660
- - Response Time Target: {{response_target}}
661
- - Database Optimization: {{db_optimization}}
662
- - Caching Strategy: {{be_cache_strategy}}
663
-
664
- - id: testing-strategy
665
- title: Testing Strategy
666
- instruction: Define comprehensive testing approach for fullstack application.
667
- elicit: true
668
- sections:
669
- - id: testing-pyramid
670
- title: Testing Pyramid
671
- type: code
672
- language: text
673
- template: |
674
- E2E Tests
675
- / \
676
- Integration Tests
677
- / \
678
- Frontend Unit Backend Unit
679
- - id: test-organization
680
- title: Test Organization
681
- sections:
682
- - id: frontend-tests
683
- title: Frontend Tests
684
- type: code
685
- language: text
686
- template: "{{frontend_test_structure}}"
687
- - id: backend-tests
688
- title: Backend Tests
689
- type: code
690
- language: text
691
- template: "{{backend_test_structure}}"
692
- - id: e2e-tests
693
- title: E2E Tests
694
- type: code
695
- language: text
696
- template: "{{e2e_test_structure}}"
697
- - id: test-examples
698
- title: Test Examples
699
- sections:
700
- - id: frontend-test
701
- title: Frontend Component Test
702
- type: code
703
- language: typescript
704
- template: "{{frontend_test_example}}"
705
- - id: backend-test
706
- title: Backend API Test
707
- type: code
708
- language: typescript
709
- template: "{{backend_test_example}}"
710
- - id: e2e-test
711
- title: E2E Test
712
- type: code
713
- language: typescript
714
- template: "{{e2e_test_example}}"
715
-
716
- - id: coding-standards
717
- title: Coding Standards
718
- instruction: Define MINIMAL but CRITICAL standards for AI agents. Focus only on project-specific rules that prevent common mistakes. These will be used by dev agents.
719
- elicit: true
720
- sections:
721
- - id: critical-rules
722
- title: Critical Fullstack Rules
723
- repeatable: true
724
- template: "- **{{rule_name}}:** {{rule_description}}"
725
- examples:
726
- - "**Type Sharing:** Always define types in packages/shared and import from there"
727
- - "**API Calls:** Never make direct HTTP calls - use the service layer"
728
- - "**Environment Variables:** Access only through config objects, never process.env directly"
729
- - "**Error Handling:** All API routes must use the standard error handler"
730
- - "**State Updates:** Never mutate state directly - use proper state management patterns"
731
- - id: naming-conventions
732
- title: Naming Conventions
733
- type: table
734
- columns: [Element, Frontend, Backend, Example]
735
- rows:
736
- - ["Components", "PascalCase", "-", "`UserProfile.tsx`"]
737
- - ["Hooks", "camelCase with 'use'", "-", "`useAuth.ts`"]
738
- - ["API Routes", "-", "kebab-case", "`/api/user-profile`"]
739
- - ["Database Tables", "-", "snake_case", "`user_profiles`"]
740
-
741
- - id: error-handling
742
- title: Error Handling Strategy
743
- instruction: Define unified error handling across frontend and backend.
744
- elicit: true
745
- sections:
746
- - id: error-flow
747
- title: Error Flow
748
- type: mermaid
749
- mermaid_type: sequence
750
- template: "{{error_flow_diagram}}"
751
- - id: error-format
752
- title: Error Response Format
753
- type: code
754
- language: typescript
755
- template: |
756
- interface ApiError {
757
- error: {
758
- code: string;
759
- message: string;
760
- details?: Record<string, any>;
761
- timestamp: string;
762
- requestId: string;
763
- };
764
- }
765
- - id: frontend-error-handling
766
- title: Frontend Error Handling
767
- type: code
768
- language: typescript
769
- template: "{{frontend_error_handler}}"
770
- - id: backend-error-handling
771
- title: Backend Error Handling
772
- type: code
773
- language: typescript
774
- template: "{{backend_error_handler}}"
775
-
776
- - id: monitoring
777
- title: Monitoring and Observability
778
- instruction: Define monitoring strategy for fullstack application.
779
- elicit: true
780
- sections:
781
- - id: monitoring-stack
782
- title: Monitoring Stack
783
- template: |
784
- - **Frontend Monitoring:** {{frontend_monitoring}}
785
- - **Backend Monitoring:** {{backend_monitoring}}
786
- - **Error Tracking:** {{error_tracking}}
787
- - **Performance Monitoring:** {{perf_monitoring}}
788
- - id: key-metrics
789
- title: Key Metrics
790
- template: |
791
- **Frontend Metrics:**
792
- - Core Web Vitals
793
- - JavaScript errors
794
- - API response times
795
- - User interactions
796
-
797
- **Backend Metrics:**
798
- - Request rate
799
- - Error rate
800
- - Response time
801
- - Database query performance
802
-
803
- - id: checklist-results
804
- title: Checklist Results Report
805
- instruction: Before running the checklist, offer to output the full architecture document. Once user confirms, execute the architect-checklist and populate results here.