@ngocsangairvds/vsaf 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (282) hide show
  1. package/.claude/skills/bmad-advanced-elicitation/SKILL.md +136 -0
  2. package/.claude/skills/bmad-advanced-elicitation/methods.csv +51 -0
  3. package/.claude/skills/bmad-agent-analyst/SKILL.md +59 -0
  4. package/.claude/skills/bmad-agent-analyst/bmad-skill-manifest.yaml +11 -0
  5. package/.claude/skills/bmad-agent-architect/SKILL.md +54 -0
  6. package/.claude/skills/bmad-agent-architect/bmad-skill-manifest.yaml +11 -0
  7. package/.claude/skills/bmad-agent-dev/SKILL.md +69 -0
  8. package/.claude/skills/bmad-agent-dev/bmad-skill-manifest.yaml +11 -0
  9. package/.claude/skills/bmad-agent-pm/SKILL.md +59 -0
  10. package/.claude/skills/bmad-agent-pm/bmad-skill-manifest.yaml +11 -0
  11. package/.claude/skills/bmad-agent-tech-writer/SKILL.md +57 -0
  12. package/.claude/skills/bmad-agent-tech-writer/bmad-skill-manifest.yaml +11 -0
  13. package/.claude/skills/bmad-agent-tech-writer/explain-concept.md +20 -0
  14. package/.claude/skills/bmad-agent-tech-writer/mermaid-gen.md +20 -0
  15. package/.claude/skills/bmad-agent-tech-writer/validate-doc.md +19 -0
  16. package/.claude/skills/bmad-agent-tech-writer/write-document.md +20 -0
  17. package/.claude/skills/bmad-agent-ux-designer/SKILL.md +55 -0
  18. package/.claude/skills/bmad-agent-ux-designer/bmad-skill-manifest.yaml +11 -0
  19. package/.claude/skills/bmad-brainstorming/SKILL.md +6 -0
  20. package/.claude/skills/bmad-brainstorming/brain-methods.csv +62 -0
  21. package/.claude/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
  22. package/.claude/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
  23. package/.claude/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
  24. package/.claude/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
  25. package/.claude/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
  26. package/.claude/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
  27. package/.claude/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
  28. package/.claude/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
  29. package/.claude/skills/bmad-brainstorming/template.md +15 -0
  30. package/.claude/skills/bmad-brainstorming/workflow.md +53 -0
  31. package/.claude/skills/bmad-check-implementation-readiness/SKILL.md +6 -0
  32. package/.claude/skills/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
  33. package/.claude/skills/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
  34. package/.claude/skills/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
  35. package/.claude/skills/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
  36. package/.claude/skills/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
  37. package/.claude/skills/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
  38. package/.claude/skills/bmad-check-implementation-readiness/templates/readiness-report-template.md +4 -0
  39. package/.claude/skills/bmad-check-implementation-readiness/workflow.md +47 -0
  40. package/.claude/skills/bmad-checkpoint-preview/SKILL.md +29 -0
  41. package/.claude/skills/bmad-checkpoint-preview/generate-trail.md +38 -0
  42. package/.claude/skills/bmad-checkpoint-preview/step-01-orientation.md +105 -0
  43. package/.claude/skills/bmad-checkpoint-preview/step-02-walkthrough.md +89 -0
  44. package/.claude/skills/bmad-checkpoint-preview/step-03-detail-pass.md +106 -0
  45. package/.claude/skills/bmad-checkpoint-preview/step-04-testing.md +74 -0
  46. package/.claude/skills/bmad-checkpoint-preview/step-05-wrapup.md +24 -0
  47. package/.claude/skills/bmad-code-review/SKILL.md +6 -0
  48. package/.claude/skills/bmad-code-review/steps/step-01-gather-context.md +85 -0
  49. package/.claude/skills/bmad-code-review/steps/step-02-review.md +34 -0
  50. package/.claude/skills/bmad-code-review/steps/step-03-triage.md +49 -0
  51. package/.claude/skills/bmad-code-review/steps/step-04-present.md +129 -0
  52. package/.claude/skills/bmad-code-review/workflow.md +55 -0
  53. package/.claude/skills/bmad-correct-course/SKILL.md +6 -0
  54. package/.claude/skills/bmad-correct-course/checklist.md +288 -0
  55. package/.claude/skills/bmad-correct-course/workflow.md +267 -0
  56. package/.claude/skills/bmad-create-architecture/SKILL.md +6 -0
  57. package/.claude/skills/bmad-create-architecture/architecture-decision-template.md +12 -0
  58. package/.claude/skills/bmad-create-architecture/data/domain-complexity.csv +13 -0
  59. package/.claude/skills/bmad-create-architecture/data/project-types.csv +7 -0
  60. package/.claude/skills/bmad-create-architecture/steps/step-01-init.md +153 -0
  61. package/.claude/skills/bmad-create-architecture/steps/step-01b-continue.md +173 -0
  62. package/.claude/skills/bmad-create-architecture/steps/step-02-context.md +224 -0
  63. package/.claude/skills/bmad-create-architecture/steps/step-03-starter.md +329 -0
  64. package/.claude/skills/bmad-create-architecture/steps/step-04-decisions.md +318 -0
  65. package/.claude/skills/bmad-create-architecture/steps/step-05-patterns.md +359 -0
  66. package/.claude/skills/bmad-create-architecture/steps/step-06-structure.md +379 -0
  67. package/.claude/skills/bmad-create-architecture/steps/step-07-validation.md +359 -0
  68. package/.claude/skills/bmad-create-architecture/steps/step-08-complete.md +76 -0
  69. package/.claude/skills/bmad-create-architecture/workflow.md +32 -0
  70. package/.claude/skills/bmad-create-epics-and-stories/SKILL.md +6 -0
  71. package/.claude/skills/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
  72. package/.claude/skills/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
  73. package/.claude/skills/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
  74. package/.claude/skills/bmad-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
  75. package/.claude/skills/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
  76. package/.claude/skills/bmad-create-epics-and-stories/workflow.md +51 -0
  77. package/.claude/skills/bmad-create-prd/SKILL.md +6 -0
  78. package/.claude/skills/bmad-create-prd/data/domain-complexity.csv +15 -0
  79. package/.claude/skills/bmad-create-prd/data/prd-purpose.md +197 -0
  80. package/.claude/skills/bmad-create-prd/data/project-types.csv +11 -0
  81. package/.claude/skills/bmad-create-prd/steps-c/step-01-init.md +178 -0
  82. package/.claude/skills/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
  83. package/.claude/skills/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
  84. package/.claude/skills/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
  85. package/.claude/skills/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
  86. package/.claude/skills/bmad-create-prd/steps-c/step-03-success.md +214 -0
  87. package/.claude/skills/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
  88. package/.claude/skills/bmad-create-prd/steps-c/step-05-domain.md +194 -0
  89. package/.claude/skills/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
  90. package/.claude/skills/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
  91. package/.claude/skills/bmad-create-prd/steps-c/step-08-scoping.md +216 -0
  92. package/.claude/skills/bmad-create-prd/steps-c/step-09-functional.md +219 -0
  93. package/.claude/skills/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
  94. package/.claude/skills/bmad-create-prd/steps-c/step-11-polish.md +221 -0
  95. package/.claude/skills/bmad-create-prd/steps-c/step-12-complete.md +115 -0
  96. package/.claude/skills/bmad-create-prd/templates/prd-template.md +10 -0
  97. package/.claude/skills/bmad-create-prd/workflow.md +61 -0
  98. package/.claude/skills/bmad-create-story/SKILL.md +6 -0
  99. package/.claude/skills/bmad-create-story/checklist.md +357 -0
  100. package/.claude/skills/bmad-create-story/discover-inputs.md +88 -0
  101. package/.claude/skills/bmad-create-story/template.md +49 -0
  102. package/.claude/skills/bmad-create-story/workflow.md +380 -0
  103. package/.claude/skills/bmad-create-ux-design/SKILL.md +6 -0
  104. package/.claude/skills/bmad-create-ux-design/steps/step-01-init.md +135 -0
  105. package/.claude/skills/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
  106. package/.claude/skills/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
  107. package/.claude/skills/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
  108. package/.claude/skills/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
  109. package/.claude/skills/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
  110. package/.claude/skills/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
  111. package/.claude/skills/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
  112. package/.claude/skills/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
  113. package/.claude/skills/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
  114. package/.claude/skills/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
  115. package/.claude/skills/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
  116. package/.claude/skills/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
  117. package/.claude/skills/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
  118. package/.claude/skills/bmad-create-ux-design/steps/step-14-complete.md +171 -0
  119. package/.claude/skills/bmad-create-ux-design/ux-design-template.md +13 -0
  120. package/.claude/skills/bmad-create-ux-design/workflow.md +35 -0
  121. package/.claude/skills/bmad-dev-story/SKILL.md +6 -0
  122. package/.claude/skills/bmad-dev-story/checklist.md +80 -0
  123. package/.claude/skills/bmad-dev-story/workflow.md +450 -0
  124. package/.claude/skills/bmad-distillator/SKILL.md +177 -0
  125. package/.claude/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
  126. package/.claude/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
  127. package/.claude/skills/bmad-distillator/resources/compression-rules.md +51 -0
  128. package/.claude/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
  129. package/.claude/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
  130. package/.claude/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
  131. package/.claude/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
  132. package/.claude/skills/bmad-document-project/SKILL.md +6 -0
  133. package/.claude/skills/bmad-document-project/checklist.md +245 -0
  134. package/.claude/skills/bmad-document-project/documentation-requirements.csv +12 -0
  135. package/.claude/skills/bmad-document-project/instructions.md +128 -0
  136. package/.claude/skills/bmad-document-project/templates/deep-dive-template.md +345 -0
  137. package/.claude/skills/bmad-document-project/templates/index-template.md +169 -0
  138. package/.claude/skills/bmad-document-project/templates/project-overview-template.md +103 -0
  139. package/.claude/skills/bmad-document-project/templates/project-scan-report-schema.json +160 -0
  140. package/.claude/skills/bmad-document-project/templates/source-tree-template.md +135 -0
  141. package/.claude/skills/bmad-document-project/workflow.md +25 -0
  142. package/.claude/skills/bmad-document-project/workflows/deep-dive-instructions.md +299 -0
  143. package/.claude/skills/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
  144. package/.claude/skills/bmad-document-project/workflows/full-scan-instructions.md +1107 -0
  145. package/.claude/skills/bmad-document-project/workflows/full-scan-workflow.md +34 -0
  146. package/.claude/skills/bmad-domain-research/SKILL.md +6 -0
  147. package/.claude/skills/bmad-domain-research/domain-steps/step-01-init.md +137 -0
  148. package/.claude/skills/bmad-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
  149. package/.claude/skills/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
  150. package/.claude/skills/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
  151. package/.claude/skills/bmad-domain-research/domain-steps/step-05-technical-trends.md +234 -0
  152. package/.claude/skills/bmad-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
  153. package/.claude/skills/bmad-domain-research/research.template.md +29 -0
  154. package/.claude/skills/bmad-domain-research/workflow.md +51 -0
  155. package/.claude/skills/bmad-edit-prd/SKILL.md +6 -0
  156. package/.claude/skills/bmad-edit-prd/data/prd-purpose.md +197 -0
  157. package/.claude/skills/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
  158. package/.claude/skills/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
  159. package/.claude/skills/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
  160. package/.claude/skills/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
  161. package/.claude/skills/bmad-edit-prd/steps-e/step-e-04-complete.md +163 -0
  162. package/.claude/skills/bmad-edit-prd/workflow.md +62 -0
  163. package/.claude/skills/bmad-editorial-review-prose/SKILL.md +86 -0
  164. package/.claude/skills/bmad-editorial-review-structure/SKILL.md +179 -0
  165. package/.claude/skills/bmad-generate-project-context/SKILL.md +6 -0
  166. package/.claude/skills/bmad-generate-project-context/project-context-template.md +21 -0
  167. package/.claude/skills/bmad-generate-project-context/steps/step-01-discover.md +186 -0
  168. package/.claude/skills/bmad-generate-project-context/steps/step-02-generate.md +321 -0
  169. package/.claude/skills/bmad-generate-project-context/steps/step-03-complete.md +278 -0
  170. package/.claude/skills/bmad-generate-project-context/workflow.md +39 -0
  171. package/.claude/skills/bmad-help/SKILL.md +75 -0
  172. package/.claude/skills/bmad-index-docs/SKILL.md +66 -0
  173. package/.claude/skills/bmad-market-research/SKILL.md +6 -0
  174. package/.claude/skills/bmad-market-research/research.template.md +29 -0
  175. package/.claude/skills/bmad-market-research/steps/step-01-init.md +184 -0
  176. package/.claude/skills/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
  177. package/.claude/skills/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
  178. package/.claude/skills/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
  179. package/.claude/skills/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
  180. package/.claude/skills/bmad-market-research/steps/step-06-research-completion.md +478 -0
  181. package/.claude/skills/bmad-market-research/workflow.md +51 -0
  182. package/.claude/skills/bmad-party-mode/SKILL.md +125 -0
  183. package/.claude/skills/bmad-prfaq/SKILL.md +96 -0
  184. package/.claude/skills/bmad-prfaq/agents/artifact-analyzer.md +60 -0
  185. package/.claude/skills/bmad-prfaq/agents/web-researcher.md +49 -0
  186. package/.claude/skills/bmad-prfaq/assets/prfaq-template.md +62 -0
  187. package/.claude/skills/bmad-prfaq/bmad-manifest.json +16 -0
  188. package/.claude/skills/bmad-prfaq/references/customer-faq.md +55 -0
  189. package/.claude/skills/bmad-prfaq/references/internal-faq.md +51 -0
  190. package/.claude/skills/bmad-prfaq/references/press-release.md +60 -0
  191. package/.claude/skills/bmad-prfaq/references/verdict.md +79 -0
  192. package/.claude/skills/bmad-product-brief/SKILL.md +82 -0
  193. package/.claude/skills/bmad-product-brief/agents/artifact-analyzer.md +60 -0
  194. package/.claude/skills/bmad-product-brief/agents/opportunity-reviewer.md +44 -0
  195. package/.claude/skills/bmad-product-brief/agents/skeptic-reviewer.md +44 -0
  196. package/.claude/skills/bmad-product-brief/agents/web-researcher.md +49 -0
  197. package/.claude/skills/bmad-product-brief/bmad-manifest.json +17 -0
  198. package/.claude/skills/bmad-product-brief/prompts/contextual-discovery.md +57 -0
  199. package/.claude/skills/bmad-product-brief/prompts/draft-and-review.md +86 -0
  200. package/.claude/skills/bmad-product-brief/prompts/finalize.md +75 -0
  201. package/.claude/skills/bmad-product-brief/prompts/guided-elicitation.md +70 -0
  202. package/.claude/skills/bmad-product-brief/resources/brief-template.md +60 -0
  203. package/.claude/skills/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
  204. package/.claude/skills/bmad-qa-generate-e2e-tests/checklist.md +33 -0
  205. package/.claude/skills/bmad-qa-generate-e2e-tests/workflow.md +136 -0
  206. package/.claude/skills/bmad-quick-dev/SKILL.md +6 -0
  207. package/.claude/skills/bmad-quick-dev/compile-epic-context.md +62 -0
  208. package/.claude/skills/bmad-quick-dev/spec-template.md +88 -0
  209. package/.claude/skills/bmad-quick-dev/step-01-clarify-and-route.md +91 -0
  210. package/.claude/skills/bmad-quick-dev/step-02-plan.md +47 -0
  211. package/.claude/skills/bmad-quick-dev/step-03-implement.md +39 -0
  212. package/.claude/skills/bmad-quick-dev/step-04-review.md +49 -0
  213. package/.claude/skills/bmad-quick-dev/step-05-present.md +63 -0
  214. package/.claude/skills/bmad-quick-dev/step-oneshot.md +61 -0
  215. package/.claude/skills/bmad-quick-dev/workflow.md +75 -0
  216. package/.claude/skills/bmad-retrospective/SKILL.md +6 -0
  217. package/.claude/skills/bmad-retrospective/workflow.md +1479 -0
  218. package/.claude/skills/bmad-review-adversarial-general/SKILL.md +37 -0
  219. package/.claude/skills/bmad-review-edge-case-hunter/SKILL.md +67 -0
  220. package/.claude/skills/bmad-shard-doc/SKILL.md +105 -0
  221. package/.claude/skills/bmad-sprint-planning/SKILL.md +6 -0
  222. package/.claude/skills/bmad-sprint-planning/checklist.md +33 -0
  223. package/.claude/skills/bmad-sprint-planning/sprint-status-template.yaml +56 -0
  224. package/.claude/skills/bmad-sprint-planning/workflow.md +263 -0
  225. package/.claude/skills/bmad-sprint-status/SKILL.md +6 -0
  226. package/.claude/skills/bmad-sprint-status/workflow.md +261 -0
  227. package/.claude/skills/bmad-technical-research/SKILL.md +6 -0
  228. package/.claude/skills/bmad-technical-research/research.template.md +29 -0
  229. package/.claude/skills/bmad-technical-research/technical-steps/step-01-init.md +137 -0
  230. package/.claude/skills/bmad-technical-research/technical-steps/step-02-technical-overview.md +239 -0
  231. package/.claude/skills/bmad-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
  232. package/.claude/skills/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
  233. package/.claude/skills/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
  234. package/.claude/skills/bmad-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
  235. package/.claude/skills/bmad-technical-research/workflow.md +52 -0
  236. package/.claude/skills/bmad-validate-prd/SKILL.md +6 -0
  237. package/.claude/skills/bmad-validate-prd/data/domain-complexity.csv +15 -0
  238. package/.claude/skills/bmad-validate-prd/data/prd-purpose.md +197 -0
  239. package/.claude/skills/bmad-validate-prd/data/project-types.csv +11 -0
  240. package/.claude/skills/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
  241. package/.claude/skills/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
  242. package/.claude/skills/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
  243. package/.claude/skills/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
  244. package/.claude/skills/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
  245. package/.claude/skills/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
  246. package/.claude/skills/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
  247. package/.claude/skills/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
  248. package/.claude/skills/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
  249. package/.claude/skills/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
  250. package/.claude/skills/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
  251. package/.claude/skills/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
  252. package/.claude/skills/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
  253. package/.claude/skills/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
  254. package/.claude/skills/bmad-validate-prd/workflow.md +61 -0
  255. package/.claude/skills/gitnexus/gitnexus-cli/SKILL.md +82 -0
  256. package/.claude/skills/gitnexus/gitnexus-debugging/SKILL.md +89 -0
  257. package/.claude/skills/gitnexus/gitnexus-exploring/SKILL.md +78 -0
  258. package/.claude/skills/gitnexus/gitnexus-guide/SKILL.md +64 -0
  259. package/.claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md +97 -0
  260. package/.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md +121 -0
  261. package/.claude/skills/openspec-apply-change/SKILL.md +156 -0
  262. package/.claude/skills/openspec-archive-change/SKILL.md +114 -0
  263. package/.claude/skills/openspec-explore/SKILL.md +288 -0
  264. package/.claude/skills/openspec-propose/SKILL.md +110 -0
  265. package/.claude/skills/vsaf-build/SKILL.md +52 -0
  266. package/.claude/skills/vsaf-doc/SKILL.md +66 -0
  267. package/.claude/skills/vsaf-memory-protocol.md +51 -0
  268. package/.claude/skills/vsaf-onboard/SKILL.md +55 -0
  269. package/.claude/skills/vsaf-plan/SKILL.md +68 -0
  270. package/.claude/skills/vsaf-ship/SKILL.md +76 -0
  271. package/.claude/skills/vsaf-test/SKILL.md +70 -0
  272. package/README.md +124 -0
  273. package/assets/templates/.claude/settings.json +82 -0
  274. package/assets/templates/CLAUDE.md +248 -0
  275. package/assets/templates/Makefile +77 -0
  276. package/assets/templates/scripts/session-end-check.sh +28 -0
  277. package/bin/vsaf.js +68 -0
  278. package/package.json +22 -0
  279. package/src/global.js +98 -0
  280. package/src/project.js +94 -0
  281. package/src/status.js +51 -0
  282. package/src/utils.js +42 -0
