ma-agents 3.4.7 → 3.4.9

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 (517) hide show
  1. package/.opencode/skills/.ma-agents.json +134 -134
  2. package/.opencode/skills/add-sprint/SKILL.md +207 -0
  3. package/.opencode/skills/add-sprint/bmad-skill-manifest.yaml +3 -0
  4. package/.opencode/skills/add-to-sprint/SKILL.md +189 -0
  5. package/.opencode/skills/add-to-sprint/bmad-skill-manifest.yaml +3 -0
  6. package/.opencode/skills/bmad-advanced-elicitation/SKILL.md +137 -0
  7. package/.opencode/skills/bmad-advanced-elicitation/methods.csv +51 -0
  8. package/.opencode/skills/bmad-agent-analyst/SKILL.md +56 -0
  9. package/.opencode/skills/bmad-agent-analyst/bmad-skill-manifest.yaml +11 -0
  10. package/.opencode/skills/bmad-agent-architect/SKILL.md +52 -0
  11. package/.opencode/skills/bmad-agent-architect/bmad-skill-manifest.yaml +11 -0
  12. package/.opencode/skills/bmad-agent-dev/SKILL.md +62 -0
  13. package/.opencode/skills/bmad-agent-dev/bmad-skill-manifest.yaml +11 -0
  14. package/.opencode/skills/bmad-agent-pm/SKILL.md +57 -0
  15. package/.opencode/skills/bmad-agent-pm/bmad-skill-manifest.yaml +11 -0
  16. package/.opencode/skills/bmad-agent-qa/SKILL.md +59 -0
  17. package/.opencode/skills/bmad-agent-qa/bmad-skill-manifest.yaml +11 -0
  18. package/.opencode/skills/bmad-agent-quick-flow-solo-dev/SKILL.md +51 -0
  19. package/.opencode/skills/bmad-agent-quick-flow-solo-dev/bmad-skill-manifest.yaml +11 -0
  20. package/.opencode/skills/bmad-agent-sm/SKILL.md +53 -0
  21. package/.opencode/skills/bmad-agent-sm/bmad-skill-manifest.yaml +11 -0
  22. package/.opencode/skills/bmad-agent-tech-writer/SKILL.md +55 -0
  23. package/.opencode/skills/bmad-agent-tech-writer/bmad-skill-manifest.yaml +11 -0
  24. package/.opencode/skills/bmad-agent-tech-writer/explain-concept.md +20 -0
  25. package/.opencode/skills/bmad-agent-tech-writer/mermaid-gen.md +20 -0
  26. package/.opencode/skills/bmad-agent-tech-writer/validate-doc.md +19 -0
  27. package/.opencode/skills/bmad-agent-tech-writer/write-document.md +20 -0
  28. package/.opencode/skills/bmad-agent-ux-designer/SKILL.md +53 -0
  29. package/.opencode/skills/bmad-agent-ux-designer/bmad-skill-manifest.yaml +11 -0
  30. package/.opencode/skills/bmad-brainstorming/SKILL.md +6 -0
  31. package/.opencode/skills/bmad-brainstorming/brain-methods.csv +62 -0
  32. package/.opencode/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
  33. package/.opencode/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
  34. package/.opencode/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
  35. package/.opencode/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
  36. package/.opencode/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
  37. package/.opencode/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
  38. package/.opencode/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
  39. package/.opencode/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
  40. package/.opencode/skills/bmad-brainstorming/template.md +15 -0
  41. package/.opencode/skills/bmad-brainstorming/workflow.md +53 -0
  42. package/.opencode/skills/bmad-check-implementation-readiness/SKILL.md +6 -0
  43. package/.opencode/skills/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
  44. package/.opencode/skills/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
  45. package/.opencode/skills/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
  46. package/.opencode/skills/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
  47. package/.opencode/skills/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
  48. package/.opencode/skills/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
  49. package/.opencode/skills/bmad-check-implementation-readiness/templates/readiness-report-template.md +4 -0
  50. package/.opencode/skills/bmad-check-implementation-readiness/workflow.md +49 -0
  51. package/.opencode/skills/bmad-cis-design-thinking/SKILL.md +6 -0
  52. package/.opencode/skills/bmad-cis-design-thinking/bmad-skill-manifest.yaml +1 -0
  53. package/.opencode/skills/bmad-cis-design-thinking/design-methods.csv +31 -0
  54. package/.opencode/skills/bmad-cis-design-thinking/template.md +111 -0
  55. package/.opencode/skills/bmad-cis-design-thinking/workflow.md +242 -0
  56. package/.opencode/skills/bmad-cis-innovation-strategy/SKILL.md +6 -0
  57. package/.opencode/skills/bmad-cis-innovation-strategy/bmad-skill-manifest.yaml +1 -0
  58. package/.opencode/skills/bmad-cis-innovation-strategy/innovation-frameworks.csv +31 -0
  59. package/.opencode/skills/bmad-cis-innovation-strategy/template.md +189 -0
  60. package/.opencode/skills/bmad-cis-innovation-strategy/workflow.md +315 -0
  61. package/.opencode/skills/bmad-cis-problem-solving/SKILL.md +6 -0
  62. package/.opencode/skills/bmad-cis-problem-solving/bmad-skill-manifest.yaml +1 -0
  63. package/.opencode/skills/bmad-cis-problem-solving/solving-methods.csv +31 -0
  64. package/.opencode/skills/bmad-cis-problem-solving/template.md +165 -0
  65. package/.opencode/skills/bmad-cis-problem-solving/workflow.md +291 -0
  66. package/.opencode/skills/bmad-cis-storytelling/SKILL.md +6 -0
  67. package/.opencode/skills/bmad-cis-storytelling/bmad-skill-manifest.yaml +1 -0
  68. package/.opencode/skills/bmad-cis-storytelling/story-types.csv +26 -0
  69. package/.opencode/skills/bmad-cis-storytelling/template.md +113 -0
  70. package/.opencode/skills/bmad-cis-storytelling/workflow.md +321 -0
  71. package/.opencode/skills/bmad-code-review/SKILL.md +6 -0
  72. package/.opencode/skills/bmad-code-review/steps/step-01-gather-context.md +62 -0
  73. package/.opencode/skills/bmad-code-review/steps/step-02-review.md +34 -0
  74. package/.opencode/skills/bmad-code-review/steps/step-03-triage.md +49 -0
  75. package/.opencode/skills/bmad-code-review/steps/step-04-present.md +129 -0
  76. package/.opencode/skills/bmad-code-review/workflow.md +55 -0
  77. package/.opencode/skills/bmad-correct-course/SKILL.md +6 -0
  78. package/.opencode/skills/bmad-correct-course/checklist.md +288 -0
  79. package/.opencode/skills/bmad-correct-course/workflow.md +267 -0
  80. package/.opencode/skills/bmad-create-architecture/SKILL.md +6 -0
  81. package/.opencode/skills/bmad-create-architecture/architecture-decision-template.md +12 -0
  82. package/.opencode/skills/bmad-create-architecture/data/domain-complexity.csv +13 -0
  83. package/.opencode/skills/bmad-create-architecture/data/project-types.csv +7 -0
  84. package/.opencode/skills/bmad-create-architecture/steps/step-01-init.md +153 -0
  85. package/.opencode/skills/bmad-create-architecture/steps/step-01b-continue.md +173 -0
  86. package/.opencode/skills/bmad-create-architecture/steps/step-02-context.md +224 -0
  87. package/.opencode/skills/bmad-create-architecture/steps/step-03-starter.md +329 -0
  88. package/.opencode/skills/bmad-create-architecture/steps/step-04-decisions.md +318 -0
  89. package/.opencode/skills/bmad-create-architecture/steps/step-05-patterns.md +359 -0
  90. package/.opencode/skills/bmad-create-architecture/steps/step-06-structure.md +379 -0
  91. package/.opencode/skills/bmad-create-architecture/steps/step-07-validation.md +359 -0
  92. package/.opencode/skills/bmad-create-architecture/steps/step-08-complete.md +76 -0
  93. package/.opencode/skills/bmad-create-architecture/workflow.md +38 -0
  94. package/.opencode/skills/bmad-create-epics-and-stories/SKILL.md +6 -0
  95. package/.opencode/skills/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
  96. package/.opencode/skills/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
  97. package/.opencode/skills/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  98. package/.opencode/skills/bmad-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
  99. package/.opencode/skills/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
  100. package/.opencode/skills/bmad-create-epics-and-stories/workflow.md +53 -0
  101. package/.opencode/skills/bmad-create-prd/SKILL.md +6 -0
  102. package/.opencode/skills/bmad-create-prd/data/domain-complexity.csv +15 -0
  103. package/.opencode/skills/bmad-create-prd/data/prd-purpose.md +197 -0
  104. package/.opencode/skills/bmad-create-prd/data/project-types.csv +11 -0
  105. package/.opencode/skills/bmad-create-prd/steps-c/step-01-init.md +178 -0
  106. package/.opencode/skills/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
  107. package/.opencode/skills/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
  108. package/.opencode/skills/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
  109. package/.opencode/skills/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
  110. package/.opencode/skills/bmad-create-prd/steps-c/step-03-success.md +214 -0
  111. package/.opencode/skills/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
  112. package/.opencode/skills/bmad-create-prd/steps-c/step-05-domain.md +194 -0
  113. package/.opencode/skills/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
  114. package/.opencode/skills/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
  115. package/.opencode/skills/bmad-create-prd/steps-c/step-08-scoping.md +216 -0
  116. package/.opencode/skills/bmad-create-prd/steps-c/step-09-functional.md +219 -0
  117. package/.opencode/skills/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
  118. package/.opencode/skills/bmad-create-prd/steps-c/step-11-polish.md +221 -0
  119. package/.opencode/skills/bmad-create-prd/steps-c/step-12-complete.md +115 -0
  120. package/.opencode/skills/bmad-create-prd/templates/prd-template.md +10 -0
  121. package/.opencode/skills/bmad-create-prd/workflow.md +62 -0
  122. package/.opencode/skills/bmad-create-story/SKILL.md +6 -0
  123. package/.opencode/skills/bmad-create-story/checklist.md +357 -0
  124. package/.opencode/skills/bmad-create-story/discover-inputs.md +88 -0
  125. package/.opencode/skills/bmad-create-story/template.md +49 -0
  126. package/.opencode/skills/bmad-create-story/workflow.md +380 -0
  127. package/.opencode/skills/bmad-create-ux-design/SKILL.md +6 -0
  128. package/.opencode/skills/bmad-create-ux-design/steps/step-01-init.md +135 -0
  129. package/.opencode/skills/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
  130. package/.opencode/skills/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
  131. package/.opencode/skills/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
  132. package/.opencode/skills/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
  133. package/.opencode/skills/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
  134. package/.opencode/skills/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
  135. package/.opencode/skills/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
  136. package/.opencode/skills/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
  137. package/.opencode/skills/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
  138. package/.opencode/skills/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
  139. package/.opencode/skills/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
  140. package/.opencode/skills/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
  141. package/.opencode/skills/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
  142. package/.opencode/skills/bmad-create-ux-design/steps/step-14-complete.md +171 -0
  143. package/.opencode/skills/bmad-create-ux-design/ux-design-template.md +13 -0
  144. package/.opencode/skills/bmad-create-ux-design/workflow.md +36 -0
  145. package/.opencode/skills/bmad-dev-story/SKILL.md +6 -0
  146. package/.opencode/skills/bmad-dev-story/checklist.md +80 -0
  147. package/.opencode/skills/bmad-dev-story/workflow.md +450 -0
  148. package/.opencode/skills/bmad-distillator/SKILL.md +178 -0
  149. package/.opencode/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
  150. package/.opencode/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
  151. package/.opencode/skills/bmad-distillator/resources/compression-rules.md +51 -0
  152. package/.opencode/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
  153. package/.opencode/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
  154. package/.opencode/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
  155. package/.opencode/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
  156. package/.opencode/skills/bmad-document-project/SKILL.md +6 -0
  157. package/.opencode/skills/bmad-document-project/checklist.md +245 -0
  158. package/.opencode/skills/bmad-document-project/documentation-requirements.csv +12 -0
  159. package/.opencode/skills/bmad-document-project/instructions.md +128 -0
  160. package/.opencode/skills/bmad-document-project/templates/deep-dive-template.md +345 -0
  161. package/.opencode/skills/bmad-document-project/templates/index-template.md +169 -0
  162. package/.opencode/skills/bmad-document-project/templates/project-overview-template.md +103 -0
  163. package/.opencode/skills/bmad-document-project/templates/project-scan-report-schema.json +160 -0
  164. package/.opencode/skills/bmad-document-project/templates/source-tree-template.md +135 -0
  165. package/.opencode/skills/bmad-document-project/workflow.md +27 -0
  166. package/.opencode/skills/bmad-document-project/workflows/deep-dive-instructions.md +299 -0
  167. package/.opencode/skills/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
  168. package/.opencode/skills/bmad-document-project/workflows/full-scan-instructions.md +1107 -0
  169. package/.opencode/skills/bmad-document-project/workflows/full-scan-workflow.md +34 -0
  170. package/.opencode/skills/bmad-domain-research/SKILL.md +6 -0
  171. package/.opencode/skills/bmad-domain-research/domain-steps/step-01-init.md +137 -0
  172. package/.opencode/skills/bmad-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
  173. package/.opencode/skills/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
  174. package/.opencode/skills/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
  175. package/.opencode/skills/bmad-domain-research/domain-steps/step-05-technical-trends.md +234 -0
  176. package/.opencode/skills/bmad-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
  177. package/.opencode/skills/bmad-domain-research/research.template.md +29 -0
  178. package/.opencode/skills/bmad-domain-research/workflow.md +49 -0
  179. package/.opencode/skills/bmad-edit-prd/SKILL.md +6 -0
  180. package/.opencode/skills/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
  181. package/.opencode/skills/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
  182. package/.opencode/skills/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
  183. package/.opencode/skills/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
  184. package/.opencode/skills/bmad-edit-prd/steps-e/step-e-04-complete.md +165 -0
  185. package/.opencode/skills/bmad-edit-prd/workflow.md +63 -0
  186. package/.opencode/skills/bmad-editorial-review-prose/SKILL.md +86 -0
  187. package/.opencode/skills/bmad-editorial-review-structure/SKILL.md +179 -0
  188. package/.opencode/skills/bmad-generate-project-context/SKILL.md +6 -0
  189. package/.opencode/skills/bmad-generate-project-context/project-context-template.md +21 -0
  190. package/.opencode/skills/bmad-generate-project-context/steps/step-01-discover.md +186 -0
  191. package/.opencode/skills/bmad-generate-project-context/steps/step-02-generate.md +321 -0
  192. package/.opencode/skills/bmad-generate-project-context/steps/step-03-complete.md +278 -0
  193. package/.opencode/skills/bmad-generate-project-context/workflow.md +43 -0
  194. package/.opencode/skills/bmad-help/SKILL.md +73 -0
  195. package/.opencode/skills/bmad-index-docs/SKILL.md +66 -0
  196. package/.opencode/skills/bmad-init/SKILL.md +100 -0
  197. package/.opencode/skills/bmad-init/resources/core-module.yaml +25 -0
  198. package/.opencode/skills/bmad-init/scripts/bmad_init.py +593 -0
  199. package/.opencode/skills/bmad-init/scripts/tests/test_bmad_init.py +329 -0
  200. package/.opencode/skills/bmad-ma-agent-cyber/SKILL.md +49 -0
  201. package/.opencode/skills/bmad-ma-agent-cyber/bmad-skill-manifest.yaml +11 -0
  202. package/.opencode/skills/bmad-ma-agent-devops/SKILL.md +49 -0
  203. package/.opencode/skills/bmad-ma-agent-devops/bmad-skill-manifest.yaml +11 -0
  204. package/.opencode/skills/bmad-ma-agent-mil498/.gitkeep +0 -0
  205. package/.opencode/skills/bmad-ma-agent-mil498/SKILL.md +53 -0
  206. package/.opencode/skills/bmad-ma-agent-mil498/bmad-skill-manifest.yaml +11 -0
  207. package/.opencode/skills/bmad-ma-agent-ml/.gitkeep +0 -0
  208. package/.opencode/skills/bmad-ma-agent-ml/SKILL.md +59 -0
  209. package/.opencode/skills/bmad-ma-agent-ml/bmad-skill-manifest.yaml +11 -0
  210. package/.opencode/skills/bmad-ma-agent-sre/.gitkeep +0 -0
  211. package/.opencode/skills/bmad-ma-agent-sre/SKILL.md +49 -0
  212. package/.opencode/skills/bmad-ma-agent-sre/bmad-skill-manifest.yaml +11 -0
  213. package/.opencode/skills/bmad-market-research/SKILL.md +6 -0
  214. package/.opencode/skills/bmad-market-research/research.template.md +29 -0
  215. package/.opencode/skills/bmad-market-research/steps/step-01-init.md +184 -0
  216. package/.opencode/skills/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
  217. package/.opencode/skills/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
  218. package/.opencode/skills/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
  219. package/.opencode/skills/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
  220. package/.opencode/skills/bmad-market-research/steps/step-06-research-completion.md +478 -0
  221. package/.opencode/skills/bmad-market-research/workflow.md +49 -0
  222. package/.opencode/skills/bmad-party-mode/SKILL.md +6 -0
  223. package/.opencode/skills/bmad-party-mode/steps/step-01-agent-loading.md +138 -0
  224. package/.opencode/skills/bmad-party-mode/steps/step-02-discussion-orchestration.md +187 -0
  225. package/.opencode/skills/bmad-party-mode/steps/step-03-graceful-exit.md +167 -0
  226. package/.opencode/skills/bmad-party-mode/workflow.md +190 -0
  227. package/.opencode/skills/bmad-product-brief/SKILL.md +87 -0
  228. package/.opencode/skills/bmad-product-brief/agents/artifact-analyzer.md +60 -0
  229. package/.opencode/skills/bmad-product-brief/agents/opportunity-reviewer.md +44 -0
  230. package/.opencode/skills/bmad-product-brief/agents/skeptic-reviewer.md +44 -0
  231. package/.opencode/skills/bmad-product-brief/agents/web-researcher.md +49 -0
  232. package/.opencode/skills/bmad-product-brief/bmad-manifest.json +17 -0
  233. package/.opencode/skills/bmad-product-brief/prompts/contextual-discovery.md +57 -0
  234. package/.opencode/skills/bmad-product-brief/prompts/draft-and-review.md +86 -0
  235. package/.opencode/skills/bmad-product-brief/prompts/finalize.md +75 -0
  236. package/.opencode/skills/bmad-product-brief/prompts/guided-elicitation.md +70 -0
  237. package/.opencode/skills/bmad-product-brief/resources/brief-template.md +60 -0
  238. package/.opencode/skills/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
  239. package/.opencode/skills/bmad-qa-generate-e2e-tests/checklist.md +33 -0
  240. package/.opencode/skills/bmad-qa-generate-e2e-tests/workflow.md +136 -0
  241. package/.opencode/skills/bmad-quick-dev/SKILL.md +6 -0
  242. package/.opencode/skills/bmad-quick-dev/spec-template.md +88 -0
  243. package/.opencode/skills/bmad-quick-dev/step-01-clarify-and-route.md +64 -0
  244. package/.opencode/skills/bmad-quick-dev/step-02-plan.md +35 -0
  245. package/.opencode/skills/bmad-quick-dev/step-03-implement.md +37 -0
  246. package/.opencode/skills/bmad-quick-dev/step-04-review.md +49 -0
  247. package/.opencode/skills/bmad-quick-dev/step-05-present.md +63 -0
  248. package/.opencode/skills/bmad-quick-dev/step-oneshot.md +49 -0
  249. package/.opencode/skills/bmad-quick-dev/workflow.md +79 -0
  250. package/.opencode/skills/bmad-retrospective/SKILL.md +6 -0
  251. package/.opencode/skills/bmad-retrospective/workflow.md +1479 -0
  252. package/.opencode/skills/bmad-review-adversarial-general/SKILL.md +37 -0
  253. package/.opencode/skills/bmad-review-edge-case-hunter/SKILL.md +67 -0
  254. package/.opencode/skills/bmad-shard-doc/SKILL.md +105 -0
  255. package/.opencode/skills/bmad-sprint-planning/SKILL.md +6 -0
  256. package/.opencode/skills/bmad-sprint-planning/checklist.md +33 -0
  257. package/.opencode/skills/bmad-sprint-planning/sprint-status-template.yaml +56 -0
  258. package/.opencode/skills/bmad-sprint-planning/workflow.md +263 -0
  259. package/.opencode/skills/bmad-sprint-status/SKILL.md +6 -0
  260. package/.opencode/skills/bmad-sprint-status/workflow.md +261 -0
  261. package/.opencode/skills/bmad-technical-research/SKILL.md +6 -0
  262. package/.opencode/skills/bmad-technical-research/research.template.md +29 -0
  263. package/.opencode/skills/bmad-technical-research/technical-steps/step-01-init.md +137 -0
  264. package/.opencode/skills/bmad-technical-research/technical-steps/step-02-technical-overview.md +239 -0
  265. package/.opencode/skills/bmad-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
  266. package/.opencode/skills/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
  267. package/.opencode/skills/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
  268. package/.opencode/skills/bmad-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
  269. package/.opencode/skills/bmad-technical-research/workflow.md +50 -0
  270. package/.opencode/skills/bmad-validate-prd/SKILL.md +6 -0
  271. package/.opencode/skills/bmad-validate-prd/data/domain-complexity.csv +15 -0
  272. package/.opencode/skills/bmad-validate-prd/data/prd-purpose.md +197 -0
  273. package/.opencode/skills/bmad-validate-prd/data/project-types.csv +11 -0
  274. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  275. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  276. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  277. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  278. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  279. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  280. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  281. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  282. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  283. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  284. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  285. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  286. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  287. package/.opencode/skills/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
  288. package/.opencode/skills/bmad-validate-prd/workflow.md +62 -0
  289. package/.opencode/skills/cleanup-done/.gitkeep +0 -0
  290. package/.opencode/skills/create-bug-story/.gitkeep +0 -0
  291. package/.opencode/skills/create-bug-story/SKILL.md +263 -0
  292. package/.opencode/skills/create-bug-story/bmad-skill-manifest.yaml +3 -0
  293. package/.opencode/skills/cyber-generate-certs/.gitkeep +0 -0
  294. package/.opencode/skills/cyber-generate-certs/SKILL.md +27 -0
  295. package/.opencode/skills/cyber-generate-certs/bmad-skill-manifest.yaml +3 -0
  296. package/.opencode/skills/cyber-immunity-estimation/.gitkeep +0 -0
  297. package/.opencode/skills/cyber-immunity-estimation/SKILL.md +29 -0
  298. package/.opencode/skills/cyber-immunity-estimation/bmad-skill-manifest.yaml +3 -0
  299. package/.opencode/skills/cyber-security-audit/.gitkeep +0 -0
  300. package/.opencode/skills/cyber-security-audit/SKILL.md +27 -0
  301. package/.opencode/skills/cyber-security-audit/bmad-skill-manifest.yaml +3 -0
  302. package/.opencode/skills/cyber-vault-secrets/.gitkeep +0 -0
  303. package/.opencode/skills/cyber-vault-secrets/SKILL.md +28 -0
  304. package/.opencode/skills/cyber-vault-secrets/bmad-skill-manifest.yaml +3 -0
  305. package/.opencode/skills/cyber-verify-docker-users/.gitkeep +0 -0
  306. package/.opencode/skills/cyber-verify-docker-users/SKILL.md +23 -0
  307. package/.opencode/skills/cyber-verify-docker-users/bmad-skill-manifest.yaml +3 -0
  308. package/.opencode/skills/cyber-verify-image-signature/.gitkeep +0 -0
  309. package/.opencode/skills/cyber-verify-image-signature/SKILL.md +22 -0
  310. package/.opencode/skills/cyber-verify-image-signature/bmad-skill-manifest.yaml +3 -0
  311. package/.opencode/skills/cyber-vulnerability-scan/.gitkeep +0 -0
  312. package/.opencode/skills/cyber-vulnerability-scan/SKILL.md +28 -0
  313. package/.opencode/skills/cyber-vulnerability-scan/bmad-skill-manifest.yaml +3 -0
  314. package/.opencode/skills/devops-configure-infrastructure/.gitkeep +0 -0
  315. package/.opencode/skills/devops-configure-infrastructure/SKILL.md +27 -0
  316. package/.opencode/skills/devops-configure-infrastructure/bmad-skill-manifest.yaml +3 -0
  317. package/.opencode/skills/devops-disconnected-deployment/.gitkeep +0 -0
  318. package/.opencode/skills/devops-disconnected-deployment/SKILL.md +27 -0
  319. package/.opencode/skills/devops-disconnected-deployment/bmad-skill-manifest.yaml +3 -0
  320. package/.opencode/skills/devops-docker-compose-setup/.gitkeep +0 -0
  321. package/.opencode/skills/devops-docker-compose-setup/SKILL.md +26 -0
  322. package/.opencode/skills/devops-docker-compose-setup/bmad-skill-manifest.yaml +3 -0
  323. package/.opencode/skills/devops-manage-helm/.gitkeep +0 -0
  324. package/.opencode/skills/devops-manage-helm/SKILL.md +28 -0
  325. package/.opencode/skills/devops-manage-helm/bmad-skill-manifest.yaml +3 -0
  326. package/.opencode/skills/devops-sign-docker-image/.gitkeep +0 -0
  327. package/.opencode/skills/devops-sign-docker-image/SKILL.md +24 -0
  328. package/.opencode/skills/devops-sign-docker-image/bmad-skill-manifest.yaml +3 -0
  329. package/.opencode/skills/generate-backlog/.gitkeep +0 -0
  330. package/.opencode/skills/mil498-ocd/.gitkeep +0 -0
  331. package/.opencode/skills/mil498-ocd/SKILL.md +30 -0
  332. package/.opencode/skills/mil498-ocd/bmad-skill-manifest.yaml +5 -0
  333. package/.opencode/skills/mil498-ocd/prompts/01-discover-project-artifacts.md +26 -0
  334. package/.opencode/skills/mil498-ocd/prompts/02-load-template.md +10 -0
  335. package/.opencode/skills/mil498-ocd/prompts/03-generate-document.md +90 -0
  336. package/.opencode/skills/mil498-ocd/prompts/04-validate.md +14 -0
  337. package/.opencode/skills/mil498-ocd/prompts/05-review.md +15 -0
  338. package/.opencode/skills/mil498-ocd/prompts/06-save.md +15 -0
  339. package/.opencode/skills/mil498-ocd/template.md +169 -0
  340. package/.opencode/skills/mil498-sdd/.gitkeep +0 -0
  341. package/.opencode/skills/mil498-sdd/SKILL.md +30 -0
  342. package/.opencode/skills/mil498-sdd/bmad-skill-manifest.yaml +5 -0
  343. package/.opencode/skills/mil498-sdd/prompts/01-discover-project-artifacts.md +50 -0
  344. package/.opencode/skills/mil498-sdd/prompts/02-load-template.md +10 -0
  345. package/.opencode/skills/mil498-sdd/prompts/03-generate-document.md +98 -0
  346. package/.opencode/skills/mil498-sdd/prompts/04-validate.md +16 -0
  347. package/.opencode/skills/mil498-sdd/prompts/05-review.md +15 -0
  348. package/.opencode/skills/mil498-sdd/prompts/06-save.md +19 -0
  349. package/.opencode/skills/mil498-sdd/template.md +163 -0
  350. package/.opencode/skills/mil498-sdp/.gitkeep +0 -0
  351. package/.opencode/skills/mil498-sdp/SKILL.md +30 -0
  352. package/.opencode/skills/mil498-sdp/bmad-skill-manifest.yaml +5 -0
  353. package/.opencode/skills/mil498-sdp/prompts/01-discover-project-artifacts.md +32 -0
  354. package/.opencode/skills/mil498-sdp/prompts/02-load-template.md +10 -0
  355. package/.opencode/skills/mil498-sdp/prompts/03-generate-document.md +187 -0
  356. package/.opencode/skills/mil498-sdp/prompts/04-validate.md +13 -0
  357. package/.opencode/skills/mil498-sdp/prompts/05-review.md +15 -0
  358. package/.opencode/skills/mil498-sdp/prompts/06-save.md +14 -0
  359. package/.opencode/skills/mil498-sdp/template.md +307 -0
  360. package/.opencode/skills/mil498-srs/.gitkeep +0 -0
  361. package/.opencode/skills/mil498-srs/SKILL.md +30 -0
  362. package/.opencode/skills/mil498-srs/bmad-skill-manifest.yaml +5 -0
  363. package/.opencode/skills/mil498-srs/prompts/01-discover-project-artifacts.md +42 -0
  364. package/.opencode/skills/mil498-srs/prompts/02-load-template.md +10 -0
  365. package/.opencode/skills/mil498-srs/prompts/03-generate-document.md +100 -0
  366. package/.opencode/skills/mil498-srs/prompts/04-validate.md +16 -0
  367. package/.opencode/skills/mil498-srs/prompts/05-review.md +15 -0
  368. package/.opencode/skills/mil498-srs/prompts/06-save.md +18 -0
  369. package/.opencode/skills/mil498-srs/template.md +219 -0
  370. package/.opencode/skills/mil498-ssdd/.gitkeep +0 -0
  371. package/.opencode/skills/mil498-ssdd/SKILL.md +32 -0
  372. package/.opencode/skills/mil498-ssdd/bmad-skill-manifest.yaml +5 -0
  373. package/.opencode/skills/mil498-ssdd/prompts/01-discover-project-artifacts.md +32 -0
  374. package/.opencode/skills/mil498-ssdd/prompts/02-load-template.md +10 -0
  375. package/.opencode/skills/mil498-ssdd/prompts/03-csci-discovery-interview.md +43 -0
  376. package/.opencode/skills/mil498-ssdd/prompts/04-generate-document.md +96 -0
  377. package/.opencode/skills/mil498-ssdd/prompts/05-validate.md +14 -0
  378. package/.opencode/skills/mil498-ssdd/prompts/06-review.md +16 -0
  379. package/.opencode/skills/mil498-ssdd/prompts/07-save.md +16 -0
  380. package/.opencode/skills/mil498-ssdd/template.md +154 -0
  381. package/.opencode/skills/mil498-sss/.gitkeep +0 -0
  382. package/.opencode/skills/mil498-sss/SKILL.md +31 -0
  383. package/.opencode/skills/mil498-sss/bmad-skill-manifest.yaml +5 -0
  384. package/.opencode/skills/mil498-sss/prompts/01-discover-project-artifacts.md +31 -0
  385. package/.opencode/skills/mil498-sss/prompts/02-load-template.md +10 -0
  386. package/.opencode/skills/mil498-sss/prompts/03-generate-document.md +108 -0
  387. package/.opencode/skills/mil498-sss/prompts/04-validate.md +16 -0
  388. package/.opencode/skills/mil498-sss/prompts/05-review.md +15 -0
  389. package/.opencode/skills/mil498-sss/prompts/06-save.md +15 -0
  390. package/.opencode/skills/mil498-sss/template.md +225 -0
  391. package/.opencode/skills/mil498-std/.gitkeep +0 -0
  392. package/.opencode/skills/mil498-std/SKILL.md +30 -0
  393. package/.opencode/skills/mil498-std/bmad-skill-manifest.yaml +5 -0
  394. package/.opencode/skills/mil498-std/prompts/01-discover-project-artifacts.md +42 -0
  395. package/.opencode/skills/mil498-std/prompts/02-load-template.md +10 -0
  396. package/.opencode/skills/mil498-std/prompts/03-generate-document.md +117 -0
  397. package/.opencode/skills/mil498-std/prompts/04-validate.md +15 -0
  398. package/.opencode/skills/mil498-std/prompts/05-review.md +15 -0
  399. package/.opencode/skills/mil498-std/prompts/06-save.md +15 -0
  400. package/.opencode/skills/mil498-std/template.md +188 -0
  401. package/.opencode/skills/ml-advise/.gitkeep +0 -0
  402. package/.opencode/skills/ml-advise/SKILL.md +76 -0
  403. package/.opencode/skills/ml-advise/bmad-skill-manifest.yaml +3 -0
  404. package/.opencode/skills/ml-advise/skill.json +7 -0
  405. package/.opencode/skills/ml-analysis/.gitkeep +0 -0
  406. package/.opencode/skills/ml-analysis/SKILL.md +60 -0
  407. package/.opencode/skills/ml-analysis/bmad-skill-manifest.yaml +3 -0
  408. package/.opencode/skills/ml-analysis/skill.json +7 -0
  409. package/.opencode/skills/ml-architecture/.gitkeep +0 -0
  410. package/.opencode/skills/ml-architecture/SKILL.md +55 -0
  411. package/.opencode/skills/ml-architecture/bmad-skill-manifest.yaml +3 -0
  412. package/.opencode/skills/ml-architecture/skill.json +7 -0
  413. package/.opencode/skills/ml-detailed-design/.gitkeep +0 -0
  414. package/.opencode/skills/ml-detailed-design/SKILL.md +67 -0
  415. package/.opencode/skills/ml-detailed-design/bmad-skill-manifest.yaml +3 -0
  416. package/.opencode/skills/ml-detailed-design/skill.json +7 -0
  417. package/.opencode/skills/ml-eda/.gitkeep +0 -0
  418. package/.opencode/skills/ml-eda/SKILL.md +56 -0
  419. package/.opencode/skills/ml-eda/bmad-skill-manifest.yaml +3 -0
  420. package/.opencode/skills/ml-eda/scripts/baseline_classifier.py +522 -0
  421. package/.opencode/skills/ml-eda/scripts/class_weights_calculator.py +295 -0
  422. package/.opencode/skills/ml-eda/scripts/clustering_explorer.py +383 -0
  423. package/.opencode/skills/ml-eda/scripts/eda_analyzer.py +654 -0
  424. package/.opencode/skills/ml-eda/skill.json +7 -0
  425. package/.opencode/skills/ml-experiment/.gitkeep +0 -0
  426. package/.opencode/skills/ml-experiment/SKILL.md +74 -0
  427. package/.opencode/skills/ml-experiment/assets/advanced_trainer_configs.py +430 -0
  428. package/.opencode/skills/ml-experiment/assets/quick_trainer_setup.py +233 -0
  429. package/.opencode/skills/ml-experiment/assets/template_datamodule.py +219 -0
  430. package/.opencode/skills/ml-experiment/assets/template_gnn_module.py +341 -0
  431. package/.opencode/skills/ml-experiment/assets/template_lightning_module.py +158 -0
  432. package/.opencode/skills/ml-experiment/bmad-skill-manifest.yaml +3 -0
  433. package/.opencode/skills/ml-experiment/skill.json +7 -0
  434. package/.opencode/skills/ml-hparam/.gitkeep +0 -0
  435. package/.opencode/skills/ml-hparam/SKILL.md +81 -0
  436. package/.opencode/skills/ml-hparam/bmad-skill-manifest.yaml +3 -0
  437. package/.opencode/skills/ml-hparam/skill.json +7 -0
  438. package/.opencode/skills/ml-ideation/.gitkeep +0 -0
  439. package/.opencode/skills/ml-ideation/SKILL.md +50 -0
  440. package/.opencode/skills/ml-ideation/bmad-skill-manifest.yaml +3 -0
  441. package/.opencode/skills/ml-ideation/scripts/validate_ml_prd.py +287 -0
  442. package/.opencode/skills/ml-ideation/skill.json +7 -0
  443. package/.opencode/skills/ml-infra/.gitkeep +0 -0
  444. package/.opencode/skills/ml-infra/SKILL.md +58 -0
  445. package/.opencode/skills/ml-infra/bmad-skill-manifest.yaml +3 -0
  446. package/.opencode/skills/ml-infra/skill.json +7 -0
  447. package/.opencode/skills/ml-retrospective/.gitkeep +0 -0
  448. package/.opencode/skills/ml-retrospective/SKILL.md +63 -0
  449. package/.opencode/skills/ml-retrospective/bmad-skill-manifest.yaml +3 -0
  450. package/.opencode/skills/ml-retrospective/skill.json +7 -0
  451. package/.opencode/skills/ml-revision/.gitkeep +0 -0
  452. package/.opencode/skills/ml-revision/SKILL.md +82 -0
  453. package/.opencode/skills/ml-revision/bmad-skill-manifest.yaml +3 -0
  454. package/.opencode/skills/ml-revision/skill.json +7 -0
  455. package/.opencode/skills/ml-techspec/.gitkeep +0 -0
  456. package/.opencode/skills/ml-techspec/SKILL.md +80 -0
  457. package/.opencode/skills/ml-techspec/bmad-skill-manifest.yaml +3 -0
  458. package/.opencode/skills/ml-techspec/skill.json +7 -0
  459. package/.opencode/skills/modify-sprint/.gitkeep +0 -0
  460. package/.opencode/skills/modify-sprint/SKILL.md +322 -0
  461. package/.opencode/skills/modify-sprint/bmad-skill-manifest.yaml +3 -0
  462. package/.opencode/skills/prioritize-backlog/.gitkeep +0 -0
  463. package/.opencode/skills/project-context-expansion/.gitkeep +0 -0
  464. package/.opencode/skills/project-context-expansion/SKILL.md +238 -0
  465. package/.opencode/skills/project-context-expansion/bmad-skill-manifest.yaml +3 -0
  466. package/.opencode/skills/remove-from-sprint/.gitkeep +0 -0
  467. package/.opencode/skills/sprint-status-view/.gitkeep +0 -0
  468. package/.opencode/skills/sprint-status-view/SKILL.md +263 -0
  469. package/.opencode/skills/sprint-status-view/bmad-skill-manifest.yaml +3 -0
  470. package/.opencode/skills/sre-check-deployment-status/.gitkeep +0 -0
  471. package/.opencode/skills/sre-check-deployment-status/SKILL.md +32 -0
  472. package/.opencode/skills/sre-check-deployment-status/bmad-skill-manifest.yaml +3 -0
  473. package/.opencode/skills/sre-check-secrets/.gitkeep +0 -0
  474. package/.opencode/skills/sre-check-secrets/SKILL.md +23 -0
  475. package/.opencode/skills/sre-check-secrets/bmad-skill-manifest.yaml +3 -0
  476. package/.opencode/skills/sre-check-system-status/.gitkeep +0 -0
  477. package/.opencode/skills/sre-check-system-status/SKILL.md +27 -0
  478. package/.opencode/skills/sre-check-system-status/bmad-skill-manifest.yaml +3 -0
  479. package/.opencode/skills/sre-day-2-ops/.gitkeep +0 -0
  480. package/.opencode/skills/sre-day-2-ops/SKILL.md +26 -0
  481. package/.opencode/skills/sre-day-2-ops/bmad-skill-manifest.yaml +3 -0
  482. package/.opencode/skills/sre-deployment-strategies/.gitkeep +0 -0
  483. package/.opencode/skills/sre-deployment-strategies/SKILL.md +28 -0
  484. package/.opencode/skills/sre-deployment-strategies/bmad-skill-manifest.yaml +3 -0
  485. package/.opencode/skills/sre-fix-deployments/.gitkeep +0 -0
  486. package/.opencode/skills/sre-fix-deployments/SKILL.md +25 -0
  487. package/.opencode/skills/sre-fix-deployments/bmad-skill-manifest.yaml +3 -0
  488. package/.opencode/skills/sre-gitops-status/.gitkeep +0 -0
  489. package/.opencode/skills/sre-gitops-status/SKILL.md +25 -0
  490. package/.opencode/skills/sre-gitops-status/bmad-skill-manifest.yaml +3 -0
  491. package/.roo/skills/.ma-agents.json +134 -134
  492. package/bin/cli.js +25 -10
  493. package/lib/agents.js +21 -51
  494. package/lib/bmad-extension/module-help.csv +4 -21
  495. package/lib/bmad-extension/skills/add-sprint/SKILL.md +40 -126
  496. package/lib/bmad-extension/skills/add-to-sprint/SKILL.md +142 -116
  497. package/lib/bmad-extension/skills/create-bug-story/SKILL.md +7 -75
  498. package/lib/bmad-extension/skills/modify-sprint/SKILL.md +0 -63
  499. package/lib/bmad-extension/skills/sprint-status-view/SKILL.md +138 -199
  500. package/lib/bmad-extension/workflows/add-sprint/workflow.md +39 -129
  501. package/lib/bmad-extension/workflows/add-to-sprint/workflow.md +205 -3
  502. package/lib/bmad-extension/workflows/modify-sprint/workflow.md +0 -5
  503. package/lib/bmad-extension/workflows/sprint-status-view/workflow.md +192 -3
  504. package/lib/installer.js +13 -5
  505. package/package.json +1 -1
  506. /package/{lib/bmad-extension/skills/cleanup-done → .opencode/skills/add-sprint}/.gitkeep +0 -0
  507. /package/{lib/bmad-extension/skills/generate-backlog → .opencode/skills/add-to-sprint}/.gitkeep +0 -0
  508. /package/{lib/bmad-extension/skills/prioritize-backlog → .opencode/skills/bmad-ma-agent-cyber}/.gitkeep +0 -0
  509. /package/{lib/bmad-extension/skills/remove-from-sprint → .opencode/skills/bmad-ma-agent-devops}/.gitkeep +0 -0
  510. /package/{lib/bmad-extension → .opencode}/skills/cleanup-done/SKILL.md +0 -0
  511. /package/{lib/bmad-extension → .opencode}/skills/cleanup-done/bmad-skill-manifest.yaml +0 -0
  512. /package/{lib/bmad-extension → .opencode}/skills/generate-backlog/SKILL.md +0 -0
  513. /package/{lib/bmad-extension → .opencode}/skills/generate-backlog/bmad-skill-manifest.yaml +0 -0
  514. /package/{lib/bmad-extension → .opencode}/skills/prioritize-backlog/SKILL.md +0 -0
  515. /package/{lib/bmad-extension → .opencode}/skills/prioritize-backlog/bmad-skill-manifest.yaml +0 -0
  516. /package/{lib/bmad-extension → .opencode}/skills/remove-from-sprint/SKILL.md +0 -0
  517. /package/{lib/bmad-extension → .opencode}/skills/remove-from-sprint/bmad-skill-manifest.yaml +0 -0
