bmad-method 6.10.1-next.3 → 6.10.1-next.30

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 (192) hide show
  1. package/.claude-plugin/marketplace.json +52 -27
  2. package/package.json +6 -3
  3. package/removals.txt +5 -0
  4. package/src/bmm-skills/1-analysis/bmad-agent-analyst/customize.toml +19 -4
  5. package/src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md +1 -1
  6. package/src/bmm-skills/1-analysis/bmad-product-brief/customize.toml +5 -3
  7. package/src/bmm-skills/2-plan-workflows/bmad-prd/SKILL.md +2 -0
  8. package/src/bmm-skills/2-plan-workflows/bmad-prd/customize.toml +5 -3
  9. package/src/{core-skills → bmm-skills/2-plan-workflows}/bmad-spec/SKILL.md +18 -3
  10. package/src/{core-skills → bmm-skills/2-plan-workflows}/bmad-spec/assets/spec-template.md +1 -1
  11. package/src/bmm-skills/2-plan-workflows/bmad-spec/assets/stories-schema.md +44 -0
  12. package/src/{core-skills → bmm-skills/2-plan-workflows}/bmad-spec/customize.toml +3 -4
  13. package/src/bmm-skills/2-plan-workflows/bmad-ux/SKILL.md +1 -1
  14. package/src/bmm-skills/2-plan-workflows/bmad-ux/customize.toml +4 -2
  15. package/src/bmm-skills/3-solutioning/bmad-architecture/SKILL.md +3 -3
  16. package/src/bmm-skills/3-solutioning/bmad-architecture/customize.toml +4 -2
  17. package/src/bmm-skills/4-implementation/bmad-agent-dev/customize.toml +4 -11
  18. package/src/bmm-skills/4-implementation/bmad-code-review/SKILL.md +2 -4
  19. package/src/bmm-skills/4-implementation/bmad-code-review/customize.toml +68 -0
  20. package/src/{core-skills/bmad-review-adversarial-general/SKILL.md → bmm-skills/4-implementation/bmad-code-review/review-prompts/adversarial.md} +5 -6
  21. package/src/{core-skills/bmad-review-edge-case-hunter/SKILL.md → bmm-skills/4-implementation/bmad-code-review/review-prompts/edge-case-hunter.md} +21 -6
  22. package/src/{core-skills/bmad-review-verification-gap/SKILL.md → bmm-skills/4-implementation/bmad-code-review/review-prompts/verification-gap.md} +4 -5
  23. package/src/bmm-skills/4-implementation/bmad-code-review/steps/step-01-gather-context.md +7 -5
  24. package/src/bmm-skills/4-implementation/bmad-code-review/steps/step-02-review.md +10 -24
  25. package/src/bmm-skills/4-implementation/bmad-code-review/steps/step-03-triage.md +3 -4
  26. package/src/bmm-skills/4-implementation/bmad-dev-auto/SKILL.md +6 -95
  27. package/src/bmm-skills/4-implementation/bmad-dev-auto/customize.toml +84 -0
  28. package/src/bmm-skills/4-implementation/bmad-dev-auto/references/deletion-check.md +14 -0
  29. package/src/bmm-skills/4-implementation/bmad-dev-auto/review-prompts/adversarial.md +36 -0
  30. package/src/bmm-skills/4-implementation/bmad-dev-auto/review-prompts/edge-case-hunter.md +88 -0
  31. package/src/bmm-skills/4-implementation/bmad-dev-auto/review-prompts/verification-gap.md +105 -0
  32. package/src/bmm-skills/4-implementation/bmad-dev-auto/spec-template.md +3 -2
  33. package/src/bmm-skills/4-implementation/bmad-dev-auto/step-01-clarify-and-route.md +31 -14
  34. package/src/bmm-skills/4-implementation/bmad-dev-auto/step-02-plan.md +8 -13
  35. package/src/bmm-skills/4-implementation/bmad-dev-auto/step-03-implement.md +8 -6
  36. package/src/bmm-skills/4-implementation/bmad-dev-auto/step-04-review.md +32 -34
  37. package/src/bmm-skills/4-implementation/bmad-dev-auto/workflow.md +104 -0
  38. package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +6 -108
  39. package/src/bmm-skills/4-implementation/bmad-quick-dev/customize.toml +83 -0
  40. package/src/bmm-skills/4-implementation/bmad-quick-dev/references/deletion-check.md +14 -0
  41. package/src/bmm-skills/4-implementation/bmad-quick-dev/render.py +413 -0
  42. package/src/bmm-skills/4-implementation/bmad-quick-dev/review-prompts/adversarial.md +36 -0
  43. package/src/bmm-skills/4-implementation/bmad-quick-dev/review-prompts/edge-case-hunter.md +88 -0
  44. package/src/bmm-skills/4-implementation/bmad-quick-dev/review-prompts/verification-gap.md +105 -0
  45. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md +11 -13
  46. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-02-plan.md +4 -9
  47. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-03-implement.md +9 -5
  48. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-04-review.md +8 -20
  49. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-05-present.md +4 -4
  50. package/src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md +12 -13
  51. package/src/bmm-skills/4-implementation/bmad-quick-dev/sync-sprint-status.md +6 -6
  52. package/src/bmm-skills/4-implementation/bmad-quick-dev/workflow.md +86 -0
  53. package/src/bmm-skills/4-implementation/bmad-retrospective/SKILL.md +4 -4
  54. package/src/bmm-skills/4-implementation/bmad-sprint-planning/SKILL.md +2 -2
  55. package/src/bmm-skills/4-implementation/bmad-sprint-status/SKILL.md +4 -4
  56. package/src/bmm-skills/module-help.csv +5 -10
  57. package/src/bmm-skills/module.yaml +2 -5
  58. package/src/bmm-skills/v6-shims/README.md +25 -0
  59. package/src/bmm-skills/{3-solutioning → v6-shims}/bmad-create-architecture/SKILL.md +1 -1
  60. package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-create-prd/SKILL.md +3 -3
  61. package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/SKILL.md +3 -1
  62. package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/SKILL.md +3 -1
  63. package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/customize.toml +3 -0
  64. package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +14 -0
  65. package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-edit-prd/SKILL.md +3 -3
  66. package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +14 -0
  67. package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +14 -0
  68. package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-validate-prd/SKILL.md +3 -3
  69. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +26 -103
  70. package/src/core-skills/bmad-advanced-elicitation/customize.toml +54 -0
  71. package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +233 -0
  72. package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +228 -0
  73. package/src/core-skills/bmad-brainstorming/SKILL.md +3 -3
  74. package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +2 -0
  75. package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +1 -1
  76. package/src/core-skills/bmad-brainstorming/scripts/brain.py +36 -6
  77. package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +22 -0
  78. package/src/core-skills/bmad-customize/SKILL.md +2 -2
  79. package/src/core-skills/bmad-deep-recon/SKILL.md +82 -0
  80. package/src/core-skills/bmad-deep-recon/assets/research.template.md +18 -0
  81. package/src/core-skills/bmad-deep-recon/customize.toml +212 -0
  82. package/src/core-skills/bmad-deep-recon/references/draft.md +8 -0
  83. package/src/core-skills/bmad-deep-recon/references/finalize.md +11 -0
  84. package/src/core-skills/bmad-deep-recon/references/html-briefing.md +16 -0
  85. package/src/core-skills/bmad-deep-recon/references/lifecycle.md +11 -0
  86. package/src/core-skills/bmad-deep-recon/references/process.md +10 -0
  87. package/src/core-skills/bmad-deep-recon/references/run.md +73 -0
  88. package/src/core-skills/bmad-deep-recon/references/selection.md +13 -0
  89. package/src/core-skills/bmad-deep-recon/references/synthesis.md +16 -0
  90. package/src/core-skills/bmad-deep-recon/references/verification.md +29 -0
  91. package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +322 -0
  92. package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +144 -0
  93. package/src/core-skills/bmad-deep-recon/types/academic-lit.md +19 -0
  94. package/src/core-skills/bmad-deep-recon/types/competitive.md +19 -0
  95. package/src/core-skills/bmad-deep-recon/types/domain.md +19 -0
  96. package/src/core-skills/bmad-deep-recon/types/market.md +19 -0
  97. package/src/core-skills/bmad-deep-recon/types/technical.md +19 -0
  98. package/src/core-skills/bmad-deep-recon/types/user-voice.md +19 -0
  99. package/src/core-skills/bmad-forge-idea/SKILL.md +2 -2
  100. package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +4 -1
  101. package/src/core-skills/bmad-help/SKILL.md +1 -1
  102. package/src/core-skills/bmad-party-mode/SKILL.md +2 -2
  103. package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +11 -3
  104. package/src/core-skills/bmad-review/SKILL.md +49 -0
  105. package/src/core-skills/bmad-review/customize.toml +141 -0
  106. package/src/core-skills/bmad-review/references/editorial-common.md +56 -0
  107. package/src/core-skills/bmad-review/references/lens-adversarial.md +18 -0
  108. package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +54 -0
  109. package/src/core-skills/bmad-review/references/lens-prose.md +7 -0
  110. package/src/core-skills/bmad-review/references/lens-structure.md +9 -0
  111. package/src/core-skills/bmad-review/references/lens-verification-gap.md +82 -0
  112. package/src/core-skills/bmad-review/references/structure-models.md +44 -0
  113. package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +62 -0
  114. package/src/core-skills/bmad-review/scripts/word_metrics.py +102 -0
  115. package/src/core-skills/module-help.csv +3 -7
  116. package/src/core-skills/module.yaml +5 -0
  117. package/src/core-skills/v6-shims/README.md +25 -0
  118. package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +6 -0
  119. package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +31 -0
  120. package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +6 -0
  121. package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +6 -0
  122. package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +6 -0
  123. package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +6 -0
  124. package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +6 -0
  125. package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
  126. package/src/scripts/config_utils.py +119 -0
  127. package/src/scripts/render_skill.py +400 -0
  128. package/src/scripts/resolve_config.py +32 -136
  129. package/src/scripts/resolve_customization.py +43 -184
  130. package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
  131. package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
  132. package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
  133. package/src/scripts/tests/test_config_utils.py +85 -0
  134. package/src/scripts/tests/test_resolve_config.py +89 -0
  135. package/src/scripts/tests/test_resolve_customization.py +27 -0
  136. package/tools/installer/core/installer.js +14 -6
  137. package/tools/installer/core/manifest-generator.js +1 -1
  138. package/tools/installer/ide/platform-codes.yaml +7 -0
  139. package/tools/installer/modules/custom-module-manager.js +12 -6
  140. package/tools/installer/modules/external-manager.js +12 -8
  141. package/tools/installer/modules/git-env.js +47 -0
  142. package/tools/installer/modules/official-modules.js +1 -1
  143. package/tools/installer/ui.js +22 -4
  144. package/tools/skill-validator.md +11 -1
  145. package/tools/validate-published-implementation-model.mjs +65 -0
  146. package/tools/validate-skills.js +33 -0
  147. package/src/bmm-skills/1-analysis/research/bmad-domain-research/SKILL.md +0 -96
  148. package/src/bmm-skills/1-analysis/research/bmad-domain-research/customize.toml +0 -41
  149. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-01-init.md +0 -137
  150. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +0 -229
  151. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +0 -238
  152. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +0 -206
  153. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +0 -234
  154. package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +0 -450
  155. package/src/bmm-skills/1-analysis/research/bmad-domain-research/research.template.md +0 -29
  156. package/src/bmm-skills/1-analysis/research/bmad-market-research/SKILL.md +0 -96
  157. package/src/bmm-skills/1-analysis/research/bmad-market-research/customize.toml +0 -41
  158. package/src/bmm-skills/1-analysis/research/bmad-market-research/research.template.md +0 -29
  159. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-01-init.md +0 -184
  160. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +0 -239
  161. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +0 -251
  162. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +0 -261
  163. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +0 -173
  164. package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +0 -484
  165. package/src/bmm-skills/1-analysis/research/bmad-technical-research/SKILL.md +0 -96
  166. package/src/bmm-skills/1-analysis/research/bmad-technical-research/customize.toml +0 -41
  167. package/src/bmm-skills/1-analysis/research/bmad-technical-research/research.template.md +0 -29
  168. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-01-init.md +0 -137
  169. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +0 -239
  170. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +0 -248
  171. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +0 -202
  172. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +0 -233
  173. package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +0 -493
  174. package/src/core-skills/bmad-brainstorming/analysis/catalog-analysis.md +0 -239
  175. package/src/core-skills/bmad-brainstorming/analysis/method-matrix.csv +0 -109
  176. package/src/core-skills/bmad-editorial-review-prose/SKILL.md +0 -86
  177. package/src/core-skills/bmad-editorial-review-structure/SKILL.md +0 -179
  178. package/src/core-skills/bmad-index-docs/SKILL.md +0 -66
  179. package/src/core-skills/bmad-shard-doc/SKILL.md +0 -105
  180. /package/src/{core-skills → bmm-skills/2-plan-workflows}/bmad-spec/assets/headless-schemas.md +0 -0
  181. /package/src/{core-skills/bmad-review-edge-case-hunter → bmm-skills/4-implementation/bmad-code-review}/references/deletion-check.md +0 -0
  182. /package/src/bmm-skills/{3-solutioning → v6-shims}/bmad-create-architecture/customize.toml +0 -0
  183. /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-create-prd/customize.toml +0 -0
  184. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/checklist.md +0 -0
  185. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/customize.toml +0 -0
  186. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/discover-inputs.md +0 -0
  187. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/template.md +0 -0
  188. /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/checklist.md +0 -0
  189. /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-edit-prd/customize.toml +0 -0
  190. /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-validate-prd/customize.toml +0 -0
  191. /package/src/core-skills/bmad-advanced-elicitation/{methods.csv → assets/methods.csv} +0 -0
  192. /package/src/core-skills/bmad-party-mode/scripts/tests/{test-resolve_party.py → test_resolve_party.py} +0 -0
