@cregis-dev/cckit 0.4.1 → 0.6.1

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 (795) hide show
  1. package/README.md +68 -110
  2. package/package.json +54 -54
  3. package/registry.json +116 -234
  4. package/src/cli.js +17 -26
  5. package/src/commands/init.js +117 -294
  6. package/src/commands/status.js +53 -30
  7. package/src/commands/update.js +129 -408
  8. package/src/core/config.js +25 -33
  9. package/src/core/orchestrator.js +79 -0
  10. package/src/core/registry.js +32 -47
  11. package/src/steps/configure-user.js +130 -0
  12. package/src/steps/enable-plugins.js +97 -0
  13. package/src/steps/install-bmad.js +85 -0
  14. package/src/steps/install-mcp.js +70 -0
  15. package/src/steps/install-rules.js +69 -0
  16. package/src/steps/install-skills.js +54 -0
  17. package/src/utils/fs.js +12 -34
  18. package/src/utils/manifest.js +99 -0
  19. package/src/utils/prompt.js +41 -0
  20. package/templates/mcp/claude-code/.mcp.json +10 -5
  21. package/src/adapters/trae-adapter.js +0 -90
  22. package/src/commands/add.js +0 -192
  23. package/src/commands/sync.js +0 -325
  24. package/src/core/differ.js +0 -57
  25. package/src/core/installer.js +0 -97
  26. package/src/core/plugin-installer.js +0 -278
  27. package/src/core/templatize.js +0 -42
  28. package/src/core/upstream.js +0 -357
  29. package/templates/bmad/_config/agent-manifest.csv +0 -12
  30. package/templates/bmad/_config/agents/bmm-analyst.customize.yaml +0 -41
  31. package/templates/bmad/_config/agents/bmm-architect.customize.yaml +0 -41
  32. package/templates/bmad/_config/agents/bmm-dev.customize.yaml +0 -41
  33. package/templates/bmad/_config/agents/bmm-pm.customize.yaml +0 -41
  34. package/templates/bmad/_config/agents/bmm-qa.customize.yaml +0 -41
  35. package/templates/bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +0 -41
  36. package/templates/bmad/_config/agents/bmm-sm.customize.yaml +0 -41
  37. package/templates/bmad/_config/agents/bmm-tech-writer.customize.yaml +0 -41
  38. package/templates/bmad/_config/agents/bmm-ux-designer.customize.yaml +0 -41
  39. package/templates/bmad/_config/agents/core-bmad-master.customize.yaml +0 -41
  40. package/templates/bmad/_config/agents/tea-tea.customize.yaml +0 -41
  41. package/templates/bmad/_config/bmad-help.csv +0 -49
  42. package/templates/bmad/_config/files-manifest.csv +0 -437
  43. package/templates/bmad/_config/ides/claude-code.yaml +0 -5
  44. package/templates/bmad/_config/ides/opencode.yaml +0 -5
  45. package/templates/bmad/_config/ides/trae.yaml +0 -5
  46. package/templates/bmad/_config/task-manifest.csv +0 -8
  47. package/templates/bmad/_config/tool-manifest.csv +0 -1
  48. package/templates/bmad/_config/workflow-manifest.csv +0 -35
  49. package/templates/bmad/bmm/agents/analyst.md +0 -78
  50. package/templates/bmad/bmm/agents/architect.md +0 -58
  51. package/templates/bmad/bmm/agents/dev.md +0 -69
  52. package/templates/bmad/bmm/agents/pm.md +0 -72
  53. package/templates/bmad/bmm/agents/qa.md +0 -92
  54. package/templates/bmad/bmm/agents/quick-flow-solo-dev.md +0 -69
  55. package/templates/bmad/bmm/agents/sm.md +0 -70
  56. package/templates/bmad/bmm/agents/tech-writer/tech-writer.md +0 -70
  57. package/templates/bmad/bmm/agents/ux-designer.md +0 -57
  58. package/templates/bmad/bmm/config.yaml +0 -15
  59. package/templates/bmad/bmm/data/project-context-template.md +0 -26
  60. package/templates/bmad/bmm/module-help.csv +0 -31
  61. package/templates/bmad/bmm/teams/default-party.csv +0 -20
  62. package/templates/bmad/bmm/teams/team-fullstack.yaml +0 -12
  63. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/product-brief.template.md +0 -10
  64. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01-init.md +0 -177
  65. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-01b-continue.md +0 -161
  66. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-02-vision.md +0 -199
  67. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-03-users.md +0 -202
  68. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-04-metrics.md +0 -205
  69. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-05-scope.md +0 -219
  70. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/steps/step-06-complete.md +0 -162
  71. package/templates/bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md +0 -57
  72. package/templates/bmad/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +0 -137
  73. package/templates/bmad/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +0 -229
  74. package/templates/bmad/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +0 -238
  75. package/templates/bmad/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +0 -206
  76. package/templates/bmad/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +0 -234
  77. package/templates/bmad/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +0 -444
  78. package/templates/bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +0 -182
  79. package/templates/bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +0 -237
  80. package/templates/bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +0 -249
  81. package/templates/bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +0 -259
  82. package/templates/bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +0 -177
  83. package/templates/bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +0 -476
  84. package/templates/bmad/bmm/workflows/1-analysis/research/research.template.md +0 -29
  85. package/templates/bmad/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +0 -137
  86. package/templates/bmad/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +0 -239
  87. package/templates/bmad/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +0 -248
  88. package/templates/bmad/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +0 -202
  89. package/templates/bmad/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +0 -233
  90. package/templates/bmad/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +0 -487
  91. package/templates/bmad/bmm/workflows/1-analysis/research/workflow-domain-research.md +0 -54
  92. package/templates/bmad/bmm/workflows/1-analysis/research/workflow-market-research.md +0 -54
  93. package/templates/bmad/bmm/workflows/1-analysis/research/workflow-technical-research.md +0 -54
  94. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  95. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  96. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  97. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01-init.md +0 -191
  98. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-01b-continue.md +0 -152
  99. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02-discovery.md +0 -224
  100. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02b-vision.md +0 -154
  101. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-02c-executive-summary.md +0 -170
  102. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-03-success.md +0 -226
  103. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-04-journeys.md +0 -213
  104. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-05-domain.md +0 -207
  105. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-06-innovation.md +0 -226
  106. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-07-project-type.md +0 -237
  107. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-08-scoping.md +0 -228
  108. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-09-functional.md +0 -231
  109. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-10-nonfunctional.md +0 -242
  110. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-11-polish.md +0 -217
  111. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-c/step-12-complete.md +0 -124
  112. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01-discovery.md +0 -247
  113. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-01b-legacy-conversion.md +0 -208
  114. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-02-review.md +0 -249
  115. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-03-edit.md +0 -253
  116. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-e/step-e-04-complete.md +0 -168
  117. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -226
  118. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  119. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  120. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  121. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  122. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  123. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  124. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  125. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  126. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  127. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  128. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  129. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  130. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -231
  131. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/templates/prd-template.md +0 -10
  132. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md +0 -63
  133. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-edit-prd.md +0 -65
  134. package/templates/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -63
  135. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01-init.md +0 -135
  136. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-01b-continue.md +0 -127
  137. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-02-discovery.md +0 -190
  138. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-03-core-experience.md +0 -216
  139. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-04-emotional-response.md +0 -219
  140. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-05-inspiration.md +0 -234
  141. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-06-design-system.md +0 -252
  142. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-07-defining-experience.md +0 -254
  143. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-08-visual-foundation.md +0 -224
  144. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-09-design-directions.md +0 -224
  145. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-10-user-journeys.md +0 -241
  146. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-11-component-strategy.md +0 -248
  147. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-12-ux-patterns.md +0 -237
  148. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-13-responsive-accessibility.md +0 -264
  149. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/steps/step-14-complete.md +0 -171
  150. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +0 -13
  151. package/templates/bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +0 -42
  152. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-01-document-discovery.md +0 -184
  153. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-02-prd-analysis.md +0 -172
  154. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -173
  155. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-04-ux-alignment.md +0 -133
  156. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -245
  157. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/steps/step-06-final-assessment.md +0 -129
  158. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/templates/readiness-report-template.md +0 -4
  159. package/templates/bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md +0 -54
  160. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/architecture-decision-template.md +0 -12
  161. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/data/domain-complexity.csv +0 -13
  162. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/data/project-types.csv +0 -7
  163. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01-init.md +0 -153
  164. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-01b-continue.md +0 -173
  165. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-02-context.md +0 -224
  166. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-03-starter.md +0 -329
  167. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-04-decisions.md +0 -318
  168. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-05-patterns.md +0 -359
  169. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-06-structure.md +0 -379
  170. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-07-validation.md +0 -359
  171. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/steps/step-08-complete.md +0 -76
  172. package/templates/bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md +0 -49
  173. package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -259
  174. package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +0 -233
  175. package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +0 -272
  176. package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +0 -149
  177. package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +0 -57
  178. package/templates/bmad/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +0 -58
  179. package/templates/bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
  180. package/templates/bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
  181. package/templates/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -43
  182. package/templates/bmad/bmm/workflows/4-implementation/correct-course/checklist.md +0 -288
  183. package/templates/bmad/bmm/workflows/4-implementation/correct-course/instructions.md +0 -207
  184. package/templates/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -53
  185. package/templates/bmad/bmm/workflows/4-implementation/create-story/checklist.md +0 -358
  186. package/templates/bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
  187. package/templates/bmad/bmm/workflows/4-implementation/create-story/template.md +0 -49
  188. package/templates/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -52
  189. package/templates/bmad/bmm/workflows/4-implementation/dev-story/checklist.md +0 -80
  190. package/templates/bmad/bmm/workflows/4-implementation/dev-story/instructions.xml +0 -410
  191. package/templates/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -20
  192. package/templates/bmad/bmm/workflows/4-implementation/retrospective/instructions.md +0 -1444
  193. package/templates/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -52
  194. package/templates/bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +0 -33
  195. package/templates/bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +0 -226
  196. package/templates/bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +0 -55
  197. package/templates/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
  198. package/templates/bmad/bmm/workflows/4-implementation/sprint-status/instructions.md +0 -230
  199. package/templates/bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
  200. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-01-mode-detection.md +0 -174
  201. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-02-context-gathering.md +0 -118
  202. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-03-execute.md +0 -111
  203. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-04-self-check.md +0 -111
  204. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-05-adversarial-review.md +0 -104
  205. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/steps/step-06-resolve-findings.md +0 -146
  206. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.md +0 -50
  207. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-01-understand.md +0 -189
  208. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-02-investigate.md +0 -143
  209. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-03-generate.md +0 -126
  210. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/steps/step-04-review.md +0 -200
  211. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/tech-spec-template.md +0 -74
  212. package/templates/bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md +0 -79
  213. package/templates/bmad/bmm/workflows/document-project/checklist.md +0 -245
  214. package/templates/bmad/bmm/workflows/document-project/documentation-requirements.csv +0 -12
  215. package/templates/bmad/bmm/workflows/document-project/instructions.md +0 -130
  216. package/templates/bmad/bmm/workflows/document-project/templates/deep-dive-template.md +0 -345
  217. package/templates/bmad/bmm/workflows/document-project/templates/index-template.md +0 -169
  218. package/templates/bmad/bmm/workflows/document-project/templates/project-overview-template.md +0 -103
  219. package/templates/bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +0 -160
  220. package/templates/bmad/bmm/workflows/document-project/templates/source-tree-template.md +0 -135
  221. package/templates/bmad/bmm/workflows/document-project/workflow.yaml +0 -22
  222. package/templates/bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +0 -298
  223. package/templates/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
  224. package/templates/bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +0 -1106
  225. package/templates/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
  226. package/templates/bmad/bmm/workflows/generate-project-context/project-context-template.md +0 -21
  227. package/templates/bmad/bmm/workflows/generate-project-context/steps/step-01-discover.md +0 -184
  228. package/templates/bmad/bmm/workflows/generate-project-context/steps/step-02-generate.md +0 -318
  229. package/templates/bmad/bmm/workflows/generate-project-context/steps/step-03-complete.md +0 -278
  230. package/templates/bmad/bmm/workflows/generate-project-context/workflow.md +0 -49
  231. package/templates/bmad/bmm/workflows/qa/automate/checklist.md +0 -33
  232. package/templates/bmad/bmm/workflows/qa/automate/instructions.md +0 -110
  233. package/templates/bmad/bmm/workflows/qa/automate/workflow.yaml +0 -44
  234. package/templates/bmad/bmm/workflows/qa-generate-e2e-tests/checklist.md +0 -33
  235. package/templates/bmad/bmm/workflows/qa-generate-e2e-tests/instructions.md +0 -110
  236. package/templates/bmad/bmm/workflows/qa-generate-e2e-tests/workflow.yaml +0 -42
  237. package/templates/bmad/commands/bmad-agent-bmad-master.md +0 -15
  238. package/templates/bmad/commands/bmad-agent-bmm-analyst.md +0 -15
  239. package/templates/bmad/commands/bmad-agent-bmm-architect.md +0 -15
  240. package/templates/bmad/commands/bmad-agent-bmm-dev.md +0 -15
  241. package/templates/bmad/commands/bmad-agent-bmm-pm.md +0 -15
  242. package/templates/bmad/commands/bmad-agent-bmm-qa.md +0 -15
  243. package/templates/bmad/commands/bmad-agent-bmm-quick-flow-solo-dev.md +0 -15
  244. package/templates/bmad/commands/bmad-agent-bmm-sm.md +0 -15
  245. package/templates/bmad/commands/bmad-agent-bmm-tech-writer.md +0 -15
  246. package/templates/bmad/commands/bmad-agent-bmm-ux-designer.md +0 -15
  247. package/templates/bmad/commands/bmad-agent-tea-tea.md +0 -15
  248. package/templates/bmad/commands/bmad-bmm-check-implementation-readiness.md +0 -6
  249. package/templates/bmad/commands/bmad-bmm-code-review.md +0 -14
  250. package/templates/bmad/commands/bmad-bmm-correct-course.md +0 -14
  251. package/templates/bmad/commands/bmad-bmm-create-architecture.md +0 -6
  252. package/templates/bmad/commands/bmad-bmm-create-epics-and-stories.md +0 -6
  253. package/templates/bmad/commands/bmad-bmm-create-prd.md +0 -6
  254. package/templates/bmad/commands/bmad-bmm-create-product-brief.md +0 -6
  255. package/templates/bmad/commands/bmad-bmm-create-story.md +0 -14
  256. package/templates/bmad/commands/bmad-bmm-create-ux-design.md +0 -6
  257. package/templates/bmad/commands/bmad-bmm-dev-story.md +0 -14
  258. package/templates/bmad/commands/bmad-bmm-document-project.md +0 -14
  259. package/templates/bmad/commands/bmad-bmm-domain-research.md +0 -6
  260. package/templates/bmad/commands/bmad-bmm-edit-prd.md +0 -6
  261. package/templates/bmad/commands/bmad-bmm-generate-project-context.md +0 -6
  262. package/templates/bmad/commands/bmad-bmm-market-research.md +0 -6
  263. package/templates/bmad/commands/bmad-bmm-qa-automate.md +0 -15
  264. package/templates/bmad/commands/bmad-bmm-qa-generate-e2e-tests.md +0 -14
  265. package/templates/bmad/commands/bmad-bmm-quick-dev.md +0 -6
  266. package/templates/bmad/commands/bmad-bmm-quick-spec.md +0 -6
  267. package/templates/bmad/commands/bmad-bmm-retrospective.md +0 -14
  268. package/templates/bmad/commands/bmad-bmm-sprint-planning.md +0 -14
  269. package/templates/bmad/commands/bmad-bmm-sprint-status.md +0 -14
  270. package/templates/bmad/commands/bmad-bmm-technical-research.md +0 -6
  271. package/templates/bmad/commands/bmad-bmm-validate-prd.md +0 -6
  272. package/templates/bmad/commands/bmad-brainstorming.md +0 -6
  273. package/templates/bmad/commands/bmad-editorial-review-prose.md +0 -10
  274. package/templates/bmad/commands/bmad-editorial-review-structure.md +0 -10
  275. package/templates/bmad/commands/bmad-help.md +0 -10
  276. package/templates/bmad/commands/bmad-index-docs.md +0 -10
  277. package/templates/bmad/commands/bmad-party-mode.md +0 -6
  278. package/templates/bmad/commands/bmad-review-adversarial-general.md +0 -10
  279. package/templates/bmad/commands/bmad-review-edge-case-hunter.md +0 -10
  280. package/templates/bmad/commands/bmad-shard-doc.md +0 -10
  281. package/templates/bmad/commands/bmad-tea-teach-me-testing.md +0 -6
  282. package/templates/bmad/commands/bmad-tea-testarch-atdd.md +0 -14
  283. package/templates/bmad/commands/bmad-tea-testarch-automate.md +0 -14
  284. package/templates/bmad/commands/bmad-tea-testarch-ci.md +0 -14
  285. package/templates/bmad/commands/bmad-tea-testarch-framework.md +0 -14
  286. package/templates/bmad/commands/bmad-tea-testarch-nfr.md +0 -14
  287. package/templates/bmad/commands/bmad-tea-testarch-test-design.md +0 -14
  288. package/templates/bmad/commands/bmad-tea-testarch-test-review.md +0 -14
  289. package/templates/bmad/commands/bmad-tea-testarch-trace.md +0 -14
  290. package/templates/bmad/core/agents/bmad-master.md +0 -56
  291. package/templates/bmad/core/config.yaml +0 -8
  292. package/templates/bmad/core/module-help.csv +0 -10
  293. package/templates/bmad/core/tasks/editorial-review-prose.xml +0 -102
  294. package/templates/bmad/core/tasks/editorial-review-structure.xml +0 -208
  295. package/templates/bmad/core/tasks/help.md +0 -86
  296. package/templates/bmad/core/tasks/index-docs.xml +0 -65
  297. package/templates/bmad/core/tasks/review-adversarial-general.xml +0 -49
  298. package/templates/bmad/core/tasks/review-edge-case-hunter.xml +0 -63
  299. package/templates/bmad/core/tasks/shard-doc.xml +0 -108
  300. package/templates/bmad/core/tasks/workflow.xml +0 -235
  301. package/templates/bmad/core/workflows/advanced-elicitation/methods.csv +0 -51
  302. package/templates/bmad/core/workflows/advanced-elicitation/workflow.xml +0 -118
  303. package/templates/bmad/core/workflows/brainstorming/brain-methods.csv +0 -62
  304. package/templates/bmad/core/workflows/brainstorming/steps/step-01-session-setup.md +0 -210
  305. package/templates/bmad/core/workflows/brainstorming/steps/step-01b-continue.md +0 -122
  306. package/templates/bmad/core/workflows/brainstorming/steps/step-02a-user-selected.md +0 -225
  307. package/templates/bmad/core/workflows/brainstorming/steps/step-02b-ai-recommended.md +0 -237
  308. package/templates/bmad/core/workflows/brainstorming/steps/step-02c-random-selection.md +0 -209
  309. package/templates/bmad/core/workflows/brainstorming/steps/step-02d-progressive-flow.md +0 -264
  310. package/templates/bmad/core/workflows/brainstorming/steps/step-03-technique-execution.md +0 -399
  311. package/templates/bmad/core/workflows/brainstorming/steps/step-04-idea-organization.md +0 -303
  312. package/templates/bmad/core/workflows/brainstorming/template.md +0 -15
  313. package/templates/bmad/core/workflows/brainstorming/workflow.md +0 -60
  314. package/templates/bmad/core/workflows/party-mode/steps/step-01-agent-loading.md +0 -138
  315. package/templates/bmad/core/workflows/party-mode/steps/step-02-discussion-orchestration.md +0 -187
  316. package/templates/bmad/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -168
  317. package/templates/bmad/core/workflows/party-mode/workflow.md +0 -194
  318. package/templates/bmad/tea/agents/tea.md +0 -71
  319. package/templates/bmad/tea/config.yaml +0 -24
  320. package/templates/bmad/tea/module-help.csv +0 -10
  321. package/templates/bmad/tea/teams/default-party.csv +0 -2
  322. package/templates/bmad/tea/testarch/knowledge/adr-quality-readiness-checklist.md +0 -377
  323. package/templates/bmad/tea/testarch/knowledge/api-request.md +0 -563
  324. package/templates/bmad/tea/testarch/knowledge/api-testing-patterns.md +0 -915
  325. package/templates/bmad/tea/testarch/knowledge/auth-session.md +0 -548
  326. package/templates/bmad/tea/testarch/knowledge/burn-in.md +0 -273
  327. package/templates/bmad/tea/testarch/knowledge/ci-burn-in.md +0 -675
  328. package/templates/bmad/tea/testarch/knowledge/component-tdd.md +0 -486
  329. package/templates/bmad/tea/testarch/knowledge/contract-testing.md +0 -979
  330. package/templates/bmad/tea/testarch/knowledge/data-factories.md +0 -500
  331. package/templates/bmad/tea/testarch/knowledge/email-auth.md +0 -721
  332. package/templates/bmad/tea/testarch/knowledge/error-handling.md +0 -725
  333. package/templates/bmad/tea/testarch/knowledge/feature-flags.md +0 -750
  334. package/templates/bmad/tea/testarch/knowledge/file-utils.md +0 -456
  335. package/templates/bmad/tea/testarch/knowledge/fixture-architecture.md +0 -401
  336. package/templates/bmad/tea/testarch/knowledge/fixtures-composition.md +0 -382
  337. package/templates/bmad/tea/testarch/knowledge/intercept-network-call.md +0 -426
  338. package/templates/bmad/tea/testarch/knowledge/log.md +0 -426
  339. package/templates/bmad/tea/testarch/knowledge/network-error-monitor.md +0 -401
  340. package/templates/bmad/tea/testarch/knowledge/network-first.md +0 -486
  341. package/templates/bmad/tea/testarch/knowledge/network-recorder.md +0 -527
  342. package/templates/bmad/tea/testarch/knowledge/nfr-criteria.md +0 -670
  343. package/templates/bmad/tea/testarch/knowledge/overview.md +0 -286
  344. package/templates/bmad/tea/testarch/knowledge/pact-mcp.md +0 -204
  345. package/templates/bmad/tea/testarch/knowledge/pactjs-utils-consumer-helpers.md +0 -211
  346. package/templates/bmad/tea/testarch/knowledge/pactjs-utils-overview.md +0 -210
  347. package/templates/bmad/tea/testarch/knowledge/pactjs-utils-provider-verifier.md +0 -315
  348. package/templates/bmad/tea/testarch/knowledge/pactjs-utils-request-filter.md +0 -224
  349. package/templates/bmad/tea/testarch/knowledge/playwright-cli.md +0 -165
  350. package/templates/bmad/tea/testarch/knowledge/playwright-config.md +0 -730
  351. package/templates/bmad/tea/testarch/knowledge/probability-impact.md +0 -601
  352. package/templates/bmad/tea/testarch/knowledge/recurse.md +0 -421
  353. package/templates/bmad/tea/testarch/knowledge/risk-governance.md +0 -615
  354. package/templates/bmad/tea/testarch/knowledge/selective-testing.md +0 -732
  355. package/templates/bmad/tea/testarch/knowledge/selector-resilience.md +0 -527
  356. package/templates/bmad/tea/testarch/knowledge/test-healing-patterns.md +0 -644
  357. package/templates/bmad/tea/testarch/knowledge/test-levels-framework.md +0 -473
  358. package/templates/bmad/tea/testarch/knowledge/test-priorities-matrix.md +0 -373
  359. package/templates/bmad/tea/testarch/knowledge/test-quality.md +0 -664
  360. package/templates/bmad/tea/testarch/knowledge/timing-debugging.md +0 -372
  361. package/templates/bmad/tea/testarch/knowledge/visual-debugging.md +0 -524
  362. package/templates/bmad/tea/testarch/tea-index.csv +0 -41
  363. package/templates/bmad/tea/workflows/testarch/README.md +0 -74
  364. package/templates/bmad/tea/workflows/testarch/atdd/atdd-checklist-template.md +0 -371
  365. package/templates/bmad/tea/workflows/testarch/atdd/checklist.md +0 -374
  366. package/templates/bmad/tea/workflows/testarch/atdd/instructions.md +0 -45
  367. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-01-preflight-and-context.md +0 -226
  368. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-01b-resume.md +0 -96
  369. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-02-generation-mode.md +0 -125
  370. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-03-test-strategy.md +0 -110
  371. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04-generate-tests.md +0 -331
  372. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04a-subagent-api-failing.md +0 -215
  373. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04a-subprocess-api-failing.md +0 -215
  374. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04b-subagent-e2e-failing.md +0 -244
  375. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04b-subprocess-e2e-failing.md +0 -244
  376. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-04c-aggregate.md +0 -370
  377. package/templates/bmad/tea/workflows/testarch/atdd/steps-c/step-05-validate-and-complete.md +0 -106
  378. package/templates/bmad/tea/workflows/testarch/atdd/steps-e/step-01-assess.md +0 -65
  379. package/templates/bmad/tea/workflows/testarch/atdd/steps-e/step-02-apply-edit.md +0 -60
  380. package/templates/bmad/tea/workflows/testarch/atdd/steps-v/step-01-validate.md +0 -67
  381. package/templates/bmad/tea/workflows/testarch/atdd/validation-report-20260127-095021.md +0 -73
  382. package/templates/bmad/tea/workflows/testarch/atdd/validation-report-20260127-102401.md +0 -116
  383. package/templates/bmad/tea/workflows/testarch/atdd/workflow-plan.md +0 -21
  384. package/templates/bmad/tea/workflows/testarch/atdd/workflow.md +0 -41
  385. package/templates/bmad/tea/workflows/testarch/atdd/workflow.yaml +0 -46
  386. package/templates/bmad/tea/workflows/testarch/automate/checklist.md +0 -582
  387. package/templates/bmad/tea/workflows/testarch/automate/instructions.md +0 -50
  388. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md +0 -237
  389. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-01b-resume.md +0 -94
  390. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-02-identify-targets.md +0 -145
  391. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03-generate-tests.md +0 -392
  392. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03a-subagent-api.md +0 -193
  393. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03a-subprocess-api.md +0 -183
  394. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subagent-backend.md +0 -246
  395. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subagent-e2e.md +0 -213
  396. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subprocess-backend.md +0 -246
  397. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03b-subprocess-e2e.md +0 -213
  398. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-03c-aggregate.md +0 -393
  399. package/templates/bmad/tea/workflows/testarch/automate/steps-c/step-04-validate-and-summarize.md +0 -106
  400. package/templates/bmad/tea/workflows/testarch/automate/steps-e/step-01-assess.md +0 -65
  401. package/templates/bmad/tea/workflows/testarch/automate/steps-e/step-02-apply-edit.md +0 -60
  402. package/templates/bmad/tea/workflows/testarch/automate/steps-v/step-01-validate.md +0 -67
  403. package/templates/bmad/tea/workflows/testarch/automate/validation-report-20260127-095021.md +0 -72
  404. package/templates/bmad/tea/workflows/testarch/automate/validation-report-20260127-102401.md +0 -114
  405. package/templates/bmad/tea/workflows/testarch/automate/workflow-plan.md +0 -20
  406. package/templates/bmad/tea/workflows/testarch/automate/workflow.md +0 -41
  407. package/templates/bmad/tea/workflows/testarch/automate/workflow.yaml +0 -53
  408. package/templates/bmad/tea/workflows/testarch/ci/azure-pipelines-template.yaml +0 -155
  409. package/templates/bmad/tea/workflows/testarch/ci/checklist.md +0 -288
  410. package/templates/bmad/tea/workflows/testarch/ci/github-actions-template.yaml +0 -210
  411. package/templates/bmad/tea/workflows/testarch/ci/gitlab-ci-template.yaml +0 -158
  412. package/templates/bmad/tea/workflows/testarch/ci/harness-pipeline-template.yaml +0 -159
  413. package/templates/bmad/tea/workflows/testarch/ci/instructions.md +0 -45
  414. package/templates/bmad/tea/workflows/testarch/ci/jenkins-pipeline-template.groovy +0 -129
  415. package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-01-preflight.md +0 -158
  416. package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-01b-resume.md +0 -110
  417. package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-02-generate-pipeline.md +0 -241
  418. package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-03-configure-quality-gates.md +0 -112
  419. package/templates/bmad/tea/workflows/testarch/ci/steps-c/step-04-validate-and-summary.md +0 -92
  420. package/templates/bmad/tea/workflows/testarch/ci/steps-e/step-01-assess.md +0 -65
  421. package/templates/bmad/tea/workflows/testarch/ci/steps-e/step-02-apply-edit.md +0 -60
  422. package/templates/bmad/tea/workflows/testarch/ci/steps-v/step-01-validate.md +0 -67
  423. package/templates/bmad/tea/workflows/testarch/ci/validation-report-20260127-095021.md +0 -72
  424. package/templates/bmad/tea/workflows/testarch/ci/validation-report-20260127-102401.md +0 -114
  425. package/templates/bmad/tea/workflows/testarch/ci/workflow-plan.md +0 -20
  426. package/templates/bmad/tea/workflows/testarch/ci/workflow.md +0 -41
  427. package/templates/bmad/tea/workflows/testarch/ci/workflow.yaml +0 -48
  428. package/templates/bmad/tea/workflows/testarch/framework/checklist.md +0 -321
  429. package/templates/bmad/tea/workflows/testarch/framework/instructions.md +0 -45
  430. package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-01-preflight.md +0 -132
  431. package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-01b-resume.md +0 -116
  432. package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-02-select-framework.md +0 -117
  433. package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-03-scaffold-framework.md +0 -319
  434. package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-04-docs-and-scripts.md +0 -105
  435. package/templates/bmad/tea/workflows/testarch/framework/steps-c/step-05-validate-and-summary.md +0 -93
  436. package/templates/bmad/tea/workflows/testarch/framework/steps-e/step-01-assess.md +0 -65
  437. package/templates/bmad/tea/workflows/testarch/framework/steps-e/step-02-apply-edit.md +0 -60
  438. package/templates/bmad/tea/workflows/testarch/framework/steps-v/step-01-validate.md +0 -67
  439. package/templates/bmad/tea/workflows/testarch/framework/validation-report-20260127-095021.md +0 -73
  440. package/templates/bmad/tea/workflows/testarch/framework/validation-report-20260127-102401.md +0 -116
  441. package/templates/bmad/tea/workflows/testarch/framework/workflow-plan.md +0 -22
  442. package/templates/bmad/tea/workflows/testarch/framework/workflow.md +0 -41
  443. package/templates/bmad/tea/workflows/testarch/framework/workflow.yaml +0 -48
  444. package/templates/bmad/tea/workflows/testarch/nfr-assess/checklist.md +0 -407
  445. package/templates/bmad/tea/workflows/testarch/nfr-assess/instructions.md +0 -43
  446. package/templates/bmad/tea/workflows/testarch/nfr-assess/nfr-report-template.md +0 -470
  447. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-01-load-context.md +0 -138
  448. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-01b-resume.md +0 -106
  449. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-02-define-thresholds.md +0 -107
  450. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-03-gather-evidence.md +0 -108
  451. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04-evaluate-and-score.md +0 -254
  452. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04a-subagent-security.md +0 -138
  453. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04a-subprocess-security.md +0 -138
  454. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04b-subagent-performance.md +0 -84
  455. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04b-subprocess-performance.md +0 -84
  456. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04c-subagent-reliability.md +0 -85
  457. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04c-subprocess-reliability.md +0 -85
  458. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04d-subagent-scalability.md +0 -88
  459. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04d-subprocess-scalability.md +0 -88
  460. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-04e-aggregate-nfr.md +0 -264
  461. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-c/step-05-generate-report.md +0 -108
  462. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-e/step-01-assess.md +0 -65
  463. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-e/step-02-apply-edit.md +0 -60
  464. package/templates/bmad/tea/workflows/testarch/nfr-assess/steps-v/step-01-validate.md +0 -67
  465. package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-095021.md +0 -73
  466. package/templates/bmad/tea/workflows/testarch/nfr-assess/validation-report-20260127-102401.md +0 -116
  467. package/templates/bmad/tea/workflows/testarch/nfr-assess/workflow-plan.md +0 -19
  468. package/templates/bmad/tea/workflows/testarch/nfr-assess/workflow.md +0 -41
  469. package/templates/bmad/tea/workflows/testarch/nfr-assess/workflow.yaml +0 -48
  470. package/templates/bmad/tea/workflows/testarch/teach-me-testing/checklist.md +0 -197
  471. package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/curriculum.yaml +0 -129
  472. package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/quiz-questions.yaml +0 -206
  473. package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/role-paths.yaml +0 -136
  474. package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/session-content-map.yaml +0 -207
  475. package/templates/bmad/tea/workflows/testarch/teach-me-testing/data/tea-resources-index.yaml +0 -359
  476. package/templates/bmad/tea/workflows/testarch/teach-me-testing/instructions.md +0 -130
  477. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-01-init.md +0 -235
  478. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-01b-continue.md +0 -147
  479. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-02-assess.md +0 -258
  480. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-03-session-menu.md +0 -219
  481. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-01.md +0 -460
  482. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-02.md +0 -465
  483. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-03.md +0 -301
  484. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-04.md +0 -234
  485. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-05.md +0 -234
  486. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-06.md +0 -209
  487. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-04-session-07.md +0 -212
  488. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-c/step-05-completion.md +0 -339
  489. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-e/step-e-01-assess-workflow.md +0 -141
  490. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-e/step-e-02-apply-edits.md +0 -122
  491. package/templates/bmad/tea/workflows/testarch/teach-me-testing/steps-v/step-v-01-validate.md +0 -263
  492. package/templates/bmad/tea/workflows/testarch/teach-me-testing/templates/certificate-template.md +0 -86
  493. package/templates/bmad/tea/workflows/testarch/teach-me-testing/templates/progress-template.yaml +0 -95
  494. package/templates/bmad/tea/workflows/testarch/teach-me-testing/templates/session-notes-template.md +0 -83
  495. package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow-plan-teach-me-testing.md +0 -950
  496. package/templates/bmad/tea/workflows/testarch/teach-me-testing/workflow.md +0 -90
  497. package/templates/bmad/tea/workflows/testarch/test-design/checklist.md +0 -464
  498. package/templates/bmad/tea/workflows/testarch/test-design/instructions.md +0 -105
  499. package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-01-detect-mode.md +0 -134
  500. package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-01b-resume.md +0 -102
  501. package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-02-load-context.md +0 -242
  502. package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-03-risk-and-testability.md +0 -110
  503. package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-04-coverage-plan.md +0 -123
  504. package/templates/bmad/tea/workflows/testarch/test-design/steps-c/step-05-generate-output.md +0 -222
  505. package/templates/bmad/tea/workflows/testarch/test-design/steps-e/step-01-assess.md +0 -65
  506. package/templates/bmad/tea/workflows/testarch/test-design/steps-e/step-02-apply-edit.md +0 -60
  507. package/templates/bmad/tea/workflows/testarch/test-design/steps-v/step-01-validate.md +0 -67
  508. package/templates/bmad/tea/workflows/testarch/test-design/test-design-architecture-template.md +0 -230
  509. package/templates/bmad/tea/workflows/testarch/test-design/test-design-handoff-template.md +0 -70
  510. package/templates/bmad/tea/workflows/testarch/test-design/test-design-qa-template.md +0 -396
  511. package/templates/bmad/tea/workflows/testarch/test-design/test-design-template.md +0 -344
  512. package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-095021.md +0 -73
  513. package/templates/bmad/tea/workflows/testarch/test-design/validation-report-20260127-102401.md +0 -116
  514. package/templates/bmad/tea/workflows/testarch/test-design/workflow-plan.md +0 -22
  515. package/templates/bmad/tea/workflows/testarch/test-design/workflow.md +0 -41
  516. package/templates/bmad/tea/workflows/testarch/test-design/workflow.yaml +0 -77
  517. package/templates/bmad/tea/workflows/testarch/test-review/checklist.md +0 -475
  518. package/templates/bmad/tea/workflows/testarch/test-review/instructions.md +0 -45
  519. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-01-load-context.md +0 -197
  520. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-01b-resume.md +0 -104
  521. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-02-discover-tests.md +0 -113
  522. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03-quality-evaluation.md +0 -274
  523. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03a-subagent-determinism.md +0 -214
  524. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03a-subprocess-determinism.md +0 -214
  525. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03b-subagent-isolation.md +0 -125
  526. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03b-subprocess-isolation.md +0 -125
  527. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03c-subagent-maintainability.md +0 -102
  528. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03c-subprocess-maintainability.md +0 -102
  529. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03d-subprocess-coverage.md +0 -111
  530. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03e-subagent-performance.md +0 -117
  531. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03e-subprocess-performance.md +0 -117
  532. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-03f-aggregate-scores.md +0 -277
  533. package/templates/bmad/tea/workflows/testarch/test-review/steps-c/step-04-generate-report.md +0 -111
  534. package/templates/bmad/tea/workflows/testarch/test-review/steps-e/step-01-assess.md +0 -65
  535. package/templates/bmad/tea/workflows/testarch/test-review/steps-e/step-02-apply-edit.md +0 -60
  536. package/templates/bmad/tea/workflows/testarch/test-review/steps-v/step-01-validate.md +0 -67
  537. package/templates/bmad/tea/workflows/testarch/test-review/test-review-template.md +0 -387
  538. package/templates/bmad/tea/workflows/testarch/test-review/validation-report-20260127-095021.md +0 -72
  539. package/templates/bmad/tea/workflows/testarch/test-review/validation-report-20260127-102401.md +0 -114
  540. package/templates/bmad/tea/workflows/testarch/test-review/workflow-plan.md +0 -18
  541. package/templates/bmad/tea/workflows/testarch/test-review/workflow.md +0 -41
  542. package/templates/bmad/tea/workflows/testarch/test-review/workflow.yaml +0 -48
  543. package/templates/bmad/tea/workflows/testarch/trace/checklist.md +0 -647
  544. package/templates/bmad/tea/workflows/testarch/trace/instructions.md +0 -43
  545. package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-01-load-context.md +0 -105
  546. package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-01b-resume.md +0 -102
  547. package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-02-discover-tests.md +0 -112
  548. package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-03-map-criteria.md +0 -97
  549. package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-04-analyze-gaps.md +0 -421
  550. package/templates/bmad/tea/workflows/testarch/trace/steps-c/step-05-gate-decision.md +0 -266
  551. package/templates/bmad/tea/workflows/testarch/trace/steps-e/step-01-assess.md +0 -65
  552. package/templates/bmad/tea/workflows/testarch/trace/steps-e/step-02-apply-edit.md +0 -60
  553. package/templates/bmad/tea/workflows/testarch/trace/steps-v/step-01-validate.md +0 -67
  554. package/templates/bmad/tea/workflows/testarch/trace/trace-template.md +0 -708
  555. package/templates/bmad/tea/workflows/testarch/trace/validation-report-20260127-095021.md +0 -73
  556. package/templates/bmad/tea/workflows/testarch/trace/validation-report-20260127-102401.md +0 -116
  557. package/templates/bmad/tea/workflows/testarch/trace/workflow-plan.md +0 -21
  558. package/templates/bmad/tea/workflows/testarch/trace/workflow.md +0 -41
  559. package/templates/bmad/tea/workflows/testarch/trace/workflow.yaml +0 -56
  560. package/templates/ecc/agents/architect.md +0 -211
  561. package/templates/ecc/agents/build-error-resolver.md +0 -114
  562. package/templates/ecc/agents/chief-of-staff.md +0 -151
  563. package/templates/ecc/agents/code-reviewer.md +0 -224
  564. package/templates/ecc/agents/database-reviewer.md +0 -91
  565. package/templates/ecc/agents/doc-updater.md +0 -107
  566. package/templates/ecc/agents/e2e-runner.md +0 -107
  567. package/templates/ecc/agents/go-build-resolver.md +0 -94
  568. package/templates/ecc/agents/go-reviewer.md +0 -76
  569. package/templates/ecc/agents/planner.md +0 -212
  570. package/templates/ecc/agents/python-reviewer.md +0 -98
  571. package/templates/ecc/agents/refactor-cleaner.md +0 -85
  572. package/templates/ecc/agents/security-reviewer.md +0 -108
  573. package/templates/ecc/agents/tdd-guide.md +0 -80
  574. package/templates/ecc/commands/build-fix.md +0 -62
  575. package/templates/ecc/commands/checkpoint.md +0 -74
  576. package/templates/ecc/commands/claw.md +0 -79
  577. package/templates/ecc/commands/code-review.md +0 -40
  578. package/templates/ecc/commands/e2e.md +0 -363
  579. package/templates/ecc/commands/eval.md +0 -120
  580. package/templates/ecc/commands/evolve.md +0 -193
  581. package/templates/ecc/commands/go-build.md +0 -183
  582. package/templates/ecc/commands/go-review.md +0 -148
  583. package/templates/ecc/commands/go-test.md +0 -268
  584. package/templates/ecc/commands/instinct-export.md +0 -91
  585. package/templates/ecc/commands/instinct-import.md +0 -142
  586. package/templates/ecc/commands/instinct-status.md +0 -86
  587. package/templates/ecc/commands/learn-eval.md +0 -91
  588. package/templates/ecc/commands/learn.md +0 -70
  589. package/templates/ecc/commands/multi-backend.md +0 -158
  590. package/templates/ecc/commands/multi-execute.md +0 -310
  591. package/templates/ecc/commands/multi-frontend.md +0 -158
  592. package/templates/ecc/commands/multi-plan.md +0 -261
  593. package/templates/ecc/commands/multi-workflow.md +0 -183
  594. package/templates/ecc/commands/orchestrate.md +0 -172
  595. package/templates/ecc/commands/plan.md +0 -113
  596. package/templates/ecc/commands/pm2.md +0 -272
  597. package/templates/ecc/commands/python-review.md +0 -297
  598. package/templates/ecc/commands/refactor-clean.md +0 -80
  599. package/templates/ecc/commands/sessions.md +0 -305
  600. package/templates/ecc/commands/setup-pm.md +0 -80
  601. package/templates/ecc/commands/skill-create.md +0 -174
  602. package/templates/ecc/commands/tdd.md +0 -326
  603. package/templates/ecc/commands/test-coverage.md +0 -69
  604. package/templates/ecc/commands/update-codemaps.md +0 -72
  605. package/templates/ecc/commands/update-docs.md +0 -84
  606. package/templates/ecc/commands/verify.md +0 -59
  607. package/templates/ecc/skills/api-design/SKILL.md +0 -523
  608. package/templates/ecc/skills/article-writing/SKILL.md +0 -85
  609. package/templates/ecc/skills/backend-patterns/SKILL.md +0 -598
  610. package/templates/ecc/skills/clickhouse-io/SKILL.md +0 -439
  611. package/templates/ecc/skills/coding-standards/SKILL.md +0 -530
  612. package/templates/ecc/skills/configure-ecc/SKILL.md +0 -326
  613. package/templates/ecc/skills/content-engine/SKILL.md +0 -88
  614. package/templates/ecc/skills/content-hash-cache-pattern/SKILL.md +0 -161
  615. package/templates/ecc/skills/continuous-learning/SKILL.md +0 -119
  616. package/templates/ecc/skills/continuous-learning/config.json +0 -18
  617. package/templates/ecc/skills/continuous-learning/evaluate-session.sh +0 -69
  618. package/templates/ecc/skills/continuous-learning-v2/SKILL.md +0 -295
  619. package/templates/ecc/skills/continuous-learning-v2/agents/observer.md +0 -137
  620. package/templates/ecc/skills/continuous-learning-v2/agents/start-observer.sh +0 -143
  621. package/templates/ecc/skills/continuous-learning-v2/config.json +0 -41
  622. package/templates/ecc/skills/continuous-learning-v2/hooks/observe.sh +0 -164
  623. package/templates/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +0 -575
  624. package/templates/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +0 -82
  625. package/templates/ecc/skills/cost-aware-llm-pipeline/SKILL.md +0 -183
  626. package/templates/ecc/skills/cpp-coding-standards/SKILL.md +0 -723
  627. package/templates/ecc/skills/cpp-testing/SKILL.md +0 -323
  628. package/templates/ecc/skills/database-migrations/SKILL.md +0 -335
  629. package/templates/ecc/skills/deployment-patterns/SKILL.md +0 -427
  630. package/templates/ecc/skills/django-patterns/SKILL.md +0 -734
  631. package/templates/ecc/skills/django-security/SKILL.md +0 -593
  632. package/templates/ecc/skills/django-tdd/SKILL.md +0 -729
  633. package/templates/ecc/skills/django-verification/SKILL.md +0 -469
  634. package/templates/ecc/skills/docker-patterns/SKILL.md +0 -364
  635. package/templates/ecc/skills/e2e-testing/SKILL.md +0 -326
  636. package/templates/ecc/skills/eval-harness/SKILL.md +0 -236
  637. package/templates/ecc/skills/foundation-models-on-device/SKILL.md +0 -243
  638. package/templates/ecc/skills/frontend-patterns/SKILL.md +0 -642
  639. package/templates/ecc/skills/frontend-slides/SKILL.md +0 -184
  640. package/templates/ecc/skills/frontend-slides/STYLE_PRESETS.md +0 -330
  641. package/templates/ecc/skills/golang-patterns/SKILL.md +0 -674
  642. package/templates/ecc/skills/golang-testing/SKILL.md +0 -720
  643. package/templates/ecc/skills/investor-materials/SKILL.md +0 -96
  644. package/templates/ecc/skills/investor-outreach/SKILL.md +0 -76
  645. package/templates/ecc/skills/iterative-retrieval/SKILL.md +0 -211
  646. package/templates/ecc/skills/java-coding-standards/SKILL.md +0 -147
  647. package/templates/ecc/skills/jpa-patterns/SKILL.md +0 -151
  648. package/templates/ecc/skills/liquid-glass-design/SKILL.md +0 -279
  649. package/templates/ecc/skills/market-research/SKILL.md +0 -75
  650. package/templates/ecc/skills/nutrient-document-processing/SKILL.md +0 -165
  651. package/templates/ecc/skills/postgres-patterns/SKILL.md +0 -147
  652. package/templates/ecc/skills/project-guidelines-example/SKILL.md +0 -349
  653. package/templates/ecc/skills/python-patterns/SKILL.md +0 -750
  654. package/templates/ecc/skills/python-testing/SKILL.md +0 -816
  655. package/templates/ecc/skills/regex-vs-llm-structured-text/SKILL.md +0 -220
  656. package/templates/ecc/skills/search-first/SKILL.md +0 -161
  657. package/templates/ecc/skills/security-review/SKILL.md +0 -495
  658. package/templates/ecc/skills/security-review/cloud-infrastructure-security.md +0 -361
  659. package/templates/ecc/skills/security-scan/SKILL.md +0 -165
  660. package/templates/ecc/skills/skill-stocktake/SKILL.md +0 -176
  661. package/templates/ecc/skills/skill-stocktake/scripts/quick-diff.sh +0 -87
  662. package/templates/ecc/skills/skill-stocktake/scripts/save-results.sh +0 -56
  663. package/templates/ecc/skills/skill-stocktake/scripts/scan.sh +0 -170
  664. package/templates/ecc/skills/springboot-patterns/SKILL.md +0 -314
  665. package/templates/ecc/skills/springboot-security/SKILL.md +0 -272
  666. package/templates/ecc/skills/springboot-tdd/SKILL.md +0 -158
  667. package/templates/ecc/skills/springboot-verification/SKILL.md +0 -231
  668. package/templates/ecc/skills/strategic-compact/SKILL.md +0 -103
  669. package/templates/ecc/skills/strategic-compact/suggest-compact.sh +0 -54
  670. package/templates/ecc/skills/swift-actor-persistence/SKILL.md +0 -143
  671. package/templates/ecc/skills/swift-concurrency-6-2/SKILL.md +0 -216
  672. package/templates/ecc/skills/swift-protocol-di-testing/SKILL.md +0 -190
  673. package/templates/ecc/skills/swiftui-patterns/SKILL.md +0 -259
  674. package/templates/ecc/skills/tdd-workflow/SKILL.md +0 -410
  675. package/templates/ecc/skills/verification-loop/SKILL.md +0 -126
  676. package/templates/ecc/skills/visa-doc-translate/README.md +0 -86
  677. package/templates/ecc/skills/visa-doc-translate/SKILL.md +0 -117
  678. package/templates/ext-skills/pinchtab/SKILL.md +0 -173
  679. package/templates/ext-skills/pinchtab/TRUST.md +0 -69
  680. package/templates/ext-skills/pinchtab/references/api.md +0 -297
  681. package/templates/ext-skills/pinchtab/references/env.md +0 -45
  682. package/templates/ext-skills/pinchtab/references/profiles.md +0 -107
  683. package/templates/mcp/trae/mcp.json +0 -35
  684. package/templates/plugins/claude-code-setup/.claude-plugin/plugin.json +0 -9
  685. package/templates/plugins/claude-code-setup/LICENSE +0 -202
  686. package/templates/plugins/claude-code-setup/README.md +0 -29
  687. package/templates/plugins/claude-code-setup/automation-recommender-example.png +0 -0
  688. package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/SKILL.md +0 -288
  689. package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/hooks-patterns.md +0 -226
  690. package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/mcp-servers.md +0 -263
  691. package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/plugins-reference.md +0 -98
  692. package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/skills-reference.md +0 -408
  693. package/templates/plugins/claude-code-setup/skills/claude-automation-recommender/references/subagent-templates.md +0 -181
  694. package/templates/plugins/claude-md-management/.claude-plugin/plugin.json +0 -9
  695. package/templates/plugins/claude-md-management/LICENSE +0 -202
  696. package/templates/plugins/claude-md-management/README.md +0 -40
  697. package/templates/plugins/claude-md-management/claude-md-improver-example.png +0 -0
  698. package/templates/plugins/claude-md-management/commands/revise-claude-md.md +0 -54
  699. package/templates/plugins/claude-md-management/revise-claude-md-example.png +0 -0
  700. package/templates/plugins/claude-md-management/skills/claude-md-improver/SKILL.md +0 -179
  701. package/templates/plugins/claude-md-management/skills/claude-md-improver/references/quality-criteria.md +0 -109
  702. package/templates/plugins/claude-md-management/skills/claude-md-improver/references/templates.md +0 -253
  703. package/templates/plugins/claude-md-management/skills/claude-md-improver/references/update-guidelines.md +0 -150
  704. package/templates/plugins/code-simplifier/.claude-plugin/plugin.json +0 -9
  705. package/templates/plugins/code-simplifier/LICENSE +0 -202
  706. package/templates/plugins/code-simplifier/agents/code-simplifier.md +0 -52
  707. package/templates/plugins/commit-commands/.claude-plugin/plugin.json +0 -9
  708. package/templates/plugins/commit-commands/LICENSE +0 -202
  709. package/templates/plugins/commit-commands/README.md +0 -225
  710. package/templates/plugins/commit-commands/commands/clean_gone.md +0 -53
  711. package/templates/plugins/commit-commands/commands/commit-push-pr.md +0 -20
  712. package/templates/plugins/commit-commands/commands/commit.md +0 -17
  713. package/templates/trae-bmad/rules/bmad-agent-bmad-master.md +0 -15
  714. package/templates/trae-bmad/rules/bmad-agent-bmm-analyst.md +0 -15
  715. package/templates/trae-bmad/rules/bmad-agent-bmm-architect.md +0 -15
  716. package/templates/trae-bmad/rules/bmad-agent-bmm-dev.md +0 -15
  717. package/templates/trae-bmad/rules/bmad-agent-bmm-pm.md +0 -15
  718. package/templates/trae-bmad/rules/bmad-agent-bmm-qa.md +0 -15
  719. package/templates/trae-bmad/rules/bmad-agent-bmm-quick-flow-solo-dev.md +0 -15
  720. package/templates/trae-bmad/rules/bmad-agent-bmm-sm.md +0 -15
  721. package/templates/trae-bmad/rules/bmad-agent-bmm-tech-writer.md +0 -15
  722. package/templates/trae-bmad/rules/bmad-agent-bmm-ux-designer.md +0 -15
  723. package/templates/trae-bmad/rules/bmad-agent-tea-tea.md +0 -15
  724. package/templates/trae-bmad/rules/bmad-bmm-check-implementation-readiness.md +0 -6
  725. package/templates/trae-bmad/rules/bmad-bmm-code-review.md +0 -14
  726. package/templates/trae-bmad/rules/bmad-bmm-correct-course.md +0 -14
  727. package/templates/trae-bmad/rules/bmad-bmm-create-architecture.md +0 -6
  728. package/templates/trae-bmad/rules/bmad-bmm-create-epics-and-stories.md +0 -6
  729. package/templates/trae-bmad/rules/bmad-bmm-create-prd.md +0 -6
  730. package/templates/trae-bmad/rules/bmad-bmm-create-product-brief.md +0 -6
  731. package/templates/trae-bmad/rules/bmad-bmm-create-story.md +0 -14
  732. package/templates/trae-bmad/rules/bmad-bmm-create-ux-design.md +0 -6
  733. package/templates/trae-bmad/rules/bmad-bmm-dev-story.md +0 -14
  734. package/templates/trae-bmad/rules/bmad-bmm-document-project.md +0 -14
  735. package/templates/trae-bmad/rules/bmad-bmm-domain-research.md +0 -6
  736. package/templates/trae-bmad/rules/bmad-bmm-edit-prd.md +0 -6
  737. package/templates/trae-bmad/rules/bmad-bmm-generate-project-context.md +0 -6
  738. package/templates/trae-bmad/rules/bmad-bmm-market-research.md +0 -6
  739. package/templates/trae-bmad/rules/bmad-bmm-qa-automate.md +0 -15
  740. package/templates/trae-bmad/rules/bmad-bmm-qa-generate-e2e-tests.md +0 -14
  741. package/templates/trae-bmad/rules/bmad-bmm-quick-dev.md +0 -6
  742. package/templates/trae-bmad/rules/bmad-bmm-quick-spec.md +0 -6
  743. package/templates/trae-bmad/rules/bmad-bmm-retrospective.md +0 -14
  744. package/templates/trae-bmad/rules/bmad-bmm-sprint-planning.md +0 -14
  745. package/templates/trae-bmad/rules/bmad-bmm-sprint-status.md +0 -14
  746. package/templates/trae-bmad/rules/bmad-bmm-technical-research.md +0 -6
  747. package/templates/trae-bmad/rules/bmad-bmm-validate-prd.md +0 -6
  748. package/templates/trae-bmad/rules/bmad-brainstorming.md +0 -6
  749. package/templates/trae-bmad/rules/bmad-editorial-review-prose.md +0 -10
  750. package/templates/trae-bmad/rules/bmad-editorial-review-structure.md +0 -10
  751. package/templates/trae-bmad/rules/bmad-help.md +0 -10
  752. package/templates/trae-bmad/rules/bmad-index-docs.md +0 -10
  753. package/templates/trae-bmad/rules/bmad-party-mode.md +0 -6
  754. package/templates/trae-bmad/rules/bmad-review-adversarial-general.md +0 -10
  755. package/templates/trae-bmad/rules/bmad-review-edge-case-hunter.md +0 -10
  756. package/templates/trae-bmad/rules/bmad-shard-doc.md +0 -10
  757. package/templates/trae-bmad/rules/bmad-tea-teach-me-testing.md +0 -6
  758. package/templates/trae-bmad/rules/bmad-tea-testarch-atdd.md +0 -14
  759. package/templates/trae-bmad/rules/bmad-tea-testarch-automate.md +0 -14
  760. package/templates/trae-bmad/rules/bmad-tea-testarch-ci.md +0 -14
  761. package/templates/trae-bmad/rules/bmad-tea-testarch-framework.md +0 -14
  762. package/templates/trae-bmad/rules/bmad-tea-testarch-nfr.md +0 -14
  763. package/templates/trae-bmad/rules/bmad-tea-testarch-test-design.md +0 -14
  764. package/templates/trae-bmad/rules/bmad-tea-testarch-test-review.md +0 -14
  765. package/templates/trae-bmad/rules/bmad-tea-testarch-trace.md +0 -14
  766. /package/templates/{ecc/rules → rules}/README.md +0 -0
  767. /package/templates/{ecc/rules → rules}/common/agents.md +0 -0
  768. /package/templates/{ecc/rules → rules}/common/coding-style.md +0 -0
  769. /package/templates/{ecc/rules → rules}/common/development-workflow.md +0 -0
  770. /package/templates/{ecc/rules → rules}/common/git-workflow.md +0 -0
  771. /package/templates/{ecc/rules → rules}/common/hooks.md +0 -0
  772. /package/templates/{ecc/rules → rules}/common/patterns.md +0 -0
  773. /package/templates/{ecc/rules → rules}/common/performance.md +0 -0
  774. /package/templates/{ecc/rules → rules}/common/security.md +0 -0
  775. /package/templates/{ecc/rules → rules}/common/testing.md +0 -0
  776. /package/templates/{ecc/rules → rules}/golang/coding-style.md +0 -0
  777. /package/templates/{ecc/rules → rules}/golang/hooks.md +0 -0
  778. /package/templates/{ecc/rules → rules}/golang/patterns.md +0 -0
  779. /package/templates/{ecc/rules → rules}/golang/security.md +0 -0
  780. /package/templates/{ecc/rules → rules}/golang/testing.md +0 -0
  781. /package/templates/{ecc/rules → rules}/python/coding-style.md +0 -0
  782. /package/templates/{ecc/rules → rules}/python/hooks.md +0 -0
  783. /package/templates/{ecc/rules → rules}/python/patterns.md +0 -0
  784. /package/templates/{ecc/rules → rules}/python/security.md +0 -0
  785. /package/templates/{ecc/rules → rules}/python/testing.md +0 -0
  786. /package/templates/{ecc/rules → rules}/swift/coding-style.md +0 -0
  787. /package/templates/{ecc/rules → rules}/swift/hooks.md +0 -0
  788. /package/templates/{ecc/rules → rules}/swift/patterns.md +0 -0
  789. /package/templates/{ecc/rules → rules}/swift/security.md +0 -0
  790. /package/templates/{ecc/rules → rules}/swift/testing.md +0 -0
  791. /package/templates/{ecc/rules → rules}/typescript/coding-style.md +0 -0
  792. /package/templates/{ecc/rules → rules}/typescript/hooks.md +0 -0
  793. /package/templates/{ecc/rules → rules}/typescript/patterns.md +0 -0
  794. /package/templates/{ecc/rules → rules}/typescript/security.md +0 -0
  795. /package/templates/{ecc/rules → rules}/typescript/testing.md +0 -0
