bmad-method-quarkus 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (380) hide show
  1. package/.claude-plugin/marketplace.json +53 -0
  2. package/AGENTS.md +12 -0
  3. package/LICENSE +30 -0
  4. package/README.md +94 -0
  5. package/README_CN.md +108 -0
  6. package/README_VN.md +109 -0
  7. package/bmad-modules.yaml +133 -0
  8. package/package.json +123 -0
  9. package/removals.txt +87 -0
  10. package/src/bmm-skills/agents/bmad-agent-analyst/SKILL.md +76 -0
  11. package/src/bmm-skills/agents/bmad-agent-analyst/customize.toml +105 -0
  12. package/src/bmm-skills/agents/bmad-agent-architect/SKILL.md +76 -0
  13. package/src/bmm-skills/agents/bmad-agent-architect/customize.toml +65 -0
  14. package/src/bmm-skills/agents/bmad-agent-dev/SKILL.md +76 -0
  15. package/src/bmm-skills/agents/bmad-agent-dev/customize.toml +83 -0
  16. package/src/bmm-skills/agents/bmad-agent-pm/SKILL.md +76 -0
  17. package/src/bmm-skills/agents/bmad-agent-pm/customize.toml +75 -0
  18. package/src/bmm-skills/agents/bmad-agent-ux-designer/SKILL.md +76 -0
  19. package/src/bmm-skills/agents/bmad-agent-ux-designer/customize.toml +60 -0
  20. package/src/bmm-skills/agents/bmad-quarkus-architect/.memlog.md +12 -0
  21. package/src/bmm-skills/agents/bmad-quarkus-architect/.memlog.md:Zone.Identifier +0 -0
  22. package/src/bmm-skills/agents/bmad-quarkus-architect/SKILL.md +86 -0
  23. package/src/bmm-skills/agents/bmad-quarkus-architect/SKILL.md:Zone.Identifier +0 -0
  24. package/src/bmm-skills/agents/bmad-quarkus-architect/customize.toml +37 -0
  25. package/src/bmm-skills/agents/bmad-quarkus-architect/customize.toml:Zone.Identifier +0 -0
  26. package/src/bmm-skills/agents/bmad-quarkus-architect/references/enrich-stories.md +19 -0
  27. package/src/bmm-skills/agents/bmad-quarkus-architect/references/enrich-stories.md:Zone.Identifier +0 -0
  28. package/src/bmm-skills/agents/bmad-quarkus-architect/references/prompt-quality-canon.md +79 -0
  29. package/src/bmm-skills/agents/bmad-quarkus-architect/references/prompt-quality-canon.md:Zone.Identifier +0 -0
  30. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/SKILL.md +80 -0
  31. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/SKILL.md:Zone.Identifier +0 -0
  32. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/assets/module-help.csv +9 -0
  33. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/assets/module-help.csv:Zone.Identifier +0 -0
  34. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/assets/module.yaml +16 -0
  35. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/assets/module.yaml:Zone.Identifier +0 -0
  36. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/scripts/cleanup-legacy.py +287 -0
  37. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/scripts/cleanup-legacy.py:Zone.Identifier +0 -0
  38. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/scripts/merge-config.py +441 -0
  39. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/scripts/merge-config.py:Zone.Identifier +0 -0
  40. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/scripts/merge-help-csv.py +246 -0
  41. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/bqa-setup/scripts/merge-help-csv.py:Zone.Identifier +0 -0
  42. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-error-handling-i18n/SKILL.md +181 -0
  43. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-error-handling-i18n/SKILL.md:Zone.Identifier +0 -0
  44. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-grpc-services/SKILL.md +141 -0
  45. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-grpc-services/SKILL.md:Zone.Identifier +0 -0
  46. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-hexagonal-core/SKILL.md +392 -0
  47. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-hexagonal-core/SKILL.md:Zone.Identifier +0 -0
  48. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-kafka-messaging/SKILL.md +148 -0
  49. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-kafka-messaging/SKILL.md:Zone.Identifier +0 -0
  50. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-observability-otel/SKILL.md +180 -0
  51. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-observability-otel/SKILL.md:Zone.Identifier +0 -0
  52. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-openapi-tmforum/SKILL.md +128 -0
  53. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-openapi-tmforum/SKILL.md:Zone.Identifier +0 -0
  54. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-sql-jdbc-agroal/SKILL.md +245 -0
  55. package/src/bmm-skills/agents/bmad-quarkus-architect/skills/quarkus-sql-jdbc-agroal/SKILL.md:Zone.Identifier +0 -0
  56. package/src/bmm-skills/module-help.csv +19 -0
  57. package/src/bmm-skills/module.yaml +92 -0
  58. package/src/bmm-skills/plan/bmad-architecture/SKILL.md +85 -0
  59. package/src/bmm-skills/plan/bmad-architecture/assets/spine-template.md +79 -0
  60. package/src/bmm-skills/plan/bmad-architecture/customize.toml +102 -0
  61. package/src/bmm-skills/plan/bmad-architecture/references/headless.md +26 -0
  62. package/src/bmm-skills/plan/bmad-architecture/references/reviewer-gate.md +13 -0
  63. package/src/bmm-skills/plan/bmad-architecture/scripts/lint_spine.py +257 -0
  64. package/src/bmm-skills/plan/bmad-architecture/scripts/tests/test_lint_spine.py +270 -0
  65. package/src/bmm-skills/plan/bmad-create-epics-and-stories/SKILL.md +93 -0
  66. package/src/bmm-skills/plan/bmad-create-epics-and-stories/customize.toml +41 -0
  67. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +263 -0
  68. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-02-design-epics.md +242 -0
  69. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  70. package/src/bmm-skills/plan/bmad-create-epics-and-stories/steps/step-04-final-validation.md +143 -0
  71. package/src/bmm-skills/plan/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
  72. package/src/bmm-skills/plan/bmad-generate-project-context/SKILL.md +10 -0
  73. package/src/bmm-skills/plan/bmad-prd/SKILL.md +94 -0
  74. package/src/bmm-skills/plan/bmad-prd/assets/headless-schemas.md +76 -0
  75. package/src/bmm-skills/plan/bmad-prd/assets/prd-template.md +165 -0
  76. package/src/bmm-skills/plan/bmad-prd/assets/prd-validation-checklist.md +135 -0
  77. package/src/bmm-skills/plan/bmad-prd/assets/validation-report-template.html +325 -0
  78. package/src/bmm-skills/plan/bmad-prd/customize.toml +149 -0
  79. package/src/bmm-skills/plan/bmad-prd/references/headless.md +39 -0
  80. package/src/bmm-skills/plan/bmad-prd/references/validate.md +97 -0
  81. package/src/bmm-skills/plan/bmad-prfaq/SKILL.md +135 -0
  82. package/src/bmm-skills/plan/bmad-prfaq/agents/artifact-analyzer.md +60 -0
  83. package/src/bmm-skills/plan/bmad-prfaq/agents/web-researcher.md +49 -0
  84. package/src/bmm-skills/plan/bmad-prfaq/assets/prfaq-template.md +62 -0
  85. package/src/bmm-skills/plan/bmad-prfaq/bmad-manifest.json +16 -0
  86. package/src/bmm-skills/plan/bmad-prfaq/customize.toml +41 -0
  87. package/src/bmm-skills/plan/bmad-prfaq/references/customer-faq.md +55 -0
  88. package/src/bmm-skills/plan/bmad-prfaq/references/internal-faq.md +51 -0
  89. package/src/bmm-skills/plan/bmad-prfaq/references/press-release.md +60 -0
  90. package/src/bmm-skills/plan/bmad-prfaq/references/verdict.md +83 -0
  91. package/src/bmm-skills/plan/bmad-product-brief/SKILL.md +91 -0
  92. package/src/bmm-skills/plan/bmad-product-brief/assets/brief-template.md +41 -0
  93. package/src/bmm-skills/plan/bmad-product-brief/customize.toml +101 -0
  94. package/src/bmm-skills/plan/bmad-project-context/SKILL.md +110 -0
  95. package/src/bmm-skills/plan/bmad-project-context/customize.toml +24 -0
  96. package/src/bmm-skills/plan/bmad-project-context/references/best-practices.md +65 -0
  97. package/src/bmm-skills/plan/bmad-project-context/references/template.md +55 -0
  98. package/src/bmm-skills/plan/bmad-spec/SKILL.md +160 -0
  99. package/src/bmm-skills/plan/bmad-spec/assets/headless-schemas.md +33 -0
  100. package/src/bmm-skills/plan/bmad-spec/assets/spec-template.md +49 -0
  101. package/src/bmm-skills/plan/bmad-spec/assets/stories-schema.md +44 -0
  102. package/src/bmm-skills/plan/bmad-spec/customize.toml +52 -0
  103. package/src/bmm-skills/plan/bmad-sprint-planning/SKILL.md +62 -0
  104. package/src/bmm-skills/plan/bmad-sprint-planning/customize.toml +41 -0
  105. package/src/bmm-skills/plan/bmad-sprint-planning/references/fix-sprint-status.md +30 -0
  106. package/src/bmm-skills/plan/bmad-sprint-planning/references/generate-tracking.md +25 -0
  107. package/src/bmm-skills/plan/bmad-sprint-planning/references/readiness-gate.md +20 -0
  108. package/src/bmm-skills/plan/bmad-sprint-planning/references/status-view.md +14 -0
  109. package/src/bmm-skills/plan/bmad-sprint-planning/references/validate.md +10 -0
  110. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/__pycache__/sprint_plan.cpython-311.pyc +0 -0
  111. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/sprint_plan.py +697 -0
  112. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/__pycache__/test_sprint_plan.cpython-311-pytest-9.1.1.pyc +0 -0
  113. package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/test_sprint_plan.py +524 -0
  114. package/src/bmm-skills/plan/bmad-sprint-planning/sprint-status-template.yaml +71 -0
  115. package/src/bmm-skills/plan/bmad-ux/SKILL.md +90 -0
  116. package/src/bmm-skills/plan/bmad-ux/assets/color-themes.md +9 -0
  117. package/src/bmm-skills/plan/bmad-ux/assets/design-directions.md +9 -0
  118. package/src/bmm-skills/plan/bmad-ux/assets/design-example-editorial.md +158 -0
  119. package/src/bmm-skills/plan/bmad-ux/assets/design-example-mobile.md +93 -0
  120. package/src/bmm-skills/plan/bmad-ux/assets/design-example-shadcn.md +109 -0
  121. package/src/bmm-skills/plan/bmad-ux/assets/excalidraw-wireframe.md +19 -0
  122. package/src/bmm-skills/plan/bmad-ux/assets/experience-example-mobile.md +112 -0
  123. package/src/bmm-skills/plan/bmad-ux/assets/experience-example-shadcn.md +133 -0
  124. package/src/bmm-skills/plan/bmad-ux/assets/headless-schemas.md +84 -0
  125. package/src/bmm-skills/plan/bmad-ux/assets/key-screens.md +29 -0
  126. package/src/bmm-skills/plan/bmad-ux/assets/validation-report-template.html +319 -0
  127. package/src/bmm-skills/plan/bmad-ux/customize.toml +102 -0
  128. package/src/bmm-skills/plan/bmad-ux/references/creative-tools.md +19 -0
  129. package/src/bmm-skills/plan/bmad-ux/references/design-md-spec.md +50 -0
  130. package/src/bmm-skills/plan/bmad-ux/references/headless.md +37 -0
  131. package/src/bmm-skills/plan/bmad-ux/references/validate.md +115 -0
  132. package/src/bmm-skills/ship/bmad-build/SKILL.md +13 -0
  133. package/src/bmm-skills/ship/bmad-build/compile-epic-context.md +62 -0
  134. package/src/bmm-skills/ship/bmad-build/customize.toml +164 -0
  135. package/src/bmm-skills/ship/bmad-build/references/deletion-check.md +14 -0
  136. package/src/bmm-skills/ship/bmad-build/review-prompts/edge-case-hunter.md +88 -0
  137. package/src/bmm-skills/ship/bmad-build/review-prompts/verification-gap.md +113 -0
  138. package/src/bmm-skills/ship/bmad-build/spec-template.md +89 -0
  139. package/src/bmm-skills/ship/bmad-build/step-01-clarify-and-route.md +105 -0
  140. package/src/bmm-skills/ship/bmad-build/step-02-plan.md +47 -0
  141. package/src/bmm-skills/ship/bmad-build/step-03-implement.md +49 -0
  142. package/src/bmm-skills/ship/bmad-build/step-04-review.md +55 -0
  143. package/src/bmm-skills/ship/bmad-build/step-05-present.md +75 -0
  144. package/src/bmm-skills/ship/bmad-build/step-oneshot.md +77 -0
  145. package/src/bmm-skills/ship/bmad-build/sync-sprint-status.md +19 -0
  146. package/src/bmm-skills/ship/bmad-build/workflow.md +84 -0
  147. package/src/bmm-skills/ship/bmad-build-auto/SKILL.md +13 -0
  148. package/src/bmm-skills/ship/bmad-build-auto/compile-epic-context.md +62 -0
  149. package/src/bmm-skills/ship/bmad-build-auto/customize.toml +121 -0
  150. package/src/bmm-skills/ship/bmad-build-auto/references/deletion-check.md +14 -0
  151. package/src/bmm-skills/ship/bmad-build-auto/review-prompts/edge-case-hunter.md +88 -0
  152. package/src/bmm-skills/ship/bmad-build-auto/review-prompts/verification-gap.md +113 -0
  153. package/src/bmm-skills/ship/bmad-build-auto/spec-template.md +99 -0
  154. package/src/bmm-skills/ship/bmad-build-auto/step-01-clarify-and-route.md +83 -0
  155. package/src/bmm-skills/ship/bmad-build-auto/step-02-plan.md +27 -0
  156. package/src/bmm-skills/ship/bmad-build-auto/step-03-implement.md +44 -0
  157. package/src/bmm-skills/ship/bmad-build-auto/step-04-review.md +96 -0
  158. package/src/bmm-skills/ship/bmad-build-auto/workflow.md +104 -0
  159. package/src/bmm-skills/ship/bmad-checkpoint-preview/SKILL.md +68 -0
  160. package/src/bmm-skills/ship/bmad-checkpoint-preview/customize.toml +41 -0
  161. package/src/bmm-skills/ship/bmad-checkpoint-preview/generate-trail.md +38 -0
  162. package/src/bmm-skills/ship/bmad-checkpoint-preview/step-01-orientation.md +105 -0
  163. package/src/bmm-skills/ship/bmad-checkpoint-preview/step-02-walkthrough.md +89 -0
  164. package/src/bmm-skills/ship/bmad-checkpoint-preview/step-03-detail-pass.md +106 -0
  165. package/src/bmm-skills/ship/bmad-checkpoint-preview/step-04-testing.md +74 -0
  166. package/src/bmm-skills/ship/bmad-checkpoint-preview/step-05-wrapup.md +30 -0
  167. package/src/bmm-skills/ship/bmad-code-review/SKILL.md +90 -0
  168. package/src/bmm-skills/ship/bmad-code-review/customize.toml +113 -0
  169. package/src/bmm-skills/ship/bmad-code-review/references/deletion-check.md +14 -0
  170. package/src/bmm-skills/ship/bmad-code-review/review-prompts/edge-case-hunter.md +88 -0
  171. package/src/bmm-skills/ship/bmad-code-review/review-prompts/verification-gap.md +113 -0
  172. package/src/bmm-skills/ship/bmad-code-review/steps/step-01-gather-context.md +87 -0
  173. package/src/bmm-skills/ship/bmad-code-review/steps/step-02-review.md +32 -0
  174. package/src/bmm-skills/ship/bmad-code-review/steps/step-03-triage.md +50 -0
  175. package/src/bmm-skills/ship/bmad-code-review/steps/step-04-present.md +132 -0
  176. package/src/bmm-skills/ship/bmad-correct-course/SKILL.md +300 -0
  177. package/src/bmm-skills/ship/bmad-correct-course/checklist.md +288 -0
  178. package/src/bmm-skills/ship/bmad-correct-course/customize.toml +41 -0
  179. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/SKILL.md +176 -0
  180. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/checklist.md +33 -0
  181. package/src/bmm-skills/ship/bmad-qa-generate-e2e-tests/customize.toml +41 -0
  182. package/src/bmm-skills/ship/bmad-retrospective/SKILL.md +94 -0
  183. package/src/bmm-skills/ship/bmad-retrospective/customize.toml +41 -0
  184. package/src/bmm-skills/ship/bmad-retrospective/references/acceptance-verdict.md +55 -0
  185. package/src/bmm-skills/ship/bmad-retrospective/references/aggregate-views.md +17 -0
  186. package/src/bmm-skills/ship/bmad-retrospective/references/evidence-gathering.md +30 -0
  187. package/src/bmm-skills/ship/bmad-retrospective/references/retro-document.md +84 -0
  188. package/src/bmm-skills/ship/bmad-retrospective/references/team-discussion.md +22 -0
  189. package/src/bmm-skills/ship/bmad-retrospective/scripts/__pycache__/sprint_status.cpython-311.pyc +0 -0
  190. package/src/bmm-skills/ship/bmad-retrospective/scripts/git_evidence.py +304 -0
  191. package/src/bmm-skills/ship/bmad-retrospective/scripts/sprint_status.py +746 -0
  192. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_git_evidence.cpython-311-pytest-9.1.1.pyc +0 -0
  193. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_sprint_status.cpython-311-pytest-9.1.1.pyc +0 -0
  194. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/fixtures/sprint-status-template.yaml +71 -0
  195. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_git_evidence.py +750 -0
  196. package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_sprint_status.py +1579 -0
  197. package/src/bmm-skills/v6-shims/README.md +28 -0
  198. package/src/bmm-skills/v6-shims/bmad-create-architecture/SKILL.md +30 -0
  199. package/src/bmm-skills/v6-shims/bmad-create-architecture/customize.toml +41 -0
  200. package/src/bmm-skills/v6-shims/bmad-create-prd/SKILL.md +30 -0
  201. package/src/bmm-skills/v6-shims/bmad-create-prd/customize.toml +41 -0
  202. package/src/bmm-skills/v6-shims/bmad-create-story/SKILL.md +434 -0
  203. package/src/bmm-skills/v6-shims/bmad-create-story/checklist.md +357 -0
  204. package/src/bmm-skills/v6-shims/bmad-create-story/customize.toml +41 -0
  205. package/src/bmm-skills/v6-shims/bmad-create-story/discover-inputs.md +88 -0
  206. package/src/bmm-skills/v6-shims/bmad-create-story/template.md +49 -0
  207. package/src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md +19 -0
  208. package/src/bmm-skills/v6-shims/bmad-dev-story/SKILL.md +502 -0
  209. package/src/bmm-skills/v6-shims/bmad-dev-story/checklist.md +80 -0
  210. package/src/bmm-skills/v6-shims/bmad-dev-story/customize.toml +44 -0
  211. package/src/bmm-skills/v6-shims/bmad-document-project/SKILL.md +14 -0
  212. package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +14 -0
  213. package/src/bmm-skills/v6-shims/bmad-edit-prd/SKILL.md +30 -0
  214. package/src/bmm-skills/v6-shims/bmad-edit-prd/customize.toml +42 -0
  215. package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +14 -0
  216. package/src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md +19 -0
  217. package/src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md +26 -0
  218. package/src/bmm-skills/v6-shims/bmad-sprint-status/customize.toml +41 -0
  219. package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +14 -0
  220. package/src/bmm-skills/v6-shims/bmad-validate-prd/SKILL.md +30 -0
  221. package/src/bmm-skills/v6-shims/bmad-validate-prd/customize.toml +42 -0
  222. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +65 -0
  223. package/src/core-skills/bmad-advanced-elicitation/assets/methods.csv +72 -0
  224. package/src/core-skills/bmad-advanced-elicitation/customize.toml +54 -0
  225. package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +233 -0
  226. package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +228 -0
  227. package/src/core-skills/bmad-brainstorming/SKILL.md +80 -0
  228. package/src/core-skills/bmad-brainstorming/assets/brain-icons.json +166 -0
  229. package/src/core-skills/bmad-brainstorming/assets/brain-methods.csv +109 -0
  230. package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +328 -0
  231. package/src/core-skills/bmad-brainstorming/customize.toml +84 -0
  232. package/src/core-skills/bmad-brainstorming/references/converge.md +24 -0
  233. package/src/core-skills/bmad-brainstorming/references/finalize.md +26 -0
  234. package/src/core-skills/bmad-brainstorming/references/headless.md +54 -0
  235. package/src/core-skills/bmad-brainstorming/references/in-chat-techniques.md +18 -0
  236. package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +10 -0
  237. package/src/core-skills/bmad-brainstorming/references/mode-facilitator.md +11 -0
  238. package/src/core-skills/bmad-brainstorming/references/mode-partner.md +16 -0
  239. package/src/core-skills/bmad-brainstorming/references/resume.md +5 -0
  240. package/src/core-skills/bmad-brainstorming/scripts/brain.py +770 -0
  241. package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +239 -0
  242. package/src/core-skills/bmad-customize/SKILL.md +111 -0
  243. package/src/core-skills/bmad-customize/scripts/list_customizable_skills.py +231 -0
  244. package/src/core-skills/bmad-customize/scripts/tests/test_list_customizable_skills.py +249 -0
  245. package/src/core-skills/bmad-deep-recon/SKILL.md +82 -0
  246. package/src/core-skills/bmad-deep-recon/assets/research.template.md +18 -0
  247. package/src/core-skills/bmad-deep-recon/customize.toml +212 -0
  248. package/src/core-skills/bmad-deep-recon/references/draft.md +8 -0
  249. package/src/core-skills/bmad-deep-recon/references/finalize.md +11 -0
  250. package/src/core-skills/bmad-deep-recon/references/html-briefing.md +16 -0
  251. package/src/core-skills/bmad-deep-recon/references/lifecycle.md +11 -0
  252. package/src/core-skills/bmad-deep-recon/references/process.md +10 -0
  253. package/src/core-skills/bmad-deep-recon/references/run.md +73 -0
  254. package/src/core-skills/bmad-deep-recon/references/selection.md +13 -0
  255. package/src/core-skills/bmad-deep-recon/references/synthesis.md +16 -0
  256. package/src/core-skills/bmad-deep-recon/references/verification.md +29 -0
  257. package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +322 -0
  258. package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +144 -0
  259. package/src/core-skills/bmad-deep-recon/types/academic-lit.md +19 -0
  260. package/src/core-skills/bmad-deep-recon/types/competitive.md +19 -0
  261. package/src/core-skills/bmad-deep-recon/types/domain.md +19 -0
  262. package/src/core-skills/bmad-deep-recon/types/market.md +19 -0
  263. package/src/core-skills/bmad-deep-recon/types/technical.md +19 -0
  264. package/src/core-skills/bmad-deep-recon/types/user-voice.md +19 -0
  265. package/src/core-skills/bmad-forge-idea/SKILL.md +107 -0
  266. package/src/core-skills/bmad-forge-idea/customize.toml +42 -0
  267. package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +275 -0
  268. package/src/core-skills/bmad-forge-idea/scripts/tests/test_resolve_personas.py +138 -0
  269. package/src/core-skills/bmad-help/SKILL.md +75 -0
  270. package/src/core-skills/bmad-party-mode/SKILL.md +60 -0
  271. package/src/core-skills/bmad-party-mode/customize.toml +211 -0
  272. package/src/core-skills/bmad-party-mode/references/create-party.md +70 -0
  273. package/src/core-skills/bmad-party-mode/references/mode-agent-team.md +13 -0
  274. package/src/core-skills/bmad-party-mode/references/mode-auto.md +13 -0
  275. package/src/core-skills/bmad-party-mode/references/mode-subagent.md +31 -0
  276. package/src/core-skills/bmad-party-mode/references/party-memory.md +51 -0
  277. package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +282 -0
  278. package/src/core-skills/bmad-party-mode/scripts/tests/test_resolve_party.py +146 -0
  279. package/src/core-skills/bmad-review/SKILL.md +49 -0
  280. package/src/core-skills/bmad-review/customize.toml +141 -0
  281. package/src/core-skills/bmad-review/references/editorial-common.md +56 -0
  282. package/src/core-skills/bmad-review/references/lens-adversarial.md +19 -0
  283. package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +54 -0
  284. package/src/core-skills/bmad-review/references/lens-prose.md +7 -0
  285. package/src/core-skills/bmad-review/references/lens-structure.md +9 -0
  286. package/src/core-skills/bmad-review/references/lens-verification-gap.md +92 -0
  287. package/src/core-skills/bmad-review/references/structure-models.md +44 -0
  288. package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +62 -0
  289. package/src/core-skills/bmad-review/scripts/word_metrics.py +102 -0
  290. package/src/core-skills/module-help.csv +10 -0
  291. package/src/core-skills/module.yaml +38 -0
  292. package/src/core-skills/v6-shims/README.md +25 -0
  293. package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +6 -0
  294. package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +31 -0
  295. package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +6 -0
  296. package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +6 -0
  297. package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +6 -0
  298. package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +6 -0
  299. package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +6 -0
  300. package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
  301. package/src/scripts/config_utils.py +119 -0
  302. package/src/scripts/memlog.py +224 -0
  303. package/src/scripts/render_skill.py +401 -0
  304. package/src/scripts/resolve_config.py +74 -0
  305. package/src/scripts/resolve_customization.py +99 -0
  306. package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
  307. package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
  308. package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
  309. package/src/scripts/tests/test_config_utils.py +85 -0
  310. package/src/scripts/tests/test_memlog.py +306 -0
  311. package/src/scripts/tests/test_resolve_config.py +89 -0
  312. package/src/scripts/tests/test_resolve_customization.py +77 -0
  313. package/tools/bundle-web-bundles.js +117 -0
  314. package/tools/format-workflow-md.js +263 -0
  315. package/tools/installer/README.md +60 -0
  316. package/tools/installer/bmad-cli.js +105 -0
  317. package/tools/installer/cli-utils.js +57 -0
  318. package/tools/installer/commands/install.js +149 -0
  319. package/tools/installer/commands/status.js +65 -0
  320. package/tools/installer/commands/uninstall.js +167 -0
  321. package/tools/installer/core/config.js +73 -0
  322. package/tools/installer/core/existing-install.js +121 -0
  323. package/tools/installer/core/install-paths.js +132 -0
  324. package/tools/installer/core/installer.js +1767 -0
  325. package/tools/installer/core/legacy-warnings.js +151 -0
  326. package/tools/installer/core/manifest-generator.js +859 -0
  327. package/tools/installer/core/manifest.js +433 -0
  328. package/tools/installer/core/uv-check.js +195 -0
  329. package/tools/installer/core/wsl-node-check.js +109 -0
  330. package/tools/installer/file-ops.js +204 -0
  331. package/tools/installer/fs-native.js +116 -0
  332. package/tools/installer/ide/_config-driven.js +972 -0
  333. package/tools/installer/ide/manager.js +324 -0
  334. package/tools/installer/ide/platform-codes.js +80 -0
  335. package/tools/installer/ide/platform-codes.yaml +343 -0
  336. package/tools/installer/ide/shared/installed-skills.js +50 -0
  337. package/tools/installer/ide/shared/path-utils.js +219 -0
  338. package/tools/installer/ide/shared/skill-manifest.js +57 -0
  339. package/tools/installer/install-messages.yaml +37 -0
  340. package/tools/installer/list-options.js +210 -0
  341. package/tools/installer/message-loader.js +83 -0
  342. package/tools/installer/modules/channel-plan.js +203 -0
  343. package/tools/installer/modules/channel-resolver.js +241 -0
  344. package/tools/installer/modules/custom-module-manager.js +924 -0
  345. package/tools/installer/modules/external-manager.js +671 -0
  346. package/tools/installer/modules/git-env.js +47 -0
  347. package/tools/installer/modules/module-help-schema.js +13 -0
  348. package/tools/installer/modules/official-modules.js +2257 -0
  349. package/tools/installer/modules/plugin-resolver.js +398 -0
  350. package/tools/installer/modules/version-resolver.js +336 -0
  351. package/tools/installer/project-root.js +224 -0
  352. package/tools/installer/prompts.js +791 -0
  353. package/tools/installer/set-overrides.js +330 -0
  354. package/tools/installer/ui.js +2167 -0
  355. package/tools/installer/yaml-format.js +245 -0
  356. package/tools/javascript-conventions.md +5 -0
  357. package/tools/migrate-custom-module-paths.js +124 -0
  358. package/tools/skill-validator.md +378 -0
  359. package/tools/validate-published-implementation-model.mjs +68 -0
  360. package/tools/validate-sidebar-order.js +388 -0
  361. package/tools/validate-skills.js +735 -0
  362. package/tools/validate-svg-changes.sh +356 -0
  363. package/web-bundles/README.md +46 -0
  364. package/web-bundles/brainstorming-coach/INSTRUCTIONS.md +86 -0
  365. package/web-bundles/brainstorming-coach/SKILL.md +83 -0
  366. package/web-bundles/brainstorming-coach/brain-methods.csv +62 -0
  367. package/web-bundles/bundles.json +139 -0
  368. package/web-bundles/market-and-industry-research/INSTRUCTIONS.md +88 -0
  369. package/web-bundles/market-and-industry-research/SKILL.md +59 -0
  370. package/web-bundles/prd-coach/INSTRUCTIONS.md +86 -0
  371. package/web-bundles/prd-coach/SKILL.md +101 -0
  372. package/web-bundles/prd-coach/prd-template.md +165 -0
  373. package/web-bundles/prd-coach/prd-validation-checklist.md +135 -0
  374. package/web-bundles/prfaq-coach/INSTRUCTIONS.md +86 -0
  375. package/web-bundles/prfaq-coach/SKILL.md +139 -0
  376. package/web-bundles/product-brief-coach/INSTRUCTIONS.md +86 -0
  377. package/web-bundles/product-brief-coach/SKILL.md +113 -0
  378. package/web-bundles/ux-coach/INSTRUCTIONS.md +92 -0
  379. package/web-bundles/ux-coach/SKILL.md +187 -0
  380. package/web-bundles/ux-coach/ux-validation.md +100 -0
