@siliconoid/agentkit 0.1.0

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 (723) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +247 -0
  3. package/bin/cli.mjs +134 -0
  4. package/lib/adapters/antigravity.mjs +70 -0
  5. package/lib/adapters/claude.mjs +85 -0
  6. package/lib/adapters/codex.mjs +60 -0
  7. package/lib/adapters/cursor.mjs +58 -0
  8. package/lib/adapters/gemini.mjs +69 -0
  9. package/lib/adapters/windsurf.mjs +65 -0
  10. package/lib/commands/add-platform.mjs +73 -0
  11. package/lib/commands/add-skill-pack.mjs +49 -0
  12. package/lib/commands/add-skill.mjs +78 -0
  13. package/lib/commands/diff.mjs +110 -0
  14. package/lib/commands/doctor.mjs +196 -0
  15. package/lib/commands/init.mjs +261 -0
  16. package/lib/commands/install.mjs +236 -0
  17. package/lib/commands/list.mjs +105 -0
  18. package/lib/commands/remove.mjs +126 -0
  19. package/lib/commands/sync.mjs +155 -0
  20. package/lib/commands/update.mjs +113 -0
  21. package/lib/index.mjs +233 -0
  22. package/lib/log.mjs +89 -0
  23. package/lib/prompts.mjs +348 -0
  24. package/lib/scaffold.mjs +385 -0
  25. package/lib/schema.mjs +135 -0
  26. package/lib/utils.mjs +296 -0
  27. package/package.json +57 -0
  28. package/templates/base/.ai/changelog/README.md +21 -0
  29. package/templates/base/.ai/decisions/README.md +34 -0
  30. package/templates/base/.ai/decisions/_template.md +29 -0
  31. package/templates/base/.ai/memory/debugging-patterns.md +5 -0
  32. package/templates/base/.ai/memory/known-issues.md +5 -0
  33. package/templates/base/.ai/memory/refactoring-log.md +5 -0
  34. package/templates/base/.ai/rules/01-project-overview.md +23 -0
  35. package/templates/base/.ai/rules/02-architecture.md +17 -0
  36. package/templates/base/.ai/rules/03-coding-conventions.md +26 -0
  37. package/templates/base/.ai/rules/04-directory-structure.md +20 -0
  38. package/templates/base/.ai/rules/05-environment.md +29 -0
  39. package/templates/base/.ai/rules/06-typescript.md +32 -0
  40. package/templates/base/.ai/rules/07-react.md +34 -0
  41. package/templates/base/.ai/rules/08-styling.md +38 -0
  42. package/templates/base/.ai/rules/09-naming.md +40 -0
  43. package/templates/base/.ai/rules/10-git-workflow.md +48 -0
  44. package/templates/base/.ai/rules/11-testing.md +19 -0
  45. package/templates/base/.ai/rules/12-forbidden-patterns.md +13 -0
  46. package/templates/base/.ai/rules/13-ai-agent.md +23 -0
  47. package/templates/base/.ai/scripts/sync-skills.mjs +15 -0
  48. package/templates/base/.ai/skills/adr/manifest.yaml +4 -0
  49. package/templates/base/.ai/skills/adr/skill.md +64 -0
  50. package/templates/base/.ai/skills/devlog/manifest.yaml +4 -0
  51. package/templates/base/.ai/skills/devlog/skill.md +63 -0
  52. package/templates/base/.ai/skills/wrap-up/manifest.yaml +4 -0
  53. package/templates/base/.ai/skills/wrap-up/skill.md +85 -0
  54. package/templates/base/.specs/README.md +37 -0
  55. package/templates/base/.specs/epics/.gitkeep +0 -0
  56. package/templates/base/.specs/stories/.gitkeep +0 -0
  57. package/templates/base/.specs/tasks/draft/.gitkeep +0 -0
  58. package/templates/bmad/_bmad/_config/agent-manifest.csv +11 -0
  59. package/templates/bmad/_bmad/_config/agents/bmm-analyst.customize.yaml +41 -0
  60. package/templates/bmad/_bmad/_config/agents/bmm-architect.customize.yaml +41 -0
  61. package/templates/bmad/_bmad/_config/agents/bmm-dev.customize.yaml +41 -0
  62. package/templates/bmad/_bmad/_config/agents/bmm-pm.customize.yaml +41 -0
  63. package/templates/bmad/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +41 -0
  64. package/templates/bmad/_bmad/_config/agents/bmm-sm.customize.yaml +41 -0
  65. package/templates/bmad/_bmad/_config/agents/bmm-tea.customize.yaml +41 -0
  66. package/templates/bmad/_bmad/_config/agents/bmm-tech-writer.customize.yaml +41 -0
  67. package/templates/bmad/_bmad/_config/agents/bmm-ux-designer.customize.yaml +41 -0
  68. package/templates/bmad/_bmad/_config/agents/core-bmad-master.customize.yaml +41 -0
  69. package/templates/bmad/_bmad/_config/files-manifest.csv +290 -0
  70. package/templates/bmad/_bmad/_config/ides/claude-code.yaml +6 -0
  71. package/templates/bmad/_bmad/_config/ides/codex.yaml +5 -0
  72. package/templates/bmad/_bmad/_config/manifest.yaml +8 -0
  73. package/templates/bmad/_bmad/_config/task-manifest.csv +5 -0
  74. package/templates/bmad/_bmad/_config/tool-manifest.csv +1 -0
  75. package/templates/bmad/_bmad/_config/workflow-manifest.csv +35 -0
  76. package/templates/bmad/_bmad/bmm/agents/analyst.md +76 -0
  77. package/templates/bmad/_bmad/bmm/agents/architect.md +68 -0
  78. package/templates/bmad/_bmad/bmm/agents/dev.md +70 -0
  79. package/templates/bmad/_bmad/bmm/agents/pm.md +72 -0
  80. package/templates/bmad/_bmad/bmm/agents/quick-flow-solo-dev.md +68 -0
  81. package/templates/bmad/_bmad/bmm/agents/sm.md +71 -0
  82. package/templates/bmad/_bmad/bmm/agents/tea.md +71 -0
  83. package/templates/bmad/_bmad/bmm/agents/tech-writer.md +72 -0
  84. package/templates/bmad/_bmad/bmm/agents/ux-designer.md +68 -0
  85. package/templates/bmad/_bmad/bmm/config.yaml +18 -0
  86. package/templates/bmad/_bmad/bmm/data/README.md +29 -0
  87. package/templates/bmad/_bmad/bmm/data/documentation-standards.md +262 -0
  88. package/templates/bmad/_bmad/bmm/data/project-context-template.md +40 -0
  89. package/templates/bmad/_bmad/bmm/teams/default-party.csv +21 -0
  90. package/templates/bmad/_bmad/bmm/teams/team-fullstack.yaml +12 -0
  91. package/templates/bmad/_bmad/bmm/testarch/knowledge/api-request.md +442 -0
  92. package/templates/bmad/_bmad/bmm/testarch/knowledge/api-testing-patterns.md +843 -0
  93. package/templates/bmad/_bmad/bmm/testarch/knowledge/auth-session.md +552 -0
  94. package/templates/bmad/_bmad/bmm/testarch/knowledge/burn-in.md +273 -0
  95. package/templates/bmad/_bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  96. package/templates/bmad/_bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  97. package/templates/bmad/_bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  98. package/templates/bmad/_bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  99. package/templates/bmad/_bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  100. package/templates/bmad/_bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  101. package/templates/bmad/_bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  102. package/templates/bmad/_bmad/bmm/testarch/knowledge/file-utils.md +463 -0
  103. package/templates/bmad/_bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  104. package/templates/bmad/_bmad/bmm/testarch/knowledge/fixtures-composition.md +382 -0
  105. package/templates/bmad/_bmad/bmm/testarch/knowledge/intercept-network-call.md +430 -0
  106. package/templates/bmad/_bmad/bmm/testarch/knowledge/log.md +429 -0
  107. package/templates/bmad/_bmad/bmm/testarch/knowledge/network-error-monitor.md +405 -0
  108. package/templates/bmad/_bmad/bmm/testarch/knowledge/network-first.md +486 -0
  109. package/templates/bmad/_bmad/bmm/testarch/knowledge/network-recorder.md +527 -0
  110. package/templates/bmad/_bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  111. package/templates/bmad/_bmad/bmm/testarch/knowledge/overview.md +286 -0
  112. package/templates/bmad/_bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  113. package/templates/bmad/_bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  114. package/templates/bmad/_bmad/bmm/testarch/knowledge/recurse.md +421 -0
  115. package/templates/bmad/_bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  116. package/templates/bmad/_bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  117. package/templates/bmad/_bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  118. package/templates/bmad/_bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  119. package/templates/bmad/_bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  120. package/templates/bmad/_bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  121. package/templates/bmad/_bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  122. package/templates/bmad/_bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  123. package/templates/bmad/_bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  124. package/templates/bmad/_bmad/bmm/testarch/tea-index.csv +34 -0
  125. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +10 -0
  126. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +177 -0
  127. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +161 -0
  128. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +199 -0
  129. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +202 -0
  130. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +205 -0
  131. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +219 -0
  132. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +194 -0
  133. package/templates/bmad/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +58 -0
  134. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +137 -0
  135. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +229 -0
  136. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +238 -0
  137. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +206 -0
  138. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +234 -0
  139. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +443 -0
  140. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
  141. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
  142. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +200 -0
  143. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
  144. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
  145. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
  146. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +475 -0
  147. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/research.template.md +29 -0
  148. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +137 -0
  149. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +239 -0
  150. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +248 -0
  151. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +202 -0
  152. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +239 -0
  153. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +486 -0
  154. package/templates/bmad/_bmad/bmm/workflows/1-analysis/research/workflow.md +173 -0
  155. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +135 -0
  156. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +127 -0
  157. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +190 -0
  158. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +216 -0
  159. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +219 -0
  160. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +234 -0
  161. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +252 -0
  162. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +254 -0
  163. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +224 -0
  164. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +224 -0
  165. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +241 -0
  166. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +248 -0
  167. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +237 -0
  168. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +264 -0
  169. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +228 -0
  170. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +13 -0
  171. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +43 -0
  172. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/data/domain-complexity.csv +13 -0
  173. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/data/prd-purpose.md +197 -0
  174. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/data/project-types.csv +11 -0
  175. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01-init.md +191 -0
  176. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-01b-continue.md +153 -0
  177. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-02-discovery.md +224 -0
  178. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-03-success.md +226 -0
  179. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-04-journeys.md +213 -0
  180. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-05-domain.md +207 -0
  181. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-06-innovation.md +226 -0
  182. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-07-project-type.md +237 -0
  183. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-08-scoping.md +228 -0
  184. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-09-functional.md +231 -0
  185. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-10-nonfunctional.md +242 -0
  186. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-11-polish.md +217 -0
  187. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-c/step-12-complete.md +180 -0
  188. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01-discovery.md +247 -0
  189. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-01b-legacy-conversion.md +208 -0
  190. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-02-review.md +249 -0
  191. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-03-edit.md +253 -0
  192. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-e/step-e-04-complete.md +168 -0
  193. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-01-discovery.md +218 -0
  194. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02-format-detection.md +191 -0
  195. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-02b-parity-check.md +209 -0
  196. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-03-density-validation.md +174 -0
  197. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
  198. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-05-measurability-validation.md +228 -0
  199. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-06-traceability-validation.md +217 -0
  200. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
  201. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
  202. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-09-project-type-validation.md +263 -0
  203. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-10-smart-validation.md +209 -0
  204. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
  205. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-12-completeness-validation.md +242 -0
  206. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/steps-v/step-v-13-report-complete.md +232 -0
  207. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/templates/prd-template.md +10 -0
  208. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/validation-report-prd-workflow.md +433 -0
  209. package/templates/bmad/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md +150 -0
  210. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +190 -0
  211. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +178 -0
  212. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +179 -0
  213. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +139 -0
  214. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +252 -0
  215. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +133 -0
  216. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +4 -0
  217. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +55 -0
  218. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +12 -0
  219. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +11 -0
  220. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +7 -0
  221. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +153 -0
  222. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +164 -0
  223. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +224 -0
  224. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +331 -0
  225. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +318 -0
  226. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +359 -0
  227. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +379 -0
  228. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +359 -0
  229. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +352 -0
  230. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +50 -0
  231. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +259 -0
  232. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +233 -0
  233. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +272 -0
  234. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +145 -0
  235. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
  236. package/templates/bmad/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +59 -0
  237. package/templates/bmad/_bmad/bmm/workflows/4-implementation/code-review/checklist.md +23 -0
  238. package/templates/bmad/_bmad/bmm/workflows/4-implementation/code-review/instructions.xml +227 -0
  239. package/templates/bmad/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +50 -0
  240. package/templates/bmad/_bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  241. package/templates/bmad/_bmad/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
  242. package/templates/bmad/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +58 -0
  243. package/templates/bmad/_bmad/bmm/workflows/4-implementation/create-story/checklist.md +358 -0
  244. package/templates/bmad/_bmad/bmm/workflows/4-implementation/create-story/instructions.xml +345 -0
  245. package/templates/bmad/_bmad/bmm/workflows/4-implementation/create-story/template.md +49 -0
  246. package/templates/bmad/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +59 -0
  247. package/templates/bmad/_bmad/bmm/workflows/4-implementation/dev-story/checklist.md +80 -0
  248. package/templates/bmad/_bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +410 -0
  249. package/templates/bmad/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +25 -0
  250. package/templates/bmad/_bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
  251. package/templates/bmad/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +57 -0
  252. package/templates/bmad/_bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  253. package/templates/bmad/_bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +225 -0
  254. package/templates/bmad/_bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  255. package/templates/bmad/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +52 -0
  256. package/templates/bmad/_bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +229 -0
  257. package/templates/bmad/_bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
  258. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +156 -0
  259. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +120 -0
  260. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +113 -0
  261. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +113 -0
  262. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +106 -0
  263. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +140 -0
  264. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +52 -0
  265. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +189 -0
  266. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +144 -0
  267. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +128 -0
  268. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +173 -0
  269. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +74 -0
  270. package/templates/bmad/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +79 -0
  271. package/templates/bmad/_bmad/bmm/workflows/document-project/checklist.md +245 -0
  272. package/templates/bmad/_bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  273. package/templates/bmad/_bmad/bmm/workflows/document-project/instructions.md +221 -0
  274. package/templates/bmad/_bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  275. package/templates/bmad/_bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  276. package/templates/bmad/_bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  277. package/templates/bmad/_bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  278. package/templates/bmad/_bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  279. package/templates/bmad/_bmad/bmm/workflows/document-project/workflow.yaml +28 -0
  280. package/templates/bmad/_bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  281. package/templates/bmad/_bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  282. package/templates/bmad/_bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  283. package/templates/bmad/_bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  284. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-library.json +90 -0
  285. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/_shared/excalidraw-templates.yaml +127 -0
  286. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/checklist.md +39 -0
  287. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/instructions.md +130 -0
  288. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml +26 -0
  289. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/checklist.md +43 -0
  290. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/instructions.md +141 -0
  291. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml +26 -0
  292. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/checklist.md +49 -0
  293. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/instructions.md +241 -0
  294. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml +26 -0
  295. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/checklist.md +38 -0
  296. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/instructions.md +133 -0
  297. package/templates/bmad/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml +26 -0
  298. package/templates/bmad/_bmad/bmm/workflows/generate-project-context/project-context-template.md +21 -0
  299. package/templates/bmad/_bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +184 -0
  300. package/templates/bmad/_bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +318 -0
  301. package/templates/bmad/_bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +278 -0
  302. package/templates/bmad/_bmad/bmm/workflows/generate-project-context/workflow.md +49 -0
  303. package/templates/bmad/_bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +364 -0
  304. package/templates/bmad/_bmad/bmm/workflows/testarch/atdd/checklist.md +374 -0
  305. package/templates/bmad/_bmad/bmm/workflows/testarch/atdd/instructions.md +806 -0
  306. package/templates/bmad/_bmad/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
  307. package/templates/bmad/_bmad/bmm/workflows/testarch/automate/checklist.md +582 -0
  308. package/templates/bmad/_bmad/bmm/workflows/testarch/automate/instructions.md +1324 -0
  309. package/templates/bmad/_bmad/bmm/workflows/testarch/automate/workflow.yaml +52 -0
  310. package/templates/bmad/_bmad/bmm/workflows/testarch/ci/checklist.md +248 -0
  311. package/templates/bmad/_bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +198 -0
  312. package/templates/bmad/_bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +149 -0
  313. package/templates/bmad/_bmad/bmm/workflows/testarch/ci/instructions.md +536 -0
  314. package/templates/bmad/_bmad/bmm/workflows/testarch/ci/workflow.yaml +45 -0
  315. package/templates/bmad/_bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  316. package/templates/bmad/_bmad/bmm/workflows/testarch/framework/instructions.md +481 -0
  317. package/templates/bmad/_bmad/bmm/workflows/testarch/framework/workflow.yaml +47 -0
  318. package/templates/bmad/_bmad/bmm/workflows/testarch/nfr-assess/checklist.md +407 -0
  319. package/templates/bmad/_bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  320. package/templates/bmad/_bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +445 -0
  321. package/templates/bmad/_bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
  322. package/templates/bmad/_bmad/bmm/workflows/testarch/test-design/checklist.md +235 -0
  323. package/templates/bmad/_bmad/bmm/workflows/testarch/test-design/instructions.md +788 -0
  324. package/templates/bmad/_bmad/bmm/workflows/testarch/test-design/test-design-template.md +294 -0
  325. package/templates/bmad/_bmad/bmm/workflows/testarch/test-design/workflow.yaml +54 -0
  326. package/templates/bmad/_bmad/bmm/workflows/testarch/test-review/checklist.md +472 -0
  327. package/templates/bmad/_bmad/bmm/workflows/testarch/test-review/instructions.md +628 -0
  328. package/templates/bmad/_bmad/bmm/workflows/testarch/test-review/test-review-template.md +390 -0
  329. package/templates/bmad/_bmad/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
  330. package/templates/bmad/_bmad/bmm/workflows/testarch/trace/checklist.md +655 -0
  331. package/templates/bmad/_bmad/bmm/workflows/testarch/trace/instructions.md +1047 -0
  332. package/templates/bmad/_bmad/bmm/workflows/testarch/trace/trace-template.md +675 -0
  333. package/templates/bmad/_bmad/bmm/workflows/testarch/trace/workflow.yaml +55 -0
  334. package/templates/bmad/_bmad/bmm/workflows/workflow-status/init/instructions.md +346 -0
  335. package/templates/bmad/_bmad/bmm/workflows/workflow-status/init/workflow.yaml +29 -0
  336. package/templates/bmad/_bmad/bmm/workflows/workflow-status/instructions.md +395 -0
  337. package/templates/bmad/_bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +103 -0
  338. package/templates/bmad/_bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +100 -0
  339. package/templates/bmad/_bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +103 -0
  340. package/templates/bmad/_bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +100 -0
  341. package/templates/bmad/_bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  342. package/templates/bmad/_bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
  343. package/templates/bmad/_bmad/bmm/workflows/workflow-status/workflow.yaml +30 -0
  344. package/templates/bmad/_bmad/config.yaml +7 -0
  345. package/templates/bmad/_bmad/core/agents/bmad-master.md +57 -0
  346. package/templates/bmad/_bmad/core/resources/excalidraw/README.md +160 -0
  347. package/templates/bmad/_bmad/core/resources/excalidraw/excalidraw-helpers.md +127 -0
  348. package/templates/bmad/_bmad/core/resources/excalidraw/library-loader.md +50 -0
  349. package/templates/bmad/_bmad/core/resources/excalidraw/validate-json-instructions.md +79 -0
  350. package/templates/bmad/_bmad/core/tasks/index-docs.xml +65 -0
  351. package/templates/bmad/_bmad/core/tasks/review-adversarial-general.xml +41 -0
  352. package/templates/bmad/_bmad/core/tasks/shard-doc.xml +109 -0
  353. package/templates/bmad/_bmad/core/tasks/workflow.xml +235 -0
  354. package/templates/bmad/_bmad/core/workflows/advanced-elicitation/methods.csv +51 -0
  355. package/templates/bmad/_bmad/core/workflows/advanced-elicitation/workflow.xml +117 -0
  356. package/templates/bmad/_bmad/core/workflows/brainstorming/brain-methods.csv +62 -0
  357. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +197 -0
  358. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-01b-continue.md +122 -0
  359. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +225 -0
  360. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +237 -0
  361. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +209 -0
  362. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +264 -0
  363. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +399 -0
  364. package/templates/bmad/_bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +303 -0
  365. package/templates/bmad/_bmad/core/workflows/brainstorming/template.md +15 -0
  366. package/templates/bmad/_bmad/core/workflows/brainstorming/workflow.md +58 -0
  367. package/templates/bmad/_bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +139 -0
  368. package/templates/bmad/_bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +204 -0
  369. package/templates/bmad/_bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +159 -0
  370. package/templates/bmad/_bmad/core/workflows/party-mode/workflow.md +206 -0
  371. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-analyst.md +14 -0
  372. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-architect.md +14 -0
  373. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-dev.md +14 -0
  374. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-pm.md +14 -0
  375. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-quick-flow-solo-dev.md +14 -0
  376. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-sm.md +14 -0
  377. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-tea.md +14 -0
  378. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-tech-writer.md +14 -0
  379. package/templates/bmad/agent/workflows_bmad/bmad-bmm-agents-ux-designer.md +14 -0
  380. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-check-implementation-readiness.md +5 -0
  381. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-code-review.md +13 -0
  382. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-correct-course.md +13 -0
  383. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-architecture.md +5 -0
  384. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-epics-and-stories.md +5 -0
  385. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-excalidraw-dataflow.md +13 -0
  386. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-excalidraw-diagram.md +13 -0
  387. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-excalidraw-flowchart.md +13 -0
  388. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-excalidraw-wireframe.md +13 -0
  389. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-product-brief.md +5 -0
  390. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-story.md +13 -0
  391. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-create-ux-design.md +5 -0
  392. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-dev-story.md +13 -0
  393. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-document-project.md +13 -0
  394. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-generate-project-context.md +5 -0
  395. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-prd.md +5 -0
  396. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-quick-dev.md +5 -0
  397. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-quick-spec.md +5 -0
  398. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-research.md +5 -0
  399. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-retrospective.md +13 -0
  400. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-sprint-planning.md +13 -0
  401. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-sprint-status.md +13 -0
  402. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-atdd.md +13 -0
  403. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-automate.md +13 -0
  404. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-ci.md +13 -0
  405. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-framework.md +13 -0
  406. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-nfr.md +13 -0
  407. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-test-design.md +13 -0
  408. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-test-review.md +13 -0
  409. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-testarch-trace.md +13 -0
  410. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-workflow-init.md +13 -0
  411. package/templates/bmad/agent/workflows_bmad/bmad-bmm-workflows-workflow-status.md +13 -0
  412. package/templates/bmad/agent/workflows_bmad/bmad-core-agents-bmad-master.md +14 -0
  413. package/templates/bmad/agent/workflows_bmad/bmad-core-workflows-brainstorming.md +5 -0
  414. package/templates/bmad/agent/workflows_bmad/bmad-core-workflows-party-mode.md +5 -0
  415. package/templates/bmad/claude/commands_bmad/bmm/agents/analyst.md +14 -0
  416. package/templates/bmad/claude/commands_bmad/bmm/agents/architect.md +14 -0
  417. package/templates/bmad/claude/commands_bmad/bmm/agents/dev.md +14 -0
  418. package/templates/bmad/claude/commands_bmad/bmm/agents/pm.md +14 -0
  419. package/templates/bmad/claude/commands_bmad/bmm/agents/quick-flow-solo-dev.md +14 -0
  420. package/templates/bmad/claude/commands_bmad/bmm/agents/sm.md +14 -0
  421. package/templates/bmad/claude/commands_bmad/bmm/agents/tea.md +14 -0
  422. package/templates/bmad/claude/commands_bmad/bmm/agents/tech-writer.md +14 -0
  423. package/templates/bmad/claude/commands_bmad/bmm/agents/ux-designer.md +14 -0
  424. package/templates/bmad/claude/commands_bmad/bmm/workflows/check-implementation-readiness.md +5 -0
  425. package/templates/bmad/claude/commands_bmad/bmm/workflows/code-review.md +13 -0
  426. package/templates/bmad/claude/commands_bmad/bmm/workflows/correct-course.md +13 -0
  427. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-architecture.md +5 -0
  428. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-epics-and-stories.md +5 -0
  429. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-excalidraw-dataflow.md +13 -0
  430. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-excalidraw-diagram.md +13 -0
  431. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-excalidraw-flowchart.md +13 -0
  432. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-excalidraw-wireframe.md +13 -0
  433. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-product-brief.md +5 -0
  434. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-story.md +13 -0
  435. package/templates/bmad/claude/commands_bmad/bmm/workflows/create-ux-design.md +5 -0
  436. package/templates/bmad/claude/commands_bmad/bmm/workflows/dev-story.md +13 -0
  437. package/templates/bmad/claude/commands_bmad/bmm/workflows/document-project.md +13 -0
  438. package/templates/bmad/claude/commands_bmad/bmm/workflows/generate-project-context.md +5 -0
  439. package/templates/bmad/claude/commands_bmad/bmm/workflows/prd.md +5 -0
  440. package/templates/bmad/claude/commands_bmad/bmm/workflows/quick-dev.md +5 -0
  441. package/templates/bmad/claude/commands_bmad/bmm/workflows/quick-spec.md +5 -0
  442. package/templates/bmad/claude/commands_bmad/bmm/workflows/research.md +5 -0
  443. package/templates/bmad/claude/commands_bmad/bmm/workflows/retrospective.md +13 -0
  444. package/templates/bmad/claude/commands_bmad/bmm/workflows/sprint-planning.md +13 -0
  445. package/templates/bmad/claude/commands_bmad/bmm/workflows/sprint-status.md +13 -0
  446. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-atdd.md +13 -0
  447. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-automate.md +13 -0
  448. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-ci.md +13 -0
  449. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-framework.md +13 -0
  450. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-nfr.md +13 -0
  451. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-test-design.md +13 -0
  452. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-test-review.md +13 -0
  453. package/templates/bmad/claude/commands_bmad/bmm/workflows/testarch-trace.md +13 -0
  454. package/templates/bmad/claude/commands_bmad/bmm/workflows/workflow-init.md +13 -0
  455. package/templates/bmad/claude/commands_bmad/bmm/workflows/workflow-status.md +13 -0
  456. package/templates/bmad/claude/commands_bmad/core/agents/bmad-master.md +14 -0
  457. package/templates/bmad/claude/commands_bmad/core/tasks/index-docs.md +9 -0
  458. package/templates/bmad/claude/commands_bmad/core/tasks/shard-doc.md +9 -0
  459. package/templates/bmad/claude/commands_bmad/core/workflows/brainstorming.md +5 -0
  460. package/templates/bmad/claude/commands_bmad/core/workflows/party-mode.md +5 -0
  461. package/templates/bmad/cursor/commands_bmad/bmm/agents/analyst.md +14 -0
  462. package/templates/bmad/cursor/commands_bmad/bmm/agents/architect.md +14 -0
  463. package/templates/bmad/cursor/commands_bmad/bmm/agents/dev.md +14 -0
  464. package/templates/bmad/cursor/commands_bmad/bmm/agents/pm.md +14 -0
  465. package/templates/bmad/cursor/commands_bmad/bmm/agents/quick-flow-solo-dev.md +14 -0
  466. package/templates/bmad/cursor/commands_bmad/bmm/agents/sm.md +14 -0
  467. package/templates/bmad/cursor/commands_bmad/bmm/agents/tea.md +14 -0
  468. package/templates/bmad/cursor/commands_bmad/bmm/agents/tech-writer.md +14 -0
  469. package/templates/bmad/cursor/commands_bmad/bmm/agents/ux-designer.md +14 -0
  470. package/templates/bmad/cursor/commands_bmad/bmm/workflows/check-implementation-readiness.md +5 -0
  471. package/templates/bmad/cursor/commands_bmad/bmm/workflows/code-review.md +13 -0
  472. package/templates/bmad/cursor/commands_bmad/bmm/workflows/correct-course.md +13 -0
  473. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-architecture.md +5 -0
  474. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-epics-and-stories.md +5 -0
  475. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-excalidraw-dataflow.md +13 -0
  476. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-excalidraw-diagram.md +13 -0
  477. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-excalidraw-flowchart.md +13 -0
  478. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-excalidraw-wireframe.md +13 -0
  479. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-product-brief.md +5 -0
  480. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-story.md +13 -0
  481. package/templates/bmad/cursor/commands_bmad/bmm/workflows/create-ux-design.md +5 -0
  482. package/templates/bmad/cursor/commands_bmad/bmm/workflows/dev-story.md +13 -0
  483. package/templates/bmad/cursor/commands_bmad/bmm/workflows/document-project.md +13 -0
  484. package/templates/bmad/cursor/commands_bmad/bmm/workflows/generate-project-context.md +5 -0
  485. package/templates/bmad/cursor/commands_bmad/bmm/workflows/prd.md +5 -0
  486. package/templates/bmad/cursor/commands_bmad/bmm/workflows/quick-dev.md +5 -0
  487. package/templates/bmad/cursor/commands_bmad/bmm/workflows/quick-spec.md +5 -0
  488. package/templates/bmad/cursor/commands_bmad/bmm/workflows/research.md +5 -0
  489. package/templates/bmad/cursor/commands_bmad/bmm/workflows/retrospective.md +13 -0
  490. package/templates/bmad/cursor/commands_bmad/bmm/workflows/sprint-planning.md +13 -0
  491. package/templates/bmad/cursor/commands_bmad/bmm/workflows/sprint-status.md +13 -0
  492. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-atdd.md +13 -0
  493. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-automate.md +13 -0
  494. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-ci.md +13 -0
  495. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-framework.md +13 -0
  496. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-nfr.md +13 -0
  497. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-test-design.md +13 -0
  498. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-test-review.md +13 -0
  499. package/templates/bmad/cursor/commands_bmad/bmm/workflows/testarch-trace.md +13 -0
  500. package/templates/bmad/cursor/commands_bmad/bmm/workflows/workflow-init.md +13 -0
  501. package/templates/bmad/cursor/commands_bmad/bmm/workflows/workflow-status.md +13 -0
  502. package/templates/bmad/cursor/commands_bmad/core/agents/bmad-master.md +14 -0
  503. package/templates/bmad/cursor/commands_bmad/core/tasks/index-docs.md +9 -0
  504. package/templates/bmad/cursor/commands_bmad/core/tasks/shard-doc.md +9 -0
  505. package/templates/bmad/cursor/commands_bmad/core/workflows/brainstorming.md +5 -0
  506. package/templates/bmad/cursor/commands_bmad/core/workflows/party-mode.md +5 -0
  507. package/templates/bmad/gemini/commands/bmad-agent-bmm-analyst.toml +12 -0
  508. package/templates/bmad/gemini/commands/bmad-agent-bmm-architect.toml +12 -0
  509. package/templates/bmad/gemini/commands/bmad-agent-bmm-dev.toml +12 -0
  510. package/templates/bmad/gemini/commands/bmad-agent-bmm-pm.toml +12 -0
  511. package/templates/bmad/gemini/commands/bmad-agent-bmm-quick-flow-solo-dev.toml +12 -0
  512. package/templates/bmad/gemini/commands/bmad-agent-bmm-sm.toml +12 -0
  513. package/templates/bmad/gemini/commands/bmad-agent-bmm-tea.toml +12 -0
  514. package/templates/bmad/gemini/commands/bmad-agent-bmm-tech-writer.toml +12 -0
  515. package/templates/bmad/gemini/commands/bmad-agent-bmm-ux-designer.toml +12 -0
  516. package/templates/bmad/gemini/commands/bmad-agent-core-bmad-master.toml +12 -0
  517. package/templates/bmad/gemini/commands/bmad-task-core-index-docs.toml +12 -0
  518. package/templates/bmad/gemini/commands/bmad-task-core-review-adversarial-general.toml +12 -0
  519. package/templates/bmad/gemini/commands/bmad-task-core-shard-doc.toml +12 -0
  520. package/templates/bmad/gemini/commands/bmad-task-core-workflow.toml +12 -0
  521. package/templates/bmad/gemini/commands/bmad-workflow-bmm-check-implementation-readiness.toml +4 -0
  522. package/templates/bmad/gemini/commands/bmad-workflow-bmm-code-review.toml +12 -0
  523. package/templates/bmad/gemini/commands/bmad-workflow-bmm-correct-course.toml +12 -0
  524. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-architecture.toml +4 -0
  525. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-epics-and-stories.toml +4 -0
  526. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-excalidraw-dataflow.toml +12 -0
  527. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-excalidraw-diagram.toml +12 -0
  528. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-excalidraw-flowchart.toml +12 -0
  529. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-excalidraw-wireframe.toml +12 -0
  530. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-product-brief.toml +4 -0
  531. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-story.toml +12 -0
  532. package/templates/bmad/gemini/commands/bmad-workflow-bmm-create-ux-design.toml +4 -0
  533. package/templates/bmad/gemini/commands/bmad-workflow-bmm-dev-story.toml +12 -0
  534. package/templates/bmad/gemini/commands/bmad-workflow-bmm-document-project.toml +12 -0
  535. package/templates/bmad/gemini/commands/bmad-workflow-bmm-generate-project-context.toml +4 -0
  536. package/templates/bmad/gemini/commands/bmad-workflow-bmm-prd.toml +4 -0
  537. package/templates/bmad/gemini/commands/bmad-workflow-bmm-quick-dev.toml +4 -0
  538. package/templates/bmad/gemini/commands/bmad-workflow-bmm-quick-spec.toml +4 -0
  539. package/templates/bmad/gemini/commands/bmad-workflow-bmm-research.toml +4 -0
  540. package/templates/bmad/gemini/commands/bmad-workflow-bmm-retrospective.toml +12 -0
  541. package/templates/bmad/gemini/commands/bmad-workflow-bmm-sprint-planning.toml +12 -0
  542. package/templates/bmad/gemini/commands/bmad-workflow-bmm-sprint-status.toml +12 -0
  543. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-atdd.toml +12 -0
  544. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-automate.toml +12 -0
  545. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-ci.toml +12 -0
  546. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-framework.toml +12 -0
  547. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-nfr.toml +12 -0
  548. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-test-design.toml +12 -0
  549. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-test-review.toml +12 -0
  550. package/templates/bmad/gemini/commands/bmad-workflow-bmm-testarch-trace.toml +12 -0
  551. package/templates/bmad/gemini/commands/bmad-workflow-bmm-workflow-init.toml +12 -0
  552. package/templates/bmad/gemini/commands/bmad-workflow-bmm-workflow-status.toml +12 -0
  553. package/templates/bmad/gemini/commands/bmad-workflow-core-brainstorming.toml +4 -0
  554. package/templates/bmad/gemini/commands/bmad-workflow-core-party-mode.toml +4 -0
  555. package/templates/frameworks/nextjs-app/.ai/rules/01-project-overview.md +25 -0
  556. package/templates/frameworks/nextjs-app/.ai/rules/02-architecture.md +36 -0
  557. package/templates/frameworks/nextjs-app/.ai/rules/07-react.md +56 -0
  558. package/templates/frameworks/nextjs-pages/.ai/rules/01-project-overview.md +25 -0
  559. package/templates/frameworks/nextjs-pages/.ai/rules/02-architecture.md +30 -0
  560. package/templates/frameworks/nextjs-pages/.ai/rules/07-react.md +51 -0
  561. package/templates/frameworks/nodejs/.ai/rules/01-project-overview.md +20 -0
  562. package/templates/frameworks/nodejs/.ai/rules/02-architecture.md +21 -0
  563. package/templates/frameworks/nodejs/.ai/rules/07-react.md +26 -0
  564. package/templates/frameworks/react-spa/.ai/rules/01-project-overview.md +49 -0
  565. package/templates/frameworks/react-spa/.ai/rules/02-architecture.md +40 -0
  566. package/templates/frameworks/react-spa/.ai/rules/03-coding-conventions.md +26 -0
  567. package/templates/frameworks/react-spa/.ai/rules/06-typescript.md +30 -0
  568. package/templates/frameworks/react-spa/.ai/rules/07-react.md +60 -0
  569. package/templates/frameworks/react-spa/.ai/rules/08-styling.md +22 -0
  570. package/templates/frameworks/react-spa/.ai/rules/09-naming.md +25 -0
  571. package/templates/frameworks/react-spa/.ai/rules/10-git-workflow.md +7 -0
  572. package/templates/frameworks/react-spa/.ai/rules/11-testing.md +8 -0
  573. package/templates/frameworks/react-spa/.ai/rules/12-forbidden-patterns.md +16 -0
  574. package/templates/frameworks/vue/.ai/rules/01-project-overview.md +25 -0
  575. package/templates/frameworks/vue/.ai/rules/02-architecture.md +47 -0
  576. package/templates/frameworks/vue/.ai/rules/07-react.md +90 -0
  577. package/templates/skills/frontend-design/LICENSE.txt +177 -0
  578. package/templates/skills/frontend-design/SKILL.md +42 -0
  579. package/templates/skills/next-best-practices/SKILL.md +153 -0
  580. package/templates/skills/next-best-practices/async-patterns.md +87 -0
  581. package/templates/skills/next-best-practices/bundling.md +180 -0
  582. package/templates/skills/next-best-practices/data-patterns.md +297 -0
  583. package/templates/skills/next-best-practices/debug-tricks.md +105 -0
  584. package/templates/skills/next-best-practices/directives.md +73 -0
  585. package/templates/skills/next-best-practices/error-handling.md +227 -0
  586. package/templates/skills/next-best-practices/file-conventions.md +140 -0
  587. package/templates/skills/next-best-practices/font.md +245 -0
  588. package/templates/skills/next-best-practices/functions.md +108 -0
  589. package/templates/skills/next-best-practices/hydration-error.md +91 -0
  590. package/templates/skills/next-best-practices/image.md +173 -0
  591. package/templates/skills/next-best-practices/metadata.md +301 -0
  592. package/templates/skills/next-best-practices/parallel-routes.md +287 -0
  593. package/templates/skills/next-best-practices/route-handlers.md +146 -0
  594. package/templates/skills/next-best-practices/rsc-boundaries.md +159 -0
  595. package/templates/skills/next-best-practices/runtime-selection.md +39 -0
  596. package/templates/skills/next-best-practices/scripts.md +141 -0
  597. package/templates/skills/next-best-practices/self-hosting.md +371 -0
  598. package/templates/skills/next-best-practices/suspense-boundaries.md +67 -0
  599. package/templates/skills/security-best-practices/LICENSE.txt +201 -0
  600. package/templates/skills/security-best-practices/SKILL.md +86 -0
  601. package/templates/skills/security-best-practices/agents/openai.yaml +4 -0
  602. package/templates/skills/security-best-practices/references/golang-general-backend-security.md +826 -0
  603. package/templates/skills/security-best-practices/references/javascript-express-web-server-security.md +1158 -0
  604. package/templates/skills/security-best-practices/references/javascript-general-web-frontend-security.md +747 -0
  605. package/templates/skills/security-best-practices/references/javascript-jquery-web-frontend-security.md +678 -0
  606. package/templates/skills/security-best-practices/references/javascript-typescript-nextjs-web-server-security.md +1144 -0
  607. package/templates/skills/security-best-practices/references/javascript-typescript-react-web-frontend-security.md +990 -0
  608. package/templates/skills/security-best-practices/references/javascript-typescript-vue-web-frontend-security.md +791 -0
  609. package/templates/skills/security-best-practices/references/python-django-web-server-security.md +882 -0
  610. package/templates/skills/security-best-practices/references/python-fastapi-web-server-security.md +1036 -0
  611. package/templates/skills/security-best-practices/references/python-flask-web-server-security.md +705 -0
  612. package/templates/skills/vercel-composition-patterns/AGENTS.md +946 -0
  613. package/templates/skills/vercel-composition-patterns/SKILL.md +89 -0
  614. package/templates/skills/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
  615. package/templates/skills/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
  616. package/templates/skills/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
  617. package/templates/skills/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
  618. package/templates/skills/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
  619. package/templates/skills/vercel-composition-patterns/rules/state-context-interface.md +191 -0
  620. package/templates/skills/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
  621. package/templates/skills/vercel-composition-patterns/rules/state-lift-state.md +125 -0
  622. package/templates/skills/vercel-react-best-practices/AGENTS.md +2975 -0
  623. package/templates/skills/vercel-react-best-practices/SKILL.md +137 -0
  624. package/templates/skills/vercel-react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  625. package/templates/skills/vercel-react-best-practices/rules/advanced-init-once.md +42 -0
  626. package/templates/skills/vercel-react-best-practices/rules/advanced-use-latest.md +39 -0
  627. package/templates/skills/vercel-react-best-practices/rules/async-api-routes.md +38 -0
  628. package/templates/skills/vercel-react-best-practices/rules/async-defer-await.md +80 -0
  629. package/templates/skills/vercel-react-best-practices/rules/async-dependencies.md +51 -0
  630. package/templates/skills/vercel-react-best-practices/rules/async-parallel.md +28 -0
  631. package/templates/skills/vercel-react-best-practices/rules/async-suspense-boundaries.md +99 -0
  632. package/templates/skills/vercel-react-best-practices/rules/bundle-barrel-imports.md +59 -0
  633. package/templates/skills/vercel-react-best-practices/rules/bundle-conditional.md +31 -0
  634. package/templates/skills/vercel-react-best-practices/rules/bundle-defer-third-party.md +49 -0
  635. package/templates/skills/vercel-react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  636. package/templates/skills/vercel-react-best-practices/rules/bundle-preload.md +50 -0
  637. package/templates/skills/vercel-react-best-practices/rules/client-event-listeners.md +74 -0
  638. package/templates/skills/vercel-react-best-practices/rules/client-localstorage-schema.md +71 -0
  639. package/templates/skills/vercel-react-best-practices/rules/client-passive-event-listeners.md +48 -0
  640. package/templates/skills/vercel-react-best-practices/rules/client-swr-dedup.md +56 -0
  641. package/templates/skills/vercel-react-best-practices/rules/js-batch-dom-css.md +107 -0
  642. package/templates/skills/vercel-react-best-practices/rules/js-cache-function-results.md +80 -0
  643. package/templates/skills/vercel-react-best-practices/rules/js-cache-property-access.md +28 -0
  644. package/templates/skills/vercel-react-best-practices/rules/js-cache-storage.md +70 -0
  645. package/templates/skills/vercel-react-best-practices/rules/js-combine-iterations.md +32 -0
  646. package/templates/skills/vercel-react-best-practices/rules/js-early-exit.md +50 -0
  647. package/templates/skills/vercel-react-best-practices/rules/js-hoist-regexp.md +45 -0
  648. package/templates/skills/vercel-react-best-practices/rules/js-index-maps.md +37 -0
  649. package/templates/skills/vercel-react-best-practices/rules/js-length-check-first.md +49 -0
  650. package/templates/skills/vercel-react-best-practices/rules/js-min-max-loop.md +82 -0
  651. package/templates/skills/vercel-react-best-practices/rules/js-set-map-lookups.md +24 -0
  652. package/templates/skills/vercel-react-best-practices/rules/js-tosorted-immutable.md +57 -0
  653. package/templates/skills/vercel-react-best-practices/rules/rendering-activity.md +26 -0
  654. package/templates/skills/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  655. package/templates/skills/vercel-react-best-practices/rules/rendering-conditional-render.md +40 -0
  656. package/templates/skills/vercel-react-best-practices/rules/rendering-content-visibility.md +38 -0
  657. package/templates/skills/vercel-react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  658. package/templates/skills/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  659. package/templates/skills/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  660. package/templates/skills/vercel-react-best-practices/rules/rendering-svg-precision.md +28 -0
  661. package/templates/skills/vercel-react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  662. package/templates/skills/vercel-react-best-practices/rules/rerender-defer-reads.md +39 -0
  663. package/templates/skills/vercel-react-best-practices/rules/rerender-dependencies.md +45 -0
  664. package/templates/skills/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  665. package/templates/skills/vercel-react-best-practices/rules/rerender-derived-state.md +29 -0
  666. package/templates/skills/vercel-react-best-practices/rules/rerender-functional-setstate.md +74 -0
  667. package/templates/skills/vercel-react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  668. package/templates/skills/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  669. package/templates/skills/vercel-react-best-practices/rules/rerender-memo.md +44 -0
  670. package/templates/skills/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  671. package/templates/skills/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  672. package/templates/skills/vercel-react-best-practices/rules/rerender-transitions.md +40 -0
  673. package/templates/skills/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  674. package/templates/skills/vercel-react-best-practices/rules/server-after-nonblocking.md +73 -0
  675. package/templates/skills/vercel-react-best-practices/rules/server-auth-actions.md +96 -0
  676. package/templates/skills/vercel-react-best-practices/rules/server-cache-lru.md +41 -0
  677. package/templates/skills/vercel-react-best-practices/rules/server-cache-react.md +76 -0
  678. package/templates/skills/vercel-react-best-practices/rules/server-dedup-props.md +65 -0
  679. package/templates/skills/vercel-react-best-practices/rules/server-hoist-static-io.md +142 -0
  680. package/templates/skills/vercel-react-best-practices/rules/server-parallel-fetching.md +83 -0
  681. package/templates/skills/vercel-react-best-practices/rules/server-serialization.md +38 -0
  682. package/templates/skills/web-design-guidelines/SKILL.md +39 -0
  683. package/templates/superpowers-skills/LICENSE +21 -0
  684. package/templates/superpowers-skills/_agents/code-reviewer.md +48 -0
  685. package/templates/superpowers-skills/brainstorming/SKILL.md +147 -0
  686. package/templates/superpowers-skills/brainstorming/spec-document-reviewer-prompt.md +50 -0
  687. package/templates/superpowers-skills/brainstorming/visual-companion.md +260 -0
  688. package/templates/superpowers-skills/dispatching-parallel-agents/SKILL.md +180 -0
  689. package/templates/superpowers-skills/executing-plans/SKILL.md +70 -0
  690. package/templates/superpowers-skills/finishing-a-development-branch/SKILL.md +200 -0
  691. package/templates/superpowers-skills/receiving-code-review/SKILL.md +213 -0
  692. package/templates/superpowers-skills/requesting-code-review/SKILL.md +105 -0
  693. package/templates/superpowers-skills/requesting-code-review/code-reviewer.md +146 -0
  694. package/templates/superpowers-skills/subagent-driven-development/SKILL.md +275 -0
  695. package/templates/superpowers-skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
  696. package/templates/superpowers-skills/subagent-driven-development/implementer-prompt.md +113 -0
  697. package/templates/superpowers-skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
  698. package/templates/superpowers-skills/systematic-debugging/CREATION-LOG.md +119 -0
  699. package/templates/superpowers-skills/systematic-debugging/SKILL.md +296 -0
  700. package/templates/superpowers-skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
  701. package/templates/superpowers-skills/systematic-debugging/condition-based-waiting.md +115 -0
  702. package/templates/superpowers-skills/systematic-debugging/defense-in-depth.md +122 -0
  703. package/templates/superpowers-skills/systematic-debugging/find-polluter.sh +63 -0
  704. package/templates/superpowers-skills/systematic-debugging/root-cause-tracing.md +169 -0
  705. package/templates/superpowers-skills/systematic-debugging/test-academic.md +14 -0
  706. package/templates/superpowers-skills/systematic-debugging/test-pressure-1.md +58 -0
  707. package/templates/superpowers-skills/systematic-debugging/test-pressure-2.md +68 -0
  708. package/templates/superpowers-skills/systematic-debugging/test-pressure-3.md +69 -0
  709. package/templates/superpowers-skills/test-driven-development/SKILL.md +371 -0
  710. package/templates/superpowers-skills/test-driven-development/testing-anti-patterns.md +299 -0
  711. package/templates/superpowers-skills/using-git-worktrees/SKILL.md +218 -0
  712. package/templates/superpowers-skills/using-superpowers/SKILL.md +113 -0
  713. package/templates/superpowers-skills/using-superpowers/references/codex-tools.md +25 -0
  714. package/templates/superpowers-skills/verification-before-completion/SKILL.md +139 -0
  715. package/templates/superpowers-skills/writing-plans/SKILL.md +147 -0
  716. package/templates/superpowers-skills/writing-plans/plan-document-reviewer-prompt.md +52 -0
  717. package/templates/superpowers-skills/writing-skills/SKILL.md +655 -0
  718. package/templates/superpowers-skills/writing-skills/anthropic-best-practices.md +1150 -0
  719. package/templates/superpowers-skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
  720. package/templates/superpowers-skills/writing-skills/graphviz-conventions.dot +172 -0
  721. package/templates/superpowers-skills/writing-skills/persuasion-principles.md +187 -0
  722. package/templates/superpowers-skills/writing-skills/render-graphs.js +168 -0
  723. package/templates/superpowers-skills/writing-skills/testing-skills-with-subagents.md +384 -0