@@ -0,0 +1,321 @@
1
+ # Step 2: Context Rules Generation
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+ - ✅ ALWAYS treat this as collaborative discovery between technical peers
7
+ - 📋 YOU ARE A FACILITATOR, not a content generator
8
+ - 💬 FOCUS on unobvious rules that AI agents need to be reminded of
9
+ - 🎯 KEEP CONTENT LEAN - optimize for LLM context efficiency
10
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
11
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
12
+ - ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
13
+
14
+ ## EXECUTION PROTOCOLS:
15
+
16
+ - 🎯 Show your analysis before taking any action
17
+ - 📝 Focus on specific, actionable rules rather than general advice
18
+ - ⚠️ Present A/P/C menu after each major rule category
19
+ - 💾 ONLY save when user chooses C (Continue)
20
+ - 📖 Update frontmatter with completed sections
21
+ - 🚫 FORBIDDEN to load next step until all sections are complete
22
+
23
+ ## COLLABORATION MENUS (A/P/C):
24
+
25
+ This step will generate content and present choices for each rule category:
26
+
27
+ - **A (Advanced Elicitation)**: Use discovery protocols to explore nuanced implementation rules
28
+ - **P (Party Mode)**: Bring multiple perspectives to identify critical edge cases
29
+ - **C (Continue)**: Save the current rules and proceed to next category
30
+
31
+ ## PROTOCOL INTEGRATION:
32
+
33
+ - When 'A' selected: Invoke the `bmad-advanced-elicitation` skill
34
+ - When 'P' selected: Invoke the `bmad-party-mode` skill
35
+ - PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
36
+ - User accepts/rejects protocol changes before proceeding
37
+
38
+ ## CONTEXT BOUNDARIES:
39
+
40
+ - Discovery results from step-1 are available
41
+ - Technology stack and existing patterns are identified
42
+ - Focus on rules that prevent implementation mistakes
43
+ - Prioritize unobvious details that AI agents might miss
44
+
45
+ ## YOUR TASK:
46
+
47
+ Collaboratively generate specific, critical rules that AI agents must follow when implementing code in this project.
48
+
49
+ ## CONTEXT GENERATION SEQUENCE:
50
+
51
+ ### 1. Technology Stack & Versions
52
+
53
+ Document the exact technology stack from discovery:
54
+
55
+ **Core Technologies:**
56
+ Based on user skill level, present findings:
57
+
58
+ **Expert Mode:**
59
+ "Technology stack from your architecture and package files:
60
+ {{exact_technologies_with_versions}}
61
+
62
+ Any critical version constraints I should document for agents?"
63
+
64
+ **Intermediate Mode:**
65
+ "I found your technology stack:
66
+
67
+ **Core Technologies:**
68
+ {{main_technologies_with_versions}}
69
+
70
+ **Key Dependencies:**
71
+ {{important_dependencies_with_versions}}
72
+
73
+ Are there any version constraints or compatibility notes agents should know about?"
74
+
75
+ **Beginner Mode:**
76
+ "Here are the technologies you're using:
77
+
78
+ **Main Technologies:**
79
+ {{friendly_description_of_tech_stack}}
80
+
81
+ **Important Notes:**
82
+ {{key_things_agents_need_to_know_about_versions}}
83
+
84
+ Should I document any special version rules or compatibility requirements?"
85
+
86
+ ### 2. Language-Specific Rules
87
+
88
+ Focus on unobvious language patterns agents might miss:
89
+
90
+ **TypeScript/JavaScript Rules:**
91
+ "Based on your codebase, I notice some specific patterns:
92
+
93
+ **Configuration Requirements:**
94
+ {{typescript_config_rules}}
95
+
96
+ **Import/Export Patterns:**
97
+ {{import_export_conventions}}
98
+
99
+ **Error Handling Patterns:**
100
+ {{error_handling_requirements}}
101
+
102
+ Are these patterns correct? Any other language-specific rules agents should follow?"
103
+
104
+ **Python/Ruby/Other Language Rules:**
105
+ Adapt to the actual language in use with similar focused questions.
106
+
107
+ ### 3. Framework-Specific Rules
108
+
109
+ Document framework-specific patterns:
110
+
111
+ **React Rules (if applicable):**
112
+ "For React development, I see these patterns:
113
+
114
+ **Hooks Usage:**
115
+ {{hooks_usage_patterns}}
116
+
117
+ **Component Structure:**
118
+ {{component_organization_rules}}
119
+
120
+ **State Management:**
121
+ {{state_management_patterns}}
122
+
123
+ **Performance Rules:**
124
+ {{performance_optimization_requirements}}
125
+
126
+ Should I add any other React-specific rules?"
127
+
128
+ **Other Framework Rules:**
129
+ Adapt for Vue, Angular, Next.js, Express, etc.
130
+
131
+ ### 4. Testing Rules
132
+
133
+ Focus on testing patterns that ensure consistency:
134
+
135
+ **Test Structure Rules:**
136
+ "Your testing setup shows these patterns:
137
+
138
+ **Test Organization:**
139
+ {{test_file_organization}}
140
+
141
+ **Mock Usage:**
142
+ {{mock_patterns_and_conventions}}
143
+
144
+ **Test Coverage Requirements:**
145
+ {{coverage_expectations}}
146
+
147
+ **Integration vs Unit Test Rules:**
148
+ {{test_boundary_patterns}}
149
+
150
+ Are there testing rules agents should always follow?"
151
+
152
+ ### 5. Code Quality & Style Rules
153
+
154
+ Document critical style and quality rules:
155
+
156
+ **Linting/Formatting:**
157
+ "Your code style configuration requires:
158
+
159
+ **ESLint/Prettier Rules:**
160
+ {{specific_linting_rules}}
161
+
162
+ **Code Organization:**
163
+ {{file_and_folder_structure_rules}}
164
+
165
+ **Naming Conventions:**
166
+ {{naming_patterns_agents_must_follow}}
167
+
168
+ **Documentation Requirements:**
169
+ {{comment_and_documentation_patterns}}
170
+
171
+ Any additional code quality rules?"
172
+
173
+ ### 6. Development Workflow Rules
174
+
175
+ Document workflow patterns that affect implementation:
176
+
177
+ **Git/Repository Rules:**
178
+ "Your project uses these patterns:
179
+
180
+ **Branch Naming:**
181
+ {{branch_naming_conventions}}
182
+
183
+ **Commit Message Format:**
184
+ {{commit_message_patterns}}
185
+
186
+ **PR Requirements:**
187
+ {{pull_request_checklist}}
188
+
189
+ **Deployment Patterns:**
190
+ {{deployment_considerations}}
191
+
192
+ Should I document any other workflow rules?"
193
+
194
+ ### 7. Critical Don't-Miss Rules
195
+
196
+ Identify rules that prevent common mistakes:
197
+
198
+ **Anti-Patterns to Avoid:**
199
+ "Based on your codebase, here are critical things agents must NOT do:
200
+
201
+ {{critical_anti_patterns_with_examples}}
202
+
203
+ **Edge Cases:**
204
+ {{specific_edge_cases_agents_should_handle}}
205
+
206
+ **Security Rules:**
207
+ {{security_considerations_agents_must_follow}}
208
+
209
+ **Performance Gotchas:**
210
+ {{performance_patterns_to_avoid}}
211
+
212
+ Are there other 'gotchas' agents should know about?"
213
+
214
+ ### 8. Generate Context Content
215
+
216
+ For each category, prepare lean content for the project context file:
217
+
218
+ #### Content Structure:
219
+
220
+ ```markdown
221
+ ## Technology Stack & Versions
222
+
223
+ {{concise_technology_list_with_exact_versions}}
224
+
225
+ ## Critical Implementation Rules
226
+
227
+ ### Language-Specific Rules
228
+
229
+ {{bullet_points_of_critical_language_rules}}
230
+
231
+ ### Framework-Specific Rules
232
+
233
+ {{bullet_points_of_framework_patterns}}
234
+
235
+ ### Testing Rules
236
+
237
+ {{bullet_points_of_testing_requirements}}
238
+
239
+ ### Code Quality & Style Rules
240
+
241
+ {{bullet_points_of_style_and_quality_rules}}
242
+
243
+ ### Development Workflow Rules
244
+
245
+ {{bullet_points_of_workflow_patterns}}
246
+
247
+ ### Critical Don't-Miss Rules
248
+
249
+ {{bullet_points_of_anti_patterns_and_edge_cases}}
250
+ ```
251
+
252
+ ### 9. Present Content and Menu
253
+
254
+ After each category, show the generated rules and present choices:
255
+
256
+ "I've drafted the {{category_name}} rules for your project context.
257
+
258
+ **Here's what I'll add:**
259
+
260
+ [Show the complete markdown content for this category]
261
+
262
+ **What would you like to do?**
263
+ [A] Advanced Elicitation - Explore nuanced rules for this category
264
+ [P] Party Mode - Review from different implementation perspectives
265
+ [C] Continue - Save these rules and move to next category"
266
+
267
+ **HALT — wait for user selection before proceeding.**
268
+
269
+ ### 10. Handle Menu Selection
270
+
271
+ #### If 'A' (Advanced Elicitation):
272
+
273
+ - Invoke the `bmad-advanced-elicitation` skill with current category rules
274
+ - Process enhanced rules that come back
275
+ - Ask user: "Accept these enhanced rules for {{category}}? (y/n)"
276
+ - If yes: Update content, then return to A/P/C menu
277
+ - If no: Keep original content, then return to A/P/C menu
278
+
279
+ #### If 'P' (Party Mode):
280
+
281
+ - Invoke the `bmad-party-mode` skill with category rules context
282
+ - Process collaborative insights on implementation patterns
283
+ - Ask user: "Accept these changes to {{category}} rules? (y/n)"
284
+ - If yes: Update content, then return to A/P/C menu
285
+ - If no: Keep original content, then return to A/P/C menu
286
+
287
+ #### If 'C' (Continue):
288
+
289
+ - Save the current category content to project context file
290
+ - Update frontmatter: `sections_completed: [...]`
291
+ - Proceed to next category or step-03 if complete
292
+
293
+ ## APPEND TO PROJECT CONTEXT:
294
+
295
+ When user selects 'C' for a category, append the content directly to `{output_folder}/project-context.md` using the structure from step 8.
296
+
297
+ ## SUCCESS METRICS:
298
+
299
+ ✅ All critical technology versions accurately documented
300
+ ✅ Language-specific rules cover unobvious patterns
301
+ ✅ Framework rules capture project-specific conventions
302
+ ✅ Testing rules ensure consistent test quality
303
+ ✅ Code quality rules maintain project standards
304
+ ✅ Workflow rules prevent implementation conflicts
305
+ ✅ Content is lean and optimized for LLM context
306
+ ✅ A/P/C menu presented and handled correctly for each category
307
+
308
+ ## FAILURE MODES:
309
+
310
+ ❌ Including obvious rules that agents already know
311
+ ❌ Making content too verbose for LLM context efficiency
312
+ ❌ Missing critical anti-patterns or edge cases
313
+ ❌ Not getting user validation for each rule category
314
+ ❌ Not documenting exact versions and configurations
315
+ ❌ Not presenting A/P/C menu after content generation
316
+
317
+ ## NEXT STEP:
318
+
319
+ After completing all rule categories and user selects 'C' for the final category, load `./step-03-complete.md` to finalize the project context file.
320
+
321
+ Remember: Do NOT proceed to step-03 until all categories are complete and user explicitly selects 'C' for each!
@@ -0,0 +1,278 @@
1
+ # Step 3: Context Completion & Finalization
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+ - ✅ ALWAYS treat this as collaborative completion between technical peers
7
+ - 📋 YOU ARE A FACILITATOR, not a content generator
8
+ - 💬 FOCUS on finalizing a lean, LLM-optimized project context
9
+ - 🎯 ENSURE all critical rules are captured and actionable
10
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
11
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
12
+
13
+ ## EXECUTION PROTOCOLS:
14
+
15
+ - 🎯 Show your analysis before taking any action
16
+ - 📝 Review and optimize content for LLM context efficiency
17
+ - 📖 Update frontmatter with completion status
18
+ - 🚫 NO MORE STEPS - this is the final step
19
+
20
+ ## CONTEXT BOUNDARIES:
21
+
22
+ - All rule categories from step-2 are complete
23
+ - Technology stack and versions are documented
24
+ - Focus on final review, optimization, and completion
25
+ - Ensure the context file is ready for AI agent consumption
26
+
27
+ ## YOUR TASK:
28
+
29
+ Complete the project context file, optimize it for LLM efficiency, and provide guidance for usage and maintenance.
30
+
31
+ ## COMPLETION SEQUENCE:
32
+
33
+ ### 1. Review Complete Context File
34
+
35
+ Read the entire project context file and analyze:
36
+
37
+ **Content Analysis:**
38
+
39
+ - Total length and readability for LLMs
40
+ - Clarity and specificity of rules
41
+ - Coverage of all critical areas
42
+ - Actionability of each rule
43
+
44
+ **Structure Analysis:**
45
+
46
+ - Logical organization of sections
47
+ - Consistency of formatting
48
+ - Absence of redundant or obvious information
49
+ - Optimization for quick scanning
50
+
51
+ ### 2. Optimize for LLM Context
52
+
53
+ Ensure the file is lean and efficient:
54
+
55
+ **Content Optimization:**
56
+
57
+ - Remove any redundant rules or obvious information
58
+ - Combine related rules into concise bullet points
59
+ - Use specific, actionable language
60
+ - Ensure each rule provides unique value
61
+
62
+ **Formatting Optimization:**
63
+
64
+ - Use consistent markdown formatting
65
+ - Implement clear section hierarchy
66
+ - Ensure scannability with strategic use of bolding
67
+ - Maintain readability while maximizing information density
68
+
69
+ ### 3. Final Content Structure
70
+
71
+ Ensure the final structure follows this optimized format:
72
+
73
+ ```markdown
74
+ # Project Context for AI Agents
75
+
76
+ _This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
77
+
78
+ ---
79
+
80
+ ## Technology Stack & Versions
81
+
82
+ {{concise_technology_list}}
83
+
84
+ ## Critical Implementation Rules
85
+
86
+ ### Language-Specific Rules
87
+
88
+ {{specific_language_rules}}
89
+
90
+ ### Framework-Specific Rules
91
+
92
+ {{framework_patterns}}
93
+
94
+ ### Testing Rules
95
+
96
+ {{testing_requirements}}
97
+
98
+ ### Code Quality & Style Rules
99
+
100
+ {{style_and_quality_patterns}}
101
+
102
+ ### Development Workflow Rules
103
+
104
+ {{workflow_patterns}}
105
+
106
+ ### Critical Don't-Miss Rules
107
+
108
+ {{anti_patterns_and_edge_cases}}
109
+
110
+ ---
111
+
112
+ ## Usage Guidelines
113
+
114
+ **For AI Agents:**
115
+
116
+ - Read this file before implementing any code
117
+ - Follow ALL rules exactly as documented
118
+ - When in doubt, prefer the more restrictive option
119
+ - Update this file if new patterns emerge
120
+
121
+ **For Humans:**
122
+
123
+ - Keep this file lean and focused on agent needs
124
+ - Update when technology stack changes
125
+ - Review quarterly for outdated rules
126
+ - Remove rules that become obvious over time
127
+
128
+ Last Updated: {{date}}
129
+ ```
130
+
131
+ ### 4. Present Completion Summary
132
+
133
+ Based on user skill level, present the completion:
134
+
135
+ **Expert Mode:**
136
+ "Project context complete. Optimized for LLM consumption with {{rule_count}} critical rules across {{section_count}} sections.
137
+
138
+ File saved to: `{output_folder}/project-context.md`
139
+
140
+ Ready for AI agent integration."
141
+
142
+ **Intermediate Mode:**
143
+ "Your project context is complete and optimized for AI agents!
144
+
145
+ **What we created:**
146
+
147
+ - {{rule_count}} critical implementation rules
148
+ - Technology stack with exact versions
149
+ - Framework-specific patterns and conventions
150
+ - Testing and quality guidelines
151
+ - Workflow and anti-pattern rules
152
+
153
+ **Key benefits:**
154
+
155
+ - AI agents will implement consistently with your standards
156
+ - Reduced context switching and implementation errors
157
+ - Clear guidance for unobvious project requirements
158
+
159
+ **Next steps:**
160
+
161
+ - AI agents should read this file before implementing
162
+ - Update as your project evolves
163
+ - Review periodically for optimization"
164
+
165
+ **Beginner Mode:**
166
+ "Excellent! Your project context guide is ready! 🎉
167
+
168
+ **What this does:**
169
+ Think of this as a 'rules of the road' guide for AI agents working on your project. It ensures they all follow the same patterns and avoid common mistakes.
170
+
171
+ **What's included:**
172
+
173
+ - Exact technology versions to use
174
+ - Critical coding rules they might miss
175
+ - Testing and quality standards
176
+ - Workflow patterns to follow
177
+
178
+ **How AI agents use it:**
179
+ They read this file before writing any code, ensuring everything they create follows your project's standards perfectly.
180
+
181
+ Your project context is saved and ready to help agents implement consistently!"
182
+
183
+ ### 5. Final File Updates
184
+
185
+ Update the project context file with completion information:
186
+
187
+ **Frontmatter Update:**
188
+
189
+ ```yaml
190
+ ---
191
+ project_name: '{{project_name}}'
192
+ user_name: '{{user_name}}'
193
+ date: '{{date}}'
194
+ sections_completed:
195
+ ['technology_stack', 'language_rules', 'framework_rules', 'testing_rules', 'quality_rules', 'workflow_rules', 'anti_patterns']
196
+ status: 'complete'
197
+ rule_count: { { total_rules } }
198
+ optimized_for_llm: true
199
+ ---
200
+ ```
201
+
202
+ **Add Usage Section:**
203
+ Append the usage guidelines from step 3 to complete the document.
204
+
205
+ ### 6. Completion Validation
206
+
207
+ Final checks before completion:
208
+
209
+ **Content Validation:**
210
+ ✅ All critical technology versions documented
211
+ ✅ Language-specific rules are specific and actionable
212
+ ✅ Framework rules cover project conventions
213
+ ✅ Testing rules ensure consistency
214
+ ✅ Code quality rules maintain standards
215
+ ✅ Workflow rules prevent conflicts
216
+ ✅ Anti-pattern rules prevent common mistakes
217
+
218
+ **Format Validation:**
219
+ ✅ Content is lean and optimized for LLMs
220
+ ✅ Structure is logical and scannable
221
+ ✅ No redundant or obvious information
222
+ ✅ Consistent formatting throughout
223
+
224
+ ### 7. Completion Message
225
+
226
+ Present final completion to user:
227
+
228
+ "✅ **Project Context Generation Complete!**
229
+
230
+ Your optimized project context file is ready at:
231
+ `{output_folder}/project-context.md`
232
+
233
+ **📊 Context Summary:**
234
+
235
+ - {{rule_count}} critical rules for AI agents
236
+ - {{section_count}} comprehensive sections
237
+ - Optimized for LLM context efficiency
238
+ - Ready for immediate agent integration
239
+
240
+ **🎯 Key Benefits:**
241
+
242
+ - Consistent implementation across all AI agents
243
+ - Reduced common mistakes and edge cases
244
+ - Clear guidance for project-specific patterns
245
+ - Minimal LLM context usage
246
+
247
+ **📋 Next Steps:**
248
+
249
+ 1. AI agents will automatically read this file when implementing
250
+ 2. Update this file when your technology stack or patterns evolve
251
+ 3. Review quarterly to optimize and remove outdated rules
252
+
253
+ Your project context will help ensure high-quality, consistent implementation across all development work. Great work capturing your project's critical implementation requirements!"
254
+
255
+ ## SUCCESS METRICS:
256
+
257
+ ✅ Complete project context file with all critical rules
258
+ ✅ Content optimized for LLM context efficiency
259
+ ✅ All technology versions and patterns documented
260
+ ✅ File structure is logical and scannable
261
+ ✅ Usage guidelines included for agents and humans
262
+ ✅ Frontmatter properly updated with completion status
263
+ ✅ User provided with clear next steps and benefits
264
+
265
+ ## FAILURE MODES:
266
+
267
+ ❌ Final content is too verbose for LLM consumption
268
+ ❌ Missing critical implementation rules or patterns
269
+ ❌ Not optimizing content for agent readability
270
+ ❌ Not providing clear usage guidelines
271
+ ❌ Frontmatter not properly updated
272
+ ❌ Not validating file completion before ending
273
+
274
+ ## WORKFLOW COMPLETE:
275
+
276
+ This is the final step of the Generate Project Context workflow. The user now has a comprehensive, optimized project context file that will ensure consistent, high-quality implementation across all AI agents working on the project.
277
+
278
+ The project context file serves as the critical "rules of the road" that agents need to implement code consistently with the project's standards and patterns.
@@ -0,0 +1,43 @@
1
+ # Generate Project Context Workflow
2
+
3
+ **Goal:** Create a concise, optimized `project-context.md` file containing critical rules, patterns, and guidelines that AI agents must follow when implementing code. This file focuses on unobvious details that LLMs need to be reminded of.
4
+
5
+ **Your Role:** You are a technical facilitator working with a peer to capture the essential implementation rules that will ensure consistent, high-quality code generation across all AI agents working on the project.
6
+
7
+ ---
8
+
9
+ ## WORKFLOW ARCHITECTURE
10
+
11
+ This uses **micro-file architecture** for disciplined execution:
12
+
13
+ - Each step is a self-contained file with embedded rules
14
+ - Sequential progression with user control at each step
15
+ - Document state tracked in frontmatter
16
+ - Focus on lean, LLM-optimized content generation
17
+ - You NEVER proceed to a step file if the current step file indicates the user must approve and indicate continuation.
18
+
19
+ ---
20
+
21
+ ## INITIALIZATION
22
+
23
+ ### Configuration Loading
24
+
25
+ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
26
+
27
+ - `project_name`, `output_folder`, `user_name`
28
+ - `communication_language`, `document_output_language`, `user_skill_level`
29
+ - `date` as system-generated current datetime
30
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
31
+ - ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
32
+
33
+ ### Paths
34
+
35
+ - `output_file` = `{output_folder}/project-context.md`
36
+
37
+ ---
38
+
39
+ ## EXECUTION
40
+
41
+ Load and execute `./steps/step-01-discover.md` to begin the workflow.
42
+
43
+ **Note:** Input document discovery and initialization protocols are handled in step-01-discover.md.