@@ -7,59 +7,84 @@
7
7
  "license": "MIT",
8
8
  "homepage": "https://github.com/bmad-code-org/BMAD-METHOD",
9
9
  "repository": "https://github.com/bmad-code-org/BMAD-METHOD",
10
- "keywords": ["bmad", "agile", "ai", "orchestrator", "development", "methodology", "agents"],
10
+ "keywords": ["bmad", "agile", "ai", "orchestrator", "development", "methodology", "agents", "brainstorming", "thinking"],
11
11
  "plugins": [
12
12
  {
13
- "name": "bmad-pro-skills",
13
+ "name": "bmad-brainstorming",
14
14
  "source": "./",
15
- "description": "Next level skills for power usersadvanced prompting techniques, agent management, and more.",
16
- "version": "6.8.0",
15
+ "description": "Facilitated brainstorming with a curated technique library diverge, converge, and capture ideas with a visual technique picker.",
16
+ "version": "6.10.0",
17
17
  "author": {
18
18
  "name": "Brian (BMad) Madison"
19
19
  },
20
- "skills": [
21
- "./src/core-skills/bmad-help",
22
- "./src/core-skills/bmad-brainstorming",
23
- "./src/core-skills/bmad-customize",
24
- "./src/core-skills/bmad-spec",
25
- "./src/core-skills/bmad-party-mode",
26
- "./src/core-skills/bmad-shard-doc",
27
- "./src/core-skills/bmad-advanced-elicitation",
28
- "./src/core-skills/bmad-editorial-review-prose",
29
- "./src/core-skills/bmad-editorial-review-structure",
30
- "./src/core-skills/bmad-index-docs",
31
- "./src/core-skills/bmad-review-adversarial-general",
32
- "./src/core-skills/bmad-review-edge-case-hunter",
33
- "./src/core-skills/bmad-review-verification-gap"
34
- ]
20
+ "skills": ["./src/core-skills/bmad-brainstorming"]
21
+ },
22
+ {
23
+ "name": "bmad-party-mode",
24
+ "source": "./",
25
+ "description": "Multi-perspective roundtable discussions — collide viewpoints between agents or custom personas to stress-test any topic.",
26
+ "version": "6.10.0",
27
+ "author": {
28
+ "name": "Brian (BMad) Madison"
29
+ },
30
+ "skills": ["./src/core-skills/bmad-party-mode"]
31
+ },
32
+ {
33
+ "name": "bmad-forge-idea",
34
+ "source": "./",
35
+ "description": "Pressure-test an idea with persona-driven interrogation until it hardens, proves out, or dies cheaply.",
36
+ "version": "6.10.0",
37
+ "author": {
38
+ "name": "Brian (BMad) Madison"
39
+ },
40
+ "skills": ["./src/core-skills/bmad-forge-idea"]
41
+ },
42
+ {
43
+ "name": "bmad-deep-recon",
44
+ "source": "./",
45
+ "description": "Decision-grade research harness — draft deep-research prompts for your own AI tools, process finished reports into downstream-ready cited summaries, or run the research directly; six research types, claim verification, and a living refresh cycle.",
46
+ "version": "6.10.0",
47
+ "author": {
48
+ "name": "Brian (BMad) Madison"
49
+ },
50
+ "skills": ["./src/core-skills/bmad-deep-recon"]
51
+ },
52
+ {
53
+ "name": "bmad-analysis",
54
+ "source": "./",
55
+ "description": "The BMad thinking pack — structured brainstorming, idea pressure-testing, and multi-perspective agent roundtables in one install.",
56
+ "version": "6.10.0",
57
+ "author": {
58
+ "name": "Brian (BMad) Madison"
59
+ },
60
+ "skills": ["./src/core-skills/bmad-brainstorming", "./src/core-skills/bmad-party-mode", "./src/core-skills/bmad-forge-idea"]
35
61
  },
36
62
  {
37
63
  "name": "bmad-method-lifecycle",
38
64
  "source": "./",
39
65
  "description": "Full-lifecycle AI development framework — agents and workflows for product analysis, planning, architecture, and implementation.",
40
- "version": "6.8.0",
66
+ "version": "6.10.0",
41
67
  "author": {
42
68
  "name": "Brian (BMad) Madison"
43
69
  },
44
70
  "skills": [
71
+ "./src/core-skills/bmad-help",
72
+ "./src/core-skills/bmad-customize",
73
+ "./src/core-skills/bmad-advanced-elicitation",
74
+ "./src/core-skills/bmad-review",
45
75
  "./src/bmm-skills/1-analysis/bmad-product-brief",
46
76
  "./src/bmm-skills/1-analysis/bmad-prfaq",
47
77
  "./src/bmm-skills/1-analysis/bmad-agent-analyst",
48
78
  "./src/bmm-skills/1-analysis/bmad-agent-tech-writer",
49
79
  "./src/bmm-skills/1-analysis/bmad-document-project",
50
- "./src/bmm-skills/1-analysis/research/bmad-domain-research",
51
- "./src/bmm-skills/1-analysis/research/bmad-market-research",
52
- "./src/bmm-skills/1-analysis/research/bmad-technical-research",
80
+ "./src/core-skills/bmad-deep-recon",
53
81
  "./src/bmm-skills/2-plan-workflows/bmad-agent-pm",
54
82
  "./src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer",
55
83
  "./src/bmm-skills/2-plan-workflows/bmad-prd",
56
- "./src/bmm-skills/2-plan-workflows/bmad-create-prd",
57
- "./src/bmm-skills/2-plan-workflows/bmad-edit-prd",
58
- "./src/bmm-skills/2-plan-workflows/bmad-validate-prd",
84
+ "./src/bmm-skills/2-plan-workflows/bmad-spec",
59
85
  "./src/bmm-skills/2-plan-workflows/bmad-ux",
60
86
  "./src/bmm-skills/3-solutioning/bmad-agent-architect",
61
87
  "./src/bmm-skills/3-solutioning/bmad-architecture",
62
- "./src/bmm-skills/3-solutioning/bmad-create-architecture",
63
88
  "./src/bmm-skills/3-solutioning/bmad-check-implementation-readiness",
64
89
  "./src/bmm-skills/3-solutioning/bmad-create-epics-and-stories",
65
90
  "./src/bmm-skills/3-solutioning/bmad-generate-project-context",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "bmad-method",
4
- "version": "6.10.1-next.3",
4
+ "version": "6.10.1-next.30",
5
5
  "description": "Breakthrough Method of Agile AI-driven Development",
6
6
  "keywords": [
7
7
  "agile",
@@ -40,12 +40,15 @@
40
40
  "lint:fix": "eslint . --ext .js,.cjs,.mjs,.yaml --fix",
41
41
  "lint:md": "markdownlint-cli2 \"**/*.md\"",
42
42
  "prepare": "command -v husky >/dev/null 2>&1 && husky || exit 0",
43
- "quality": "npm run format:check && npm run lint && npm run lint:md && npm run docs:build && npm run test:install && npm run test:urls && npm run validate:refs && npm run validate:skills && npm run docs:validate-sidebar",
43
+ "quality": "npm run format:check && npm run lint && npm run lint:md && npm run docs:build && npm run test:site-url && npm run test:install && npm run test:urls && npm run test:renderer && npm run test:dev-auto-contract && npm run validate:refs && npm run validate:skills && npm run docs:validate-sidebar",
44
44
  "rebundle": "node tools/installer/bundlers/bundle-web.js rebundle",
45
- "test": "npm run test:refs && npm run test:install && npm run test:urls && npm run test:channels && npm run test:skills && npm run lint && npm run lint:md && npm run format:check",
45
+ "test": "npm run test:refs && npm run test:install && npm run test:urls && npm run test:site-url && npm run test:channels && npm run test:renderer && npm run test:dev-auto-contract && npm run test:skills && npm run lint && npm run lint:md && npm run format:check",
46
46
  "test:channels": "node test/test-installer-channels.js",
47
+ "test:dev-auto-contract": "node test/test-dev-auto-contract.js",
47
48
  "test:install": "node test/test-installation-components.js",
48
49
  "test:refs": "node test/test-file-refs-csv.js",
50
+ "test:renderer": "uv run --python 3.11 python -m unittest src/scripts/tests/test_config_utils.py src/scripts/tests/test_resolve_config.py src/scripts/tests/test_resolve_customization.py && node test/test-quick-dev-renderer.js && node test/test-dev-auto-renderer.js",
51
+ "test:site-url": "node test/test-site-url.mjs",
49
52
  "test:skills": "node test/test-validate-skills.js",
50
53
  "test:urls": "node test/test-parse-source-urls.js",
51
54
  "validate:refs": "node tools/validate-file-refs.js --strict",
package/removals.txt CHANGED
@@ -68,3 +68,8 @@ bmad-investigate
68
68
  # bmad-auto-setup: renamed to bmad-loop-setup as part of the bmad-auto ->
69
69
  # bmad-loop module rename (BMad Automator's replacement).
70
70
  bmad-auto-setup
71
+
72
+ # Removed skills (core streamline, post-v6.10.0)
73
+ # bmad-index-docs, bmad-shard-doc: retired outright.
74
+ bmad-index-docs
75
+ bmad-shard-doc
@@ -62,17 +62,32 @@ skill = "bmad-brainstorming"
62
62
  [[agent.menu]]
63
63
  code = "MR"
64
64
  description = "Market analysis, competitive landscape, customer needs and trends"
65
- skill = "bmad-market-research"
65
+ prompt = "Invoke the `bmad-deep-recon` skill with the market research type pre-selected (forwarded activation: skip type inference)."
66
66
 
67
67
  [[agent.menu]]
68
68
  code = "DR"
69
69
  description = "Industry domain deep dive, subject matter expertise and terminology"
70
- skill = "bmad-domain-research"
70
+ prompt = "Invoke the `bmad-deep-recon` skill with the domain research type pre-selected (forwarded activation: skip type inference)."
71
71
 
72
72
  [[agent.menu]]
73
73
  code = "TR"
74
- description = "Technical feasibility, architecture options and implementation approaches"
75
- skill = "bmad-technical-research"
74
+ description = "Technical landscape, architecture patterns and implementation reality"
75
+ prompt = "Invoke the `bmad-deep-recon` skill with the technical research type pre-selected (forwarded activation: skip type inference)."
76
+
77
+ [[agent.menu]]
78
+ code = "TS"
79
+ description = "Choose between technologies, vendors, or tools — decision matrix and recommendation"
80
+ prompt = "Invoke the `bmad-deep-recon` skill in the select decision shape (forwarded activation: shape select; infer the subject type from the candidates)."
81
+
82
+ [[agent.menu]]
83
+ code = "CR"
84
+ description = "Competitive teardown of named competitors — offers, pricing, positioning, trajectory"
85
+ prompt = "Invoke the `bmad-deep-recon` skill with the competitive research type pre-selected (forwarded activation: skip type inference)."
86
+
87
+ [[agent.menu]]
88
+ code = "UV"
89
+ description = "User-voice research — reviews, communities, jobs-to-be-done"
90
+ prompt = "Invoke the `bmad-deep-recon` skill with the user-voice research type pre-selected (forwarded activation: skip type inference)."
76
91
 
77
92
  [[agent.menu]]
78
93
  code = "CB"
@@ -64,7 +64,7 @@ Omit keys for artifacts that were not produced.
64
64
 
65
65
  ## Discovery
66
66
 
67
- Conversationally surface what the user brings, why this brief exists, the domain, and the form-factor (mobile / web / desktop / multi-surface / hardware / API — what *is* this thing) — echo back how each shapes your approach. Open with space for the full picture: invite a brain dump and ask up front for any source material they already have (memo, deck, transcript, prior brief, slack thread). Read what exists first; ask only what is missing. After the dump, a simple "anything else?" often surfaces what they almost forgot. Drill into specifics only after the broad shape is on the table; premature granular questions interrupt the dump and miss the room. Get a read on stakes early (passion project, internal pitch, investor input, public launch), and let that calibrate how hard you push. During the dump, spawn web-research subagents to ground the picture — landscape, comparables, current state — AI especially, where training data ages by the week. Subagent searches; parent gets a digest. Deep work (full market sizing, exhaustive teardowns) → suggest `bmad-market-research` or `bmad-domain-research`.
67
+ Conversationally surface what the user brings, why this brief exists, the domain, and the form-factor (mobile / web / desktop / multi-surface / hardware / API — what *is* this thing) — echo back how each shapes your approach. Open with space for the full picture: invite a brain dump and ask up front for any source material they already have (memo, deck, transcript, prior brief, slack thread). Read what exists first; ask only what is missing. After the dump, a simple "anything else?" often surfaces what they almost forgot. Drill into specifics only after the broad shape is on the table; premature granular questions interrupt the dump and miss the room. Get a read on stakes early (passion project, internal pitch, investor input, public launch), and let that calibrate how hard you push. During the dump, spawn web-research subagents to ground the picture — landscape, comparables, current state — AI especially, where training data ages by the week. Subagent searches; parent gets a digest. Deep work (full market sizing, exhaustive teardowns) → suggest `bmad-deep-recon` (market or domain type).
68
68
 
69
69
  Once stakes are read and the dump is captured, offer the working mode in the user's language:
70
70
 
@@ -53,7 +53,7 @@ run_folder_pattern = "brief-{project_name}-{date}"
53
53
  # findings before the user sees the draft. Encodes standards, not options.
54
54
  #
55
55
  # Examples:
56
- # "skill:bmad-editorial-review-prose"
56
+ # "skill:bmad-review lenses=structure,prose"
57
57
  # "file:{project-root}/_bmad/style-guides/company-voice.md"
58
58
  # "Convert all dates to ISO 8601 format."
59
59
  #
@@ -64,9 +64,11 @@ run_folder_pattern = "brief-{project_name}-{date}"
64
64
  #
65
65
  # Override the array in team/user TOML to add additional standards. Append-only:
66
66
  # base entries cannot be removed or replaced (resolver has no removal mechanism).
67
+ # The default entry runs bmad-review's two editorial lenses in order:
68
+ # structure, then prose on top of the structure findings. The `lenses=` suffix
69
+ # names them; drop it to let bmad-review pick what fits the content.
67
70
  doc_standards = [
68
- "skill:bmad-editorial-review-structure",
69
- "skill:bmad-editorial-review-prose",
71
+ "skill:bmad-review lenses=structure,prose",
70
72
  ]
71
73
 
72
74
  # External-source registry. Natural-language directives describing knowledge
@@ -15,6 +15,8 @@ You are a master facilitator and coach helping the user create, edit, or validat
15
15
 
16
16
  ## On Activation
17
17
 
18
+ **Forwarded activation:** if a caller invoked you with a stated intent and pre-resolved customization fields (e.g. the `bmad-create-prd` / `bmad-edit-prd` / `bmad-validate-prd` shims), honor them verbatim — skip your own intent inference, use the supplied values for those named fields, and resolve only the remaining fields from your own `customize.toml`.
19
+
18
20
  1. Resolve customization: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly and use defaults.
19
21
  2. Run `{workflow.activation_steps_prepend}`. Treat `{workflow.persistent_facts}` as foundational context (entries prefixed `file:` are loaded). `{workflow.external_sources}` is an org-configured registry of internal tools (knowledge bases, MCP tools); consult them alongside generic web research on the same triggers, org tools preferred when their directive matches. Research itself fires during Discovery — see **Research subagents**.
20
22
  3. Load `{project-root}/_bmad/bmm/config.yaml` (+ `config.user.yaml` if present). Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`. Missing keys → neutral defaults; never block.
@@ -71,7 +71,7 @@ run_folder_pattern = "prd-{project_name}-{date}"
71
71
  # findings before the user sees the draft. Encodes standards, not options.
72
72
  #
73
73
  # Examples:
74
- # "skill:bmad-editorial-review-prose"
74
+ # "skill:bmad-review lenses=structure,prose"
75
75
  # "file:{project-root}/_bmad/style-guides/company-voice.md"
76
76
  # "Convert all dates to ISO 8601 format."
77
77
  #
@@ -82,9 +82,11 @@ run_folder_pattern = "prd-{project_name}-{date}"
82
82
  #
83
83
  # Override the array in team/user TOML to add additional standards. Append-only:
84
84
  # base entries cannot be removed or replaced (resolver has no removal mechanism).
85
+ # The default entry runs bmad-review's two editorial lenses in order:
86
+ # structure, then prose on top of the structure findings. The `lenses=` suffix
87
+ # names them; drop it to let bmad-review pick what fits the content.
85
88
  doc_standards = [
86
- "skill:bmad-editorial-review-structure",
87
- "skill:bmad-editorial-review-prose",
89
+ "skill:bmad-review lenses=structure,prose",
88
90
  ]
89
91
 
90
92
  # External-source registry. Natural-language directives describing knowledge
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: bmad-spec
3
- description: Distill any intent input into the SPEC kernel + companions — the canonical, preservation-validated machine contract for downstream work. Use when the user says "create a spec", "distill this into a spec", "validate this spec", or "update the spec".
3
+ description: Distill any intent input into the SPEC kernel + companions — the canonical, preservation-validated machine contract for downstream work. Use when the user says "create a spec", "distill this into a spec", "validate this spec", "update the spec", or "break this into stories".
4
4
  ---
5
5
 
6
6
  # BMad Spec
@@ -20,7 +20,7 @@ Multiple skills may call to update the same spec over time.
20
20
 
21
21
  1. Resolve customization: `uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly.
22
22
  2. Run `{workflow.activation_steps_prepend}`. Treat `{workflow.persistent_facts}` as foundational context (`file:` entries are loaded).
23
- 3. Load `{project-root}/_bmad/core/config.yaml` (and `config.user.yaml` if present), root level and `bmm` section. Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`.
23
+ 3. Resolve config: `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (merges `_bmad/config.toml`, `_bmad/config.user.toml`, and the `_bmad/custom/` overrides). From the merged JSON resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{project_name}`, `{output_folder}` (under `core`), and `{date}`.
24
24
  4. Detect mode. **Headless** when any of: no TTY, programmatic caller (another skill or non-interactive runner), or the first message pre-supplies all inputs and asks for an artifact path back. **Interactive** otherwise. In interactive mode, greet by `{user_name}` in `{communication_language}`, stay in that language, and mention that `bmad-party-mode` and `bmad-advanced-elicitation` are available for deeper exploration on any field.
25
25
 
26
26
  Run `{workflow.activation_steps_append}`.
@@ -46,6 +46,7 @@ Inside the spec folder:
46
46
  SPEC.md ← uppercase, the kernel — DERIVED from .memlog.md, never hand-edited
47
47
  <companion-1>.md ← optional, content-typed (e.g. glossary.md); spec-authored ones are derived too
48
48
  <companion-2>.md
49
+ stories.yaml ← optional, written only by Story Breakdown — fixed name, never in companions:
49
50
  .memlog.md ← canonical, append-only memory; what SPEC.md is distilled from
50
51
  ```
51
52
 
@@ -99,6 +100,8 @@ Two rules govern companions:
99
100
 
100
101
  Pre-existing project-wide docs (e.g. `project-context.md`) that downstream needs are listed as **adopted companions**, never duplicated into SPEC.md or a spec-authored companion.
101
102
 
103
+ `stories.yaml`, when produced, is spec-authored but deliberately **not** a companion — see Story Breakdown below.
104
+
102
105
  ## Spec Law
103
106
 
104
107
  Every spec must satisfy these eight rules. The operation aims for them; the self-validate sweep enforces them.
@@ -126,9 +129,21 @@ Record the verdict for each pass to `.memlog.md` (`append --type event`). In int
126
129
 
127
130
  When the user points the skill at an existing spec folder (or its SPEC.md) with no change signal, offer to review assumptions or open questions, or determine what they want to do.
128
131
 
132
+ ## Story Breakdown (optional, interactive-only)
133
+
134
+ Requires `SPEC.md` on disk — run the normal Operation first if it doesn't exist yet. Headless runs never do this, even when the invocation text asks for it: if mode detection (On Activation, step 4) resolved headless, skip this section entirely and proceed with the normal headless response. In interactive mode, offer it at most once per run when the input reads as multiple independently shippable slices; a decline ends the offer for this run, not forever. Also run it on direct request ("break this into stories") whenever `SPEC.md` exists. When a spec update runs and `stories.yaml` exists, check the story descriptions against the updated spec; if any no longer matches, say so and offer to re-run Story Breakdown. The update itself never rewrites `stories.yaml`.
135
+
136
+ Either way, walk the capabilities and constraints with the user and propose a story per independently reviewable slice — this is a conversation, not a silent render. For each story, ask the user for `spec_checkpoint`, `done_checkpoint`, and any `invoke_dev_with` note rather than defaulting them silently; capturing that human judgment is what the fields are for. If the conversation surfaces load-bearing detail beyond dispatch notes (a constraint, a design decision), route it into SPEC.md or a companion — `invoke_dev_with` carries dispatch notes only (Spec Law rule 7 still applies).
137
+
138
+ The output is `stories.yaml`, a sibling of `SPEC.md` inside the spec folder, discovered by that fixed name — same convention as `SPEC.md` and `.memlog.md`. Never list it in `companions:` and never point a frontmatter key at it: companions carry the what-to-build contract every consumer reads; `stories.yaml` is input for whichever tool dispatches the stories.
139
+
140
+ Field definitions, the validity rules, and a worked example live in `assets/stories-schema.md`. Before writing or re-writing the file, check every entry against those rules; fix violations rather than presenting a file that fails them. Record the check's verdict to `.memlog.md` (`append --type event`), the same discipline as Self-Validate.
141
+
142
+ Derive `stories.yaml` from `.memlog.md` exactly like any other spec-authored artifact: log each proposed story (`--type decision`) as the user agrees to it, then render. On a later run against the same spec folder, re-derive the same way, handling ids per the schema's update semantics.
143
+
129
144
  ## Output
130
145
 
131
- **Interactive** — share the spec folder path conversationally. Name the capability count, the companions produced, and the verdict in one or two sentences. If `assumptions[]` or `open_questions[]` are non-empty, list them (short — one line each) and invite the user to walk through them. Make clear that addressing them can update the source input (if it was a file), the spec, or both — whichever combination the user prefers. Do not dump JSON or present a wall of output.
146
+ **Interactive** — share the spec folder path conversationally. Name the capability count, the companions produced, and the verdict in one or two sentences. Name the story count too if `stories.yaml` was written this run. If `assumptions[]` or `open_questions[]` are non-empty, list them (short — one line each) and invite the user to walk through them. Make clear that addressing them can update the source input (if it was a file), the spec, or both — whichever combination the user prefers. Do not dump JSON or present a wall of output.
132
147
 
133
148
  **Headless** — return JSON per `assets/headless-schemas.md`.
134
149
 
@@ -4,7 +4,7 @@ companions: [] # files downstream MUST read alongside SPEC.md. Paths may poi
4
4
  sources: [] # files fully absorbed into the SPEC (audit only; downstream does NOT read these). Never the memlog.
5
5
  ---
6
6
 
7
- > **Canonical contract.** This SPEC and the files in `companions:` are the complete, preservation-validated contract for what to build, test, and validate. Source documents listed in frontmatter are for traceability only — consult them only if you need narrative rationale or prose color this contract intentionally omits.
7
+ > **Canonical contract.** This SPEC and the files in `companions:` are the complete, preservation-validated contract for what to build, test, and validate. Source documents listed in frontmatter are for traceability — consult them only if you need narrative rationale or prose color this contract intentionally omits.
8
8
 
9
9
  # {Spec Title}
10
10
 
@@ -0,0 +1,44 @@
1
+ # Stories schema
2
+
3
+ `stories.yaml` — the optional output of Story Breakdown: a top-level YAML list, one entry per story, in execution order — stories run top to bottom. Sibling of `SPEC.md`, discovered by its fixed filename (same convention as `SPEC.md` and `.memlog.md`); never listed in `companions:`, never referenced from frontmatter.
4
+
5
+ ## Fields
6
+
7
+ | Field | Type | Required | Meaning |
8
+ |---|---|---|---|
9
+ | `id` | string | yes | Identity, unique within the file. Compared for equality and used as a filename prefix; carries no other meaning. Use unpadded integers (`"1"`), or composites (`"3-2"`) when the epic sits inside a larger project spec. No zero-padding — execution order is the list order, not filename sort. Pinned once the story's spec file exists (see Update semantics); until then it may be renumbered. |
10
+ | `title` | string, one line | yes | Display name; becomes the story's heading downstream. |
11
+ | `description` | string | yes | What this story covers, pointing into `SPEC.md` — not a story spec. Keep it to two sentences; a writing rule, not something tooling enforces. |
12
+ | `spec_checkpoint` | boolean | no (default `false`) | Set by the human at breakdown time; read only by the dispatching caller, never by the implementing dev skill. When true, a human reviews the story spec between planning and implementation. |
13
+ | `done_checkpoint` | boolean | no (default `false`) | Caller-only, like `spec_checkpoint`. When true, dispatch pauses after this story completes, before anything further runs. |
14
+ | `invoke_dev_with` | string | no (default `""`) | Free text appended verbatim to the prompt that dispatches this story; the implementing dev skill reads it as part of its prompt, and nothing else interprets it. If the text needs structure, put it inside the string. Which dev skill to invoke is the caller's configuration, never data in this file. |
15
+
16
+ ## Validity rules
17
+
18
+ 1. Every entry parses with all required fields; ids unique.
19
+ 2. Ids are prefix-free under the `<id>-` filename-matching convention: no id may equal another id plus a dash-suffix (`"3"` and `"3-2"` cannot coexist).
20
+ 3. No `status` field, ever.
21
+ 4. Ids are YAML strings, always quoted, containing only letters, digits, and dashes. An unquoted `id: 1` parses as a number and breaks string comparison; characters like `/` or `*` break the filename match.
22
+
23
+ ## Example
24
+
25
+ ```yaml
26
+ - id: "1"
27
+ title: Add rate limiting to the public API
28
+ description: >-
29
+ Introduce a token-bucket limiter in front of the public endpoints;
30
+ return 429 with a Retry-After header on limit breach.
31
+ spec_checkpoint: true
32
+ invoke_dev_with: >-
33
+ Rate limit state must be shared across instances; use the existing
34
+ Redis client, not in-process memory.
35
+ - id: "2"
36
+ title: Expose limiter metrics to the ops dashboard
37
+ description: >-
38
+ Emit per-route accept/reject counters the existing dashboard can
39
+ scrape; no new dashboard panels in this story.
40
+ ```
41
+
42
+ ## Update semantics
43
+
44
+ Updates to `stories.yaml` go through Story Breakdown: append the change to `.memlog.md`, then re-derive. An id is pinned once its story spec file exists (any `stories/<id>-*.md` in the spec folder): a pinned story keeps its id through edits, its removal retires the id, and retired ids are never reassigned. Stories with no spec file yet may be renumbered, reordered, or removed freely on re-derive — typically so ids keep following list order. Never give a story an id that collides with a `stories/` file belonging to a different story.
@@ -38,10 +38,9 @@ spec_template = "assets/spec-template.md"
38
38
  # Uppercase by convention to signal "the central source of truth."
39
39
  spec_filename = "SPEC.md"
40
40
 
41
- # Output path for spec folders. Lands directly under {output_folder}
42
- # so bmad-spec works in core-only installs and matches the
43
- # long-term BMad direction of grouping artifacts as siblings under
44
- # {output_folder}/<type>/ rather than nested inside planning vs
41
+ # Output path for spec folders. Lands directly under {output_folder},
42
+ # matching the long-term BMad direction of grouping artifacts as siblings
43
+ # under {output_folder}/<type>/ rather than nested inside planning vs
45
44
  # implementation folders.
46
45
  spec_output_path = "{output_folder}/specs"
47
46
 
@@ -87,4 +87,4 @@ Outcomes, in order:
87
87
  - **Key-screen mocks rendered.** Key-screens tool → `.working/` for surfaces where layout drives behavior or anchors visual language.
88
88
  - **Mock coverage confirmed.** Walk every IA surface; classify *mocked* vs *spine-only*. Ask: *"These will be built from spine tables alone — any need a visual reference?"* Render more if named; log spine-only choices.
89
89
  - **Layout extracted, artifacts promoted.** Distill subagent re-reads each `.working/` and `imports/` artifact; lifts visual decisions into DESIGN.md and behavioral decisions into EXPERIENCE.md. Promote `.working/` keepers to `mockups/` (HTML) or `wireframes/` (Excalidraw); imports stay. Inline relative links at relevant spine sections; state spines-win-on-conflict once.
90
- - **Polished, handed off, closed.** Apply `{workflow.doc_standards}` in order. Execute `{workflow.external_handoffs}`; surface URLs. Set both files' `status: final`, `updated: {date}`. Log finalization via `uv run {project-root}/_bmad/scripts/memlog.py append --workspace {doc_workspace} --type event --text "spines finalized"`. Share paths. Common next: `bmad-architecture`, `bmad-create-epics-and-stories`, `bmad-dev-story`. Run `{workflow.on_complete}`.
90
+ - **Polished, handed off, closed.** Apply `{workflow.doc_standards}` in order. Execute `{workflow.external_handoffs}`; surface URLs. Set both files' `status: final`, `updated: {date}`. Log finalization via `uv run {project-root}/_bmad/scripts/memlog.py append --workspace {doc_workspace} --type event --text "spines finalized"`. Share paths. Common next: `bmad-architecture`, `bmad-create-epics-and-stories`, `bmad-quick-dev`. Run `{workflow.on_complete}`.
@@ -78,9 +78,11 @@ creative_tools = [
78
78
  # Polish passes applied to DESIGN.md and EXPERIENCE.md at finalize.
79
79
  # Entries: `skill:NAME`, `file:PATH`, or plain text directive.
80
80
  # Suggested order: structural → content/voice → prose mechanics.
81
+ # The default entry runs bmad-review's two editorial lenses in order:
82
+ # structure, then prose on top of the structure findings. The `lenses=` suffix
83
+ # names them; drop it to let bmad-review pick what fits the content.
81
84
  doc_standards = [
82
- "skill:bmad-editorial-review-structure",
83
- "skill:bmad-editorial-review-prose",
85
+ "skill:bmad-review lenses=structure,prose",
84
86
  ]
85
87
 
86
88
  # Information retrieval registry. Consulted on demand when the conversation
@@ -48,10 +48,10 @@ Writes go through the shared script (don't read the file back except on resume):
48
48
 
49
49
  ## On Activation
50
50
 
51
- **Forwarded activation:** if a caller (e.g. the `bmad-create-architecture` shim) invoked you with a stated intent and pre-resolved customization fields, honor them verbatim — skip your own intent inference, use the supplied values for those named fields, and resolve only the remaining fields from your own `customize.toml`.
51
+ **Forwarded activation:** if a caller invoked you with a stated intent and pre-resolved customization fields, honor them verbatim — skip your own intent inference, use the supplied values for those named fields, and resolve only the remaining fields from your own `customize.toml`.
52
52
 
53
53
  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}`. Hold `{workflow.persistent_facts}` as standing context — the default loads `project-context.md`, load-bearing for brownfield — and consult `{workflow.external_sources}` on demand.
54
- 2. Load `{project-root}/_bmad/bmm/config.yaml` (+ `config.user.yaml`) for `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`; missing keys take neutral defaults, never block.
54
+ 2. Resolve config: `uv run {project-root}/_bmad/scripts/resolve_config.py --project-root {project-root}` (merges `_bmad/config.toml`, `_bmad/config.user.toml`, and the `_bmad/custom/` overrides). From the merged JSON resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{project_name}` (under `core`), `{planning_artifacts}` (under `modules.bmm`), and `{date}`; missing keys take neutral defaults, never block.
55
55
  3. Headless (no interactive user) → follow `references/headless.md` for the whole run. Otherwise greet `{user_name}` in `{communication_language}`. Detect the intent from the conversation and input — **create** (the default), **update** an existing spine, or **validate** one (see those sections). If the real ask is requirements / UX / a capability contract / epic breakdown / an agent, invoke the `bmad-prd`, `bmad-ux`, `bmad-spec`, `bmad-create-epics-and-stories`, or `bmad-workflow-builder` (if the BMad Builder module is installed) skill instead.
56
56
  4. If a run folder for this target already exists under `{workflow.spine_output_path}`, offer to resume from its memlog rather than restart.
57
57
  5. Interactive create: offer the working mode in `{communication_language}` — **Coaching path** (default) or **Fast path** (see *How you work*) — before any drafting; default to Coaching unless the user asks for speed.
@@ -73,7 +73,7 @@ Walk the sequence; reviewer fixes land before polish.
73
73
  4. **Triage.** Open questions and `[ASSUMPTION]` tags: blockers (unsafe for what's next) resolved one at a time; the rest deferred with a revisit condition in the memlog.
74
74
  5. **Renderings & polish.** The spine is the build deliverable; with it and the memlog now in place, produce any *additional* human-facing artifact the user needs, scoped to the purpose and audience drawn out up front. The up-front question already flagged whether one's needed; if it wasn't, still offer one here, seeding concrete options: an interactive HTML+SVG deck to walk a team through the architecture and drive discussion, a fuller HTML/md solution design, a C4 set, or a view of how the work splits across teams/epics. Build only what they pick, right-sized to that purpose; apply `{workflow.doc_standards}` polish to that prose only, never to the spine.
75
75
  6. **External handoffs.** Run `{workflow.external_handoffs}`; surface returned URLs/IDs. Offer to invoke the `bmad-spec` skill to adopt the spine as a companion, keeping `AD` IDs stable so downstream can cite them.
76
- 7. **Close.** Set the spine's own frontmatter `status: final`, `updated: {date}`; log a `memlog.py append --type event --text "spine finalized"` (the memlog has no status field). Share paths. Next, **lead with `bmad-spec`** — recommend adopting/refreshing the spine as a spec companion (always the top recommendation when a spec was an input, and a useful next step even when it wasn't), then `bmad-create-epics-and-stories` or — epic altitude — `bmad-create-story`; or invoke `bmad-help` to route.
76
+ 7. **Close.** Set the spine's own frontmatter `status: final`, `updated: {date}`; log a `memlog.py append --type event --text "spine finalized"` (the memlog has no status field). Share paths. Next, **lead with `bmad-spec`** — recommend adopting/refreshing the spine as a spec companion (always the top recommendation when a spec was an input, and a useful next step even when it wasn't), then `bmad-create-epics-and-stories` or — epic altitude — `bmad-quick-dev`; or invoke `bmad-help` to route.
77
77
  8. Run `{workflow.on_complete}`.
78
78
 
79
79
  ## Update
@@ -59,9 +59,11 @@ run_folder_pattern = "architecture-{project_name}-{date}"
59
59
  # short, structured outputs, which are terse and carry decisions in AD-n blocks and diagrams by
60
60
  # design. Each entry is a `skill:`, `file:`, or plain-text directive applied before the user sees
61
61
  # the polished draft. Suggested order: structural passes first, prose mechanics last. Append-only.
62
+ # The default entry runs bmad-review's two editorial lenses in order:
63
+ # structure, then prose on top of the structure findings. The `lenses=` suffix
64
+ # names them; drop it to let bmad-review pick what fits the content.
62
65
  doc_standards = [
63
- "skill:bmad-editorial-review-structure",
64
- "skill:bmad-editorial-review-prose",
66
+ "skill:bmad-review lenses=structure,prose",
65
67
  ]
66
68
 
67
69
  # External-source registry. Natural-language directives describing knowledge bases, MCP tools, or
@@ -48,20 +48,18 @@ principles = [
48
48
  "No task complete without passing tests.",
49
49
  "Red, green, refactor — in that order.",
50
50
  "Tasks executed in the sequence written.",
51
+ "Never add epic or story references as inline code comments (e.g. # Epic: X, # Story: PROJ-42).",
52
+ "Code comments explain why, not what — no AI workflow metadata, planning refs, or story tracking in source code.",
53
+ "Generated code must be production-ready: clean, minimal, and free of AI-generated noise.",
51
54
  ]
52
55
 
53
56
  # Capabilities menu. Overrides merge by `code`: matching codes replace the item
54
57
  # in place, new codes append. Each item has exactly one of `skill` (invokes a
55
58
  # registered skill by name) or `prompt` (executes the prompt text directly).
56
59
 
57
- [[agent.menu]]
58
- code = "DS"
59
- description = "Write the next or specified story's tests and code"
60
- skill = "bmad-dev-story"
61
-
62
60
  [[agent.menu]]
63
61
  code = "QD"
64
- description = "Unified quick flow — clarify intent, plan, implement, review, present"
62
+ description = "Implement a feature, fix, or story"
65
63
  skill = "bmad-quick-dev"
66
64
 
67
65
  [[agent.menu]]
@@ -79,11 +77,6 @@ code = "SP"
79
77
  description = "Generate or update the sprint plan that sequences tasks for implementation"
80
78
  skill = "bmad-sprint-planning"
81
79
 
82
- [[agent.menu]]
83
- code = "CS"
84
- description = "Prepare a story with all required context for implementation"
85
- skill = "bmad-create-story"
86
-
87
80
  [[agent.menu]]
88
81
  code = "ER"
89
82
  description = "Party mode review of all work completed across an epic"
@@ -1,13 +1,11 @@
1
1
  ---
2
2
  name: bmad-code-review
3
- description: 'Review code changes adversarially using parallel review layers (Blind Hunter, Edge Case Hunter, Acceptance Auditor) with structured triage into actionable categories. Use when the user says "run code review" or "review this code"'
3
+ description: 'Adversarial code review using parallel review layers and structured triage. Use when the user says "run code review" or "review this code"'
4
4
  ---
5
5
 
6
6
  # Code Review Workflow
7
7
 
8
- **Goal:** Review code changes adversarially using parallel review layers and structured triage.
9
-
10
- **Your Role:** You are an elite code reviewer. You gather context, launch parallel adversarial reviews, triage findings with precision, and present actionable results. No noise, no filler.
8
+ **Goal:** Review code changes adversarially. No noise, no filler.
11
9
 
12
10
  Subagents, when the capability is available, are an important part of this workflow. Use them as directed by the workflow steps.
13
11
  If you need an explicit user instruction to run them, ask once now for the whole workflow run.
@@ -39,3 +39,71 @@ persistent_facts = [
39
39
  # Leave empty for no custom post-completion behavior.
40
40
 
41
41
  on_complete = ""
42
+
43
+ # Review layers for the review step. `instruction` is the layer's whole
44
+ # execution recipe — subagents by default, but an override may run anything
45
+ # (e.g. an external reviewer via bash). {diff_output} and {spec_file} are
46
+ # substituted at run time. `when` (optional) gates a layer; empty
47
+ # `instruction` disables it.
48
+
49
+ [[workflow.review_layers]]
50
+ id = "blind-hunter"
51
+ name = "Blind Hunter"
52
+ instruction = """
53
+ Launch a context-free subagent with this prompt:
54
+
55
+ Read `{skill-root}/review-prompts/adversarial.md` completely and follow it as your review instructions.
56
+
57
+ Review content:
58
+
59
+ {diff_output}
60
+
61
+ Do not invoke any skill. If the instruction file is unreadable, report that exact failure and stop. Return only the review result.
62
+
63
+ """
64
+
65
+ [[workflow.review_layers]]
66
+ id = "edge-case-hunter"
67
+ name = "Edge Case Hunter"
68
+ instruction = """
69
+ Launch a context-free subagent with this prompt:
70
+
71
+ Read `{skill-root}/review-prompts/edge-case-hunter.md` completely and follow it as your review instructions.
72
+
73
+ Review content:
74
+
75
+ {diff_output}
76
+
77
+ Do not invoke any skill. If the instruction file is unreadable, report that exact failure and stop. Return only the review result.
78
+
79
+ """
80
+
81
+ [[workflow.review_layers]]
82
+ id = "verification-gap"
83
+ name = "Verification Gap Reviewer"
84
+ instruction = """
85
+ Launch a context-free subagent with this prompt:
86
+
87
+ Read `{skill-root}/review-prompts/verification-gap.md` completely and follow it as your review instructions.
88
+
89
+ Review content:
90
+
91
+ {diff_output}
92
+
93
+ Do not invoke any skill. If the instruction file is unreadable, report that exact failure and stop. Return only the review result.
94
+
95
+ """
96
+
97
+ [[workflow.review_layers]]
98
+ id = "acceptance-auditor"
99
+ name = "Acceptance Auditor"
100
+ when = 'Only when {review_mode} = "full".'
101
+ instruction = """
102
+ Launch a subagent with this prompt:
103
+
104
+ You are an Acceptance Auditor. Review the provided diff against `{spec_file}` and any loaded context docs. Check for: violations of acceptance criteria, deviations from spec intent, missing implementation of specified behavior, contradictions between spec constraints and actual code. Output findings as a Markdown list. Each finding: one-line title, which AC/constraint it violates, and evidence from the diff.
105
+
106
+ Diff:
107
+
108
+ {diff_output}
109
+ """
@@ -1,8 +1,3 @@
1
- ---
2
- name: bmad-review-adversarial-general
3
- description: 'Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something'
4
- ---
5
-
6
1
  # Adversarial Review (General)
7
2
 
8
3
  **Goal:** Cynically review content and produce findings.
@@ -18,7 +13,7 @@ description: 'Perform a Cynical Review and produce a findings report. Use when t
18
13
 
19
14
  ### Step 1: Receive Content
20
15
 
21
- - Load the content to review from provided input or context
16
+ - Load the content to review from the parent message that launched you (not from this instruction file)
22
17
  - If content to review is empty, ask for clarification and abort
23
18
  - Identify content type (diff, branch, uncommitted changes, document, etc.)
24
19
 
@@ -35,3 +30,7 @@ Output findings as a Markdown list: descriptions only, no severity, priority, or
35
30
 
36
31
  - HALT if zero findings — this is suspicious, re-analyze or ask for guidance
37
32
  - HALT if content is empty or unreadable
33
+
34
+ ## CONTENT SOURCE
35
+
36
+ Load the review target from the parent message, or from a trailing `## REVIEW TARGET` section if present (offline fallback). This file has no `{review_content}` slot. If neither supplies content, treat content as empty and follow the empty-content halt rules above.