bmad-module-skill-forge 0.10.0 → 0.10.1-alpha.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 (268) hide show
  1. package/.claude-plugin/marketplace.json +39 -0
  2. package/.gitattributes +16 -0
  3. package/README.md +105 -38
  4. package/docs/404.md +13 -10
  5. package/docs/RELEASING.md +185 -0
  6. package/docs/STABILITY.md +123 -0
  7. package/docs/_data/pinned.yaml +98 -0
  8. package/docs/agents.md +16 -11
  9. package/docs/architecture.md +221 -0
  10. package/docs/bmad-synergy.md +11 -13
  11. package/docs/concepts.md +18 -108
  12. package/docs/examples.md +121 -80
  13. package/docs/getting-started.md +85 -147
  14. package/docs/how-it-works.md +25 -536
  15. package/docs/index.md +44 -27
  16. package/docs/skill-model.md +328 -0
  17. package/docs/troubleshooting.md +39 -0
  18. package/docs/verifying-a-skill.md +232 -0
  19. package/docs/why-skf.md +93 -0
  20. package/docs/workflows.md +119 -13
  21. package/package.json +25 -4
  22. package/src/README.md +23 -25
  23. package/src/forger/forge-tier.yaml +4 -2
  24. package/src/forger/preferences.yaml +7 -1
  25. package/src/knowledge/agentskills-spec.md +1 -1
  26. package/src/knowledge/architecture-verification.md +1 -1
  27. package/src/knowledge/ccc-bridge.md +16 -15
  28. package/src/knowledge/overview.md +11 -11
  29. package/src/knowledge/progressive-capability.md +3 -3
  30. package/src/knowledge/provenance-tracking.md +9 -3
  31. package/src/knowledge/qmd-registry.md +8 -8
  32. package/src/knowledge/skf-knowledge-index.csv +2 -2
  33. package/src/knowledge/skill-lifecycle.md +16 -1
  34. package/src/knowledge/split-body-strategy.md +1 -1
  35. package/src/knowledge/version-paths.md +17 -12
  36. package/src/module-help.csv +18 -17
  37. package/src/shared/health-check.md +372 -0
  38. package/src/shared/references/feasibility-report-schema.md +86 -0
  39. package/src/shared/references/headless-gate-convention.md +62 -0
  40. package/src/shared/references/output-contract-schema.md +35 -0
  41. package/src/shared/references/pipeline-contracts.md +102 -0
  42. package/src/shared/scripts/skf-atomic-write.py +370 -0
  43. package/src/shared/scripts/skf-manifest-ops.py +236 -0
  44. package/src/shared/scripts/skf-preflight.py +164 -0
  45. package/src/shared/scripts/skf-rebuild-managed-sections.py +201 -0
  46. package/src/shared/scripts/skf-severity-classify.py +163 -0
  47. package/src/shared/scripts/skf-skill-inventory.py +210 -0
  48. package/src/shared/scripts/skf-structural-diff.py +257 -0
  49. package/src/shared/scripts/skf-validate-frontmatter.py +318 -0
  50. package/src/shared/scripts/skf-validate-output.py +247 -0
  51. package/src/skf-analyze-source/SKILL.md +57 -0
  52. package/src/skf-analyze-source/assets/skill-brief-schema.md +125 -0
  53. package/src/skf-analyze-source/references/unit-detection-heuristics.md +124 -0
  54. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-01-init.md +6 -66
  55. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-01b-continue.md +4 -59
  56. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-02-scan-project.md +7 -68
  57. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-03-identify-units.md +6 -66
  58. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-04-map-and-detect.md +7 -68
  59. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-05-recommend.md +6 -66
  60. package/src/{workflows/analyze-source → skf-analyze-source}/steps-c/step-06-generate-briefs.md +14 -71
  61. package/src/skf-analyze-source/steps-c/step-07-health-check.md +22 -0
  62. package/src/skf-audit-skill/SKILL.md +59 -0
  63. package/src/{workflows/audit-skill/data → skf-audit-skill/assets}/drift-report-template.md +7 -7
  64. package/src/{workflows/audit-skill/data → skf-audit-skill/references}/severity-rules.md +11 -11
  65. package/src/{workflows/audit-skill → skf-audit-skill}/steps-c/step-01-init.md +24 -68
  66. package/src/{workflows/audit-skill → skf-audit-skill}/steps-c/step-02-re-index.md +36 -71
  67. package/src/{workflows/audit-skill → skf-audit-skill}/steps-c/step-03-structural-diff.md +21 -63
  68. package/src/{workflows/audit-skill → skf-audit-skill}/steps-c/step-04-semantic-diff.md +6 -65
  69. package/src/{workflows/audit-skill → skf-audit-skill}/steps-c/step-05-severity-classify.md +5 -63
  70. package/src/{workflows/audit-skill → skf-audit-skill}/steps-c/step-06-report.md +10 -64
  71. package/src/skf-audit-skill/steps-c/step-07-health-check.md +22 -0
  72. package/src/skf-brief-skill/SKILL.md +53 -0
  73. package/src/{workflows/brief-skill/data → skf-brief-skill/assets}/scope-templates.md +23 -0
  74. package/src/skf-brief-skill/assets/skill-brief-schema.md +206 -0
  75. package/src/{workflows/brief-skill → skf-brief-skill}/steps-c/step-01-gather-intent.md +6 -67
  76. package/src/{workflows/brief-skill → skf-brief-skill}/steps-c/step-02-analyze-target.md +6 -66
  77. package/src/{workflows/brief-skill → skf-brief-skill}/steps-c/step-03-scope-definition.md +12 -68
  78. package/src/{workflows/brief-skill → skf-brief-skill}/steps-c/step-04-confirm-brief.md +5 -63
  79. package/src/{workflows/brief-skill → skf-brief-skill}/steps-c/step-05-write-brief.md +10 -70
  80. package/src/skf-brief-skill/steps-c/step-06-health-check.md +22 -0
  81. package/src/skf-create-skill/SKILL.md +63 -0
  82. package/src/{workflows/create-skill/data → skf-create-skill/assets}/compile-assembly-rules.md +60 -0
  83. package/src/{workflows/create-skill/data → skf-create-skill/assets}/skill-sections.md +92 -23
  84. package/src/skf-create-skill/assets/tessl-dismissal-rules.md +102 -0
  85. package/src/{workflows/create-skill/data → skf-create-skill/references}/extraction-patterns-tracing.md +13 -13
  86. package/src/{workflows/create-skill/data → skf-create-skill/references}/extraction-patterns.md +8 -3
  87. package/src/skf-create-skill/references/source-resolution-protocols.md +239 -0
  88. package/src/{workflows/create-skill/data → skf-create-skill/references}/tier-degradation-rules.md +8 -7
  89. package/src/{workflows/create-skill → skf-create-skill}/steps-c/step-01-load-brief.md +25 -63
  90. package/src/{workflows/create-skill → skf-create-skill}/steps-c/step-02-ecosystem-check.md +8 -64
  91. package/src/skf-create-skill/steps-c/step-03-extract.md +379 -0
  92. package/src/{workflows/create-skill → skf-create-skill}/steps-c/step-03d-component-extraction.md +18 -35
  93. package/src/{workflows/create-skill → skf-create-skill}/steps-c/step-04-enrich.md +12 -69
  94. package/src/{workflows/create-skill → skf-create-skill}/steps-c/step-05-compile.md +71 -75
  95. package/src/skf-create-skill/steps-c/step-06-validate.md +267 -0
  96. package/src/{workflows/create-skill → skf-create-skill}/steps-c/step-07-generate-artifacts.md +30 -74
  97. package/src/skf-create-skill/steps-c/step-08-report.md +145 -0
  98. package/src/skf-create-skill/steps-c/step-09-health-check.md +23 -0
  99. package/src/{workflows/create-skill/steps-c → skf-create-skill/steps-c/sub}/step-02b-ccc-discover.md +8 -66
  100. package/src/skf-create-skill/steps-c/sub/step-03b-fetch-temporal.md +229 -0
  101. package/src/{workflows/create-skill/steps-c → skf-create-skill/steps-c/sub}/step-03c-fetch-docs.md +18 -42
  102. package/src/skf-create-stack-skill/SKILL.md +64 -0
  103. package/src/{workflows/create-stack-skill/data → skf-create-stack-skill/assets}/stack-skill-template.md +2 -1
  104. package/src/{workflows/create-stack-skill/data → skf-create-stack-skill/references}/compose-mode-rules.md +19 -5
  105. package/src/{workflows/create-stack-skill/data → skf-create-stack-skill/references}/integration-patterns.md +1 -1
  106. package/src/{workflows/create-stack-skill/data → skf-create-stack-skill/references}/manifest-patterns.md +10 -10
  107. package/src/{workflows/create-stack-skill → skf-create-stack-skill}/steps-c/step-01-init.md +14 -55
  108. package/src/{workflows/create-stack-skill → skf-create-stack-skill}/steps-c/step-02-detect-manifests.md +29 -63
  109. package/src/{workflows/create-stack-skill → skf-create-stack-skill}/steps-c/step-03-rank-and-confirm.md +9 -59
  110. package/src/{workflows/create-stack-skill → skf-create-stack-skill}/steps-c/step-04-parallel-extract.md +29 -64
  111. package/src/skf-create-stack-skill/steps-c/step-05-detect-integrations.md +164 -0
  112. package/src/{workflows/create-stack-skill → skf-create-stack-skill}/steps-c/step-06-compile-stack.md +7 -60
  113. package/src/skf-create-stack-skill/steps-c/step-07-generate-output.md +328 -0
  114. package/src/{workflows/create-stack-skill → skf-create-stack-skill}/steps-c/step-08-validate.md +17 -63
  115. package/src/skf-create-stack-skill/steps-c/step-09-report.md +128 -0
  116. package/src/skf-create-stack-skill/steps-c/step-10-health-check.md +22 -0
  117. package/src/skf-drop-skill/SKILL.md +57 -0
  118. package/src/{workflows/drop-skill → skf-drop-skill}/steps-c/step-01-select.md +9 -69
  119. package/src/{workflows/drop-skill → skf-drop-skill}/steps-c/step-02-execute.md +30 -106
  120. package/src/skf-drop-skill/steps-c/step-03-report.md +83 -0
  121. package/src/skf-drop-skill/steps-c/step-04-health-check.md +22 -0
  122. package/src/skf-export-skill/SKILL.md +57 -0
  123. package/src/skf-export-skill/assets/managed-section-format.md +138 -0
  124. package/src/{workflows/export-skill/data → skf-export-skill/assets}/snippet-format.md +8 -12
  125. package/src/skf-export-skill/steps-c/step-01-load-skill.md +247 -0
  126. package/src/{workflows/export-skill → skf-export-skill}/steps-c/step-02-package.md +5 -58
  127. package/src/{workflows/export-skill → skf-export-skill}/steps-c/step-03-generate-snippet.md +15 -77
  128. package/src/{workflows/export-skill → skf-export-skill}/steps-c/step-04-update-context.md +59 -133
  129. package/src/{workflows/export-skill → skf-export-skill}/steps-c/step-05-token-report.md +4 -58
  130. package/src/{workflows/export-skill → skf-export-skill}/steps-c/step-06-summary.md +16 -68
  131. package/src/skf-export-skill/steps-c/step-07-health-check.md +22 -0
  132. package/src/skf-forger/SKILL.md +110 -0
  133. package/src/skf-forger/bmad-skill-manifest.yaml +11 -0
  134. package/src/skf-quick-skill/SKILL.md +56 -0
  135. package/src/{workflows/quick-skill/data → skf-quick-skill/references}/registry-resolution.md +6 -6
  136. package/src/{workflows/quick-skill → skf-quick-skill}/steps-c/step-01-resolve-target.md +9 -62
  137. package/src/{workflows/quick-skill → skf-quick-skill}/steps-c/step-02-ecosystem-check.md +5 -59
  138. package/src/{workflows/quick-skill → skf-quick-skill}/steps-c/step-03-quick-extract.md +18 -61
  139. package/src/{workflows/quick-skill → skf-quick-skill}/steps-c/step-04-compile.md +6 -60
  140. package/src/{workflows/quick-skill → skf-quick-skill}/steps-c/step-05-validate.md +58 -78
  141. package/src/skf-quick-skill/steps-c/step-06-write.md +73 -0
  142. package/src/skf-quick-skill/steps-c/step-07-health-check.md +22 -0
  143. package/src/skf-refine-architecture/SKILL.md +57 -0
  144. package/src/{workflows/refine-architecture/data → skf-refine-architecture/references}/refinement-rules.md +16 -16
  145. package/src/{workflows/refine-architecture → skf-refine-architecture}/steps-c/step-01-init.md +6 -63
  146. package/src/{workflows/refine-architecture → skf-refine-architecture}/steps-c/step-02-gap-analysis.md +29 -71
  147. package/src/{workflows/refine-architecture → skf-refine-architecture}/steps-c/step-03-issue-detection.md +5 -65
  148. package/src/{workflows/refine-architecture → skf-refine-architecture}/steps-c/step-04-improvements.md +5 -64
  149. package/src/{workflows/refine-architecture → skf-refine-architecture}/steps-c/step-05-compile.md +5 -56
  150. package/src/{workflows/refine-architecture → skf-refine-architecture}/steps-c/step-06-report.md +11 -64
  151. package/src/skf-refine-architecture/steps-c/step-07-health-check.md +22 -0
  152. package/src/skf-rename-skill/SKILL.md +58 -0
  153. package/src/{workflows/rename-skill → skf-rename-skill}/steps-c/step-01-select.md +12 -73
  154. package/src/{workflows/rename-skill → skf-rename-skill}/steps-c/step-02-execute.md +32 -113
  155. package/src/skf-rename-skill/steps-c/step-03-report.md +83 -0
  156. package/src/skf-rename-skill/steps-c/step-04-health-check.md +22 -0
  157. package/src/skf-setup/SKILL.md +55 -0
  158. package/src/{workflows/setup-forge → skf-setup}/steps-c/step-01-detect-and-tier.md +6 -62
  159. package/src/{workflows/setup-forge → skf-setup}/steps-c/step-01b-ccc-index.md +9 -65
  160. package/src/{workflows/setup-forge → skf-setup}/steps-c/step-02-write-config.md +15 -60
  161. package/src/{workflows/setup-forge → skf-setup}/steps-c/step-03-auto-index.md +7 -66
  162. package/src/skf-setup/steps-c/step-04-report.md +92 -0
  163. package/src/skf-setup/steps-c/step-05-health-check.md +22 -0
  164. package/src/skf-test-skill/SKILL.md +59 -0
  165. package/src/skf-test-skill/references/migration-section-rules.md +114 -0
  166. package/src/skf-test-skill/references/scoring-rules.md +207 -0
  167. package/src/skf-test-skill/references/source-access-protocol.md +109 -0
  168. package/src/skf-test-skill/scripts/compute-score.py +310 -0
  169. package/src/skf-test-skill/steps-c/step-01-init.md +238 -0
  170. package/src/{workflows/test-skill → skf-test-skill}/steps-c/step-02-detect-mode.md +4 -62
  171. package/src/skf-test-skill/steps-c/step-03-coverage-check.md +347 -0
  172. package/src/skf-test-skill/steps-c/step-04-coherence-check.md +239 -0
  173. package/src/{workflows/test-skill → skf-test-skill}/steps-c/step-04b-external-validators.md +42 -77
  174. package/src/skf-test-skill/steps-c/step-05-score.md +266 -0
  175. package/src/skf-test-skill/steps-c/step-06-report.md +290 -0
  176. package/src/skf-test-skill/steps-c/step-07-health-check.md +25 -0
  177. package/src/skf-test-skill/templates/test-report-template.md +58 -0
  178. package/src/skf-update-skill/SKILL.md +58 -0
  179. package/src/{workflows/update-skill/data → skf-update-skill/references}/manual-section-rules.md +6 -6
  180. package/src/{workflows/update-skill/data → skf-update-skill/references}/merge-conflict-rules.md +5 -5
  181. package/src/skf-update-skill/references/remote-source-resolution.md +94 -0
  182. package/src/{workflows/update-skill → skf-update-skill}/steps-c/step-01-init.md +22 -69
  183. package/src/skf-update-skill/steps-c/step-02-detect-changes.md +255 -0
  184. package/src/skf-update-skill/steps-c/step-03-re-extract.md +336 -0
  185. package/src/{workflows/update-skill → skf-update-skill}/steps-c/step-04-merge.md +60 -72
  186. package/src/{workflows/update-skill → skf-update-skill}/steps-c/step-05-validate.md +5 -62
  187. package/src/skf-update-skill/steps-c/step-06-write.md +278 -0
  188. package/src/{workflows/update-skill → skf-update-skill}/steps-c/step-07-report.md +11 -69
  189. package/src/skf-update-skill/steps-c/step-08-health-check.md +22 -0
  190. package/src/skf-verify-stack/SKILL.md +60 -0
  191. package/src/skf-verify-stack/assets/feasibility-report-template.md +76 -0
  192. package/src/{workflows/verify-stack/data → skf-verify-stack/references}/coverage-patterns.md +12 -4
  193. package/src/skf-verify-stack/references/integration-verification-rules.md +78 -0
  194. package/src/skf-verify-stack/steps-c/step-01-init.md +178 -0
  195. package/src/{workflows/verify-stack → skf-verify-stack}/steps-c/step-02-coverage.md +27 -72
  196. package/src/skf-verify-stack/steps-c/step-03-integrations.md +179 -0
  197. package/src/{workflows/verify-stack → skf-verify-stack}/steps-c/step-04-requirements.md +14 -67
  198. package/src/skf-verify-stack/steps-c/step-05-synthesize.md +147 -0
  199. package/src/skf-verify-stack/steps-c/step-06-report.md +156 -0
  200. package/src/skf-verify-stack/steps-c/step-07-health-check.md +25 -0
  201. package/tools/cli/commands/install.js +1 -1
  202. package/tools/cli/commands/status.js +21 -23
  203. package/tools/cli/commands/uninstall.js +11 -19
  204. package/tools/cli/commands/update.js +2 -2
  205. package/tools/cli/lib/ide-skills.js +216 -0
  206. package/tools/cli/lib/installer.js +29 -52
  207. package/tools/cli/lib/manifest.js +11 -5
  208. package/tools/cli/lib/platform-codes.yaml +223 -0
  209. package/tools/cli/lib/ui.js +76 -47
  210. package/tools/validate-docs-drift.js +193 -0
  211. package/src/agents/forger.agent.yaml +0 -114
  212. package/src/workflows/README.md +0 -174
  213. package/src/workflows/analyze-source/data/skill-brief-schema.md +0 -125
  214. package/src/workflows/analyze-source/data/unit-detection-heuristics.md +0 -124
  215. package/src/workflows/analyze-source/workflow.md +0 -61
  216. package/src/workflows/audit-skill/workflow.md +0 -64
  217. package/src/workflows/brief-skill/data/skill-brief-schema.md +0 -159
  218. package/src/workflows/brief-skill/workflow.md +0 -58
  219. package/src/workflows/create-skill/data/source-resolution-protocols.md +0 -200
  220. package/src/workflows/create-skill/steps-c/step-03-extract.md +0 -301
  221. package/src/workflows/create-skill/steps-c/step-03b-fetch-temporal.md +0 -253
  222. package/src/workflows/create-skill/steps-c/step-06-validate.md +0 -254
  223. package/src/workflows/create-skill/steps-c/step-08-report.md +0 -179
  224. package/src/workflows/create-skill/workflow.md +0 -53
  225. package/src/workflows/create-stack-skill/steps-c/step-05-detect-integrations.md +0 -196
  226. package/src/workflows/create-stack-skill/steps-c/step-07-generate-output.md +0 -270
  227. package/src/workflows/create-stack-skill/steps-c/step-09-report.md +0 -150
  228. package/src/workflows/create-stack-skill/workflow.md +0 -59
  229. package/src/workflows/drop-skill/steps-c/step-03-report.md +0 -136
  230. package/src/workflows/drop-skill/workflow.md +0 -63
  231. package/src/workflows/export-skill/data/managed-section-format.md +0 -103
  232. package/src/workflows/export-skill/steps-c/step-01-load-skill.md +0 -237
  233. package/src/workflows/export-skill/workflow.md +0 -58
  234. package/src/workflows/quick-skill/steps-c/step-06-write.md +0 -178
  235. package/src/workflows/quick-skill/workflow.md +0 -58
  236. package/src/workflows/refine-architecture/workflow.md +0 -61
  237. package/src/workflows/rename-skill/steps-c/step-03-report.md +0 -133
  238. package/src/workflows/rename-skill/workflow.md +0 -64
  239. package/src/workflows/setup-forge/steps-c/step-04-report.md +0 -159
  240. package/src/workflows/setup-forge/workflow.md +0 -51
  241. package/src/workflows/shared/health-check.md +0 -231
  242. package/src/workflows/test-skill/data/scoring-rules.md +0 -123
  243. package/src/workflows/test-skill/data/source-access-protocol.md +0 -51
  244. package/src/workflows/test-skill/steps-c/step-01-init.md +0 -217
  245. package/src/workflows/test-skill/steps-c/step-03-coverage-check.md +0 -280
  246. package/src/workflows/test-skill/steps-c/step-04-coherence-check.md +0 -271
  247. package/src/workflows/test-skill/steps-c/step-05-score.md +0 -222
  248. package/src/workflows/test-skill/steps-c/step-06-report.md +0 -208
  249. package/src/workflows/test-skill/templates/test-report-template.md +0 -28
  250. package/src/workflows/test-skill/workflow.md +0 -57
  251. package/src/workflows/update-skill/data/remote-source-resolution.md +0 -57
  252. package/src/workflows/update-skill/steps-c/step-02-detect-changes.md +0 -221
  253. package/src/workflows/update-skill/steps-c/step-03-re-extract.md +0 -256
  254. package/src/workflows/update-skill/steps-c/step-06-write.md +0 -265
  255. package/src/workflows/update-skill/workflow.md +0 -56
  256. package/src/workflows/verify-stack/data/feasibility-report-template.md +0 -63
  257. package/src/workflows/verify-stack/data/integration-verification-rules.md +0 -73
  258. package/src/workflows/verify-stack/steps-c/step-01-init.md +0 -179
  259. package/src/workflows/verify-stack/steps-c/step-03-integrations.md +0 -195
  260. package/src/workflows/verify-stack/steps-c/step-05-synthesize.md +0 -191
  261. package/src/workflows/verify-stack/steps-c/step-06-report.md +0 -200
  262. package/src/workflows/verify-stack/workflow.md +0 -61
  263. package/tools/cli/lib/compiler.js +0 -306
  264. package/tools/cli/lib/ide-commands.js +0 -244
  265. /package/src/{workflows/analyze-source → skf-analyze-source}/templates/analysis-report-template.md +0 -0
  266. /package/src/{workflows/quick-skill/data → skf-quick-skill/assets}/skill-template.md +0 -0
  267. /package/src/{workflows/setup-forge/data → skf-setup/references}/tier-rules.md +0 -0
  268. /package/src/{workflows/test-skill/data → skf-test-skill/assets}/output-section-formats.md +0 -0