@@ -0,0 +1,249 @@
1
+ #!/usr/bin/env python3
2
+ # /// script
3
+ # requires-python = ">=3.11"
4
+ # ///
5
+ """Unit tests for list_customizable_skills.py.
6
+
7
+ Exercises the scanner against a synthesized install tree:
8
+ - an agent-only customize.toml
9
+ - a workflow-only customize.toml
10
+ - a customize.toml that exposes both surfaces
11
+ - a skill directory with no customize.toml (ignored)
12
+ - a pre-existing team override in _bmad/custom/
13
+ - malformed TOML (surfaces as an error without aborting)
14
+ - multiple skills roots (e.g. project-local + user-global mix)
15
+
16
+ Run: uv run scripts/tests/test_list_customizable_skills.py
17
+ """
18
+
19
+ from __future__ import annotations
20
+
21
+ import importlib.util
22
+ import json
23
+ import subprocess
24
+ import sys
25
+ import tempfile
26
+ import unittest
27
+ from pathlib import Path
28
+
29
+ SCRIPT = Path(__file__).resolve().parent.parent / "list_customizable_skills.py"
30
+
31
+
32
+ def _load_module():
33
+ spec = importlib.util.spec_from_file_location("list_customizable_skills", SCRIPT)
34
+ module = importlib.util.module_from_spec(spec)
35
+ spec.loader.exec_module(module) # type: ignore[union-attr]
36
+ return module
37
+
38
+
39
+ MODULE = _load_module()
40
+
41
+
42
+ def _make_skill(parent: Path, name: str, body: str, skill_md: str | None = None) -> Path:
43
+ skill_dir = parent / name
44
+ skill_dir.mkdir(parents=True, exist_ok=True)
45
+ (skill_dir / "customize.toml").write_text(body, encoding="utf-8")
46
+ if skill_md is not None:
47
+ (skill_dir / "SKILL.md").write_text(skill_md, encoding="utf-8")
48
+ return skill_dir
49
+
50
+
51
+ class ScannerTest(unittest.TestCase):
52
+ def setUp(self):
53
+ self.tmp = tempfile.TemporaryDirectory()
54
+ self.root = Path(self.tmp.name)
55
+ self.skills = self.root / "skills"
56
+ self.skills.mkdir(parents=True)
57
+ self.custom = self.root / "_bmad" / "custom"
58
+ self.custom.mkdir(parents=True)
59
+
60
+ def tearDown(self):
61
+ self.tmp.cleanup()
62
+
63
+ def test_agent_only_skill_detected(self):
64
+ _make_skill(
65
+ self.skills,
66
+ "bmad-agent-pm",
67
+ "[agent]\nicon = \"🧠\"\n",
68
+ "---\nname: bmad-agent-pm\ndescription: Product manager.\n---\n",
69
+ )
70
+ result = MODULE.scan_skills([self.skills], self.root)
71
+ self.assertEqual(len(result["agents"]), 1)
72
+ self.assertEqual(len(result["workflows"]), 0)
73
+ entry = result["agents"][0]
74
+ self.assertEqual(entry["name"], "bmad-agent-pm")
75
+ self.assertEqual(entry["surface"], "agent")
76
+ self.assertEqual(entry["description"], "Product manager.")
77
+ self.assertFalse(entry["has_team_override"])
78
+ self.assertFalse(entry["has_user_override"])
79
+
80
+ def test_workflow_only_skill_detected(self):
81
+ _make_skill(
82
+ self.skills,
83
+ "bmad-create-prd",
84
+ "[workflow]\npersistent_facts = []\n",
85
+ "---\nname: bmad-create-prd\ndescription: 'Create a PRD.'\n---\n",
86
+ )
87
+ result = MODULE.scan_skills([self.skills], self.root)
88
+ self.assertEqual(len(result["agents"]), 0)
89
+ self.assertEqual(len(result["workflows"]), 1)
90
+ entry = result["workflows"][0]
91
+ self.assertEqual(entry["description"], "Create a PRD.")
92
+
93
+ def test_dual_surface_skill_emits_two_entries(self):
94
+ _make_skill(
95
+ self.skills,
96
+ "bmad-dual",
97
+ "[agent]\nicon = \"x\"\n\n[workflow]\npersistent_facts = []\n",
98
+ "---\nname: bmad-dual\ndescription: Dual.\n---\n",
99
+ )
100
+ result = MODULE.scan_skills([self.skills], self.root)
101
+ self.assertEqual(len(result["agents"]), 1)
102
+ self.assertEqual(len(result["workflows"]), 1)
103
+ self.assertEqual(result["agents"][0]["name"], "bmad-dual")
104
+ self.assertEqual(result["workflows"][0]["name"], "bmad-dual")
105
+
106
+ def test_skill_without_customize_toml_ignored(self):
107
+ (self.skills / "bmad-plain").mkdir()
108
+ (self.skills / "bmad-plain" / "SKILL.md").write_text("# plain\n")
109
+ result = MODULE.scan_skills([self.skills], self.root)
110
+ self.assertEqual(len(result["agents"]) + len(result["workflows"]), 0)
111
+ self.assertEqual(result["errors"], [])
112
+
113
+ def test_existing_team_override_flagged(self):
114
+ _make_skill(
115
+ self.skills,
116
+ "bmad-agent-pm",
117
+ "[agent]\nicon = \"x\"\n",
118
+ "---\nname: bmad-agent-pm\ndescription: PM.\n---\n",
119
+ )
120
+ (self.custom / "bmad-agent-pm.toml").write_text("[agent]\n")
121
+ result = MODULE.scan_skills([self.skills], self.root)
122
+ entry = result["agents"][0]
123
+ self.assertTrue(entry["has_team_override"])
124
+ self.assertFalse(entry["has_user_override"])
125
+
126
+ def test_missing_surface_block_reports_error(self):
127
+ _make_skill(self.skills, "bmad-broken", "[not_a_surface]\nfoo = 1\n")
128
+ result = MODULE.scan_skills([self.skills], self.root)
129
+ self.assertEqual(len(result["agents"]) + len(result["workflows"]), 0)
130
+ self.assertEqual(len(result["errors"]), 1)
131
+ self.assertIn("no [agent] or [workflow] block", result["errors"][0])
132
+
133
+ def test_malformed_toml_reports_error_without_aborting(self):
134
+ skill_dir = self.skills / "bmad-bad"
135
+ skill_dir.mkdir()
136
+ (skill_dir / "customize.toml").write_text("this is not [valid toml\n")
137
+ # Plus a good sibling to confirm scanning continues.
138
+ _make_skill(
139
+ self.skills,
140
+ "bmad-good",
141
+ "[agent]\nicon = \"x\"\n",
142
+ "---\nname: bmad-good\ndescription: Good.\n---\n",
143
+ )
144
+ result = MODULE.scan_skills([self.skills], self.root)
145
+ self.assertEqual(len(result["agents"]), 1)
146
+ self.assertEqual(result["agents"][0]["name"], "bmad-good")
147
+ self.assertTrue(any("failed to parse" in e for e in result["errors"]))
148
+
149
+ def test_description_with_double_quotes_stripped(self):
150
+ _make_skill(
151
+ self.skills,
152
+ "bmad-q",
153
+ "[agent]\nicon = \"x\"\n",
154
+ '---\nname: bmad-q\ndescription: "Double-quoted desc."\n---\n',
155
+ )
156
+ result = MODULE.scan_skills([self.skills], self.root)
157
+ self.assertEqual(result["agents"][0]["description"], "Double-quoted desc.")
158
+
159
+ def test_multiple_skills_roots_are_merged(self):
160
+ extra_root = self.root / "extra-skills"
161
+ extra_root.mkdir()
162
+ _make_skill(
163
+ self.skills,
164
+ "bmad-agent-pm",
165
+ "[agent]\nicon = \"x\"\n",
166
+ "---\nname: bmad-agent-pm\ndescription: PM.\n---\n",
167
+ )
168
+ _make_skill(
169
+ extra_root,
170
+ "bmad-agent-dev",
171
+ "[agent]\nicon = \"y\"\n",
172
+ "---\nname: bmad-agent-dev\ndescription: Dev.\n---\n",
173
+ )
174
+ result = MODULE.scan_skills([self.skills, extra_root], self.root)
175
+ names = {a["name"] for a in result["agents"]}
176
+ self.assertEqual(names, {"bmad-agent-pm", "bmad-agent-dev"})
177
+ self.assertEqual(len(result["scanned_roots"]), 2)
178
+
179
+ def test_duplicate_skill_name_across_roots_first_wins(self):
180
+ extra_root = self.root / "extra-skills"
181
+ extra_root.mkdir()
182
+ _make_skill(
183
+ self.skills,
184
+ "bmad-agent-pm",
185
+ "[agent]\nicon = \"primary\"\n",
186
+ "---\nname: bmad-agent-pm\ndescription: Primary.\n---\n",
187
+ )
188
+ _make_skill(
189
+ extra_root,
190
+ "bmad-agent-pm",
191
+ "[agent]\nicon = \"duplicate\"\n",
192
+ "---\nname: bmad-agent-pm\ndescription: Duplicate.\n---\n",
193
+ )
194
+ result = MODULE.scan_skills([self.skills, extra_root], self.root)
195
+ self.assertEqual(len(result["agents"]), 1)
196
+ self.assertEqual(result["agents"][0]["description"], "Primary.")
197
+ self.assertEqual(result["agents"][0]["skills_root"], str(self.skills))
198
+
199
+ def test_missing_skills_root_reports_error(self):
200
+ result = MODULE.scan_skills(
201
+ [self.root / "does-not-exist", self.skills],
202
+ self.root,
203
+ )
204
+ self.assertTrue(any("skills root does not exist" in e for e in result["errors"]))
205
+
206
+ def test_cli_emits_valid_json_and_exits_zero(self):
207
+ _make_skill(
208
+ self.skills,
209
+ "bmad-agent-pm",
210
+ "[agent]\nicon = \"x\"\n",
211
+ "---\nname: bmad-agent-pm\ndescription: PM.\n---\n",
212
+ )
213
+ proc = subprocess.run(
214
+ [
215
+ sys.executable,
216
+ str(SCRIPT),
217
+ "--project-root",
218
+ str(self.root),
219
+ "--skills-root",
220
+ str(self.skills),
221
+ ],
222
+ capture_output=True,
223
+ text=True,
224
+ check=False,
225
+ )
226
+ self.assertEqual(proc.returncode, 0, proc.stderr)
227
+ payload = json.loads(proc.stdout)
228
+ self.assertEqual(len(payload["agents"]), 1)
229
+
230
+ def test_cli_exits_two_on_missing_project_root(self):
231
+ proc = subprocess.run(
232
+ [
233
+ sys.executable,
234
+ str(SCRIPT),
235
+ "--project-root",
236
+ str(self.root / "does-not-exist"),
237
+ "--skills-root",
238
+ str(self.skills),
239
+ ],
240
+ capture_output=True,
241
+ text=True,
242
+ check=False,
243
+ )
244
+ self.assertEqual(proc.returncode, 2)
245
+ self.assertIn("does not exist", proc.stderr)
246
+
247
+
248
+ if __name__ == "__main__":
249
+ unittest.main()
@@ -0,0 +1,82 @@
1
+ ---
2
+ name: bmad-deep-recon
3
+ description: 'Decision-grade research, three ways: draft a deep-research prompt for the user to run in their own tool (ChatGPT, Gemini, Grok, Perplexity, …), process a finished research report — file it, distill a succinct cited summary with metadata that downstream skills consume without reprocessing — or run the research here through web fan-out. Shipped type packs: market, domain, technical, competitive, user-voice, academic-lit — plus a select shape for choose-between decisions and custom types via overrides. Use when the user says "deep recon", "research this", "draft a research prompt", "process this research report", "market research", "domain research", "technical research", "competitor research", "literature review", or "help me choose between".'
4
+ ---
5
+
6
+ # BMad Deep Recon
7
+
8
+ ## Overview
9
+
10
+ You are **Deep Recon** — a research director, not a search engine. Your value is framing research worth running and turning whatever comes back into a decision-grade artifact this project consumes without reprocessing. Every engagement serves a **decision** — enter a market, pick a stack, scope a product, commit to a domain — and is shaped by it from the first question to the final artifact.
11
+
12
+ Three services, freely combined — each detailed in its reference: **Draft** a deep-research prompt the user runs in their own tool, **Process** a finished report into the succinct cited summary downstream skills read, or **Run** the research here through parallel web fan-out. Draft → run externally → Process is the natural loop; Run is fully capable on its own.
13
+
14
+ **Epistemics — two standing rules, inherited verbatim by every subagent you spawn:**
15
+
16
+ 1. **Never conclude from training data alone.** What you already know proposes hypotheses, queries, and structure; conclusions require evidence retrieved or imported *this run*. A claim you cannot evidence is stated as an unverified belief or not at all.
17
+ 2. **The research firewall.** Project context — briefs, PRDs, code, memory, `{workflow.persistent_facts}` — shapes *what to ask*, never *what is true*. It is inadmissible as evidence: every claim in a research artifact traces to a digest or import file with a source. Research subagents receive only their brief — no project files, no ambient context — unless the plan explicitly grants a named document.
18
+
19
+ ## How you work
20
+
21
+ - **Nothing exists until it is a file.** Every digest, import extraction, and report section is written to the run folder the moment it lands — the conversation is a control channel, never the store. A run that dies mid-flight resumes from disk with nothing lost.
22
+ - **Extract, don't ingest.** Raw reports and search results never enter the parent context whole; subagents return relevance-filtered digests, and the parent reads digest files JIT.
23
+ - **A claim is a sentence with a source.** Publisher, publication date, access date. No naked numbers.
24
+ - **Report what is real.** Thin public data is reported as thin, absence of evidence is a finding, and freshness is part of truth — each pack sets windows per claim class; a market size from three years ago is history, not fact.
25
+ - **Fast by default.** Rigor is bought consciously through the knobs, never accreted through extra passes. One gate, light checkpoints, no ceremony.
26
+ - **The memlog is the process memory.** Every decision, source batch, load-bearing claim, plan change, and assumption is one append-only line, always through the script: `uv run {project-root}/_bmad/scripts/memlog.py` with `--type <decision|source|claim|assumption|question|event>`.
27
+ - Web access is required for Run. If unavailable, say so and offer Draft/Process — never fabricate research.
28
+
29
+ ## Resolution rules
30
+
31
+ - Bare paths and `{skill-root}` (e.g. `references/run.md`) resolve from this skill's installed directory.
32
+ - `{project-root}` → the project working directory; `{skill-name}` → the skill directory's basename.
33
+ - `{workflow.<name>}` → a merged `customize.toml` field; `{doc_workspace}` → the bound run folder.
34
+ - Forward slashes only. Config variables already contain `{project-root}` in their resolved values — never double-prefix.
35
+
36
+ ## On Activation
37
+
38
+ **Forwarded activation:** if a caller invoked you with a stated intent, research type, or pre-resolved customization fields (the legacy research shims and Mary's menu do), honor them verbatim — skip your own inference for those values and resolve only the rest.
39
+
40
+ 1. Resolve customization: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow` (on failure read `{skill-root}/customize.toml`, use defaults). Run `{workflow.activation_steps_prepend}`, then `{workflow.activation_steps_append}`.
41
+ 2. Resolve config: `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}`. From the merged JSON resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{project_name}`, `{output_folder}` (under `core`), `{planning_artifacts}` (under `modules.bmm`; absent on core-only installs → `{output_folder}`), and `{date}`; missing keys take neutral defaults, never block.
42
+ 3. Headless (no interactive user) → see `## Headless Mode`. Otherwise greet `{user_name}` in `{communication_language}` — and stay in it every turn.
43
+ 4. Detect the intent: **draft**, **process** (the user has or names a report), **run**, or lifecycle **refresh** / **deepen** on an existing run folder. When the ask is bare research with no verb ("research X for me"), open the floor first — invite the decision they're facing and anything they already have (briefs, links, a prior report) in one turn, then ask only what's missing — and put the choice up front, once: **Run** it here now, or **Draft** a prompt for a deep-research tool they subscribe to — often cheaper and a strong gatherer, with Process turning its output into the same artifact. State the trade honestly (tokens and minutes here vs. one manual round-trip there); their call, remembered for the session.
44
+ 5. If a run folder for this topic already exists under `{workflow.research_output_path}`, offer to resume or extend it (a drafted brief awaiting its report, a report awaiting refresh) rather than start a duplicate.
45
+
46
+ ## Research types and decision shapes
47
+
48
+ The type set is whatever `{workflow.research_types}` resolves to — shipped: `market`, `domain`, `technical`, `competitive`, `user-voice`, `academic-lit` — each pointing at a pack file. You already know how to research; the pack is where this harness is opinionated — prioritized dimensions, non-obvious source craft, freshness bars and two-source classes per claim class, downstream bindings. Apply it in every mode; don't re-derive it. Overrides replace matching codes and append new ones; never claim a fixed type list — read the resolved set.
49
+
50
+ Infer the type from the user's ask and each entry's `when` clause; confirm only when genuinely ambiguous. An explicit type (argument, shim, menu) wins without discussion.
51
+
52
+ Orthogonal to type is the **decision shape**: **explore** (the default — understand, assess, validate) or **select** (choose between candidates). When the shape is select, load `references/selection.md` and layer its method over the type's pack — it shapes drafted prompts and processed summaries as much as native runs.
53
+
54
+ ## Intents
55
+
56
+ Route on the detected intent and load only what it names. Every intent shares the run-folder workspace shape — `brief.md`, `imports/`, `digests/`, `research.md`, `.memlog.md` — and ends per `references/finalize.md`.
57
+
58
+ | Intent | What it does | Load |
59
+ | --- | --- | --- |
60
+ | Draft | Compose a deep-research prompt for the user's own tool, carrying the pack's craft | `references/draft.md` |
61
+ | Process | File a finished report, extract its claims, distill the downstream summary | `references/process.md` |
62
+ | Run | Native research: resolve effort, hold the plan gate — the one hard stop — then run the loop | `references/run.md`, then `references/verification.md` + `references/synthesis.md` |
63
+ | Refresh / Deepen | Update or extend an existing run folder | `references/lifecycle.md` |
64
+
65
+ ## Headless Mode
66
+
67
+ When invoked headless, do not ask. Bare research defaults to **run**; a named report means **process**; a requested prompt means **draft** (the brief file is the deliverable). Plan-and-proceed: infer type, build from the pack, keep configured knobs plus anything in the invocation (red team and workflow orchestration only when set `"on"`), skip checkpoints, log every judgment call as an `assumption`. Halt `blocked` only when topic or target folder cannot be inferred. End with JSON:
68
+
69
+ ```json
70
+ {
71
+ "status": "complete",
72
+ "intent": "run",
73
+ "type": "market",
74
+ "report": "{doc_workspace}/research.md",
75
+ "memlog": "{doc_workspace}/.memlog.md",
76
+ "claims": {"verified": 12, "unverified": 3, "overturned": 0},
77
+ "open_questions": [],
78
+ "external_handoffs": []
79
+ }
80
+ ```
81
+
82
+ Omit keys for artifacts not produced; the `claims` counts come from `uv run scripts/recon_kit.py tally {doc_workspace}/.memlog.md`, never hand-counted. Draft adds `"brief"`; process adds `"imports"`; refresh replaces `claims` scope with the refresh set plus a `deltas` array. With `output_format = "auto"`, headless runs produce no briefing; add `"briefing"` when rendered.
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: '{research_type} research: {research_topic}'
3
+ type: '{research_type}'
4
+ topic: '{research_topic}'
5
+ decision: '{decision}'
6
+ source: '{source}'
7
+ status: draft
8
+ preset: '{preset}'
9
+ validation: '{validation}'
10
+ created: '{date}'
11
+ updated: '{date}'
12
+ ---
13
+
14
+ # {research_type} research: {research_topic}
15
+
16
+ **Decision this research serves:** {decision}
17
+
18
+ _Sections are appended per the approved research plan; the executive summary is written last and placed here, first._
@@ -0,0 +1,212 @@
1
+ # DO NOT EDIT -- overwritten on every update.
2
+ #
3
+ # Workflow customization surface for bmad-deep-recon.
4
+ #
5
+ # Override files (not edited here):
6
+ # {project-root}/_bmad/custom/bmad-deep-recon.toml (team)
7
+ # {project-root}/_bmad/custom/bmad-deep-recon.user.toml (personal)
8
+
9
+ [workflow]
10
+
11
+ # --- Configurable below. Overrides merge per BMad structural rules: ---
12
+ # scalars: override wins
13
+ # arrays (persistent_facts, activation_steps_*, *_sources, doc_standards,
14
+ # external_*): append
15
+ # arrays of tables keyed by `code`: matching key replaces, new keys append
16
+
17
+ # Steps executed on activation: prepend runs before the skill's own
18
+ # activation flow, append runs after it. Each entry is a literal instruction.
19
+ activation_steps_prepend = []
20
+ activation_steps_append = []
21
+
22
+ # Standing context for framing the research — decision context only, never
23
+ # evidence: the research firewall keeps project material out of findings.
24
+ # Entries prefixed `file:` are paths or globs whose contents load as facts;
25
+ # all others are literal facts. Empty by default so nothing local leaks into
26
+ # research framing unasked.
27
+ persistent_facts = []
28
+
29
+ # Where research runs live and how each run folder is named. Draft, Process,
30
+ # and Run all use the same folder shape: brief.md (drafted prompts),
31
+ # imports/ (originals, full fidelity), digests/ (extracted claims),
32
+ # research.md (the canonical summary/report), .memlog.md.
33
+ research_output_path = "{planning_artifacts}/research"
34
+ run_folder_pattern = "{research_type}-{topic_slug}-{date}"
35
+
36
+ # Seed document for a new run.
37
+ research_template = "assets/research.template.md"
38
+
39
+ # --- Effort (Run mode) ------------------------------------------------------
40
+ # A preset bundles the three effort knobs; any knob set here individually
41
+ # pins that knob over the preset. What the user says in the request beats
42
+ # both.
43
+ #
44
+ # preset subagents sources/round depth
45
+ # quick low (2) 5 1
46
+ # standard normal (3) 8 2
47
+ # deep high (6) 12 3
48
+ #
49
+ # Grounding: orchestrator-worker research systems document 3-5 parallel
50
+ # workers as the sweet spot (more only for genuinely wide work). Depth and
51
+ # sources are caps, not quotas — dimensions stop early on coverage or
52
+ # novelty exhaustion. Defaults are tuned for a fast run; buy more rigor
53
+ # consciously, per run, in the request.
54
+
55
+ preset = "standard"
56
+
57
+ # "" = from preset. Values: none | low | normal | high
58
+ # (0 / 2 / 3 / 6 parallel research assistants, ceiling 10; none also =
59
+ # no-subagent environments, run inline sequentially).
60
+ subagents = ""
61
+
62
+ # 0 = from preset. Distinct sources actually read per dimension per round.
63
+ # Ceiling 25 — beyond that a single round exceeds what hosted deep-research
64
+ # products spend on an entire run.
65
+ max_sources_per_round = 0
66
+
67
+ # 0 = from preset. Rounds per dimension: initial pass + lead-following
68
+ # follow-ups. Ceiling 5.
69
+ max_depth = 0
70
+
71
+ # Verification level, applied as material lands (never an end-of-run pass).
72
+ # normal spot-check load-bearing claims only — fast, the default
73
+ # high cross-check the pack's two-source classes; red-team major
74
+ # conclusions
75
+ # max cross-check every ledger claim + the red-team pass at full
76
+ # breadth + primary-source-priority ranking
77
+ validation = "normal"
78
+
79
+ # Red-team stance pass — fresh-context skeptics hunting disconfirming
80
+ # evidence for major conclusions: "off" (default), "offer" (proposed at the
81
+ # plan gate), or "on" (always; headless honors only "on"). high/max
82
+ # validation includes it for major conclusions regardless.
83
+ red_team = "off"
84
+
85
+ # Run the acquisition fan-out through the harness's deterministic
86
+ # orchestration when it offers one (e.g. workflows): "off", "offer"
87
+ # (proposed at the plan gate when available), or "on". Orchestrated runs are
88
+ # faster wall-clock but spend more tokens.
89
+ use_workflows = "offer"
90
+
91
+ # Ordered model preference for spawned research assistants — first model the
92
+ # harness can provide wins; [] lets the harness/skill choose (lead stays on
93
+ # the strongest model; researchers at most one capable tier down; judgment
94
+ # work never on the smallest tier; mechanical extraction may use a fast
95
+ # tier).
96
+ #
97
+ # Example: subagent_models = ["<your-mid-tier-model-id>", "<your-fast-model-id>"]
98
+ subagent_models = []
99
+
100
+ # Source policy. Preferred sources are consulted first and weighted as more
101
+ # credible; banned sources are never cited (their claims may still be leads
102
+ # to verify elsewhere). Entries are domains or plain-text descriptions.
103
+ # Draft mode writes both policies into drafted prompts.
104
+ preferred_sources = []
105
+ banned_sources = []
106
+
107
+ # What is presented and handed off — never what exists: research.md (the
108
+ # canonical machine-readable summary/report) always lives in the workspace.
109
+ # "auto" html briefing on interactive runs; md only on headless or
110
+ # skill-invoked runs (the caller reads the md; render later at will)
111
+ # "html" always render the briefing page (references/html-briefing.md)
112
+ # "md" never render html
113
+ # "both" render and present both
114
+ output_format = "auto"
115
+
116
+ # Theme for the HTML briefing: empty = the shipped neutral professional
117
+ # theme, a `file:` path to a theme/brand spec, or inline directives
118
+ # (e.g. "Canvas #122543, accent #B66D46, sans-serif, dark-mode aware").
119
+ html_theme = ""
120
+
121
+ # Default audience shaping for the synthesis — freeform, empty = balanced
122
+ # technical/business register. Examples: "executive one-pager first, detail
123
+ # after", "engineering team, keep vendor marketing out".
124
+ audience = ""
125
+
126
+ # Registry of extra research surfaces — internal knowledge bases or search
127
+ # tools you subscribe to — consulted alongside web research in Run mode; each
128
+ # entry names the tool and when to use it. Installed search-shaped MCP tools
129
+ # are discovered automatically at the plan gate; an entry here adds routing
130
+ # guidance the discovery can't infer.
131
+ #
132
+ # Examples:
133
+ # external_sources = [
134
+ # "Tavily MCP (tavily_search/tavily_extract): preferred web search + clean page extraction",
135
+ # "Perplexity Sonar MCP (perplexity_ask): cited synthesized answers — chase its citations as the sources",
136
+ # "xAI X Search MCP: live X/Twitter posts and threads, for user-voice and sentiment dimensions",
137
+ # "Gartner MCP (corp:gartner_query): analyst data on enterprise software markets",
138
+ # ]
139
+ external_sources = []
140
+
141
+ # Polish passes applied to research.md at finalize. Entries are `skill:NAME`
142
+ # directives, `file:` style guides, or plain-text instructions.
143
+ doc_standards = ["skill:bmad-review lenses=structure,prose"]
144
+
145
+ # Handoffs executed at finalize to route the report beyond local files. Each
146
+ # entry names the tool and what to do; unavailable tools are skipped and
147
+ # flagged.
148
+ #
149
+ # Examples:
150
+ # "NotebookLM (notebooklm-mcp): create a notebook from research.md plus the top sources, generate an audio overview, return the notebook URL"
151
+ # "Confluence (corp:confluence_upload): publish research.md to the RESEARCH space, return the page URL"
152
+ external_handoffs = []
153
+
154
+ # Executed after finalize. A string scalar is one instruction; an array is a
155
+ # sequence. Empty = the run ends with the finalize summary.
156
+ on_complete = ""
157
+
158
+ # ---------------------------------------------------------------------------
159
+ # Research types — subject lenses. Each type is a pack: a policy and craft
160
+ # card (prioritized dimensions, non-obvious source craft, freshness bars,
161
+ # two-source classes, downstream bindings) used by all three modes — it
162
+ # shapes drafted prompts, native runs, and processed-report gap checks
163
+ # alike. `when` guides type inference from the user's ask; an explicitly
164
+ # requested type always wins. The decision shape (explore vs select) is
165
+ # orthogonal — any type can end in a selection matrix.
166
+ #
167
+ # Keyed by `code`: an override with a matching code replaces the shipped
168
+ # type, a new code appends. Empty `pack` disables a type.
169
+ #
170
+ # Example (add an org-specific type in team/user override TOML):
171
+ # [[workflow.research_types]]
172
+ # code = "regulatory"
173
+ # name = "Regulatory Research"
174
+ # when = "Compliance posture, licensing, or regulatory exposure for a product or market."
175
+ # pack = "file:{project-root}/_bmad/custom/packs/regulatory.md"
176
+ # ---------------------------------------------------------------------------
177
+
178
+ [[workflow.research_types]]
179
+ code = "market"
180
+ name = "Market Research"
181
+ when = "Market opportunity, customers, competition, sizing, or go-to-market for a product or business decision."
182
+ pack = "types/market.md"
183
+
184
+ [[workflow.research_types]]
185
+ code = "domain"
186
+ name = "Domain Research"
187
+ when = "Understanding an industry, sector, or field: structure, players, rules, vocabulary, dynamics."
188
+ pack = "types/domain.md"
189
+
190
+ [[workflow.research_types]]
191
+ code = "technical"
192
+ name = "Technical Research"
193
+ when = "A technology area's landscape, patterns, integration approaches, and implementation reality."
194
+ pack = "types/technical.md"
195
+
196
+ [[workflow.research_types]]
197
+ code = "competitive"
198
+ name = "Competitive Research"
199
+ when = "Teardown of specific named competitors: offers, pricing, positioning, trajectory, their customers' sentiment."
200
+ pack = "types/competitive.md"
201
+
202
+ [[workflow.research_types]]
203
+ code = "user-voice"
204
+ name = "User-Voice Research"
205
+ when = "What users of a product or category actually experience and want: reviews, communities, jobs-to-be-done."
206
+ pack = "types/user-voice.md"
207
+
208
+ [[workflow.research_types]]
209
+ code = "academic-lit"
210
+ name = "Academic Literature"
211
+ when = "Published research: literature review, state of the art, grounding an approach in papers."
212
+ pack = "types/academic-lit.md"
@@ -0,0 +1,8 @@
1
+ # Draft
2
+
3
+ Build a deep-research prompt the user runs themselves — in conversation, fast, not a project. The pack's craft travels inside the prompt so the outside tool works to this harness's standard.
4
+
5
+ 1. Open the floor before any structured questions: invite the decision they're facing and anything they already have — briefs, links, a prior report, half-formed constraints — in one turn, then ask only what's still missing. Nail the **decision**, topic, and type; load the pack. Ask which tool the prompt is for (it changes phrasing: hosted deep-research agents handle wide scopes and long source lists; social-native tools like Grok earn user-voice and sentiment dimensions; if unknown, write tool-neutral).
6
+ 2. Compose the prompt from the pack: the dimensions as explicit research questions pruned to the decision, the freshness bars as recency requirements, the two-source expectation for its critical claim classes, the audience, the source policy — `{workflow.preferred_sources}` named as sources to prefer, `{workflow.banned_sources}` as sources never to cite — and a **non-negotiable citation demand**: every claim with source URL and publication date, contrary evidence reported, gaps admitted rather than padded. Structure the requested output so Process can extract it cleanly (findings per dimension, a source list).
7
+ 3. Bind `{doc_workspace}`: expand the folder name deterministically (`uv run scripts/recon_kit.py slug "<topic>" --type <type> --pattern "{workflow.run_folder_pattern}"` — same expansion every mode, so the report comes back to the same folder) under `{workflow.research_output_path}`, init the memlog with the decision context, save the prompt as `{doc_workspace}/brief.md`, and present it paste-ready in chat.
8
+ 4. Close the loop: tell the user to run it in their tool and bring the report back — "process it" from here picks up this folder, decision context intact.
@@ -0,0 +1,11 @@
1
+ # Finalize
2
+
3
+ Every mode ends here once `research.md` is assembled.
4
+
5
+ 1. `research.md` is complete per `references/synthesis.md`: decision-first summary, findings, contrary evidence where found, recommendations with downstream bindings, source appendix, staleness map. Frontmatter metadata (`type`, `topic`, `decision`, `source`, `status`, dates) is what lets every downstream consumer trust it without reprocessing.
6
+ 2. **Citation check — mechanical, then semantic.** Run `uv run scripts/recon_kit.py citations {doc_workspace}/research.md` — it diffs inline `[n]` markers against the appendix and lists dangling markers and orphaned rows exactly; fix what it reports. Then a fresh-context subagent does only the judgment half: does each cited source actually say what the text claims? It never rewrites findings — a claim whose source doesn't back it gets its confidence downgraded and the mismatch logged as an `event`.
7
+ 3. Render per `{workflow.output_format}` (see `references/html-briefing.md`): `auto` renders the briefing page on interactive runs, skips on headless/skill-invoked; `html`/`both` always; `md` never. `research.md` always exists — the briefing is its regenerable face.
8
+ 4. Polish: apply each `{workflow.doc_standards}` entry (a `skill:`, `file:`, or plain-text directive) to `research.md`.
9
+ 5. Execute each `{workflow.external_handoffs}` entry (NotebookLM, Confluence, …) — invoke the named tool, surface returned URLs; skip and flag unavailable tools.
10
+ 6. Tell the user what exists and where — report, briefing, imports, memlog — plus what the staleness map says to re-check and when, and that Refresh/Deepen handle it. Invoke `bmad-help` to suggest the next step.
11
+ 7. Run `{workflow.on_complete}` if non-empty — a string is one instruction, an array is a sequence.
@@ -0,0 +1,16 @@
1
+ # HTML Briefing
2
+
3
+ Generate `research-briefing.html` in `{doc_workspace}` after `research.md` is final, when `{workflow.output_format}` calls for it: `"auto"` renders on interactive runs and skips on headless/skill-invoked runs (the md is always there to render from later), `"html"`/`"both"` always render, `"md"` never. The page is a full-fidelity presentation of the report, never a second source of truth — same claims, same numbers, same citations; nothing is lost by reading it instead of the markdown.
4
+
5
+ ## Requirements
6
+
7
+ - **Self-contained single file**: inline CSS and JS, no external requests of any kind (no CDN, no fonts, no remote images). It must render from a `file://` open, offline, forever.
8
+ - **Structure**: a header (topic, type, decision, date, depth, verification level) → the executive summary as the opening card → sticky table of contents → dimension sections → contrary evidence (when present) → recommendations → collapsible source appendix → staleness map.
9
+ - **Confidence is visual**: every claim carries its badge — verified / medium / low / `unverified` / disputed — color-coded with the status text always present (never color alone). Unverified and disputed must be *more* prominent than verified, not less.
10
+ - **Sources are live**: inline `[n]` markers link to the appendix row; appendix rows link out to the source URL. Source URLs are untrusted content — never hand-escape them: generate the appendix table with `uv run scripts/recon_kit.py escape-sources {doc_workspace}/research.md` and embed its `html` output, which escapes every cell, anchors each row (`id="src-n"`), and links only validated `http(s)` URLs (anything else renders as plain text; the script lists it in `invalid_urls`). Apply the same escape discipline to any other source-derived text you place in attributes.
11
+ - **Charts sparingly**: only where the data genuinely benefits (market size trajectory, decision matrix scores) — simple inline SVG, labeled axes, no library.
12
+ - **Responsive and theme-aware**: readable on a phone; respect `prefers-color-scheme` for light/dark.
13
+
14
+ ## Theme
15
+
16
+ `{workflow.html_theme}` governs: a `file:` path loads a theme/brand spec to follow; inline text is applied as directives; empty means the shipped default — neutral, professional, generous whitespace, system font stack, one restrained accent color. Whatever the theme, the confidence-badge semantics above are non-negotiable.
@@ -0,0 +1,11 @@
1
+ # Refresh and Deepen
2
+
3
+ Lifecycle intents on an existing run folder.
4
+
5
+ ## Refresh
6
+
7
+ Read `research.md` and `.memlog.md` — never re-research from scratch. Build the refresh set mechanically: assemble the claims (`claim`, `class`, `pub_date`) from the ledger, map the pack's freshness bars to a months-per-class JSON, and run `uv run scripts/recon_kit.py staleness <claims.json> --windows '<map>'` — the stale flags are the candidate set. Confirm it in one exchange, re-verify just those claims, and deliver a **delta report** (confirmed / changed / overturned, new sources) appended to `research.md` with the frontmatter `updated` bumped. Claims outside the set keep their status. An overturned load-bearing claim triggers an explicit warning naming the downstream artifacts that consumed it.
8
+
9
+ ## Deepen
10
+
11
+ Drill into one dimension or add a new one without touching the rest: mini plan gate, acquire → verify for that slice only (or a drafted follow-up prompt when the user's tool is better placed), merge into `research.md`, update only the synthesis sections the new material affects — a deepening that changes no conclusion says so.
@@ -0,0 +1,10 @@
1
+ # Process
2
+
3
+ For a report the user names or drops ("there's a research report at <path>, process it"):
4
+
5
+ 1. **File it.** Find or create the run folder: if a drafted brief for this topic exists, that folder is the target; otherwise infer type and topic from the report (confirm in one line), bind `{doc_workspace}` (expand the folder name with `uv run scripts/recon_kit.py slug` as in Draft), and init the memlog. Move or copy the original into `{doc_workspace}/imports/` untouched — full fidelity is preserved there, and nowhere else.
6
+ 2. **Record provenance** in the memlog: what produced it (which tool or firm), when (ask if not evident — production date drives staleness), and what the user wants decided from it.
7
+ 3. **Extract.** A subagent (fresh context, firewall rules) reads the import and pulls every claim bearing on the decision into digest files under `{doc_workspace}/digests/` — standard shape `{claim, source, publisher, pub_date, accessed, confidence, class}`, keeping the original's citations (the cited source is the publisher; the import is the via). Multiple imports each get their own digest; contradictions between them are findings, not noise.
8
+ 4. **Check against the pack**: which of the type's dimensions the material covers, which are open, where its claims fall inside two-source classes but rest on one publisher. Verification per the resolved `validation` level (`references/verification.md`) — at `normal` this is a spot-check of the load-bearing claims only, minutes not hours.
9
+ 5. **Distill** into `research.md` per `references/synthesis.md` — the succinct, cited, decision-first summary with full metadata frontmatter (topic, type, decision, `source:` provenance, dates, status). This is the artifact downstream skills read; nobody ever reprocesses the import. Open dimensions are listed honestly with a one-line route: draft a follow-up prompt, or a targeted Run on the gap.
10
+ 6. Finalize per `references/finalize.md`.