@@ -0,0 +1,103 @@
1
+ # BMad Method - Brownfield
2
+ # Full product + architecture planning for complex brownfield additions (10-50+ stories typically)
3
+
4
+ method_name: "BMad Method"
5
+ track: "bmad-method"
6
+ field_type: "brownfield"
7
+ description: "Complete product and system design for complex brownfield work"
8
+
9
+ phases:
10
+ - phase: 0
11
+ name: "Documentation"
12
+ conditional: "if_undocumented"
13
+ note: "Prerequisite for brownfield without docs"
14
+ workflows:
15
+ - id: "document-project"
16
+ required: true
17
+ workflow: "{project-root}/_bmad/bmm/workflows/document-project/workflow.yaml"
18
+ agent: "analyst"
19
+ command: "/bmad:bmm:workflows:document-project"
20
+ output: "Comprehensive project documentation"
21
+ purpose: "Understand existing codebase before planning"
22
+ - phase: 1
23
+ name: "Analysis (Optional)"
24
+ optional: true
25
+ note: "User-selected during workflow-init"
26
+ workflows:
27
+ - id: "brainstorm-project"
28
+ exec: "{project-root}/_bmad/core/workflows/brainstorming/workflow.md"
29
+ optional: true
30
+ agent: "analyst"
31
+ command: "/bmad:bmm:workflows:brainstorming"
32
+ included_by: "user_choice"
33
+ note: "Uses core brainstorming workflow with project context template"
34
+ - id: "research"
35
+ exec: "{project-root}/_bmad/bmm/workflows/1-analysis/research/workflow.md"
36
+ optional: true
37
+ agent: "analyst"
38
+ command: "/bmad:bmm:workflows:research"
39
+ included_by: "user_choice"
40
+ note: "Can have multiple research workflows"
41
+ - id: "product-brief"
42
+ exec: "{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md"
43
+ optional: true
44
+ agent: "analyst"
45
+ command: "/bmad:bmm:workflows:create-product-brief"
46
+ included_by: "user_choice"
47
+ note: "Recommended for greenfield Method projects"
48
+ - phase: 2
49
+ name: "Planning"
50
+ required: true
51
+ workflows:
52
+ - id: "prd"
53
+ exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md"
54
+ required: true
55
+ agent: "pm"
56
+ command: "/bmad:bmm:workflows:create-prd"
57
+ output: "Product Requirements Document with FRs and NFRs"
58
+ - id: "create-ux-design"
59
+ conditional: "if_has_ui"
60
+ exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md"
61
+ agent: "ux-designer"
62
+ command: "/bmad:bmm:workflows:create-ux-design"
63
+ note: "Determined after PRD - user/agent decides if needed"
64
+ - phase: 3
65
+ name: "Solutioning"
66
+ required: true
67
+ workflows:
68
+ - id: "create-architecture"
69
+ required: true
70
+ exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md"
71
+ agent: "architect"
72
+ command: "/bmad:bmm:workflows:create-architecture"
73
+ output: "System architecture document"
74
+ note: "Complete system design for greenfield projects"
75
+ - id: "create-epics-and-stories"
76
+ required: true
77
+ exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md"
78
+ agent: "pm"
79
+ command: "/bmad:bmm:workflows:create-epics-and-stories"
80
+ note: "Required: Break down PRD into implementable epics and stories with full context (PRD + UX + Architecture)"
81
+ - id: "test-design"
82
+ optional: true
83
+ workflow: "{project-root}/_bmad/bmm/workflows/testarch/test-design/workflow.yaml"
84
+ agent: "tea"
85
+ command: "/bmad:bmm:workflows:test-design"
86
+ output: "System-level testability review"
87
+ note: "Testability assessment before gate check - auto-detects system-level mode"
88
+ - id: "implementation-readiness"
89
+ required: true
90
+ exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md"
91
+ agent: "architect"
92
+ command: "/bmad:bmm:workflows:implementation-readiness"
93
+ note: "Validates PRD + Architecture + Epics + UX (optional)"
94
+ - phase: 4
95
+ name: "Implementation"
96
+ required: true
97
+ workflows:
98
+ - id: "sprint-planning"
99
+ required: true
100
+ workflow: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml"
101
+ agent: "sm"
102
+ command: "/bmad:bmm:workflows:sprint-planning"
103
+ note: "Creates sprint plan - subsequent work tracked there"
@@ -0,0 +1,100 @@
1
+ # BMad Method - Greenfield
2
+ # Full product + architecture planning for greenfield projects (10-50+ stories typically)
3
+
4
+ method_name: "BMad Method"
5
+ track: "bmad-method"
6
+ field_type: "greenfield"
7
+ description: "Complete product and system design methodology for greenfield projects"
8
+
9
+ phases:
10
+ - phase: 1
11
+ name: "Analysis (Optional)"
12
+ optional: true
13
+ note: "User-selected during workflow-init"
14
+ workflows:
15
+ - id: "brainstorm-project"
16
+ exec: "{project-root}/_bmad/core/workflows/brainstorming/workflow.md"
17
+ optional: true
18
+ agent: "analyst"
19
+ command: "/bmad:bmm:workflows:brainstorming"
20
+ included_by: "user_choice"
21
+ note: "Uses core brainstorming workflow with project context template"
22
+
23
+ - id: "research"
24
+ exec: "{project-root}/_bmad/bmm/workflows/1-analysis/research/workflow.md"
25
+ optional: true
26
+ agent: "analyst"
27
+ command: "/bmad:bmm:workflows:research"
28
+ included_by: "user_choice"
29
+ note: "Can have multiple research workflows"
30
+
31
+ - id: "product-brief"
32
+ exec: "{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md"
33
+ optional: true
34
+ agent: "analyst"
35
+ command: "/bmad:bmm:workflows:create-product-brief"
36
+ included_by: "user_choice"
37
+ note: "Recommended for greenfield Method projects"
38
+
39
+ - phase: 2
40
+ name: "Planning"
41
+ required: true
42
+ workflows:
43
+ - id: "prd"
44
+ exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/prd/workflow.md"
45
+ required: true
46
+ agent: "pm"
47
+ command: "/bmad:bmm:workflows:create-prd"
48
+ output: "Product Requirements Document with FRs and NFRs"
49
+
50
+ - id: "create-ux-design"
51
+ conditional: "if_has_ui"
52
+ exec: "{project-root}/_bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md"
53
+ agent: "ux-designer"
54
+ command: "/bmad:bmm:workflows:create-ux-design"
55
+ note: "Determined after PRD - user/agent decides if needed"
56
+
57
+ - phase: 3
58
+ name: "Solutioning"
59
+ required: true
60
+ workflows:
61
+ - id: "create-architecture"
62
+ required: true
63
+ exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md"
64
+ agent: "architect"
65
+ command: "/bmad:bmm:workflows:create-architecture"
66
+ output: "System architecture document"
67
+ note: "Complete system design for greenfield projects"
68
+
69
+ - id: "create-epics-and-stories"
70
+ required: true
71
+ exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md"
72
+ agent: "pm"
73
+ command: "/bmad:bmm:workflows:create-epics-and-stories"
74
+ note: "Required: Break down PRD into implementable epics and stories with full context (PRD + UX + Architecture)"
75
+
76
+ - id: "test-design"
77
+ optional: true
78
+ workflow: "{project-root}/_bmad/bmm/workflows/testarch/test-design/workflow.yaml"
79
+ agent: "tea"
80
+ command: "/bmad:bmm:workflows:test-design"
81
+ output: "System-level testability review"
82
+ note: "Testability assessment before gate check - auto-detects system-level mode"
83
+
84
+ - id: "implementation-readiness"
85
+ required: true
86
+ exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md"
87
+ agent: "architect"
88
+ command: "/bmad:bmm:workflows:implementation-readiness"
89
+ note: "Validates PRD + Architecture + Epics + UX (optional)"
90
+
91
+ - phase: 4
92
+ name: "Implementation"
93
+ required: true
94
+ workflows:
95
+ - id: "sprint-planning"
96
+ required: true
97
+ workflow: "{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml"
98
+ agent: "sm"
99
+ command: "/bmad:bmm:workflows:sprint-planning"
100
+ note: "Creates sprint plan - subsequent work tracked there"
@@ -0,0 +1,59 @@
1
+ # BMM Project Scale Levels - Source of Truth
2
+ # Reference: /_bmad/bmm/README.md lines 77-85
3
+
4
+ levels:
5
+ 0:
6
+ name: "Level 0"
7
+ title: "Single Atomic Change"
8
+ stories: "1 story"
9
+ description: "Bug fix, tiny feature, one small change"
10
+ documentation: "Minimal - tech spec only"
11
+ architecture: false
12
+
13
+ 1:
14
+ name: "Level 1"
15
+ title: "Small Feature"
16
+ stories: "1-10 stories"
17
+ description: "Small coherent feature, minimal documentation"
18
+ documentation: "Tech spec"
19
+ architecture: false
20
+
21
+ 2:
22
+ name: "Level 2"
23
+ title: "Medium Project"
24
+ stories: "5-15 stories"
25
+ description: "Multiple features, focused PRD"
26
+ documentation: "PRD + optional tech spec"
27
+ architecture: false
28
+
29
+ 3:
30
+ name: "Level 3"
31
+ title: "Complex System"
32
+ stories: "12-40 stories"
33
+ description: "Subsystems, integrations, full architecture"
34
+ documentation: "PRD + architecture + JIT tech specs"
35
+ architecture: true
36
+
37
+ 4:
38
+ name: "Level 4"
39
+ title: "Enterprise Scale"
40
+ stories: "40+ stories"
41
+ description: "Multiple products, enterprise architecture"
42
+ documentation: "PRD + architecture + JIT tech specs"
43
+ architecture: true
44
+
45
+ # Quick detection hints for workflow-init
46
+ detection_hints:
47
+ keywords:
48
+ level_0: ["fix", "bug", "typo", "small change", "quick update", "patch"]
49
+ level_1: ["simple", "basic", "small feature", "add", "minor"]
50
+ level_2: ["dashboard", "several features", "admin panel", "medium"]
51
+ level_3: ["platform", "integration", "complex", "system", "architecture"]
52
+ level_4: ["enterprise", "multi-tenant", "multiple products", "ecosystem", "scale"]
53
+
54
+ story_counts:
55
+ level_0: [1, 1]
56
+ level_1: [1, 10]
57
+ level_2: [5, 15]
58
+ level_3: [12, 40]
59
+ level_4: [40, 999]
@@ -0,0 +1,24 @@
1
+ # Workflow Status Template
2
+
3
+ # This tracks progress through BMM methodology Analysis, Planning, and Solutioning phases.
4
+ # Implementation phase is tracked separately in sprint-status.yaml
5
+
6
+ # STATUS DEFINITIONS:
7
+ # ==================
8
+ # Initial Status (before completion):
9
+ # - required: Must be completed to progress
10
+ # - optional: Can be completed but not required
11
+ # - recommended: Strongly suggested but not required
12
+ # - conditional: Required only if certain conditions met (e.g., if_has_ui)
13
+ #
14
+ # Completion Status:
15
+ # - {file-path}: File created/found (e.g., "docs/product-brief.md")
16
+ # - skipped: Optional/conditional workflow that was skipped
17
+
18
+ generated: "{{generated}}"
19
+ project: "{{project_name}}"
20
+ project_type: "{{project_type}}"
21
+ selected_track: "{{selected_track}}"
22
+ field_type: "{{field_type}}"
23
+ workflow_path: "{{workflow_path_file}}"
24
+ workflow_status: "{{workflow_items}}"
@@ -0,0 +1,30 @@
1
+ # Workflow Status - Master Router and Status Tracker
2
+ name: workflow-status
3
+ description: 'Lightweight status checker - answers "what should I do now?" for any agent. Reads YAML status file for workflow tracking. Use workflow-init for new projects.'
4
+ author: "BMad"
5
+
6
+ # Critical variables from config
7
+ config_source: "{project-root}/_bmad/bmm/config.yaml"
8
+ output_folder: "{config_source}:output_folder"
9
+ planning_artifacts: "{config_source}:planning_artifacts"
10
+ implementation_artifacts: "{config_source}:implementation_artifacts"
11
+ user_name: "{config_source}:user_name"
12
+ communication_language: "{config_source}:communication_language"
13
+ document_output_language: "{config_source}:document_output_language"
14
+ user_skill_level: "{config_source}:user_skill_level"
15
+ date: system-generated
16
+
17
+ # Workflow components
18
+ installed_path: "{project-root}/_bmad/bmm/workflows/workflow-status"
19
+ instructions: "{installed_path}/instructions.md"
20
+
21
+ # Template for status file creation (used by workflow-init)
22
+ template: "{installed_path}/workflow-status-template.yaml"
23
+
24
+ # Path definitions for project types
25
+ path_files: "{installed_path}/paths/"
26
+
27
+ # Output configuration - reads existing status
28
+ default_output_file: "{planning_artifacts}/bmm-workflow-status.yaml"
29
+
30
+ standalone: true
@@ -0,0 +1,7 @@
1
+ # BMAD Module Configuration
2
+ # Generated by AgentKit CLI
3
+
4
+ user_name: {{projectName}}
5
+ communication_language: Chinese
6
+ document_output_language: Chinese
7
+ output_folder: "{project-root}/_bmad-output"
@@ -0,0 +1,57 @@
1
+ ---
2
+ name: "bmad master"
3
+ description: "BMad Master Executor, Knowledge Custodian, and Workflow Orchestrator"
4
+ ---
5
+
6
+ You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
7
+
8
+ ```xml
9
+ <agent id="bmad-master.agent.yaml" name="BMad Master" title="BMad Master Executor, Knowledge Custodian, and Workflow Orchestrator" icon="🧙">
10
+ <activation critical="MANDATORY">
11
+ <step n="1">Load persona from this current agent file (already in context)</step>
12
+ <step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
13
+ - Load and read {project-root}/_bmad/core/config.yaml NOW
14
+ - Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
15
+ - VERIFY: If config not loaded, STOP and report error to user
16
+ - DO NOT PROCEED to step 3 until config is successfully loaded and variables stored
17
+ </step>
18
+ <step n="3">Remember: user's name is {user_name}</step>
19
+ <step n="4">Load into memory {project-root}/_bmad/core/config.yaml and set variable project_name, output_folder, user_name, communication_language</step>
20
+ <step n="5">Remember the users name is {user_name}</step>
21
+ <step n="6">ALWAYS communicate in {communication_language}</step>
22
+ <step n="7">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
23
+ <step n="8">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
24
+ <step n="9">On user input: Number → execute menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"</step>
25
+ <step n="10">When executing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions</step>
26
+
27
+ <menu-handlers>
28
+ <handlers>
29
+ <handler type="action">
30
+ When menu item has: action="#id" → Find prompt with id="id" in current agent XML, execute its content
31
+ When menu item has: action="text" → Execute the text directly as an inline instruction
32
+ </handler>
33
+ </handlers>
34
+ </menu-handlers>
35
+
36
+ <rules>
37
+ <r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
38
+ <r> Stay in character until exit selected</r>
39
+ <r> Display Menu items as the item dictates and in the order given.</r>
40
+ <r> Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
41
+ </rules>
42
+ </activation> <persona>
43
+ <role>Master Task Executor + BMad Expert + Guiding Facilitator Orchestrator</role>
44
+ <identity>Master-level expert in the BMAD Core Platform and all loaded modules with comprehensive knowledge of all resources, tasks, and workflows. Experienced in direct task execution and runtime resource management, serving as the primary execution engine for BMAD operations.</identity>
45
+ <communication_style>Direct and comprehensive, refers to himself in the 3rd person. Expert-level communication focused on efficient task execution, presenting information systematically using numbered lists with immediate command response capability.</communication_style>
46
+ <principles>- &quot;Load resources at runtime never pre-load, and always present numbered lists for choices.&quot;</principles>
47
+ </persona>
48
+ <menu>
49
+ <item cmd="MH or fuzzy match on menu or help">[MH] Redisplay Menu Help</item>
50
+ <item cmd="CH or fuzzy match on chat">[CH] Chat with the Agent about anything</item>
51
+ <item cmd="LT or fuzzy match on list-tasks" action="list all tasks from {project-root}/_bmad/_config/task-manifest.csv">[LT] List Available Tasks</item>
52
+ <item cmd="LW or fuzzy match on list-workflows" action="list all workflows from {project-root}/_bmad/_config/workflow-manifest.csv">[LW] List Workflows</item>
53
+ <item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
54
+ <item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
55
+ </menu>
56
+ </agent>
57
+ ```
@@ -0,0 +1,160 @@
1
+ # Core Excalidraw Resources
2
+
3
+ Universal knowledge for creating Excalidraw diagrams. All agents that create Excalidraw files should reference these resources.
4
+
5
+ ## Purpose
6
+
7
+ Provides the **HOW** (universal knowledge) while agents provide the **WHAT** (domain-specific application).
8
+
9
+ **Core = "How to create Excalidraw elements"**
10
+
11
+ - How to group shapes with text labels
12
+ - How to calculate text width
13
+ - How to create arrows with proper bindings
14
+ - How to validate JSON syntax
15
+ - Base structure and primitives
16
+
17
+ **Agents = "What diagrams to create"**
18
+
19
+ - Frame Expert (BMM): Technical flowcharts, architecture diagrams, wireframes
20
+ - Presentation Master (CIS): Pitch decks, creative visuals, Rube Goldberg machines
21
+ - Tech Writer (BMM): Documentation diagrams, concept explanations
22
+
23
+ ## Files in This Directory
24
+
25
+ ### excalidraw-helpers.md
26
+
27
+ **Universal element creation patterns**
28
+
29
+ - Text width calculation
30
+ - Element grouping rules (shapes + labels)
31
+ - Grid alignment
32
+ - Arrow creation (straight, elbow)
33
+ - Theme application
34
+ - Validation checklist
35
+ - Optimization rules
36
+
37
+ **Agents reference this to:**
38
+
39
+ - Create properly grouped shapes
40
+ - Calculate text dimensions
41
+ - Connect elements with arrows
42
+ - Ensure valid structure
43
+
44
+ ### validate-json-instructions.md
45
+
46
+ **Universal JSON validation process**
47
+
48
+ - How to validate Excalidraw JSON
49
+ - Common errors and fixes
50
+ - Workflow integration
51
+ - Error recovery
52
+
53
+ **Agents reference this to:**
54
+
55
+ - Validate files after creation
56
+ - Fix syntax errors
57
+ - Ensure files can be opened in Excalidraw
58
+
59
+ ### library-loader.md (Future)
60
+
61
+ **How to load external .excalidrawlib files**
62
+
63
+ - Programmatic library loading
64
+ - Community library integration
65
+ - Custom library management
66
+
67
+ **Status:** To be developed when implementing external library support.
68
+
69
+ ## How Agents Use These Resources
70
+
71
+ ### Example: Frame Expert (Technical Diagrams)
72
+
73
+ ```yaml
74
+ # workflows/excalidraw-diagrams/create-flowchart/workflow.yaml
75
+ helpers: '{project-root}/_bmad/core/resources/excalidraw/excalidraw-helpers.md'
76
+ json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-instructions.md'
77
+ ```
78
+
79
+ **Domain-specific additions:**
80
+
81
+ ```yaml
82
+ # workflows/excalidraw-diagrams/_shared/flowchart-templates.yaml
83
+ flowchart:
84
+ start_node:
85
+ type: ellipse
86
+ width: 120
87
+ height: 60
88
+ process_box:
89
+ type: rectangle
90
+ width: 160
91
+ height: 80
92
+ decision_diamond:
93
+ type: diamond
94
+ width: 140
95
+ height: 100
96
+ ```
97
+
98
+ ### Example: Presentation Master (Creative Visuals)
99
+
100
+ ```yaml
101
+ # workflows/create-visual-metaphor/workflow.yaml
102
+ helpers: '{project-root}/_bmad/core/resources/excalidraw/excalidraw-helpers.md'
103
+ json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-instructions.md'
104
+ ```
105
+
106
+ **Domain-specific additions:**
107
+
108
+ ```yaml
109
+ # workflows/_shared/creative-templates.yaml
110
+ rube_goldberg:
111
+ whimsical_connector:
112
+ type: arrow
113
+ strokeStyle: dashed
114
+ roughness: 2
115
+ playful_box:
116
+ type: rectangle
117
+ roundness: 12
118
+ ```
119
+
120
+ ## What Doesn't Belong in Core
121
+
122
+ **Domain-Specific Elements:**
123
+
124
+ - Flowchart-specific templates (belongs in Frame Expert)
125
+ - Pitch deck layouts (belongs in Presentation Master)
126
+ - Documentation-specific styles (belongs in Tech Writer)
127
+
128
+ **Agent Workflows:**
129
+
130
+ - How to create a flowchart (Frame Expert workflow)
131
+ - How to create a pitch deck (Presentation Master workflow)
132
+ - Step-by-step diagram creation (agent-specific)
133
+
134
+ **Theming:**
135
+
136
+ - Currently in agent workflows
137
+ - **Future:** Will be refactored to core as user-configurable themes
138
+
139
+ ## Architecture Principle
140
+
141
+ **Single Source of Truth:**
142
+
143
+ - Core holds universal knowledge
144
+ - Agents reference core, don't duplicate
145
+ - Updates to core benefit all agents
146
+ - Agents specialize with domain knowledge
147
+
148
+ **DRY (Don't Repeat Yourself):**
149
+
150
+ - Element creation logic: ONCE in core
151
+ - Text width calculation: ONCE in core
152
+ - Validation process: ONCE in core
153
+ - Arrow binding patterns: ONCE in core
154
+
155
+ ## Future Enhancements
156
+
157
+ 1. **External Library Loader** - Load .excalidrawlib files from libraries.excalidraw.com
158
+ 2. **Theme Management** - User-configurable color themes saved in core
159
+ 3. **Component Library** - Shared reusable components across agents
160
+ 4. **Layout Algorithms** - Auto-layout helpers for positioning elements
@@ -0,0 +1,127 @@
1
+ # Excalidraw Element Creation Guidelines
2
+
3
+ ## Text Width Calculation
4
+
5
+ For text elements inside shapes (labels):
6
+
7
+ ```
8
+ text_width = (text.length × fontSize × 0.6) + 20
9
+ ```
10
+
11
+ Round to nearest 10 for grid alignment.
12
+
13
+ ## Element Grouping Rules
14
+
15
+ **CRITICAL:** When creating shapes with labels:
16
+
17
+ 1. Generate unique IDs:
18
+ - `shape-id` for the shape
19
+ - `text-id` for the text
20
+ - `group-id` for the group
21
+
22
+ 2. Shape element must have:
23
+ - `groupIds: [group-id]`
24
+ - `boundElements: [{type: "text", id: text-id}]`
25
+
26
+ 3. Text element must have:
27
+ - `containerId: shape-id`
28
+ - `groupIds: [group-id]` (SAME as shape)
29
+ - `textAlign: "center"`
30
+ - `verticalAlign: "middle"`
31
+ - `width: calculated_width`
32
+
33
+ ## Grid Alignment
34
+
35
+ - Snap all `x`, `y` coordinates to 20px grid
36
+ - Formula: `Math.round(value / 20) * 20`
37
+ - Spacing between elements: 60px minimum
38
+
39
+ ## Arrow Creation
40
+
41
+ ### Straight Arrows
42
+
43
+ Use for forward flow (left-to-right, top-to-bottom):
44
+
45
+ ```json
46
+ {
47
+ "type": "arrow",
48
+ "startBinding": {
49
+ "elementId": "source-shape-id",
50
+ "focus": 0,
51
+ "gap": 10
52
+ },
53
+ "endBinding": {
54
+ "elementId": "target-shape-id",
55
+ "focus": 0,
56
+ "gap": 10
57
+ },
58
+ "points": [[0, 0], [distance_x, distance_y]]
59
+ }
60
+ ```
61
+
62
+ ### Elbow Arrows
63
+
64
+ Use for upward flow, backward flow, or complex routing:
65
+
66
+ ```json
67
+ {
68
+ "type": "arrow",
69
+ "startBinding": {...},
70
+ "endBinding": {...},
71
+ "points": [
72
+ [0, 0],
73
+ [intermediate_x, 0],
74
+ [intermediate_x, intermediate_y],
75
+ [final_x, final_y]
76
+ ],
77
+ "elbowed": true
78
+ }
79
+ ```
80
+
81
+ ### Update Connected Shapes
82
+
83
+ After creating arrow, update `boundElements` on both connected shapes:
84
+
85
+ ```json
86
+ {
87
+ "id": "shape-id",
88
+ "boundElements": [
89
+ { "type": "text", "id": "text-id" },
90
+ { "type": "arrow", "id": "arrow-id" }
91
+ ]
92
+ }
93
+ ```
94
+
95
+ ## Theme Application
96
+
97
+ Theme colors should be applied consistently:
98
+
99
+ - **Shapes**: `backgroundColor` from theme primary fill
100
+ - **Borders**: `strokeColor` from theme accent
101
+ - **Text**: `strokeColor` = "#1e1e1e" (dark text)
102
+ - **Arrows**: `strokeColor` from theme accent
103
+
104
+ ## Validation Checklist
105
+
106
+ Before saving, verify:
107
+
108
+ - [ ] All shapes with labels have matching `groupIds`
109
+ - [ ] All text elements have `containerId` pointing to parent shape
110
+ - [ ] Text width calculated properly (no cutoff)
111
+ - [ ] Text alignment set (`textAlign` + `verticalAlign`)
112
+ - [ ] All elements snapped to 20px grid
113
+ - [ ] All arrows have `startBinding` and `endBinding`
114
+ - [ ] `boundElements` array updated on connected shapes
115
+ - [ ] Theme colors applied consistently
116
+ - [ ] No metadata or history in final output
117
+ - [ ] All IDs are unique
118
+
119
+ ## Optimization
120
+
121
+ Remove from final output:
122
+
123
+ - `appState` object
124
+ - `files` object (unless images used)
125
+ - All elements with `isDeleted: true`
126
+ - Unused library items
127
+ - Version history