@@ -0,0 +1,197 @@
1
+ # BMAD PRD Purpose
2
+
3
+ **The PRD is the top of the required funnel that feeds all subsequent product development work in rhw BMad Method.**
4
+
5
+ ---
6
+
7
+ ## What is a BMAD PRD?
8
+
9
+ A dual-audience document serving:
10
+ 1. **Human Product Managers and builders** - Vision, strategy, stakeholder communication
11
+ 2. **LLM Downstream Consumption** - UX Design → Architecture → Epics → Development AI Agents
12
+
13
+ Each successive document becomes more AI-tailored and granular.
14
+
15
+ ---
16
+
17
+ ## Core Philosophy: Information Density
18
+
19
+ **High Signal-to-Noise Ratio**
20
+
21
+ Every sentence must carry information weight. LLMs consume precise, dense content efficiently.
22
+
23
+ **Anti-Patterns (Eliminate These):**
24
+ - ❌ "The system will allow users to..." → ✅ "Users can..."
25
+ - ❌ "It is important to note that..." → ✅ State the fact directly
26
+ - ❌ "In order to..." → ✅ "To..."
27
+ - ❌ Conversational filler and padding → ✅ Direct, concise statements
28
+
29
+ **Goal:** Maximum information per word. Zero fluff.
30
+
31
+ ---
32
+
33
+ ## The Traceability Chain
34
+
35
+ **PRD starts the chain:**
36
+ ```
37
+ Vision → Success Criteria → User Journeys → Functional Requirements → (future: User Stories)
38
+ ```
39
+
40
+ **In the PRD, establish:**
41
+ - Vision → Success Criteria alignment
42
+ - Success Criteria → User Journey coverage
43
+ - User Journey → Functional Requirement mapping
44
+ - All requirements traceable to user needs
45
+
46
+ **Why:** Each downstream artifact (UX, Architecture, Epics, Stories) must trace back to documented user needs and business objectives. This chain ensures we build the right thing.
47
+
48
+ ---
49
+
50
+ ## What Makes Great Functional Requirements?
51
+
52
+ ### FRs are Capabilities, Not Implementation
53
+
54
+ **Good FR:** "Users can reset their password via email link"
55
+ **Bad FR:** "System sends JWT via email and validates with database" (implementation leakage)
56
+
57
+ **Good FR:** "Dashboard loads in under 2 seconds for 95th percentile"
58
+ **Bad FR:** "Fast loading time" (subjective, unmeasurable)
59
+
60
+ ### SMART Quality Criteria
61
+
62
+ **Specific:** Clear, precisely defined capability
63
+ **Measurable:** Quantifiable with test criteria
64
+ **Attainable:** Realistic within constraints
65
+ **Relevant:** Aligns with business objectives
66
+ **Traceable:** Links to source (executive summary or user journey)
67
+
68
+ ### FR Anti-Patterns
69
+
70
+ **Subjective Adjectives:**
71
+ - ❌ "easy to use", "intuitive", "user-friendly", "fast", "responsive"
72
+ - ✅ Use metrics: "completes task in under 3 clicks", "loads in under 2 seconds"
73
+
74
+ **Implementation Leakage:**
75
+ - ❌ Technology names, specific libraries, implementation details
76
+ - ✅ Focus on capability and measurable outcomes
77
+
78
+ **Vague Quantifiers:**
79
+ - ❌ "multiple users", "several options", "various formats"
80
+ - ✅ "up to 100 concurrent users", "3-5 options", "PDF, DOCX, TXT formats"
81
+
82
+ **Missing Test Criteria:**
83
+ - ❌ "The system shall provide notifications"
84
+ - ✅ "The system shall send email notifications within 30 seconds of trigger event"
85
+
86
+ ---
87
+
88
+ ## What Makes Great Non-Functional Requirements?
89
+
90
+ ### NFRs Must Be Measurable
91
+
92
+ **Template:**
93
+ ```
94
+ "The system shall [metric] [condition] [measurement method]"
95
+ ```
96
+
97
+ **Examples:**
98
+ - ✅ "The system shall respond to API requests in under 200ms for 95th percentile as measured by APM monitoring"
99
+ - ✅ "The system shall maintain 99.9% uptime during business hours as measured by cloud provider SLA"
100
+ - ✅ "The system shall support 10,000 concurrent users as measured by load testing"
101
+
102
+ ### NFR Anti-Patterns
103
+
104
+ **Unmeasurable Claims:**
105
+ - ❌ "The system shall be scalable" → ✅ "The system shall handle 10x load growth through horizontal scaling"
106
+ - ❌ "High availability required" → ✅ "99.9% uptime as measured by cloud provider SLA"
107
+
108
+ **Missing Context:**
109
+ - ❌ "Response time under 1 second" → ✅ "API response time under 1 second for 95th percentile under normal load"
110
+
111
+ ---
112
+
113
+ ## Domain-Specific Requirements
114
+
115
+ **Auto-Detect and Enforce Based on Project Context**
116
+
117
+ Certain industries have mandatory requirements that must be present:
118
+
119
+ - **Healthcare:** HIPAA Privacy & Security Rules, PHI encryption, audit logging, MFA
120
+ - **Fintech:** PCI-DSS Level 1, AML/KYC compliance, SOX controls, financial audit trails
121
+ - **GovTech:** NIST framework, Section 508 accessibility (WCAG 2.1 AA), FedRAMP, data residency
122
+ - **E-Commerce:** PCI-DSS for payments, inventory accuracy, tax calculation by jurisdiction
123
+
124
+ **Why:** Missing these requirements in the PRD means they'll be missed in architecture and implementation, creating expensive rework. During PRD creation there is a step to cover this - during validation we want to make sure it was covered. For this purpose steps will utilize a domain-complexity.csv and project-types.csv.
125
+
126
+ ---
127
+
128
+ ## Document Structure (Markdown, Human-Readable)
129
+
130
+ ### Required Sections
131
+ 1. **Executive Summary** - Vision, differentiator, target users
132
+ 2. **Success Criteria** - Measurable outcomes (SMART)
133
+ 3. **Product Scope** - MVP, Growth, Vision phases
134
+ 4. **User Journeys** - Comprehensive coverage
135
+ 5. **Domain Requirements** - Industry-specific compliance (if applicable)
136
+ 6. **Innovation Analysis** - Competitive differentiation (if applicable)
137
+ 7. **Project-Type Requirements** - Platform-specific needs
138
+ 8. **Functional Requirements** - Capability contract (FRs)
139
+ 9. **Non-Functional Requirements** - Quality attributes (NFRs)
140
+
141
+ ### Formatting for Dual Consumption
142
+
143
+ **For Humans:**
144
+ - Clear, professional language
145
+ - Logical flow from vision to requirements
146
+ - Easy for stakeholders to review and approve
147
+
148
+ **For LLMs:**
149
+ - ## Level 2 headers for all main sections (enables extraction)
150
+ - Consistent structure and patterns
151
+ - Precise, testable language
152
+ - High information density
153
+
154
+ ---
155
+
156
+ ## Downstream Impact
157
+
158
+ **How the PRD Feeds Next Artifacts:**
159
+
160
+ **UX Design:**
161
+ - User journeys → interaction flows
162
+ - FRs → design requirements
163
+ - Success criteria → UX metrics
164
+
165
+ **Architecture:**
166
+ - FRs → system capabilities
167
+ - NFRs → architecture decisions
168
+ - Domain requirements → compliance architecture
169
+ - Project-type requirements → platform choices
170
+
171
+ **Epics & Stories (created after architecture):**
172
+ - FRs → user stories (1 FR could map to 1-3 stories potentially)
173
+ - Acceptance criteria → story acceptance tests
174
+ - Priority → sprint sequencing
175
+ - Traceability → stories map back to vision
176
+
177
+ **Development AI Agents:**
178
+ - Precise requirements → implementation clarity
179
+ - Test criteria → automated test generation
180
+ - Domain requirements → compliance enforcement
181
+ - Measurable NFRs → performance targets
182
+
183
+ ---
184
+
185
+ ## Summary: What Makes a Great BMAD PRD?
186
+
187
+ ✅ **High Information Density** - Every sentence carries weight, zero fluff
188
+ ✅ **Measurable Requirements** - All FRs and NFRs are testable with specific criteria
189
+ ✅ **Clear Traceability** - Each requirement links to user need and business objective
190
+ ✅ **Domain Awareness** - Industry-specific requirements auto-detected and included
191
+ ✅ **Zero Anti-Patterns** - No subjective adjectives, implementation leakage, or vague quantifiers
192
+ ✅ **Dual Audience Optimized** - Human-readable AND LLM-consumable
193
+ ✅ **Markdown Format** - Professional, clean, accessible to all stakeholders
194
+
195
+ ---
196
+
197
+ **Remember:** The PRD is the foundation. Quality here ripples through every subsequent phase. A dense, precise, well-traced PRD makes UX design, architecture, epic breakdown, and AI development dramatically more effective.
@@ -0,0 +1,242 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ prdPurpose: '../data/prd-purpose.md'
4
+ ---
5
+
6
+ # Step E-1: Discovery & Understanding
7
+
8
+ ## STEP GOAL:
9
+
10
+ Understand what the user wants to edit in the PRD, detect PRD format/type, check for validation report guidance, and route appropriately.
11
+
12
+ ## MANDATORY EXECUTION RULES (READ FIRST):
13
+
14
+ ### Universal Rules:
15
+
16
+ - 🛑 NEVER generate content without user input
17
+ - 📖 CRITICAL: Read the complete step file before taking any action
18
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
19
+ - 📋 YOU ARE A FACILITATOR, not a content generator
20
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
21
+ - ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
22
+
23
+ ### Role Reinforcement:
24
+
25
+ - ✅ You are a Validation Architect and PRD Improvement Specialist
26
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
27
+ - ✅ We engage in collaborative dialogue, not command-response
28
+ - ✅ You bring analytical expertise and improvement guidance
29
+ - ✅ User brings domain knowledge and edit requirements
30
+
31
+ ### Step-Specific Rules:
32
+
33
+ - 🎯 Focus ONLY on discovering user intent and PRD format
34
+ - 🚫 FORBIDDEN to make any edits yet
35
+ - 💬 Approach: Inquisitive and analytical, understanding before acting
36
+ - 🚪 This is a branch step - may route to legacy conversion
37
+
38
+ ## EXECUTION PROTOCOLS:
39
+
40
+ - 🎯 Discover user's edit requirements
41
+ - 🎯 Auto-detect validation reports in PRD folder (use as guide)
42
+ - 🎯 Load validation report if provided (use as guide)
43
+ - 🎯 Detect PRD format (BMAD/legacy)
44
+ - 🎯 Route appropriately based on format
45
+ - 💾 Document discoveries for next step
46
+ - 🚫 FORBIDDEN to proceed without understanding requirements
47
+
48
+ ## CONTEXT BOUNDARIES:
49
+
50
+ - Available context: PRD file to edit, optional validation report, auto-detected validation reports
51
+ - Focus: User intent discovery and format detection only
52
+ - Limits: Don't edit yet, don't validate yet
53
+ - Dependencies: None - this is first edit step
54
+
55
+ ## MANDATORY SEQUENCE
56
+
57
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
58
+
59
+ ### 1. Load PRD Purpose Standards
60
+
61
+ Load and read the complete file at:
62
+ `{prdPurpose}` (data/prd-purpose.md)
63
+
64
+ This file defines what makes a great BMAD PRD. Internalize this understanding - it will guide improvement recommendations.
65
+
66
+ ### 2. Discover PRD to Edit
67
+
68
+ "**PRD Edit Workflow**
69
+
70
+ Which PRD would you like to edit?
71
+
72
+ Please provide the path to the PRD file you want to edit."
73
+
74
+ **Wait for user to provide PRD path.**
75
+
76
+ ### 3. Validate PRD Exists and Load
77
+
78
+ Once PRD path is provided:
79
+ - Check if PRD file exists at specified path
80
+ - If not found: "I cannot find a PRD at that path. Please check the path and try again."
81
+ - If found: Load the complete PRD file including frontmatter
82
+
83
+ ### 4. Check for Existing Validation Report
84
+
85
+ **Check if validation report exists in the PRD folder:**
86
+
87
+ ```bash
88
+ # Look for most recent validation report in the PRD folder
89
+ ls -t {prd_folder_path}/validation-report-*.md 2>/dev/null | head -1
90
+ ```
91
+
92
+ **If validation report found:**
93
+
94
+ Display:
95
+ "**📋 Found Validation Report**
96
+
97
+ I found a validation report from {validation_date} in the PRD folder.
98
+
99
+ This report contains findings from previous validation checks and can help guide our edits to fix known issues.
100
+
101
+ **Would you like to:**
102
+ - **[U] Use validation report** - Load it to guide and prioritize edits
103
+ - **[S] Skip** - Proceed with manual edit discovery"
104
+
105
+ **Wait for user input.**
106
+
107
+ **IF U (Use validation report):**
108
+ - Load the validation report file
109
+ - Extract findings, issues, and improvement suggestions
110
+ - Note: "Validation report loaded - will use it to guide prioritized improvements"
111
+ - Continue to step 5
112
+
113
+ **IF S (Skip) or no validation report found:**
114
+ - Note: "Proceeding with manual edit discovery"
115
+ - Continue to step 5
116
+
117
+ **If no validation report found:**
118
+ - Note: "No validation report found in PRD folder"
119
+ - Continue to step 5 without asking user
120
+
121
+ ### 5. Ask About Validation Report
122
+
123
+ "**Do you have a validation report to guide edits?**
124
+
125
+ If you've run the validation workflow on this PRD, I can use that report to guide improvements and prioritize changes.
126
+
127
+ Validation report path (or type 'none'):"
128
+
129
+ **Wait for user input.**
130
+
131
+ **If validation report path provided:**
132
+ - Load the validation report
133
+ - Extract findings, severity, improvement suggestions
134
+ - Note: "Validation report loaded - will use it to guide prioritized improvements"
135
+
136
+ **If no validation report:**
137
+ - Note: "Proceeding with manual edit discovery"
138
+ - Continue to step 6
139
+
140
+ ### 6. Discover Edit Requirements
141
+
142
+ "**What would you like to edit in this PRD?**
143
+
144
+ Please describe the changes you want to make. For example:
145
+ - Fix specific issues (information density, implementation leakage, etc.)
146
+ - Add missing sections or content
147
+ - Improve structure and flow
148
+ - Convert to BMAD format (if legacy PRD)
149
+ - General improvements
150
+ - Other changes
151
+
152
+ **Describe your edit goals:**"
153
+
154
+ **Wait for user to describe their requirements.**
155
+
156
+ ### 7. Detect PRD Format
157
+
158
+ Analyze the loaded PRD:
159
+
160
+ **Extract all ## Level 2 headers** from PRD
161
+
162
+ **Check for BMAD PRD core sections:**
163
+ 1. Executive Summary
164
+ 2. Success Criteria
165
+ 3. Product Scope
166
+ 4. User Journeys
167
+ 5. Functional Requirements
168
+ 6. Non-Functional Requirements
169
+
170
+ **Classify format:**
171
+ - **BMAD Standard:** 5-6 core sections present
172
+ - **BMAD Variant:** 3-4 core sections present, generally follows BMAD patterns
173
+ - **Legacy (Non-Standard):** Fewer than 3 core sections, does not follow BMAD structure
174
+
175
+ ### 8. Route Based on Format and Context
176
+
177
+ **IF validation report provided OR PRD is BMAD Standard/Variant:**
178
+
179
+ Display: "**Edit Requirements Understood**
180
+
181
+ **PRD Format:** {classification}
182
+ {If validation report: "**Validation Guide:** Yes - will use validation report findings"}
183
+ **Edit Goals:** {summary of user's requirements}
184
+
185
+ **Proceeding to deep review and analysis...**"
186
+
187
+ Read fully and follow: `./step-e-02-review.md`
188
+
189
+ **IF PRD is Legacy (Non-Standard) AND no validation report:**
190
+
191
+ Display: "**Format Detected:** Legacy PRD
192
+
193
+ This PRD does not follow BMAD standard structure (only {count}/6 core sections present).
194
+
195
+ **Your edit goals:** {user's requirements}
196
+
197
+ **How would you like to proceed?**"
198
+
199
+ Present MENU OPTIONS below for user selection
200
+
201
+ ### 9. Present MENU OPTIONS (Legacy PRDs Only)
202
+
203
+ **[C] Convert to BMAD Format** - Convert PRD to BMAD standard structure, then apply your edits
204
+ **[E] Edit As-Is** - Apply your edits without converting the format
205
+ **[X] Exit** - Exit and review conversion options
206
+
207
+ #### EXECUTION RULES:
208
+
209
+ - ALWAYS halt and wait for user input
210
+ - Only proceed based on user selection
211
+
212
+ #### Menu Handling Logic:
213
+
214
+ - IF C (Convert): Read fully and follow: `./step-e-01b-legacy-conversion.md`
215
+ - IF E (Edit As-Is): Display "Proceeding with edits..." then load next step
216
+ - IF X (Exit): Display summary and exit
217
+ - IF Any other: help user, then redisplay menu
218
+
219
+ ---
220
+
221
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
222
+
223
+ ### ✅ SUCCESS:
224
+
225
+ - User's edit requirements clearly understood
226
+ - Auto-detected validation reports loaded and analyzed (when found)
227
+ - Manual validation report loaded and analyzed (if provided)
228
+ - PRD format detected correctly
229
+ - BMAD PRDs proceed directly to review step
230
+ - Legacy PRDs pause and present conversion options
231
+ - User can choose conversion path or edit as-is
232
+
233
+ ### ❌ SYSTEM FAILURE:
234
+
235
+ - Not discovering user's edit requirements
236
+ - Not auto-detecting validation reports in PRD folder
237
+ - Not loading validation report when provided (auto or manual)
238
+ - Missing format detection
239
+ - Not pausing for legacy PRDs without guidance
240
+ - Auto-proceeding without understanding intent
241
+
242
+ **Master Rule:** Understand before editing. Detect format early so we can guide users appropriately. Auto-detect and use validation reports for prioritized improvements.
@@ -0,0 +1,204 @@
1
+ ---
2
+ # File references (ONLY variables used in this step)
3
+ prdFile: '{prd_file_path}'
4
+ prdPurpose: '../data/prd-purpose.md'
5
+ ---
6
+
7
+ # Step E-1B: Legacy PRD Conversion Assessment
8
+
9
+ ## STEP GOAL:
10
+
11
+ Analyze legacy PRD against BMAD standards, identify gaps, propose conversion strategy, and let user choose how to proceed.
12
+
13
+ ## MANDATORY EXECUTION RULES (READ FIRST):
14
+
15
+ ### Universal Rules:
16
+
17
+ - 🛑 NEVER generate content without user input
18
+ - 📖 CRITICAL: Read the complete step file before taking any action
19
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
20
+ - 📋 YOU ARE A FACILITATOR, not a content generator
21
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
22
+
23
+ ### Role Reinforcement:
24
+
25
+ - ✅ You are a Validation Architect and PRD Improvement Specialist
26
+ - ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
27
+ - ✅ We engage in collaborative dialogue, not command-response
28
+ - ✅ You bring BMAD standards expertise and conversion guidance
29
+ - ✅ User brings domain knowledge and edit requirements
30
+
31
+ ### Step-Specific Rules:
32
+
33
+ - 🎯 Focus ONLY on conversion assessment and proposal
34
+ - 🚫 FORBIDDEN to perform conversion yet (that comes in edit step)
35
+ - 💬 Approach: Analytical gap analysis with clear recommendations
36
+ - 🚪 This is a branch step - user chooses conversion path
37
+
38
+ ## EXECUTION PROTOCOLS:
39
+
40
+ - 🎯 Analyze legacy PRD against BMAD standard
41
+ - 💾 Identify gaps and estimate conversion effort
42
+ - 📖 Present conversion options with effort estimates
43
+ - 🚫 FORBIDDEN to proceed without user selection
44
+
45
+ ## CONTEXT BOUNDARIES:
46
+
47
+ - Available context: Legacy PRD, user's edit requirements, prd-purpose standards
48
+ - Focus: Conversion assessment only (not actual conversion)
49
+ - Limits: Don't convert yet, don't validate yet
50
+ - Dependencies: Step e-01 detected legacy format and routed here
51
+
52
+ ## MANDATORY SEQUENCE
53
+
54
+ **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
55
+
56
+ ### 1. Attempt Sub-Process Assessment
57
+
58
+ **Try to use Task tool with sub-agent:**
59
+
60
+ "Perform legacy PRD conversion assessment:
61
+
62
+ **Load the PRD and prd-purpose.md**
63
+
64
+ **For each BMAD PRD section, analyze:**
65
+ 1. Does PRD have this section? (Executive Summary, Success Criteria, Product Scope, User Journeys, Functional Requirements, Non-Functional Requirements)
66
+ 2. If present: Is it complete and well-structured?
67
+ 3. If missing: What content exists that could migrate to this section?
68
+ 4. Effort to create/complete: Minimal / Moderate / Significant
69
+
70
+ **Identify:**
71
+ - Core sections present: {count}/6
72
+ - Content gaps in each section
73
+ - Overall conversion effort: Quick / Moderate / Substantial
74
+ - Recommended approach: Full restructuring vs targeted improvements
75
+
76
+ Return conversion assessment with gap analysis and effort estimate."
77
+
78
+ **Graceful degradation (if no Task tool):**
79
+ - Manually check PRD for each BMAD section
80
+ - Note what's present and what's missing
81
+ - Estimate conversion effort
82
+ - Identify best conversion approach
83
+
84
+ ### 2. Build Gap Analysis
85
+
86
+ **For each BMAD core section:**
87
+
88
+ **Executive Summary:**
89
+ - Present: [Yes/No/Partial]
90
+ - Gap: [what's missing or incomplete]
91
+ - Effort to Complete: [Minimal/Moderate/Significant]
92
+
93
+ **Success Criteria:**
94
+ - Present: [Yes/No/Partial]
95
+ - Gap: [what's missing or incomplete]
96
+ - Effort to Complete: [Minimal/Moderate/Significant]
97
+
98
+ **Product Scope:**
99
+ - Present: [Yes/No/Partial]
100
+ - Gap: [what's missing or incomplete]
101
+ - Effort to Complete: [Minimal/Moderate/Significant]
102
+
103
+ **User Journeys:**
104
+ - Present: [Yes/No/Partial]
105
+ - Gap: [what's missing or incomplete]
106
+ - Effort to Complete: [Minimal/Moderate/Significant]
107
+
108
+ **Functional Requirements:**
109
+ - Present: [Yes/No/Partial]
110
+ - Gap: [what's missing or incomplete]
111
+ - Effort to Complete: [Minimal/Moderate/Significant]
112
+
113
+ **Non-Functional Requirements:**
114
+ - Present: [Yes/No/Partial]
115
+ - Gap: [what's missing or incomplete]
116
+ - Effort to Complete: [Minimal/Moderate/Significant]
117
+
118
+ **Overall Assessment:**
119
+ - Sections Present: {count}/6
120
+ - Total Conversion Effort: [Quick/Moderate/Substantial]
121
+ - Recommended: [Full restructuring / Targeted improvements]
122
+
123
+ ### 3. Present Conversion Assessment
124
+
125
+ Display:
126
+
127
+ "**Legacy PRD Conversion Assessment**
128
+
129
+ **Current PRD Structure:**
130
+ - Core sections present: {count}/6
131
+ {List which sections are present/missing}
132
+
133
+ **Gap Analysis:**
134
+
135
+ {Present gap analysis table showing each section's status and effort}
136
+
137
+ **Overall Conversion Effort:** {effort level}
138
+
139
+ **Your Edit Goals:**
140
+ {Reiterate user's stated edit requirements}
141
+
142
+ **Recommendation:**
143
+ {Based on effort and user goals, recommend best approach}
144
+
145
+ **How would you like to proceed?**"
146
+
147
+ ### 4. Present MENU OPTIONS
148
+
149
+ **[R] Restructure to BMAD** - Full conversion to BMAD format, then apply your edits
150
+ **[I] Targeted Improvements** - Apply your edits to existing structure without restructuring
151
+ **[E] Edit & Restructure** - Do both: convert format AND apply your edits
152
+ **[X] Exit** - Review assessment and decide
153
+
154
+ #### EXECUTION RULES:
155
+
156
+ - ALWAYS halt and wait for user input
157
+ - Only proceed based on user selection
158
+
159
+ #### Menu Handling Logic:
160
+
161
+ - IF R (Restructure): Note conversion mode, then load next step
162
+ - IF I (Targeted): Note targeted mode, then load next step
163
+ - IF E (Edit & Restructure): Note both mode, then load next step
164
+ - IF X (Exit): Display summary, exit
165
+
166
+ ### 5. Document Conversion Strategy
167
+
168
+ Store conversion decision for next step:
169
+
170
+ - **Conversion mode:** [Full restructuring / Targeted improvements / Both]
171
+ - **Edit requirements:** [user's requirements from step e-01]
172
+ - **Gap analysis:** [summary of gaps identified]
173
+
174
+ Display: "**Conversion Strategy Documented**
175
+
176
+ Mode: {conversion mode}
177
+ Edit goals: {summary}
178
+
179
+ **Proceeding to deep review...**"
180
+
181
+ Read fully and follow: `./step-e-02-review.md`
182
+
183
+ ---
184
+
185
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
186
+
187
+ ### ✅ SUCCESS:
188
+
189
+ - All 6 BMAD core sections analyzed for gaps
190
+ - Effort estimates provided for each section
191
+ - Overall conversion effort assessed correctly
192
+ - Clear recommendation provided based on effort and user goals
193
+ - User chooses conversion strategy (restructure/targeted/both)
194
+ - Conversion strategy documented for next step
195
+
196
+ ### ❌ SYSTEM FAILURE:
197
+
198
+ - Not analyzing all 6 core sections
199
+ - Missing effort estimates
200
+ - Not providing clear recommendation
201
+ - Auto-proceeding without user selection
202
+ - Not documenting conversion strategy
203
+
204
+ **Master Rule:** Legacy PRDs need conversion assessment so users understand the work involved and can choose the best approach.