@@ -1,582 +0,0 @@
1
- # Automate Workflow Validation Checklist
2
-
3
- Use this checklist to validate that the automate workflow has been executed correctly and all deliverables meet quality standards.
4
-
5
- ## Prerequisites
6
-
7
- Before starting this workflow, verify:
8
-
9
- - [ ] Framework scaffolding configured (playwright.config.ts or cypress.config.ts exists)
10
- - [ ] Test directory structure exists (tests/ folder with subdirectories)
11
- - [ ] Package.json has test framework dependencies installed
12
-
13
- **Halt only if:** Framework scaffolding is completely missing (run `framework` workflow first)
14
-
15
- **Note:** BMad artifacts (story, tech-spec, PRD) are OPTIONAL - workflow can run without them
16
- **Note:** `automate` generates tests; it does not run `*atdd` or `*test-review`. If ATDD outputs exist, use them as input and avoid duplicate coverage.
17
-
18
- ---
19
-
20
- ## Step 1: Execution Mode Determination and Context Loading
21
-
22
- ### Mode Detection
23
-
24
- - [ ] Execution mode correctly determined:
25
- - [ ] BMad-Integrated Mode (story_file variable set) OR
26
- - [ ] Standalone Mode (target_feature or target_files set) OR
27
- - [ ] Auto-discover Mode (no targets specified)
28
-
29
- ### BMad Artifacts (If Available - OPTIONAL)
30
-
31
- - [ ] Story markdown loaded (if `{story_file}` provided)
32
- - [ ] Acceptance criteria extracted from story (if available)
33
- - [ ] Tech-spec.md loaded (if `{use_tech_spec}` true and file exists)
34
- - [ ] Test-design.md loaded (if `{use_test_design}` true and file exists)
35
- - [ ] PRD.md loaded (if `{use_prd}` true and file exists)
36
- - [ ] **Note**: Absence of BMad artifacts does NOT halt workflow
37
-
38
- ### Framework Configuration
39
-
40
- - [ ] Test framework config loaded (playwright.config.ts or cypress.config.ts)
41
- - [ ] Test directory structure identified from `{test_dir}`
42
- - [ ] Existing test patterns reviewed
43
- - [ ] Test runner capabilities noted (parallel execution, fixtures, etc.)
44
-
45
- ### Coverage Analysis
46
-
47
- - [ ] Existing test files searched in `{test_dir}` (if `{analyze_coverage}` true)
48
- - [ ] Tested features vs untested features identified
49
- - [ ] Coverage gaps mapped (tests to source files)
50
- - [ ] Existing fixture and factory patterns checked
51
-
52
- ### Knowledge Base Fragments Loaded
53
-
54
- - [ ] `test-levels-framework.md` - Test level selection
55
- - [ ] `test-priorities.md` - Priority classification (P0-P3)
56
- - [ ] `fixture-architecture.md` - Fixture patterns with auto-cleanup
57
- - [ ] `data-factories.md` - Factory patterns using faker
58
- - [ ] `selective-testing.md` - Targeted test execution strategies
59
- - [ ] `ci-burn-in.md` - Flaky test detection patterns
60
- - [ ] `test-quality.md` - Test design principles
61
-
62
- ---
63
-
64
- ## Step 2: Automation Targets Identification
65
-
66
- ### Target Determination
67
-
68
- **BMad-Integrated Mode (if story available):**
69
-
70
- - [ ] Acceptance criteria mapped to test scenarios
71
- - [ ] Features implemented in story identified
72
- - [ ] Existing ATDD tests checked (if any)
73
- - [ ] Expansion beyond ATDD planned (edge cases, negative paths)
74
-
75
- **Standalone Mode (if no story):**
76
-
77
- - [ ] Specific feature analyzed (if `{target_feature}` specified)
78
- - [ ] Specific files analyzed (if `{target_files}` specified)
79
- - [ ] Features auto-discovered (if `{auto_discover_features}` true)
80
- - [ ] Features prioritized by:
81
- - [ ] No test coverage (highest priority)
82
- - [ ] Complex business logic
83
- - [ ] External integrations (API, database, auth)
84
- - [ ] Critical user paths (login, checkout, etc.)
85
-
86
- ### Test Level Selection
87
-
88
- - [ ] Test level selection framework applied (from `test-levels-framework.md`)
89
- - [ ] E2E tests identified: Critical user journeys, multi-system integration
90
- - [ ] API tests identified: Business logic, service contracts, data transformations
91
- - [ ] Component tests identified: UI behavior, interactions, state management
92
- - [ ] Unit tests identified: Pure logic, edge cases, error handling
93
-
94
- ### Duplicate Coverage Avoidance
95
-
96
- - [ ] Same behavior NOT tested at multiple levels unnecessarily
97
- - [ ] E2E used for critical happy path only
98
- - [ ] API tests used for business logic variations
99
- - [ ] Component tests used for UI interaction edge cases
100
- - [ ] Unit tests used for pure logic edge cases
101
-
102
- ### Priority Assignment
103
-
104
- - [ ] Test priorities assigned using `test-priorities.md` framework
105
- - [ ] P0 tests: Critical paths, security-critical, data integrity
106
- - [ ] P1 tests: Important features, integration points, error handling
107
- - [ ] P2 tests: Edge cases, less-critical variations, performance
108
- - [ ] P3 tests: Nice-to-have, rarely-used features, exploratory
109
- - [ ] Priority variables respected:
110
- - [ ] `{include_p0}` = true (always include)
111
- - [ ] `{include_p1}` = true (high priority)
112
- - [ ] `{include_p2}` = true (medium priority)
113
- - [ ] `{include_p3}` = false (low priority, skip by default)
114
-
115
- ### Coverage Plan Created
116
-
117
- - [ ] Test coverage plan documented
118
- - [ ] What will be tested at each level listed
119
- - [ ] Priorities assigned to each test
120
- - [ ] Coverage strategy clear (critical-paths, comprehensive, or selective)
121
-
122
- ---
123
-
124
- ## Step 3: Test Infrastructure Generated
125
-
126
- ### Fixture Architecture
127
-
128
- - [ ] Existing fixtures checked in `tests/support/fixtures/`
129
- - [ ] Fixture architecture created/enhanced (if `{generate_fixtures}` true)
130
- - [ ] All fixtures use Playwright's `test.extend()` pattern
131
- - [ ] All fixtures have auto-cleanup in teardown
132
- - [ ] Common fixtures created/enhanced:
133
- - [ ] authenticatedUser (with auto-delete)
134
- - [ ] apiRequest (authenticated client)
135
- - [ ] mockNetwork (external service mocking)
136
- - [ ] testDatabase (with auto-cleanup)
137
-
138
- ### Data Factories
139
-
140
- - [ ] Existing factories checked in `tests/support/factories/`
141
- - [ ] Factory architecture created/enhanced (if `{generate_factories}` true)
142
- - [ ] All factories use `@faker-js/faker` for random data (no hardcoded values)
143
- - [ ] All factories support overrides for specific scenarios
144
- - [ ] Common factories created/enhanced:
145
- - [ ] User factory (email, password, name, role)
146
- - [ ] Product factory (name, price, SKU)
147
- - [ ] Order factory (items, total, status)
148
- - [ ] Cleanup helpers provided (e.g., deleteUser(), deleteProduct())
149
-
150
- ### Helper Utilities
151
-
152
- - [ ] Existing helpers checked in `tests/support/helpers/` (if `{update_helpers}` true)
153
- - [ ] Common utilities created/enhanced:
154
- - [ ] waitFor (polling for complex conditions)
155
- - [ ] retry (retry helper for flaky operations)
156
- - [ ] testData (test data generation)
157
- - [ ] assertions (custom assertion helpers)
158
-
159
- ---
160
-
161
- ## Step 4: Test Files Generated
162
-
163
- ### Test File Structure
164
-
165
- - [ ] Test files organized correctly:
166
- - [ ] `tests/e2e/` for E2E tests
167
- - [ ] `tests/api/` for API tests
168
- - [ ] `tests/component/` for component tests
169
- - [ ] `tests/unit/` for unit tests
170
- - [ ] `tests/support/` for fixtures/factories/helpers
171
-
172
- ### E2E Tests (If Applicable)
173
-
174
- - [ ] E2E test files created in `tests/e2e/`
175
- - [ ] All tests follow Given-When-Then format
176
- - [ ] All tests have priority tags ([P0], [P1], [P2], [P3]) in test name
177
- - [ ] All tests use data-testid selectors (not CSS classes)
178
- - [ ] One assertion per test (atomic design)
179
- - [ ] No hard waits or sleeps (explicit waits only)
180
- - [ ] Network-first pattern applied (route interception BEFORE navigation)
181
- - [ ] Clear Given-When-Then comments in test code
182
-
183
- ### API Tests (If Applicable)
184
-
185
- - [ ] API test files created in `tests/api/`
186
- - [ ] All tests follow Given-When-Then format
187
- - [ ] All tests have priority tags in test name
188
- - [ ] API contracts validated (request/response structure)
189
- - [ ] HTTP status codes verified
190
- - [ ] Response body validation includes required fields
191
- - [ ] Error cases tested (400, 401, 403, 404, 500)
192
- - [ ] JWT token format validated (if auth tests)
193
-
194
- ### Component Tests (If Applicable)
195
-
196
- - [ ] Component test files created in `tests/component/`
197
- - [ ] All tests follow Given-When-Then format
198
- - [ ] All tests have priority tags in test name
199
- - [ ] Component mounting works correctly
200
- - [ ] Interaction testing covers user actions (click, hover, keyboard)
201
- - [ ] State management validated
202
- - [ ] Props and events tested
203
-
204
- ### Unit Tests (If Applicable)
205
-
206
- - [ ] Unit test files created in `tests/unit/`
207
- - [ ] All tests follow Given-When-Then format
208
- - [ ] All tests have priority tags in test name
209
- - [ ] Pure logic tested (no dependencies)
210
- - [ ] Edge cases covered
211
- - [ ] Error handling tested
212
-
213
- ### Quality Standards Enforced
214
-
215
- - [ ] All tests use Given-When-Then format with clear comments
216
- - [ ] All tests have descriptive names with priority tags
217
- - [ ] No duplicate tests (same behavior tested multiple times)
218
- - [ ] No flaky patterns (race conditions, timing issues)
219
- - [ ] No test interdependencies (tests can run in any order)
220
- - [ ] Tests are deterministic (same input always produces same result)
221
- - [ ] All tests use data-testid selectors (E2E tests)
222
- - [ ] No hard waits: `await page.waitForTimeout()` (forbidden)
223
- - [ ] No conditional flow: `if (await element.isVisible())` (forbidden)
224
- - [ ] No try-catch for test logic (only for cleanup)
225
- - [ ] No hardcoded test data (use factories with faker)
226
- - [ ] No page object classes (tests are direct and simple)
227
- - [ ] No shared state between tests
228
-
229
- ### Network-First Pattern Applied
230
-
231
- - [ ] Route interception set up BEFORE navigation (E2E tests with network requests)
232
- - [ ] `page.route()` called before `page.goto()` to prevent race conditions
233
- - [ ] Network-first pattern verified in all E2E tests that make API calls
234
-
235
- ---
236
-
237
- ## Step 5: Test Validation and Healing (NEW - Phase 2.5)
238
-
239
- ### Healing Configuration
240
-
241
- - [ ] Healing configuration checked:
242
- - [ ] `{auto_validate}` setting noted (default: true)
243
- - [ ] `{auto_heal_failures}` setting noted (default: false)
244
- - [ ] `{max_healing_iterations}` setting noted (default: 3)
245
- - [ ] `{use_mcp_healing}` setting noted (default: true)
246
-
247
- ### Healing Knowledge Fragments Loaded (If Healing Enabled)
248
-
249
- - [ ] `test-healing-patterns.md` loaded (common failure patterns and fixes)
250
- - [ ] `selector-resilience.md` loaded (selector refactoring guide)
251
- - [ ] `timing-debugging.md` loaded (race condition fixes)
252
-
253
- ### Test Execution and Validation
254
-
255
- - [ ] Generated tests executed (if `{auto_validate}` true)
256
- - [ ] Test results captured:
257
- - [ ] Total tests run
258
- - [ ] Passing tests count
259
- - [ ] Failing tests count
260
- - [ ] Error messages and stack traces captured
261
-
262
- ### Healing Loop (If Enabled and Tests Failed)
263
-
264
- - [ ] Healing loop entered (if `{auto_heal_failures}` true AND tests failed)
265
- - [ ] For each failing test:
266
- - [ ] Failure pattern identified (selector, timing, data, network, hard wait)
267
- - [ ] Appropriate healing strategy applied:
268
- - [ ] Stale selector → Replaced with data-testid or ARIA role
269
- - [ ] Race condition → Added network-first interception or state waits
270
- - [ ] Dynamic data → Replaced hardcoded values with regex/dynamic generation
271
- - [ ] Network error → Added route mocking
272
- - [ ] Hard wait → Replaced with event-based wait
273
- - [ ] Healed test re-run to validate fix
274
- - [ ] Iteration count tracked (max 3 attempts)
275
-
276
- ### Unfixable Tests Handling
277
-
278
- - [ ] Tests that couldn't be healed after 3 iterations marked with `test.fixme()` (if `{mark_unhealable_as_fixme}` true)
279
- - [ ] Detailed comment added to test.fixme() tests:
280
- - [ ] What failure occurred
281
- - [ ] What healing was attempted (3 iterations)
282
- - [ ] Why healing failed
283
- - [ ] Manual investigation steps needed
284
- - [ ] Original test logic preserved in comments
285
-
286
- ### Healing Report Generated
287
-
288
- - [ ] Healing report generated (if healing attempted)
289
- - [ ] Report includes:
290
- - [ ] Auto-heal enabled status
291
- - [ ] Healing mode (MCP-assisted or Pattern-based)
292
- - [ ] Iterations allowed (max_healing_iterations)
293
- - [ ] Validation results (total, passing, failing)
294
- - [ ] Successfully healed tests (count, file:line, fix applied)
295
- - [ ] Unable to heal tests (count, file:line, reason)
296
- - [ ] Healing patterns applied (selector fixes, timing fixes, data fixes)
297
- - [ ] Knowledge base references used
298
-
299
- ---
300
-
301
- ## Step 6: Documentation and Scripts Updated
302
-
303
- ### Test README Updated
304
-
305
- - [ ] `tests/README.md` created or updated (if `{update_readme}` true)
306
- - [ ] Test suite structure overview included
307
- - [ ] Test execution instructions provided (all, specific files, by priority)
308
- - [ ] Fixture usage examples provided
309
- - [ ] Factory usage examples provided
310
- - [ ] Priority tagging convention explained ([P0], [P1], [P2], [P3])
311
- - [ ] How to write new tests documented
312
- - [ ] Common patterns documented
313
- - [ ] Anti-patterns documented (what to avoid)
314
-
315
- ### package.json Scripts Updated
316
-
317
- - [ ] package.json scripts added/updated (if `{update_package_scripts}` true)
318
- - [ ] `test:e2e` script for all E2E tests
319
- - [ ] `test:e2e:p0` script for P0 tests only
320
- - [ ] `test:e2e:p1` script for P0 + P1 tests
321
- - [ ] `test:api` script for API tests
322
- - [ ] `test:component` script for component tests
323
- - [ ] `test:unit` script for unit tests (if applicable)
324
-
325
- ### Test Suite Executed
326
-
327
- - [ ] Test suite run locally (if `{run_tests_after_generation}` true)
328
- - [ ] Test results captured (passing/failing counts)
329
- - [ ] No flaky patterns detected (tests are deterministic)
330
- - [ ] Setup requirements documented (if any)
331
- - [ ] Known issues documented (if any)
332
-
333
- ---
334
-
335
- ## Step 6: Automation Summary Generated
336
-
337
- ### Automation Summary Document
338
-
339
- - [ ] Output file created at `{output_summary}`
340
- - [ ] Document includes execution mode (BMad-Integrated, Standalone, Auto-discover)
341
- - [ ] Feature analysis included (source files, coverage gaps) - Standalone mode
342
- - [ ] Tests created listed (E2E, API, Component, Unit) with counts and paths
343
- - [ ] Infrastructure created listed (fixtures, factories, helpers)
344
- - [ ] Test execution instructions provided
345
- - [ ] Coverage analysis included:
346
- - [ ] Total test count
347
- - [ ] Priority breakdown (P0, P1, P2, P3 counts)
348
- - [ ] Test level breakdown (E2E, API, Component, Unit counts)
349
- - [ ] Coverage percentage (if calculated)
350
- - [ ] Coverage status (acceptance criteria covered, gaps identified)
351
- - [ ] Definition of Done checklist included
352
- - [ ] Next steps provided
353
- - [ ] Recommendations included (if Standalone mode)
354
-
355
- ### Summary Provided to User
356
-
357
- - [ ] Concise summary output provided
358
- - [ ] Total tests created across test levels
359
- - [ ] Priority breakdown (P0, P1, P2, P3 counts)
360
- - [ ] Infrastructure counts (fixtures, factories, helpers)
361
- - [ ] Test execution command provided
362
- - [ ] Output file path provided
363
- - [ ] Next steps listed
364
-
365
- ---
366
-
367
- ## Quality Checks
368
-
369
- ### Test Design Quality
370
-
371
- - [ ] Tests are readable (clear Given-When-Then structure)
372
- - [ ] Tests are maintainable (use factories/fixtures, not hardcoded data)
373
- - [ ] Tests are isolated (no shared state between tests)
374
- - [ ] Tests are deterministic (no race conditions or flaky patterns)
375
- - [ ] Tests are atomic (one assertion per test)
376
- - [ ] Tests are fast (no unnecessary waits or delays)
377
- - [ ] Tests are lean (files under {max_file_lines} lines)
378
-
379
- ### Knowledge Base Integration
380
-
381
- - [ ] Test level selection framework applied (from `test-levels-framework.md`)
382
- - [ ] Priority classification applied (from `test-priorities.md`)
383
- - [ ] Fixture architecture patterns applied (from `fixture-architecture.md`)
384
- - [ ] Data factory patterns applied (from `data-factories.md`)
385
- - [ ] Selective testing strategies considered (from `selective-testing.md`)
386
- - [ ] Flaky test detection patterns considered (from `ci-burn-in.md`)
387
- - [ ] Test quality principles applied (from `test-quality.md`)
388
-
389
- ### Code Quality
390
-
391
- - [ ] All TypeScript types are correct and complete
392
- - [ ] No linting errors in generated test files
393
- - [ ] Consistent naming conventions followed
394
- - [ ] Imports are organized and correct
395
- - [ ] Code follows project style guide
396
- - [ ] No console.log or debug statements in test code
397
-
398
- ---
399
-
400
- ## Integration Points
401
-
402
- ### With Framework Workflow
403
-
404
- - [ ] Test framework configuration detected and used
405
- - [ ] Directory structure matches framework setup
406
- - [ ] Fixtures and helpers follow established patterns
407
- - [ ] Naming conventions consistent with framework standards
408
-
409
- ### With BMad Workflows (If Available - OPTIONAL)
410
-
411
- **With Story Workflow:**
412
-
413
- - [ ] Story ID correctly referenced in output (if story available)
414
- - [ ] Acceptance criteria from story reflected in tests (if story available)
415
- - [ ] Technical constraints from story considered (if story available)
416
-
417
- **With test-design Workflow:**
418
-
419
- - [ ] P0 scenarios from test-design prioritized (if test-design available)
420
- - [ ] Risk assessment from test-design considered (if test-design available)
421
- - [ ] Coverage strategy aligned with test-design (if test-design available)
422
-
423
- **With atdd Workflow:**
424
-
425
- - [ ] ATDD artifacts provided or located (manual handoff; `atdd` not auto-run)
426
- - [ ] Existing ATDD tests checked (if story had ATDD workflow run)
427
- - [ ] Expansion beyond ATDD planned (edge cases, negative paths)
428
- - [ ] No duplicate coverage with ATDD tests
429
-
430
- ### With CI Pipeline
431
-
432
- - [ ] Tests can run in CI environment
433
- - [ ] Tests are parallelizable (no shared state)
434
- - [ ] Tests have appropriate timeouts
435
- - [ ] Tests clean up their data (no CI environment pollution)
436
-
437
- ---
438
-
439
- ## Completion Criteria
440
-
441
- All of the following must be true before marking this workflow as complete:
442
-
443
- - [ ] **Execution mode determined** (BMad-Integrated, Standalone, or Auto-discover)
444
- - [ ] **Framework configuration loaded** and validated
445
- - [ ] **Coverage analysis completed** (gaps identified if analyze_coverage true)
446
- - [ ] **Automation targets identified** (what needs testing)
447
- - [ ] **Test levels selected** appropriately (E2E, API, Component, Unit)
448
- - [ ] **Duplicate coverage avoided** (same behavior not tested at multiple levels)
449
- - [ ] **Test priorities assigned** (P0, P1, P2, P3)
450
- - [ ] **Fixture architecture created/enhanced** with auto-cleanup
451
- - [ ] **Data factories created/enhanced** using faker (no hardcoded data)
452
- - [ ] **Helper utilities created/enhanced** (if needed)
453
- - [ ] **Test files generated** at appropriate levels (E2E, API, Component, Unit)
454
- - [ ] **Given-When-Then format used** consistently across all tests
455
- - [ ] **Priority tags added** to all test names ([P0], [P1], [P2], [P3])
456
- - [ ] **data-testid selectors used** in E2E tests (not CSS classes)
457
- - [ ] **Network-first pattern applied** (route interception before navigation)
458
- - [ ] **Quality standards enforced** (no hard waits, no flaky patterns, self-cleaning, deterministic)
459
- - [ ] **Test README updated** with execution instructions and patterns
460
- - [ ] **package.json scripts updated** with test execution commands
461
- - [ ] **Test suite run locally** (if run_tests_after_generation true)
462
- - [ ] **Tests validated** (if auto_validate enabled)
463
- - [ ] **Failures healed** (if auto_heal_failures enabled and tests failed)
464
- - [ ] **Healing report generated** (if healing attempted)
465
- - [ ] **Unfixable tests marked** with test.fixme() and detailed comments (if any)
466
- - [ ] **Automation summary created** and saved to correct location
467
- - [ ] **Output file formatted correctly**
468
- - [ ] **Knowledge base references applied** and documented (including healing fragments if used)
469
- - [ ] **No test quality issues** (flaky patterns, race conditions, hardcoded data, page objects)
470
-
471
- ---
472
-
473
- ## Common Issues and Resolutions
474
-
475
- ### Issue: BMad artifacts not found
476
-
477
- **Problem:** Story, tech-spec, or PRD files not found when variables are set.
478
-
479
- **Resolution:**
480
-
481
- - **automate does NOT require BMad artifacts** - they are OPTIONAL enhancements
482
- - If files not found, switch to Standalone Mode automatically
483
- - Analyze source code directly without BMad context
484
- - Continue workflow without halting
485
-
486
- ### Issue: Framework configuration not found
487
-
488
- **Problem:** No playwright.config.ts or cypress.config.ts found.
489
-
490
- **Resolution:**
491
-
492
- - **HALT workflow** - framework is required
493
- - Message: "Framework scaffolding required. Run `bmad tea *framework` first."
494
- - User must run framework workflow before automate
495
-
496
- ### Issue: No automation targets identified
497
-
498
- **Problem:** Neither story, target_feature, nor target_files specified, and auto-discover finds nothing.
499
-
500
- **Resolution:**
501
-
502
- - Check if source_dir variable is correct
503
- - Verify source code exists in project
504
- - Ask user to specify target_feature or target_files explicitly
505
- - Provide examples: `target_feature: "src/auth/"` or `target_files: "src/auth/login.ts,src/auth/session.ts"`
506
-
507
- ### Issue: Duplicate coverage detected
508
-
509
- **Problem:** Same behavior tested at multiple levels (E2E + API + Component).
510
-
511
- **Resolution:**
512
-
513
- - Review test level selection framework (test-levels-framework.md)
514
- - Use E2E for critical happy path ONLY
515
- - Use API for business logic variations
516
- - Use Component for UI edge cases
517
- - Remove redundant tests that duplicate coverage
518
-
519
- ### Issue: Tests have hardcoded data
520
-
521
- **Problem:** Tests use hardcoded email addresses, passwords, or other data.
522
-
523
- **Resolution:**
524
-
525
- - Replace all hardcoded data with factory function calls
526
- - Use faker for all random data generation
527
- - Update data-factories to support all required test scenarios
528
- - Example: `createUser({ email: faker.internet.email() })`
529
-
530
- ### Issue: Tests are flaky
531
-
532
- **Problem:** Tests fail intermittently, pass on retry.
533
-
534
- **Resolution:**
535
-
536
- - Remove all hard waits (`page.waitForTimeout()`)
537
- - Use explicit waits (`page.waitForSelector()`)
538
- - Apply network-first pattern (route interception before navigation)
539
- - Remove conditional flow (`if (await element.isVisible())`)
540
- - Ensure tests are deterministic (no race conditions)
541
- - Run burn-in loop (10 iterations) to detect flakiness
542
-
543
- ### Issue: Fixtures don't clean up data
544
-
545
- **Problem:** Test data persists after test run, causing test pollution.
546
-
547
- **Resolution:**
548
-
549
- - Ensure all fixtures have cleanup in teardown phase
550
- - Cleanup happens AFTER `await use(data)`
551
- - Call deletion/cleanup functions (deleteUser, deleteProduct, etc.)
552
- - Verify cleanup works by checking database/storage after test run
553
-
554
- ### Issue: Tests too slow
555
-
556
- **Problem:** Tests take longer than 90 seconds (max_test_duration).
557
-
558
- **Resolution:**
559
-
560
- - Remove unnecessary waits and delays
561
- - Use parallel execution where possible
562
- - Mock external services (don't make real API calls)
563
- - Use API tests instead of E2E for business logic
564
- - Optimize test data creation (use in-memory database, etc.)
565
-
566
- ---
567
-
568
- ## Notes for TEA Agent
569
-
570
- - **automate is flexible:** Can work with or without BMad artifacts (story, tech-spec, PRD are OPTIONAL)
571
- - **Standalone mode is powerful:** Analyze any codebase and generate tests independently
572
- - **Auto-discover mode:** Scan codebase for features needing tests when no targets specified
573
- - **Framework is the ONLY hard requirement:** HALT if framework config missing, otherwise proceed
574
- - **Avoid duplicate coverage:** E2E for critical paths only, API/Component for variations
575
- - **Priority tagging enables selective execution:** P0 tests run on every commit, P1 on PR, P2 nightly
576
- - **Network-first pattern prevents race conditions:** Route interception BEFORE navigation
577
- - **No page objects:** Keep tests simple, direct, and maintainable
578
- - **Use knowledge base:** Load relevant fragments (test-levels, test-priorities, fixture-architecture, data-factories, healing patterns) for guidance
579
- - **Deterministic tests only:** No hard waits, no conditional flow, no flaky patterns allowed
580
- - **Optional healing:** auto_heal_failures disabled by default (opt-in for automatic test healing)
581
- - **Graceful degradation:** Healing works without Playwright MCP (pattern-based fallback)
582
- - **Unfixable tests handled:** Mark with test.fixme() and detailed comments (not silently broken)
@@ -1,50 +0,0 @@
1
- <!-- Powered by BMAD-CORE™ -->
2
-
3
- # Test Automation Expansion
4
-
5
- **Workflow ID**: `_bmad/tea/testarch/automate`
6
- **Version**: 5.0 (Step-File Architecture)
7
-
8
- ---
9
-
10
- ## Overview
11
-
12
- Expands test automation coverage by generating prioritized tests at the appropriate level (E2E, API, Component, Unit) with supporting fixtures and helpers.
13
-
14
- Modes:
15
-
16
- - **BMad-Integrated**: Uses story/PRD/test-design artifacts when available
17
- - **Standalone**: Analyzes existing codebase without BMad artifacts
18
-
19
- ---
20
-
21
- ## WORKFLOW ARCHITECTURE
22
-
23
- This workflow uses **step-file architecture** for disciplined execution:
24
-
25
- - **Micro-file Design**: Each step is self-contained
26
- - **JIT Loading**: Only the current step file is in memory
27
- - **Sequential Enforcement**: Execute steps in order without skipping
28
-
29
- ---
30
-
31
- ## INITIALIZATION SEQUENCE
32
-
33
- ### 1. Configuration Loading
34
-
35
- From `workflow.yaml`, resolve:
36
-
37
- - `config_source`, `test_artifacts`, `user_name`, `communication_language`, `document_output_language`, `date`
38
- - `test_dir`, `source_dir`, `coverage_target`, `standalone_mode`
39
-
40
- ### 2. First Step
41
-
42
- Load, read completely, and execute:
43
- `{project-root}/_bmad/tea/workflows/testarch/automate/steps-c/step-01-preflight-and-context.md`
44
-
45
- ### 3. Resume Support
46
-
47
- If the user selects **Resume** mode, load, read completely, and execute:
48
- `{project-root}/_bmad/tea/workflows/testarch/automate/steps-c/step-01b-resume.md`
49
-
50
- This checks the output document for progress tracking frontmatter and routes to the next incomplete step.