@@ -1,254 +0,0 @@
1
- ---
2
- name: 'step-06-validate'
3
- description: 'Validate compiled skill content against agentskills.io spec via skill-check'
4
- nextStepFile: './step-07-generate-artifacts.md'
5
- ---
6
-
7
- # Step 6: Validate
8
-
9
- ## STEP GOAL:
10
-
11
- To validate the compiled SKILL.md content against the agentskills.io specification using skill-check, auto-fix any validation failures, and confirm spec compliance before artifact generation.
12
-
13
- ## MANDATORY EXECUTION RULES (READ FIRST):
14
-
15
- ### Universal Rules:
16
-
17
- - 📖 CRITICAL: Read the complete step file before taking any action
18
- - 🎯 ALWAYS follow the exact instructions in the step file
19
- - ⚙️ TOOL/SUBPROCESS FALLBACK: If any instruction references a tool you do not have access to, you MUST still achieve the outcome in your main context thread
20
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
21
-
22
- ### Role Reinforcement:
23
-
24
- - ✅ You are a skill compilation engine performing quality assurance
25
- - ✅ Validation ensures spec compliance — it does not modify content semantics
26
- - ✅ Tool unavailability means skip validation, not halt workflow
27
-
28
- ### Step-Specific Rules:
29
-
30
- - 🎯 Focus ONLY on validating compiled content against spec
31
- - 🚫 FORBIDDEN to add new content — only fix spec compliance issues
32
- - 💾 Validation and auto-fix modify files in the staging directory (`_bmad-output/{name}/`)
33
- - 💬 If auto-fix fails, report issues clearly but proceed (warn, don't halt)
34
- - ⚙️ If skill-check unavailable: skip validation, add warning to evidence report
35
- - ⚠️ Ignore non-zero exit codes from `skill-check` if the JSON output shows 0 errors — parse JSON output, not exit codes
36
-
37
- ## EXECUTION PROTOCOLS:
38
-
39
- - 🎯 Follow MANDATORY SEQUENCE exactly
40
- - 💾 Validation results are added to evidence-report content in context
41
- - 📖 Auto-fix pattern: validate → fix → re-validate (once)
42
- - 🚫 Maximum one auto-fix attempt per validation failure
43
- - ⏸️ **Conditional interaction:** If tessl returns suggestions (section 6b), halt for user input. Otherwise auto-proceed. This is a conditional gate step, not a pure auto-proceed step.
44
-
45
- ## CONTEXT BOUNDARIES:
46
-
47
- - Available: All compiled content from step-05 (SKILL.md, metadata.json, etc.)
48
- - Focus: Spec compliance validation and auto-fix
49
- - Limits: Do NOT add new content or modify extraction data
50
- - Dependencies: Compiled content must exist from step-05
51
-
52
- ## MANDATORY SEQUENCE
53
-
54
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
55
-
56
- ### 1. Check Tool Availability
57
-
58
- Run: `npx skill-check -h`
59
-
60
- - If succeeds: Continue to automated validation (section 2)
61
- - If fails: Perform manual fallback (section 3); add note to evidence-report: "Spec validation performed manually — skill-check tool unavailable"
62
-
63
- **Important:** Do not assume availability — empirical check required.
64
-
65
- ### 2. Validate & Auto-Fix (skill-check check --fix)
66
-
67
- Run the external skill-check tool against the compiled skill staging directory:
68
-
69
- ```bash
70
- npx skill-check check <staging-skill-dir> --fix --format json --no-security-scan
71
- ```
72
-
73
- This performs frontmatter validation, description quality checks, body limit enforcement, local link resolution, file formatting, auto-fix of deterministic issues, and quality scoring (0-100) across five weighted categories.
74
-
75
- **Parse the JSON output** for: `qualityScore` (0-100), `diagnostics[]` (remaining issues), `fixed[]` (auto-corrected issues).
76
-
77
- **Context sync after --fix:** If `fixed[]` is non-empty (i.e., `--fix` modified files on disk), re-read the modified SKILL.md to update the in-context copy. Verify the re-read content matches expectations before proceeding. This prevents silent divergence between the in-context SKILL.md and the on-disk version that step-07 will use for artifact generation.
78
-
79
- **Description preservation after --fix:** After re-reading the modified SKILL.md, compare the frontmatter `description` field against the original step-05 compiled description. If `--fix` replaced the description with a generic or truncated version, restore the original description to the on-disk file and update the in-context copy. The step-05 compiled description is authoritative — auto-fix tools must not replace trigger-optimized descriptions.
80
-
81
- **Note:** `skill-check` may return non-zero exit code even when `errorCount` is 0. Always rely on parsed JSON, not the shell exit code.
82
-
83
- - **Score ≥ 70:** Record "Schema: PASS (score: {score}/100)" in evidence-report
84
- - **Score < 70:** Log remaining diagnostics as warnings, record "Schema: WARN — score {score}/100, {count} remaining issues", proceed
85
- - **Unfixable errors:** Record specific rule IDs and suggestions, proceed with warnings
86
-
87
- ### 3. Validate Frontmatter (Fallback)
88
-
89
- **If skill-check was available:** Skip — already validated in step 2.
90
-
91
- **If skill-check NOT available (fallback):** Perform manual frontmatter compliance check:
92
-
93
- - [ ] Frontmatter present — file starts with `---` and has closing `---`
94
- - [ ] `name` field — present, non-empty, lowercase alphanumeric + hyphens only, 1-64 chars
95
- - [ ] `name` matches skill output directory name
96
- - [ ] `description` field — present, non-empty, 1-1024 characters
97
- - [ ] No unknown fields — only `name`, `description`, `license`, `compatibility`, `metadata`, `allowed-tools` permitted
98
- - [ ] `version` and `author` are NOT in frontmatter (they belong in metadata.json)
99
-
100
- If fails: auto-fix (deterministic), re-validate once, record result. If passes: record "Frontmatter: PASS".
101
-
102
- ### 4. Split Oversized Body (if needed)
103
-
104
- **If step 2 reported `body.max_lines` failure:**
105
-
106
- **Description preservation:** Before any split operation, capture the current SKILL.md frontmatter `description` field. After the split completes, verify the `description` was not modified. If it was replaced with a generic placeholder, restore the original immediately.
107
-
108
- **Mandatory approach — selective split:** Identify Tier 2 sections by their `## Full` heading prefix (e.g., `## Full API Reference`, `## Full Type Definitions`, `## Full Integration Patterns`). Extract ONLY those sections to `references/`, starting with the largest. Keep ALL Tier 1 content and any smaller sections inline. Inline passive context achieves 100% task accuracy vs 79% for on-demand retrieval (per Vercel research).
109
-
110
- **FORBIDDEN:** Running `npx skill-check split-body --write` without prior selective extraction. The `split-body --write` command extracts ALL `##` sections top-to-bottom, destroying Tier 1 inline content that the two-tier design depends on. This command is a LAST RESORT only after selective split has been attempted and proven insufficient.
111
-
112
- **If selective split alone does not bring body under the limit** (rare — typically only occurs when Tier 1 itself exceeds 300 lines): reduce Tier 1 Key API Summary and Architecture at a Glance sections to fit within limits. Do NOT fall back to automated `split-body --write` to solve a Tier 1 sizing problem.
113
-
114
- **Tier 1 preservation check:** After ANY split operation, verify that ALL of the following sections remain inline in SKILL.md (not moved to references/): Overview, Quick Start, Common Workflows, Key API Summary, Migration & Deprecation Warnings (if present), Key Types, Architecture at a Glance, CLI (if present), Scripts & Assets (if present), Manual Sections. If any Tier 1 section was moved to references/, restore it immediately and re-split targeting only Tier 2 sections.
115
-
116
- **Anchor validation and remediation:** After any split, verify that context-snippet section anchors (`#quick-start`, `#key-types`) still resolve to headings in SKILL.md. If an anchor no longer resolves (section was split out), restore that section to SKILL.md inline content — the context-snippet must always reference sections that exist in the main file.
117
-
118
- Then re-validate: `npx skill-check check <staging-skill-dir> --format json --no-security-scan`
119
-
120
- **If skill-check unavailable or no body size issue:** Skip.
121
-
122
- ### 5. Security Scan
123
-
124
- **If skill-check available:**
125
-
126
- ```bash
127
- npx skill-check check <staging-skill-dir> --format json
128
- ```
129
-
130
- (Security scan enabled by default when `--no-security-scan` omitted. The scan uses [Snyk Agent Scan](https://github.com/snyk/agent-scan) to check for prompt injection risks, sensitive data exposure, and unsafe tool permissions.)
131
-
132
- Record any security warnings in evidence-report. Security findings are advisory — they do not block artifact generation. If the full validation re-run produces a different quality score than section 2, update the evidence-report with the newer score.
133
-
134
- **If security scan fails due to missing SNYK_TOKEN:**
135
-
136
- Display: "Security scan requires a Snyk Enterprise API token ([docs](https://docs.snyk.io/snyk-api/authentication-for-api)). Set `SNYK_TOKEN=your-token` in environment or `.env`, then re-run [SF] Setup Forge. Without Enterprise, use `--no-security-scan` to skip. Security scanning is optional and does not block skill compilation."
137
-
138
- Record: "Security scan skipped — SNYK_TOKEN not configured"
139
-
140
- **If skill-check unavailable:** Skip with note: "Security scan skipped — skill-check tool unavailable"
141
-
142
- ### 6. Content Quality Review (tessl)
143
-
144
- **If tessl available**, run: `npx -y tessl skill review <staging-skill-dir>`
145
-
146
- Parse output for: `description_score`, `content_score`, `average_score`, `validation_result`, `judge_suggestions[]`.
147
-
148
- - **Content score < 70%:** Record warning: "Content quality warning: tessl scored content at {score}%."
149
- - **Unavailable:** Skip with note: "Content quality review skipped — tessl tool unavailable"
150
-
151
- > **EXPECTED BEHAVIOR — Two-Tier Scoring:** The Skill Forge two-tier design (Tier 1 Key API Summary + Tier 2 Full API Reference) intentionally includes progressive disclosure. tessl's `conciseness` scorer will flag this as redundancy (typically scoring 2/3), which is **expected behavior — not a defect**. tessl may also suggest removing `[MANUAL]` markers, moving Full API Reference to a separate file, or consolidating duplicate parameter documentation — **all three suggestions conflict with SKF design principles and must be dismissed.** Acceptable threshold: content scores >= 60% are normal for two-tier skills. Do NOT consolidate Tier 1 and Tier 2 content to improve the score — the two-tier structure is a deliberate design choice for standalone usability.
152
-
153
- tessl installs automatically via `npx`. A missing tool is not an error — graceful skip.
154
-
155
- #### 6b. User Decision Gate (conditional)
156
-
157
- **If tessl returned no suggestions OR tessl was unavailable:** Skip this gate — auto-proceed.
158
-
159
- **If tessl returned suggestions**, present them to the user:
160
-
161
- "**Content quality review: {score}%**
162
-
163
- tessl suggestions:
164
- {numbered list of judge_suggestions}
165
-
166
- **Select an option:**
167
- - **[S] Skip** — proceed with current content as-is (default)
168
- - **[A] Apply structural fixes** — apply only structural suggestions (split sections, consolidate duplicates). No new content generated.
169
- - **[R] Review all** — show each suggestion with proposed changes before applying"
170
-
171
- #### Gate Rules:
172
-
173
- - **Structural suggestions** (split reference section, consolidate duplicates, reorder sections) can be applied without zero-hallucination risk — they restructure existing content
174
- - **Semantic suggestions** (add examples, add error handling, add validation checkpoints) introduce content not verified from source code. If the user chooses to apply these:
175
- - Warn: "This adds content not verified from source code."
176
- - Mark applied content with `<!-- [TESSL:auto-fix] -->` markers
177
- - Cite as `[TESSL:suggestion]` in the provenance map with `confidence: "TESSL"` (below T3)
178
- - Record in evidence report: "TESSL-suggested content applied: {count} items (unverified)"
179
- - **If user selects [S]:** Record "tessl suggestions: skipped by user" in evidence report. Proceed to section 7.
180
- - **If user selects [A]:** Apply structural fixes only, re-run tessl to capture updated score, record results. Proceed to section 7.
181
- - **If user selects [R]:** Show each suggestion with the proposed change. For each, user confirms or skips. Apply confirmed changes, record results. Proceed to section 7.
182
-
183
- ### 7. Validate metadata.json
184
-
185
- Cross-check metadata.json against extraction inventory:
186
- - `stats.exports_documented` / `stats.exports_public_api` / `stats.exports_internal` / `stats.exports_total` are accurate
187
- - `stats.public_api_coverage` and `stats.total_coverage` are correctly computed (null when denominator is 0)
188
- - `confidence_distribution.t1`, `confidence_distribution.t1_low`, `confidence_distribution.t2`, `confidence_distribution.t3` match actual counts
189
- - `spec_version` is "1.3"
190
- - If `scripts[]` or `assets[]` arrays present: verify `stats.scripts_count`/`stats.assets_count` match array lengths; verify `file_entries` count in provenance-map.json matches
191
-
192
- Auto-fix any discrepancies (these are computed values).
193
-
194
- ### 8. Update Evidence Report
195
-
196
- Add validation results to evidence-report content in context:
197
-
198
- ```markdown
199
- ## Validation Results
200
- - Schema: {pass/fail} (quality score: {score}/100)
201
- - Frontmatter: {pass/fail}
202
- - Body: {pass/fail} {split-body applied if applicable}
203
- - Security: {pass/warn/skipped}
204
- - Content Quality (tessl): {pass/warn/skipped} (score: {score}%)
205
- - Metadata: {pass/fail}
206
-
207
- ## Quality Score Breakdown
208
- - Frontmatter (30%): {score} | Description (30%): {score} | Body (20%): {score} | Links (10%): {score} | File (10%): {score}
209
-
210
- ## Auto-Fixed Issues
211
- - {list of issues automatically corrected by --fix}
212
-
213
- ## Remaining Warnings / Security Findings / Content Quality (tessl)
214
- - {warnings, security results, tessl scores and suggestions — or "skipped"}
215
- ```
216
-
217
- ### 9. Menu Handling Logic
218
-
219
- **Conditional interaction step.** If tessl produced suggestions, section 6b halts for user input. Otherwise, auto-proceed.
220
-
221
- After validation completes (including any user decisions from section 6b), immediately load, read entire file, then execute `{nextStepFile}`.
222
-
223
- - Tool unavailability is a skip, not a halt
224
- - Validation failures are warnings — proceed to artifact generation
225
- - tessl gate only triggers when suggestions exist — no gate for clean reviews or unavailable tools
226
-
227
- ## CRITICAL STEP COMPLETION NOTE
228
-
229
- ONLY WHEN validation is complete (or skipped) and evidence-report content is updated will you proceed to load `{nextStepFile}` for artifact generation.
230
-
231
- ---
232
-
233
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
234
-
235
- ### ✅ SUCCESS:
236
-
237
- - `npx skill-check check --fix --format json` executed (or skipped with warning if unavailable)
238
- - Quality score captured and recorded; auto-fix applied for deterministic issues
239
- - Split-body applied if `body.max_lines` failed; security scan executed (or skipped with warning)
240
- - `npx -y tessl skill review` executed (or skipped); content quality warning raised if score < 70%
241
- - tessl suggestions presented to user when available; user decision recorded
242
- - TESSL-applied content marked with `<!-- [TESSL:auto-fix] -->` and cited as `[TESSL:suggestion]`
243
- - Metadata cross-check performed; evidence report updated with structured results
244
- - Proceeded to step-07 (auto or after user gate)
245
-
246
- ### ❌ SYSTEM FAILURE:
247
-
248
- - Halting on validation failure or skill-check unavailability (should warn and proceed)
249
- - Adding new content during validation without user approval via the tessl gate
250
- - Applying semantic tessl suggestions without warning the user about unverified content
251
- - Not recording quality score; skipping security scan without recording the skip
252
- - Attempting more than one auto-fix cycle per failure
253
-
254
- **Master Rule:** Validation informs, it does not block. Record results, fix what's deterministic, scan for security issues, warn about the rest, and proceed.
@@ -1,179 +0,0 @@
1
- ---
2
- name: 'step-08-report'
3
- description: 'Display compilation summary with confidence tiers, suggest next steps'
4
- nextStepFile: '../../shared/health-check.md'
5
- ---
6
-
7
- # Step 8: Report
8
-
9
- ## STEP GOAL:
10
-
11
- To display the final compilation summary — skill name, version, source, export count, confidence distribution, tier used, file list, and any warnings — and suggest next steps for the user.
12
-
13
- ## MANDATORY EXECUTION RULES (READ FIRST):
14
-
15
- ### Universal Rules:
16
-
17
- - 📖 CRITICAL: Read the complete step file before taking any action
18
- - 🎯 ALWAYS follow the exact instructions in the step file
19
- - ⚙️ TOOL/SUBPROCESS FALLBACK: If any instruction references a tool you do not have access to, you MUST still achieve the outcome in your main context thread
20
- - ✅ YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
21
-
22
- ### Role Reinforcement:
23
-
24
- - ✅ You are a skill compilation engine delivering the final report
25
- - ✅ This is the completion step — celebrate the forged skill
26
- - ✅ Positive capability framing — describe what was achieved
27
-
28
- ### Step-Specific Rules:
29
-
30
- - 🎯 Focus ONLY on reporting compilation results
31
- - 🚫 FORBIDDEN to modify any files — reporting only
32
- - 🚫 FORBIDDEN to re-run extraction or compilation
33
- - 💬 Deliver structured report with confidence breakdown
34
-
35
- ## EXECUTION PROTOCOLS:
36
-
37
- - 🎯 Follow MANDATORY SEQUENCE exactly
38
- - 💾 No file operations — display only
39
- - 📖 This is the final step — no next step to load
40
- - 🚫 Do not modify any output files
41
-
42
- ## CONTEXT BOUNDARIES:
43
-
44
- - Available: All data from previous steps — brief, extraction, enrichment, compilation, validation, artifacts
45
- - Focus: Summarizing and reporting
46
- - Limits: Do NOT modify files or re-run any previous step
47
- - Dependencies: All artifacts must have been generated in step-07
48
-
49
- ## MANDATORY SEQUENCE
50
-
51
- **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise.
52
-
53
- ### 1. Display Forge Completion Banner
54
-
55
- "**Skill forged: {name} v{version} — {export_count} functions, {primary_confidence} confidence.**"
56
-
57
- Where `{primary_confidence}` is the predominant confidence tier (T1 if Forge/Deep, T1-low if Quick).
58
-
59
- ### 2. Display Compilation Summary
60
-
61
- "**Compilation Summary**
62
-
63
- | Field | Value |
64
- |-------|-------|
65
- | **Skill** | {name} v{version} |
66
- | **Source** | {source_repo} @ {branch} ({commit_short}) |
67
- | **Language** | {language} |
68
- | **Forge Tier** | {tier} — {tier_description} |
69
- | **Files Scanned** | {file_count} |
70
- | **Exports Documented** | {documented_count} public API ({public_api_coverage}%) / {total_count} total ({total_coverage}%) |
71
-
72
- **Confidence Distribution:**
73
- | Tier | Count | Description |
74
- |------|-------|-------------|
75
- | T1 (AST) | {t1_count} | Structurally verified via ast-grep |
76
- | T1-low (Source) | {t1_low_count} | Inferred from source reading |
77
- | T2 (QMD) | {t2_count} | QMD-enriched semantic context |
78
- | T3 (External) | {t3_count} | Sourced from external documentation URLs |
79
-
80
- **Output Files:**
81
- - `{skill_package}/SKILL.md` — Active skill with trigger-based usage
82
- - `{skill_package}/context-snippet.md` — Passive context snippet (used by export-skill)
83
- - `{skill_package}/metadata.json` — Machine-readable birth certificate
84
- - `{skill_package}/references/` — Progressive disclosure ({ref_count} files)
85
- - `{forge_version}/provenance-map.json` — Source map with AST bindings
86
- - `{forge_version}/evidence-report.md` — Build audit trail
87
- - `{forge_version}/extraction-rules.yaml` — Reproducible extraction schema
88
- - `{skill_group}/active` -> `{version}` — Symlink to current version"
89
-
90
- ### 3. Display Warnings (If Any)
91
-
92
- If there were warnings from extraction, validation, or enrichment, display them:
93
-
94
- "**Warnings:**
95
- - {warning_1}
96
- - {warning_2}
97
- - ..."
98
-
99
- If no warnings, omit this section entirely.
100
-
101
- ### 4. Suggest Next Steps
102
-
103
- "**Recommended next steps:**
104
- - **[TS] Test Skill** — verify completeness and accuracy before export
105
- - **[EX] Export Skill** — publish to your skill library or agentskills.io
106
- - **[US] Update Skill** — edit specific sections or add manual content
107
-
108
- To use this skill immediately, add the context snippet to your CLAUDE.md:
109
- ```
110
- {context_snippet_content}
111
- ```"
112
-
113
- ### 5. Batch Mode Status (If Applicable)
114
-
115
- **If running in --batch mode:**
116
-
117
- "**Batch progress:** {completed_count} of {total_count} skills compiled.
118
-
119
- {If more remaining:} Proceeding to next brief: {next_skill_name}..."
120
-
121
- Update the batch checkpoint in `{sidecar_path}/batch-state.yaml` with:
122
-
123
- ```yaml
124
- batch_active: true
125
- brief_list: [{full list of brief paths}]
126
- current_index: {index of next brief to process, 0-based}
127
- completed: [{list of completed skill names}]
128
- last_updated: {ISO timestamp}
129
- ```
130
-
131
- Then loop back to step-01 for the next brief. Step-01 detects an active batch via `batch-state.yaml` and loads the brief at `current_index`.
132
-
133
- **If all batch briefs complete:**
134
-
135
- Set `batch_active: false` in `{sidecar_path}/batch-state.yaml` to prevent stale state. Display: "Batch complete. {completed_count} skills compiled."
136
-
137
- **If not batch mode:**
138
-
139
- End workflow. No further steps.
140
-
141
- ### 6. Workflow Health Check
142
-
143
- **If not batch mode (or all batch briefs complete):**
144
-
145
- Load and execute `{nextStepFile}` for workflow self-improvement check.
146
-
147
- **If batch mode with remaining briefs:** Skip health check — loop back to step-01 for the next brief. Health check runs after the final brief in the batch.
148
-
149
- ## CRITICAL STEP COMPLETION NOTE
150
-
151
- This step chains to the shared health check (unless batch mode loops back to step-01). After the health check completes, the create-skill workflow is fully done.
152
-
153
- For batch mode: loop back to step-01 for remaining briefs via sidecar checkpoint. Health check runs only after the last brief.
154
-
155
- ---
156
-
157
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
158
-
159
- ### ✅ SUCCESS:
160
-
161
- - Forge completion banner displayed with skill name, version, export count
162
- - Full compilation summary with confidence distribution
163
- - All output file paths listed
164
- - Warnings displayed (if any)
165
- - Next steps suggested (test-skill, export-skill, update-skill)
166
- - Context snippet provided for immediate use
167
- - Batch progress updated (if applicable)
168
- - Workflow ended gracefully
169
-
170
- ### ❌ SYSTEM FAILURE:
171
-
172
- - Not displaying the forge completion banner
173
- - Missing confidence distribution in summary
174
- - Modifying any files during the report step
175
- - Not listing all output file paths
176
- - Not suggesting next steps
177
- - Not ending the workflow (attempting to load nonexistent next step)
178
-
179
- **Master Rule:** This step reports and celebrates. It does not modify, re-extract, or re-compile. The skill is forged.
@@ -1,53 +0,0 @@
1
- ---
2
- name: create-skill
3
- description: Compile a skill from a brief. Supports --batch for multiple briefs.
4
- web_bundle: true
5
- installed_path: '{project-root}/_bmad/skf/workflows/skillforge/create-skill'
6
- ---
7
-
8
- # Create Skill
9
-
10
- **Goal:** Compile a verified agent skill from a skill-brief.yaml and source code, producing an agentskills.io-compliant SKILL.md with provenance map, evidence report, and progressive disclosure references.
11
-
12
- **Your Role:** You are operating in **Ferris Architect mode** — a skill compilation engine performing structural extraction and assembly. This workflow is mostly autonomous with three interaction points — one after ecosystem check (if a match is found), one after source extraction (to confirm findings before compilation), and one after content quality review (when tessl produces suggestions). All other steps auto-proceed. Apply zero hallucination tolerance: every instruction in the output must trace to source code with a confidence tier citation.
13
-
14
- ## WORKFLOW ARCHITECTURE
15
-
16
- ### Core Principles
17
-
18
- - **Micro-file Design**: Each step of the overall goal is a self contained instruction file that you will adhere to 1 file as directed at a time
19
- - **Just-In-Time Loading**: Only 1 current step file will be loaded, read, and executed to completion - never load future step files until told to do so
20
- - **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
21
- - **Tier-Aware Execution**: Steps adapt behavior based on forge tier (Quick/Forge/Forge+/Deep) loaded from sidecar at init
22
- - **Zero Hallucination**: Every claim requires a provenance citation — uncitable content is excluded, not guessed
23
-
24
- ### Step Processing Rules
25
-
26
- 1. **READ COMPLETELY**: Always read the entire step file before taking any action
27
- 2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
28
- 3. **WAIT FOR INPUT**: At confirmation gates (steps 02 and 03), halt and wait for user selection
29
- 4. **AUTO-PROCEED**: All other steps proceed to the next automatically after completion
30
- 5. **LOAD NEXT**: When directed, load, read entire file, then execute the next step file
31
-
32
- ### Critical Rules (NO EXCEPTIONS)
33
-
34
- - 🛑 **NEVER** load multiple step files simultaneously
35
- - 📖 **ALWAYS** read entire step file before execution
36
- - 🚫 **NEVER** skip steps or optimize the sequence
37
- - 🎯 **ALWAYS** follow the exact instructions in the step file
38
- - 📋 **NEVER** create mental todo lists from future steps
39
- - ⚒️ **NEVER** include content in SKILL.md that cannot be cited to source code
40
-
41
- ---
42
-
43
- ## INITIALIZATION SEQUENCE
44
-
45
- ### 1. Module Configuration Loading
46
-
47
- Load and read full config from {project-root}/_bmad/skf/config.yaml and resolve:
48
-
49
- - `project_name`, `output_folder`, `user_name`, `communication_language`, `document_output_language`, `sidecar_path`, `skills_output_folder`, `forge_data_folder`
50
-
51
- ### 2. First Step Execution
52
-
53
- Load, read the full file and then execute ./steps-c/step-01-load-brief.md to begin the workflow.