@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,267 @@
1
+ # Correct Course - Sprint Change Management Workflow
2
+
3
+ **Goal:** Manage significant changes during sprint execution by analyzing impact across all project artifacts and producing a structured Sprint Change Proposal.
4
+
5
+ **Your Role:** You are a Developer navigating change management. Analyze the triggering issue, assess impact across PRD, epics, architecture, and UX artifacts, and produce an actionable Sprint Change Proposal with clear handoff.
6
+
7
+ ---
8
+
9
+ ## INITIALIZATION
10
+
11
+ ### Configuration Loading
12
+
13
+ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
14
+
15
+ - `project_name`, `user_name`
16
+ - `communication_language`, `document_output_language`
17
+ - `user_skill_level`
18
+ - `implementation_artifacts`
19
+ - `planning_artifacts`
20
+ - `project_knowledge`
21
+ - `date` as system-generated current datetime
22
+ - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
23
+ - Language MUST be tailored to `{user_skill_level}`
24
+ - Generate all documents in `{document_output_language}`
25
+ - DOCUMENT OUTPUT: Updated epics, stories, or PRD sections. Clear, actionable changes. User skill level (`{user_skill_level}`) affects conversation style ONLY, not document updates.
26
+
27
+ ### Paths
28
+
29
+ - `default_output_file` = `{planning_artifacts}/sprint-change-proposal-{date}.md`
30
+
31
+ ### Input Files
32
+
33
+ | Input | Path | Load Strategy |
34
+ |-------|------|---------------|
35
+ | PRD | `{planning_artifacts}/*prd*.md` (whole) or `{planning_artifacts}/*prd*/*.md` (sharded) | FULL_LOAD |
36
+ | Epics | `{planning_artifacts}/*epic*.md` (whole) or `{planning_artifacts}/*epic*/*.md` (sharded) | FULL_LOAD |
37
+ | Architecture | `{planning_artifacts}/*architecture*.md` (whole) or `{planning_artifacts}/*architecture*/*.md` (sharded) | FULL_LOAD |
38
+ | UX Design | `{planning_artifacts}/*ux*.md` (whole) or `{planning_artifacts}/*ux*/*.md` (sharded) | FULL_LOAD |
39
+ | Spec | `{planning_artifacts}/*spec-*.md` (whole) | FULL_LOAD |
40
+ | Document Project | `{project_knowledge}/index.md` (sharded) | INDEX_GUIDED |
41
+
42
+ ### Context
43
+
44
+ - Load `**/project-context.md` if it exists
45
+
46
+ ---
47
+
48
+ ## EXECUTION
49
+
50
+ ### Document Discovery - Loading Project Artifacts
51
+
52
+ **Strategy**: Course correction needs broad project context to assess change impact accurately. Load all available planning artifacts.
53
+
54
+ **Discovery Process for FULL_LOAD documents (PRD, Epics, Architecture, UX Design, Spec):**
55
+
56
+ 1. **Search for whole document first** - Look for files matching the whole-document pattern (e.g., `*prd*.md`, `*epic*.md`, `*architecture*.md`, `*ux*.md`, `*spec-*.md`)
57
+ 2. **Check for sharded version** - If whole document not found, look for a directory with `index.md` (e.g., `prd/index.md`, `epics/index.md`)
58
+ 3. **If sharded version found**:
59
+ - Read `index.md` to understand the document structure
60
+ - Read ALL section files listed in the index
61
+ - Process the combined content as a single document
62
+ 4. **Priority**: If both whole and sharded versions exist, use the whole document
63
+
64
+ **Discovery Process for INDEX_GUIDED documents (Document Project):**
65
+
66
+ 1. **Search for index file** - Look for `{project_knowledge}/index.md`
67
+ 2. **If found**: Read the index to understand available documentation sections
68
+ 3. **Selectively load sections** based on relevance to the change being analyzed — do NOT load everything, only sections that relate to the impacted areas
69
+ 4. **This document is optional** — skip if `{project_knowledge}` does not exist (greenfield projects)
70
+
71
+ **Fuzzy matching**: Be flexible with document names — users may use variations like `prd.md`, `bmm-prd.md`, `product-requirements.md`, etc.
72
+
73
+ **Missing documents**: Not all documents may exist. PRD and Epics are essential; Architecture, UX Design, Spec, and Document Project are loaded if available. HALT if PRD or Epics cannot be found.
74
+
75
+ <workflow>
76
+
77
+ <step n="1" goal="Initialize Change Navigation">
78
+ <action>Load **/project-context.md for coding standards and project-wide patterns (if exists)</action>
79
+ <action>Confirm change trigger and gather user description of the issue</action>
80
+ <action>Ask: "What specific issue or change has been identified that requires navigation?"</action>
81
+ <action>Verify access to required project documents:</action>
82
+ - PRD (Product Requirements Document)
83
+ - Current Epics and Stories
84
+ - Architecture documentation
85
+ - UI/UX specifications
86
+ <action>Ask user for mode preference:</action>
87
+ - **Incremental** (recommended): Refine each edit collaboratively
88
+ - **Batch**: Present all changes at once for review
89
+ <action>Store mode selection for use throughout workflow</action>
90
+
91
+ <action if="change trigger is unclear">HALT: "Cannot navigate change without clear understanding of the triggering issue. Please provide specific details about what needs to change and why."</action>
92
+
93
+ <action if="core documents are unavailable">HALT: "Need access to project documents (PRD, Epics, Architecture, UI/UX) to assess change impact. Please ensure these documents are accessible."</action>
94
+ </step>
95
+
96
+ <step n="2" goal="Execute Change Analysis Checklist">
97
+ <action>Read fully and follow the systematic analysis from: checklist.md</action>
98
+ <action>Work through each checklist section interactively with the user</action>
99
+ <action>Record status for each checklist item:</action>
100
+ - [x] Done - Item completed successfully
101
+ - [N/A] Skip - Item not applicable to this change
102
+ - [!] Action-needed - Item requires attention or follow-up
103
+ <action>Maintain running notes of findings and impacts discovered</action>
104
+ <action>Present checklist progress after each major section</action>
105
+
106
+ <action if="checklist cannot be completed">Identify blocking issues and work with user to resolve before continuing</action>
107
+ </step>
108
+
109
+ <step n="3" goal="Draft Specific Change Proposals">
110
+ <action>Based on checklist findings, create explicit edit proposals for each identified artifact</action>
111
+
112
+ <action>For Story changes:</action>
113
+
114
+ - Show old → new text format
115
+ - Include story ID and section being modified
116
+ - Provide rationale for each change
117
+ - Example format:
118
+
119
+ ```
120
+ Story: [STORY-123] User Authentication
121
+ Section: Acceptance Criteria
122
+
123
+ OLD:
124
+ - User can log in with email/password
125
+
126
+ NEW:
127
+ - User can log in with email/password
128
+ - User can enable 2FA via authenticator app
129
+
130
+ Rationale: Security requirement identified during implementation
131
+ ```
132
+
133
+ <action>For PRD modifications:</action>
134
+
135
+ - Specify exact sections to update
136
+ - Show current content and proposed changes
137
+ - Explain impact on MVP scope and requirements
138
+
139
+ <action>For Architecture changes:</action>
140
+
141
+ - Identify affected components, patterns, or technology choices
142
+ - Describe diagram updates needed
143
+ - Note any ripple effects on other components
144
+
145
+ <action>For UI/UX specification updates:</action>
146
+
147
+ - Reference specific screens or components
148
+ - Show wireframe or flow changes needed
149
+ - Connect changes to user experience impact
150
+
151
+ <check if="mode is Incremental">
152
+ <action>Present each edit proposal individually</action>
153
+ <ask>Review and refine this change? Options: Approve [a], Edit [e], Skip [s]</ask>
154
+ <action>Iterate on each proposal based on user feedback</action>
155
+ </check>
156
+
157
+ <action if="mode is Batch">Collect all edit proposals and present together at end of step</action>
158
+
159
+ </step>
160
+
161
+ <step n="4" goal="Generate Sprint Change Proposal">
162
+ <action>Compile comprehensive Sprint Change Proposal document with following sections:</action>
163
+
164
+ <action>Section 1: Issue Summary</action>
165
+
166
+ - Clear problem statement describing what triggered the change
167
+ - Context about when/how the issue was discovered
168
+ - Evidence or examples demonstrating the issue
169
+
170
+ <action>Section 2: Impact Analysis</action>
171
+
172
+ - Epic Impact: Which epics are affected and how
173
+ - Story Impact: Current and future stories requiring changes
174
+ - Artifact Conflicts: PRD, Architecture, UI/UX documents needing updates
175
+ - Technical Impact: Code, infrastructure, or deployment implications
176
+
177
+ <action>Section 3: Recommended Approach</action>
178
+
179
+ - Present chosen path forward from checklist evaluation:
180
+ - Direct Adjustment: Modify/add stories within existing plan
181
+ - Potential Rollback: Revert completed work to simplify resolution
182
+ - MVP Review: Reduce scope or modify goals
183
+ - Provide clear rationale for recommendation
184
+ - Include effort estimate, risk assessment, and timeline impact
185
+
186
+ <action>Section 4: Detailed Change Proposals</action>
187
+
188
+ - Include all refined edit proposals from Step 3
189
+ - Group by artifact type (Stories, PRD, Architecture, UI/UX)
190
+ - Ensure each change includes before/after and justification
191
+
192
+ <action>Section 5: Implementation Handoff</action>
193
+
194
+ - Categorize change scope:
195
+ - Minor: Direct implementation by Developer agent
196
+ - Moderate: Backlog reorganization needed (PO/DEV)
197
+ - Major: Fundamental replan required (PM/Architect)
198
+ - Specify handoff recipients and their responsibilities
199
+ - Define success criteria for implementation
200
+
201
+ <action>Present complete Sprint Change Proposal to user</action>
202
+ <action>Write Sprint Change Proposal document to {default_output_file}</action>
203
+ <ask>Review complete proposal. Continue [c] or Edit [e]?</ask>
204
+ </step>
205
+
206
+ <step n="5" goal="Finalize and Route for Implementation">
207
+ <action>Get explicit user approval for complete proposal</action>
208
+ <ask>Do you approve this Sprint Change Proposal for implementation? (yes/no/revise)</ask>
209
+
210
+ <check if="no or revise">
211
+ <action>Gather specific feedback on what needs adjustment</action>
212
+ <action>Return to appropriate step to address concerns</action>
213
+ <goto step="3">If changes needed to edit proposals</goto>
214
+ <goto step="4">If changes needed to overall proposal structure</goto>
215
+
216
+ </check>
217
+
218
+ <check if="yes the proposal is approved by the user">
219
+ <action>Finalize Sprint Change Proposal document</action>
220
+ <action>Determine change scope classification:</action>
221
+
222
+ - **Minor**: Can be implemented directly by Developer agent
223
+ - **Moderate**: Requires backlog reorganization and PO/DEV coordination
224
+ - **Major**: Needs fundamental replan with PM/Architect involvement
225
+
226
+ <action>Provide appropriate handoff based on scope:</action>
227
+
228
+ </check>
229
+
230
+ <check if="Minor scope">
231
+ <action>Route to: Developer agent for direct implementation</action>
232
+ <action>Deliverables: Finalized edit proposals and implementation tasks</action>
233
+ </check>
234
+
235
+ <check if="Moderate scope">
236
+ <action>Route to: Product Owner / Developer agents</action>
237
+ <action>Deliverables: Sprint Change Proposal + backlog reorganization plan</action>
238
+ </check>
239
+
240
+ <check if="Major scope">
241
+ <action>Route to: Product Manager / Solution Architect</action>
242
+ <action>Deliverables: Complete Sprint Change Proposal + escalation notice</action>
243
+
244
+ <action>Confirm handoff completion and next steps with user</action>
245
+ <action>Document handoff in workflow execution log</action>
246
+ </check>
247
+
248
+ </step>
249
+
250
+ <step n="6" goal="Workflow Completion">
251
+ <action>Summarize workflow execution:</action>
252
+ - Issue addressed: {{change_trigger}}
253
+ - Change scope: {{scope_classification}}
254
+ - Artifacts modified: {{list_of_artifacts}}
255
+ - Routed to: {{handoff_recipients}}
256
+
257
+ <action>Confirm all deliverables produced:</action>
258
+
259
+ - Sprint Change Proposal document
260
+ - Specific edit proposals with before/after
261
+ - Implementation handoff plan
262
+
263
+ <action>Report workflow completion to user with personalized message: "Correct Course workflow complete, {user_name}!"</action>
264
+ <action>Remind user of success criteria and next steps for Developer agent</action>
265
+ </step>
266
+
267
+ </workflow>
@@ -0,0 +1,6 @@
1
+ ---
2
+ name: bmad-create-architecture
3
+ description: 'Create architecture solution design decisions for AI agent consistency. Use when the user says "lets create architecture" or "create technical architecture" or "create a solution design"'
4
+ ---
5
+
6
+ Follow the instructions in ./workflow.md.
@@ -0,0 +1,12 @@
1
+ ---
2
+ stepsCompleted: []
3
+ inputDocuments: []
4
+ workflowType: 'architecture'
5
+ project_name: '{{project_name}}'
6
+ user_name: '{{user_name}}'
7
+ date: '{{date}}'
8
+ ---
9
+
10
+ # Architecture Decision Document
11
+
12
+ _This document builds collaboratively through step-by-step discovery. Sections are appended as we work through each architectural decision together._
@@ -0,0 +1,13 @@
1
+ domain,signals,complexity_level,suggested_workflow,web_searches
2
+ e_commerce,"shopping,cart,checkout,payment,products,store",medium,standard,"ecommerce architecture patterns, payment processing, inventory management"
3
+ fintech,"banking,payment,trading,finance,money,investment",high,enhanced,"financial security, PCI compliance, trading algorithms, fraud detection"
4
+ healthcare,"medical,diagnostic,clinical,patient,hospital,health",high,enhanced,"HIPAA compliance, medical data security, FDA regulations, health tech"
5
+ social,"social network,community,users,friends,posts,sharing",high,advanced,"social graph algorithms, feed ranking, notification systems, privacy"
6
+ education,"learning,course,student,teacher,training,academic",medium,standard,"LMS architecture, progress tracking, assessment systems, video streaming"
7
+ productivity,"productivity,workflow,tasks,management,business,tools",medium,standard,"collaboration patterns, real-time editing, notification systems, integration"
8
+ media,"content,media,video,audio,streaming,broadcast",high,advanced,"CDN architecture, video encoding, streaming protocols, content delivery"
9
+ iot,"IoT,sensors,devices,embedded,smart,connected",high,advanced,"device communication, real-time data processing, edge computing, security"
10
+ government,"government,civic,public,admin,policy,regulation",high,enhanced,"accessibility standards, security clearance, data privacy, audit trails"
11
+ process_control,"industrial automation,process control,PLC,SCADA,DCS,HMI,operational technology,control system,cyberphysical,MES,instrumentation,I&C,P&ID",high,advanced,"industrial process control architecture, SCADA system design, OT cybersecurity architecture, real-time control systems"
12
+ building_automation,"building automation,BAS,BMS,HVAC,smart building,fire alarm,fire protection,fire suppression,life safety,elevator,DDC,access control,sequence of operations,commissioning",high,advanced,"building automation architecture, BACnet integration patterns, smart building design, building management system security"
13
+ gaming,"game,gaming,multiplayer,real-time,interactive,entertainment",high,advanced,"real-time multiplayer, game engine architecture, matchmaking, leaderboards"
@@ -0,0 +1,7 @@
1
+ project_type,detection_signals,description,typical_starters
2
+ web_app,"website,web application,browser,frontend,UI,interface",Web-based applications running in browsers,Next.js, Vite, Remix
3
+ mobile_app,"mobile,iOS,Android,app,smartphone,tablet",Native mobile applications,React Native, Expo, Flutter
4
+ api_backend,"API,REST,GraphQL,backend,service,microservice",Backend services and APIs,NestJS, Express, Fastify
5
+ full_stack,"full-stack,complete,web+mobile,frontend+backend",Applications with both frontend and backend,T3 App, RedwoodJS, Blitz
6
+ cli_tool,"CLI,command line,terminal,console,tool",Command-line interface tools,oclif, Commander, Caporal
7
+ desktop_app,"desktop,Electron,Tauri,native app,macOS,Windows",Desktop applications,Electron, Tauri, Flutter Desktop
@@ -0,0 +1,153 @@
1
+ # Step 1: Architecture Workflow Initialization
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
7
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
8
+ - ✅ ALWAYS treat this as collaborative discovery between architectural peers
9
+ - 📋 YOU ARE A FACILITATOR, not a content generator
10
+ - 💬 FOCUS on initialization and setup only - don't look ahead to future steps
11
+ - 🚪 DETECT existing workflow state and handle continuation properly
12
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
13
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
14
+
15
+ ## EXECUTION PROTOCOLS:
16
+
17
+ - 🎯 Show your analysis before taking any action
18
+ - 💾 Initialize document and update frontmatter
19
+ - 📖 Set up frontmatter `stepsCompleted: [1]` before loading next step
20
+ - 🚫 FORBIDDEN to load next step until setup is complete
21
+
22
+ ## CONTEXT BOUNDARIES:
23
+
24
+ - Variables from workflow.md are available in memory
25
+ - Previous context = what's in output document + frontmatter
26
+ - Don't assume knowledge from other steps
27
+ - Input document discovery happens in this step
28
+
29
+ ## YOUR TASK:
30
+
31
+ Initialize the Architecture workflow by detecting continuation state, discovering input documents, and setting up the document for collaborative architectural decision making.
32
+
33
+ ## INITIALIZATION SEQUENCE:
34
+
35
+ ### 1. Check for Existing Workflow
36
+
37
+ First, check if the output document already exists:
38
+
39
+ - Look for existing {planning_artifacts}/`*architecture*.md`
40
+ - If exists, read the complete file(s) including frontmatter
41
+ - If not exists, this is a fresh workflow
42
+
43
+ ### 2. Handle Continuation (If Document Exists)
44
+
45
+ If the document exists and has frontmatter with `stepsCompleted`:
46
+
47
+ - **STOP here** and load `./step-01b-continue.md` immediately
48
+ - Do not proceed with any initialization tasks
49
+ - Let step-01b handle the continuation logic
50
+
51
+ ### 3. Fresh Workflow Setup (If No Document)
52
+
53
+ If no document exists or no `stepsCompleted` in frontmatter:
54
+
55
+ #### A. Input Document Discovery
56
+
57
+ Discover and load context documents using smart discovery. Documents can be in the following locations:
58
+ - {planning_artifacts}/**
59
+ - {output_folder}/**
60
+ - {project_knowledge}/**
61
+ - {project-root}/docs/**
62
+
63
+ Also - when searching - documents can be a single markdown file, or a folder with an index and multiple files. For Example, if searching for `*foo*.md` and not found, also search for a folder called *foo*/index.md (which indicates sharded content)
64
+
65
+ Try to discover the following:
66
+ - Product Brief (`*brief*.md`)
67
+ - Product Requirements Document (`*prd*.md`)
68
+ - UX Design (`*ux-design*.md`) and other
69
+ - Research Documents (`*research*.md`)
70
+ - Project Documentation (generally multiple documents might be found for this in the `{project_knowledge}` or `{project-root}/docs` folder.)
71
+ - Project Context (`**/project-context.md`)
72
+
73
+ <critical>Confirm what you have found with the user, along with asking if the user wants to provide anything else. Only after this confirmation will you proceed to follow the loading rules</critical>
74
+
75
+ **Loading Rules:**
76
+
77
+ - Load ALL discovered files completely that the user confirmed or provided (no offset/limit)
78
+ - If there is a project context, whatever is relevant should try to be biased in the remainder of this whole workflow process
79
+ - For sharded folders, load ALL files to get complete picture, using the index first to potentially know the potential of each document
80
+ - index.md is a guide to what's relevant whenever available
81
+ - Track all successfully loaded files in frontmatter `inputDocuments` array
82
+
83
+ #### B. Validate Required Inputs
84
+
85
+ Before proceeding, verify we have the essential inputs:
86
+
87
+ **PRD Validation:**
88
+
89
+ - If no PRD found: "Architecture requires a PRD to work from. Please run the PRD workflow first or provide the PRD file path."
90
+ - Do NOT proceed without PRD
91
+
92
+ **Other Input that might exist:**
93
+
94
+ - UX Spec: "Provides UI/UX architectural requirements"
95
+
96
+ #### C. Create Initial Document
97
+
98
+ Copy the template from `../architecture-decision-template.md` to `{planning_artifacts}/architecture.md`
99
+
100
+ #### D. Complete Initialization and Report
101
+
102
+ Complete setup and report to user:
103
+
104
+ **Document Setup:**
105
+
106
+ - Created: `{planning_artifacts}/architecture.md` from template
107
+ - Initialized frontmatter with workflow state
108
+
109
+ **Input Documents Discovered:**
110
+ Report what was found:
111
+ "Welcome {{user_name}}! I've set up your Architecture workspace for {{project_name}}.
112
+
113
+ **Documents Found:**
114
+
115
+ - PRD: {number of PRD files loaded or "None found - REQUIRED"}
116
+ - UX Design: {number of UX files loaded or "None found"}
117
+ - Research: {number of research files loaded or "None found"}
118
+ - Project docs: {number of project files loaded or "None found"}
119
+ - Project context: {project_context_rules count of rules for AI agents found}
120
+
121
+ **Files loaded:** {list of specific file names or "No additional documents found"}
122
+
123
+ Ready to begin architectural decision making. Do you have any other documents you'd like me to include?
124
+
125
+ [C] Continue to project context analysis
126
+
127
+ ## SUCCESS METRICS:
128
+
129
+ ✅ Existing workflow detected and handed off to step-01b correctly
130
+ ✅ Fresh workflow initialized with template and frontmatter
131
+ ✅ Input documents discovered and loaded using sharded-first logic
132
+ ✅ All discovered files tracked in frontmatter `inputDocuments`
133
+ ✅ PRD requirement validated and communicated
134
+ ✅ User confirmed document setup and can proceed
135
+
136
+ ## FAILURE MODES:
137
+
138
+ ❌ Proceeding with fresh initialization when existing workflow exists
139
+ ❌ Not updating frontmatter with discovered input documents
140
+ ❌ Creating document without proper template
141
+ ❌ Not checking sharded folders first before whole files
142
+ ❌ Not reporting what documents were found to user
143
+ ❌ Proceeding without validating PRD requirement
144
+
145
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
146
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
147
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
148
+
149
+ ## NEXT STEP:
150
+
151
+ After user selects [C] to continue, only after ensuring all the template output has been created, then load `./step-02-context.md` to analyze the project context and begin architectural decision making.
152
+
153
+ Remember: Do NOT proceed to step-02 until user explicitly selects [C] from the menu and setup is confirmed!
@@ -0,0 +1,173 @@
1
+ # Step 1b: Workflow Continuation Handler
2
+
3
+ ## MANDATORY EXECUTION RULES (READ FIRST):
4
+
5
+ - 🛑 NEVER generate content without user input
6
+
7
+ - 📖 CRITICAL: ALWAYS read the complete step file before taking any action - partial understanding leads to incomplete decisions
8
+ - 🔄 CRITICAL: When loading next step with 'C', ensure the entire file is read and understood before proceeding
9
+ - ✅ ALWAYS treat this as collaborative discovery between architectural peers
10
+ - 📋 YOU ARE A FACILITATOR, not a content generator
11
+ - 💬 FOCUS on understanding current state and getting user confirmation
12
+ - 🚪 HANDLE workflow resumption smoothly and transparently
13
+ - ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
14
+ - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
15
+
16
+ ## EXECUTION PROTOCOLS:
17
+
18
+ - 🎯 Show your analysis before taking any action
19
+ - 📖 Read existing document completely to understand current state
20
+ - 💾 Update frontmatter to reflect continuation
21
+ - 🚫 FORBIDDEN to proceed to next step without user confirmation
22
+
23
+ ## CONTEXT BOUNDARIES:
24
+
25
+ - Existing document and frontmatter are available
26
+ - Input documents already loaded should be in frontmatter `inputDocuments`
27
+ - Steps already completed are in `stepsCompleted` array
28
+ - Focus on understanding where we left off
29
+
30
+ ## YOUR TASK:
31
+
32
+ Handle workflow continuation by analyzing existing work and guiding the user to resume at the appropriate step.
33
+
34
+ ## CONTINUATION SEQUENCE:
35
+
36
+ ### 1. Analyze Current Document State
37
+
38
+ Read the existing architecture document completely and analyze:
39
+
40
+ **Frontmatter Analysis:**
41
+
42
+ - `stepsCompleted`: What steps have been done
43
+ - `inputDocuments`: What documents were loaded
44
+ - `lastStep`: Last step that was executed
45
+ - `project_name`, `user_name`, `date`: Basic context
46
+
47
+ **Content Analysis:**
48
+
49
+ - What sections exist in the document
50
+ - What architectural decisions have been made
51
+ - What appears incomplete or in progress
52
+ - Any TODOs or placeholders remaining
53
+
54
+ ### 2. Present Continuation Summary
55
+
56
+ Show the user their current progress:
57
+
58
+ "Welcome back {{user_name}}! I found your Architecture work for {{project_name}}.
59
+
60
+ **Current Progress:**
61
+
62
+ - Steps completed: {{stepsCompleted list}}
63
+ - Last step worked on: Step {{lastStep}}
64
+ - Input documents loaded: {{number of inputDocuments}} files
65
+
66
+ **Document Sections Found:**
67
+ {list all H2/H3 sections found in the document}
68
+
69
+ {if_incomplete_sections}
70
+ **Incomplete Areas:**
71
+
72
+ - {areas that appear incomplete or have placeholders}
73
+ {/if_incomplete_sections}
74
+
75
+ **What would you like to do?**
76
+ [R] Resume from where we left off
77
+ [C] Continue to next logical step
78
+ [O] Overview of all remaining steps
79
+ [X] Start over (will overwrite existing work)
80
+ "
81
+
82
+ ### 3. Handle User Choice
83
+
84
+ #### If 'R' (Resume from where we left off):
85
+
86
+ - Identify the next step based on `stepsCompleted`
87
+ - Load the appropriate step file to continue
88
+ - Example: If `stepsCompleted: [1, 2, 3]`, load `./step-04-decisions.md`
89
+
90
+ #### If 'C' (Continue to next logical step):
91
+
92
+ - Analyze the document content to determine logical next step
93
+ - May need to review content quality and completeness
94
+ - If content seems complete for current step, advance to next
95
+ - If content seems incomplete, suggest staying on current step
96
+
97
+ #### If 'O' (Overview of all remaining steps):
98
+
99
+ - Provide brief description of all remaining steps
100
+ - Let user choose which step to work on
101
+ - Don't assume sequential progression is always best
102
+
103
+ #### If 'X' (Start over):
104
+
105
+ - Confirm: "This will delete all existing architectural decisions. Are you sure? (y/n)"
106
+ - If confirmed: Delete existing document and read fully and follow: `./step-01-init.md`
107
+ - If not confirmed: Return to continuation menu
108
+
109
+ ### 4. Navigate to Selected Step
110
+
111
+ After user makes choice:
112
+
113
+ **Load the selected step file:**
114
+
115
+ - Update frontmatter `lastStep` to reflect current navigation
116
+ - Execute the selected step file
117
+ - Let that step handle the detailed continuation logic
118
+
119
+ **State Preservation:**
120
+
121
+ - Maintain all existing content in the document
122
+ - Keep `stepsCompleted` accurate
123
+ - Track the resumption in workflow status
124
+
125
+ ### 5. Special Continuation Cases
126
+
127
+ #### If `stepsCompleted` is empty but document has content:
128
+
129
+ - This suggests an interrupted workflow
130
+ - Ask user: "I see the document has content but no steps are marked as complete. Should I analyze what's here and set the appropriate step status?"
131
+
132
+ #### If document appears corrupted or incomplete:
133
+
134
+ - Ask user: "The document seems incomplete. Would you like me to try to recover what's here, or would you prefer to start fresh?"
135
+
136
+ #### If document is complete but workflow not marked as done:
137
+
138
+ - Ask user: "The architecture looks complete! Should I mark this workflow as finished, or is there more you'd like to work on?"
139
+
140
+ ## SUCCESS METRICS:
141
+
142
+ ✅ Existing document state properly analyzed and understood
143
+ ✅ User presented with clear continuation options
144
+ ✅ User choice handled appropriately and transparently
145
+ ✅ Workflow state preserved and updated correctly
146
+ ✅ Navigation to appropriate step handled smoothly
147
+
148
+ ## FAILURE MODES:
149
+
150
+ ❌ Not reading the complete existing document before making suggestions
151
+ ❌ Losing track of what steps were actually completed
152
+ ❌ Automatically proceeding without user confirmation of next steps
153
+ ❌ Not checking for incomplete or placeholder content
154
+ ❌ Losing existing document content during resumption
155
+
156
+ ❌ **CRITICAL**: Reading only partial step file - leads to incomplete understanding and poor decisions
157
+ ❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
158
+ ❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
159
+
160
+ ## NEXT STEP:
161
+
162
+ After user selects their continuation option, load the appropriate step file based on their choice. The step file will handle the detailed work from that point forward.
163
+
164
+ Valid step files to load:
165
+ - `./step-02-context.md`
166
+ - `./step-03-starter.md`
167
+ - `./step-04-decisions.md`
168
+ - `./step-05-patterns.md`
169
+ - `./step-06-structure.md`
170
+ - `./step-07-validation.md`
171
+ - `./step-08-complete.md`
172
+
173
+ Remember: The goal is smooth, transparent resumption that respects the work already done while giving the user control over how to proceed.