mustflow 1.15.97

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 (415) hide show
  1. package/LICENSE +16 -0
  2. package/README.md +422 -0
  3. package/dist/cli/commands/check.js +73 -0
  4. package/dist/cli/commands/classify.js +104 -0
  5. package/dist/cli/commands/context.js +95 -0
  6. package/dist/cli/commands/contract-lint.js +74 -0
  7. package/dist/cli/commands/dashboard.js +654 -0
  8. package/dist/cli/commands/docs.js +382 -0
  9. package/dist/cli/commands/doctor.js +232 -0
  10. package/dist/cli/commands/explain.js +293 -0
  11. package/dist/cli/commands/help.js +148 -0
  12. package/dist/cli/commands/impact.js +120 -0
  13. package/dist/cli/commands/index.js +70 -0
  14. package/dist/cli/commands/init.js +986 -0
  15. package/dist/cli/commands/line-endings.js +102 -0
  16. package/dist/cli/commands/map.js +95 -0
  17. package/dist/cli/commands/run.js +442 -0
  18. package/dist/cli/commands/search.js +166 -0
  19. package/dist/cli/commands/status.js +65 -0
  20. package/dist/cli/commands/update.js +443 -0
  21. package/dist/cli/commands/verify.js +448 -0
  22. package/dist/cli/commands/version-sources.js +79 -0
  23. package/dist/cli/commands/version.js +57 -0
  24. package/dist/cli/i18n/en.js +702 -0
  25. package/dist/cli/i18n/es.js +702 -0
  26. package/dist/cli/i18n/fr.js +702 -0
  27. package/dist/cli/i18n/hi.js +702 -0
  28. package/dist/cli/i18n/ko.js +702 -0
  29. package/dist/cli/i18n/zh.js +702 -0
  30. package/dist/cli/index.js +218 -0
  31. package/dist/cli/lib/agent-context.js +342 -0
  32. package/dist/cli/lib/browser-open.js +58 -0
  33. package/dist/cli/lib/cli-output.js +36 -0
  34. package/dist/cli/lib/command-contract.js +1 -0
  35. package/dist/cli/lib/command-registry.js +107 -0
  36. package/dist/cli/lib/dashboard-html.js +1866 -0
  37. package/dist/cli/lib/dashboard-locale.js +309 -0
  38. package/dist/cli/lib/dashboard-preferences.js +405 -0
  39. package/dist/cli/lib/doc-review-ledger.js +226 -0
  40. package/dist/cli/lib/filesystem.js +125 -0
  41. package/dist/cli/lib/git-changes.js +13 -0
  42. package/dist/cli/lib/i18n.js +55 -0
  43. package/dist/cli/lib/local-index.js +1014 -0
  44. package/dist/cli/lib/locale-tags.js +4 -0
  45. package/dist/cli/lib/manifest-lock.js +131 -0
  46. package/dist/cli/lib/npm-version-check.js +97 -0
  47. package/dist/cli/lib/package-info.js +13 -0
  48. package/dist/cli/lib/preferences-options.js +8 -0
  49. package/dist/cli/lib/project-root.js +23 -0
  50. package/dist/cli/lib/repo-map.js +635 -0
  51. package/dist/cli/lib/reporter.js +8 -0
  52. package/dist/cli/lib/run-receipt.js +1 -0
  53. package/dist/cli/lib/template-i18n.js +265 -0
  54. package/dist/cli/lib/templates.js +188 -0
  55. package/dist/cli/lib/toml.js +1 -0
  56. package/dist/cli/lib/validation.js +1639 -0
  57. package/dist/cli/lib/version-sources.js +1 -0
  58. package/dist/core/authority-resolution.js +155 -0
  59. package/dist/core/change-classification.js +122 -0
  60. package/dist/core/change-verification.js +80 -0
  61. package/dist/core/check-issues.js +67 -0
  62. package/dist/core/command-classification.js +22 -0
  63. package/dist/core/command-contract-rules.js +27 -0
  64. package/dist/core/command-contract-validation.js +197 -0
  65. package/dist/core/command-cwd.js +12 -0
  66. package/dist/core/command-effects.js +182 -0
  67. package/dist/core/command-explanation.js +135 -0
  68. package/dist/core/command-intent-eligibility.js +76 -0
  69. package/dist/core/config-loading.js +54 -0
  70. package/dist/core/contract-lint.js +110 -0
  71. package/dist/core/contract-models.js +53 -0
  72. package/dist/core/dashboard-verification.js +132 -0
  73. package/dist/core/doc-review-triage.js +92 -0
  74. package/dist/core/line-endings.js +144 -0
  75. package/dist/core/public-json-contracts.js +112 -0
  76. package/dist/core/public-surface-explanation.js +49 -0
  77. package/dist/core/release-version-validation.js +53 -0
  78. package/dist/core/retention-explanation.js +74 -0
  79. package/dist/core/retention-policy.js +57 -0
  80. package/dist/core/run-receipt.js +77 -0
  81. package/dist/core/skill-route-alignment.js +100 -0
  82. package/dist/core/skill-route-explanation.js +117 -0
  83. package/dist/core/source-anchor-explanation.js +33 -0
  84. package/dist/core/source-anchor-status.js +269 -0
  85. package/dist/core/source-anchor-symbols.js +181 -0
  86. package/dist/core/source-anchor-validation.js +158 -0
  87. package/dist/core/source-anchors.js +194 -0
  88. package/dist/core/surface-decision-model.js +18 -0
  89. package/dist/core/toml.js +11 -0
  90. package/dist/core/verification-plan.js +41 -0
  91. package/dist/core/verification-scheduler.js +92 -0
  92. package/dist/core/version-impact.js +54 -0
  93. package/dist/core/version-sources.js +235 -0
  94. package/dist/core/version-sync-policy.js +85 -0
  95. package/examples/README.md +13 -0
  96. package/examples/docs-only/README.md +72 -0
  97. package/examples/host-instruction-conflicts/README.md +47 -0
  98. package/examples/minimal-js/README.md +98 -0
  99. package/examples/missing-command-contracts/README.md +70 -0
  100. package/examples/nested-repos/README.md +62 -0
  101. package/package.json +80 -0
  102. package/schemas/README.md +32 -0
  103. package/schemas/change-verification-report.schema.json +319 -0
  104. package/schemas/classify-report.schema.json +113 -0
  105. package/schemas/commands.schema.json +116 -0
  106. package/schemas/context-report.schema.json +341 -0
  107. package/schemas/contract-lint-report.schema.json +61 -0
  108. package/schemas/docs-review-list.schema.json +72 -0
  109. package/schemas/doctor-report.schema.json +175 -0
  110. package/schemas/explain-report.schema.json +471 -0
  111. package/schemas/impact-report.schema.json +121 -0
  112. package/schemas/line-endings-report.schema.json +63 -0
  113. package/schemas/run-receipt.schema.json +75 -0
  114. package/schemas/verify-report.schema.json +67 -0
  115. package/schemas/version-sources-report.schema.json +42 -0
  116. package/templates/default/common/.mustflow/config/commands.toml +251 -0
  117. package/templates/default/common/.mustflow/config/mustflow.toml +424 -0
  118. package/templates/default/common/.mustflow/config/preferences.toml +125 -0
  119. package/templates/default/common/gitignore.mustflow +9 -0
  120. package/templates/default/i18n.toml +483 -0
  121. package/templates/default/locales/en/.mustflow/context/INDEX.md +39 -0
  122. package/templates/default/locales/en/.mustflow/context/PROJECT.md +66 -0
  123. package/templates/default/locales/en/.mustflow/docs/agent-workflow.md +345 -0
  124. package/templates/default/locales/en/.mustflow/skills/INDEX.md +78 -0
  125. package/templates/default/locales/en/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  126. package/templates/default/locales/en/.mustflow/skills/artifact-integrity-check/SKILL.md +121 -0
  127. package/templates/default/locales/en/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  128. package/templates/default/locales/en/.mustflow/skills/code-review/SKILL.md +115 -0
  129. package/templates/default/locales/en/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  130. package/templates/default/locales/en/.mustflow/skills/command-pattern/SKILL.md +247 -0
  131. package/templates/default/locales/en/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  132. package/templates/default/locales/en/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  133. package/templates/default/locales/en/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  134. package/templates/default/locales/en/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  135. package/templates/default/locales/en/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  136. package/templates/default/locales/en/.mustflow/skills/diff-risk-review/SKILL.md +143 -0
  137. package/templates/default/locales/en/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  138. package/templates/default/locales/en/.mustflow/skills/docs-update/SKILL.md +100 -0
  139. package/templates/default/locales/en/.mustflow/skills/external-prompt-injection-defense/SKILL.md +124 -0
  140. package/templates/default/locales/en/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  141. package/templates/default/locales/en/.mustflow/skills/failure-triage/SKILL.md +97 -0
  142. package/templates/default/locales/en/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  143. package/templates/default/locales/en/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  144. package/templates/default/locales/en/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  145. package/templates/default/locales/en/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  146. package/templates/default/locales/en/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  147. package/templates/default/locales/en/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  148. package/templates/default/locales/en/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  149. package/templates/default/locales/en/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  150. package/templates/default/locales/en/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  151. package/templates/default/locales/en/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  152. package/templates/default/locales/en/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  153. package/templates/default/locales/en/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  154. package/templates/default/locales/en/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  155. package/templates/default/locales/en/.mustflow/skills/result-option/SKILL.md +186 -0
  156. package/templates/default/locales/en/.mustflow/skills/security-privacy-review/SKILL.md +130 -0
  157. package/templates/default/locales/en/.mustflow/skills/security-regression-tests/SKILL.md +157 -0
  158. package/templates/default/locales/en/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  159. package/templates/default/locales/en/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  160. package/templates/default/locales/en/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  161. package/templates/default/locales/en/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  162. package/templates/default/locales/en/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  163. package/templates/default/locales/en/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  164. package/templates/default/locales/en/.mustflow/skills/ui-quality-gate/SKILL.md +119 -0
  165. package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  166. package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  167. package/templates/default/locales/en/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  168. package/templates/default/locales/en/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  169. package/templates/default/locales/en/AGENTS.md +114 -0
  170. package/templates/default/locales/es/.mustflow/context/INDEX.md +39 -0
  171. package/templates/default/locales/es/.mustflow/context/PROJECT.md +63 -0
  172. package/templates/default/locales/es/.mustflow/docs/agent-workflow.md +365 -0
  173. package/templates/default/locales/es/.mustflow/skills/INDEX.md +78 -0
  174. package/templates/default/locales/es/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  175. package/templates/default/locales/es/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  176. package/templates/default/locales/es/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  177. package/templates/default/locales/es/.mustflow/skills/code-review/SKILL.md +115 -0
  178. package/templates/default/locales/es/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  179. package/templates/default/locales/es/.mustflow/skills/command-pattern/SKILL.md +247 -0
  180. package/templates/default/locales/es/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  181. package/templates/default/locales/es/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  182. package/templates/default/locales/es/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  183. package/templates/default/locales/es/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  184. package/templates/default/locales/es/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  185. package/templates/default/locales/es/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  186. package/templates/default/locales/es/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  187. package/templates/default/locales/es/.mustflow/skills/docs-update/SKILL.md +97 -0
  188. package/templates/default/locales/es/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  189. package/templates/default/locales/es/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  190. package/templates/default/locales/es/.mustflow/skills/failure-triage/SKILL.md +97 -0
  191. package/templates/default/locales/es/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  192. package/templates/default/locales/es/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  193. package/templates/default/locales/es/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  194. package/templates/default/locales/es/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  195. package/templates/default/locales/es/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  196. package/templates/default/locales/es/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  197. package/templates/default/locales/es/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  198. package/templates/default/locales/es/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  199. package/templates/default/locales/es/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  200. package/templates/default/locales/es/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  201. package/templates/default/locales/es/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  202. package/templates/default/locales/es/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  203. package/templates/default/locales/es/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  204. package/templates/default/locales/es/.mustflow/skills/result-option/SKILL.md +186 -0
  205. package/templates/default/locales/es/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  206. package/templates/default/locales/es/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  207. package/templates/default/locales/es/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  208. package/templates/default/locales/es/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  209. package/templates/default/locales/es/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  210. package/templates/default/locales/es/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  211. package/templates/default/locales/es/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  212. package/templates/default/locales/es/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  213. package/templates/default/locales/es/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  214. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  215. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  216. package/templates/default/locales/es/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  217. package/templates/default/locales/es/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  218. package/templates/default/locales/es/AGENTS.md +83 -0
  219. package/templates/default/locales/fr/.mustflow/context/INDEX.md +39 -0
  220. package/templates/default/locales/fr/.mustflow/context/PROJECT.md +63 -0
  221. package/templates/default/locales/fr/.mustflow/docs/agent-workflow.md +368 -0
  222. package/templates/default/locales/fr/.mustflow/skills/INDEX.md +78 -0
  223. package/templates/default/locales/fr/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  224. package/templates/default/locales/fr/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  225. package/templates/default/locales/fr/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  226. package/templates/default/locales/fr/.mustflow/skills/code-review/SKILL.md +115 -0
  227. package/templates/default/locales/fr/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  228. package/templates/default/locales/fr/.mustflow/skills/command-pattern/SKILL.md +247 -0
  229. package/templates/default/locales/fr/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  230. package/templates/default/locales/fr/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  231. package/templates/default/locales/fr/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  232. package/templates/default/locales/fr/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  233. package/templates/default/locales/fr/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  234. package/templates/default/locales/fr/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  235. package/templates/default/locales/fr/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  236. package/templates/default/locales/fr/.mustflow/skills/docs-update/SKILL.md +97 -0
  237. package/templates/default/locales/fr/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  238. package/templates/default/locales/fr/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  239. package/templates/default/locales/fr/.mustflow/skills/failure-triage/SKILL.md +97 -0
  240. package/templates/default/locales/fr/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  241. package/templates/default/locales/fr/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  242. package/templates/default/locales/fr/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  243. package/templates/default/locales/fr/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  244. package/templates/default/locales/fr/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  245. package/templates/default/locales/fr/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  246. package/templates/default/locales/fr/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  247. package/templates/default/locales/fr/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  248. package/templates/default/locales/fr/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  249. package/templates/default/locales/fr/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  250. package/templates/default/locales/fr/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  251. package/templates/default/locales/fr/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  252. package/templates/default/locales/fr/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  253. package/templates/default/locales/fr/.mustflow/skills/result-option/SKILL.md +186 -0
  254. package/templates/default/locales/fr/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  255. package/templates/default/locales/fr/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  256. package/templates/default/locales/fr/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  257. package/templates/default/locales/fr/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  258. package/templates/default/locales/fr/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  259. package/templates/default/locales/fr/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  260. package/templates/default/locales/fr/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  261. package/templates/default/locales/fr/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  262. package/templates/default/locales/fr/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  263. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  264. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  265. package/templates/default/locales/fr/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  266. package/templates/default/locales/fr/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  267. package/templates/default/locales/fr/AGENTS.md +84 -0
  268. package/templates/default/locales/hi/.mustflow/context/INDEX.md +39 -0
  269. package/templates/default/locales/hi/.mustflow/context/PROJECT.md +65 -0
  270. package/templates/default/locales/hi/.mustflow/docs/agent-workflow.md +359 -0
  271. package/templates/default/locales/hi/.mustflow/skills/INDEX.md +78 -0
  272. package/templates/default/locales/hi/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  273. package/templates/default/locales/hi/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  274. package/templates/default/locales/hi/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  275. package/templates/default/locales/hi/.mustflow/skills/code-review/SKILL.md +115 -0
  276. package/templates/default/locales/hi/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  277. package/templates/default/locales/hi/.mustflow/skills/command-pattern/SKILL.md +247 -0
  278. package/templates/default/locales/hi/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  279. package/templates/default/locales/hi/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  280. package/templates/default/locales/hi/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  281. package/templates/default/locales/hi/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  282. package/templates/default/locales/hi/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  283. package/templates/default/locales/hi/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  284. package/templates/default/locales/hi/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  285. package/templates/default/locales/hi/.mustflow/skills/docs-update/SKILL.md +97 -0
  286. package/templates/default/locales/hi/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  287. package/templates/default/locales/hi/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  288. package/templates/default/locales/hi/.mustflow/skills/failure-triage/SKILL.md +97 -0
  289. package/templates/default/locales/hi/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  290. package/templates/default/locales/hi/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  291. package/templates/default/locales/hi/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  292. package/templates/default/locales/hi/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  293. package/templates/default/locales/hi/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  294. package/templates/default/locales/hi/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  295. package/templates/default/locales/hi/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  296. package/templates/default/locales/hi/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  297. package/templates/default/locales/hi/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  298. package/templates/default/locales/hi/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  299. package/templates/default/locales/hi/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  300. package/templates/default/locales/hi/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  301. package/templates/default/locales/hi/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  302. package/templates/default/locales/hi/.mustflow/skills/result-option/SKILL.md +186 -0
  303. package/templates/default/locales/hi/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  304. package/templates/default/locales/hi/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  305. package/templates/default/locales/hi/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  306. package/templates/default/locales/hi/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  307. package/templates/default/locales/hi/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  308. package/templates/default/locales/hi/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  309. package/templates/default/locales/hi/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  310. package/templates/default/locales/hi/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  311. package/templates/default/locales/hi/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  312. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  313. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  314. package/templates/default/locales/hi/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  315. package/templates/default/locales/hi/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  316. package/templates/default/locales/hi/AGENTS.md +83 -0
  317. package/templates/default/locales/ko/.mustflow/context/INDEX.md +39 -0
  318. package/templates/default/locales/ko/.mustflow/context/PROJECT.md +66 -0
  319. package/templates/default/locales/ko/.mustflow/docs/agent-workflow.md +506 -0
  320. package/templates/default/locales/ko/.mustflow/skills/INDEX.md +78 -0
  321. package/templates/default/locales/ko/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  322. package/templates/default/locales/ko/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  323. package/templates/default/locales/ko/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  324. package/templates/default/locales/ko/.mustflow/skills/code-review/SKILL.md +118 -0
  325. package/templates/default/locales/ko/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  326. package/templates/default/locales/ko/.mustflow/skills/command-pattern/SKILL.md +247 -0
  327. package/templates/default/locales/ko/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  328. package/templates/default/locales/ko/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  329. package/templates/default/locales/ko/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  330. package/templates/default/locales/ko/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  331. package/templates/default/locales/ko/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  332. package/templates/default/locales/ko/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  333. package/templates/default/locales/ko/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  334. package/templates/default/locales/ko/.mustflow/skills/docs-update/SKILL.md +107 -0
  335. package/templates/default/locales/ko/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  336. package/templates/default/locales/ko/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  337. package/templates/default/locales/ko/.mustflow/skills/failure-triage/SKILL.md +119 -0
  338. package/templates/default/locales/ko/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  339. package/templates/default/locales/ko/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  340. package/templates/default/locales/ko/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  341. package/templates/default/locales/ko/.mustflow/skills/multi-agent-work-coordination/SKILL.md +259 -0
  342. package/templates/default/locales/ko/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  343. package/templates/default/locales/ko/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  344. package/templates/default/locales/ko/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  345. package/templates/default/locales/ko/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  346. package/templates/default/locales/ko/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  347. package/templates/default/locales/ko/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  348. package/templates/default/locales/ko/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  349. package/templates/default/locales/ko/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  350. package/templates/default/locales/ko/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  351. package/templates/default/locales/ko/.mustflow/skills/result-option/SKILL.md +186 -0
  352. package/templates/default/locales/ko/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  353. package/templates/default/locales/ko/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  354. package/templates/default/locales/ko/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  355. package/templates/default/locales/ko/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  356. package/templates/default/locales/ko/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  357. package/templates/default/locales/ko/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  358. package/templates/default/locales/ko/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  359. package/templates/default/locales/ko/.mustflow/skills/test-maintenance/SKILL.md +130 -0
  360. package/templates/default/locales/ko/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  361. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  362. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  363. package/templates/default/locales/ko/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  364. package/templates/default/locales/ko/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  365. package/templates/default/locales/ko/AGENTS.md +85 -0
  366. package/templates/default/locales/zh/.mustflow/context/INDEX.md +39 -0
  367. package/templates/default/locales/zh/.mustflow/context/PROJECT.md +64 -0
  368. package/templates/default/locales/zh/.mustflow/docs/agent-workflow.md +310 -0
  369. package/templates/default/locales/zh/.mustflow/skills/INDEX.md +78 -0
  370. package/templates/default/locales/zh/.mustflow/skills/adapter-boundary/SKILL.md +193 -0
  371. package/templates/default/locales/zh/.mustflow/skills/artifact-integrity-check/SKILL.md +114 -0
  372. package/templates/default/locales/zh/.mustflow/skills/behavior-preserving-refactor/SKILL.md +182 -0
  373. package/templates/default/locales/zh/.mustflow/skills/code-review/SKILL.md +115 -0
  374. package/templates/default/locales/zh/.mustflow/skills/codebase-orientation/SKILL.md +115 -0
  375. package/templates/default/locales/zh/.mustflow/skills/command-pattern/SKILL.md +247 -0
  376. package/templates/default/locales/zh/.mustflow/skills/composition-over-inheritance/SKILL.md +176 -0
  377. package/templates/default/locales/zh/.mustflow/skills/contract-sync-check/SKILL.md +116 -0
  378. package/templates/default/locales/zh/.mustflow/skills/date-number-audit/SKILL.md +116 -0
  379. package/templates/default/locales/zh/.mustflow/skills/dependency-injection/SKILL.md +161 -0
  380. package/templates/default/locales/zh/.mustflow/skills/dependency-reality-check/SKILL.md +115 -0
  381. package/templates/default/locales/zh/.mustflow/skills/diff-risk-review/SKILL.md +136 -0
  382. package/templates/default/locales/zh/.mustflow/skills/docs-prose-review/SKILL.md +119 -0
  383. package/templates/default/locales/zh/.mustflow/skills/docs-update/SKILL.md +97 -0
  384. package/templates/default/locales/zh/.mustflow/skills/external-prompt-injection-defense/SKILL.md +116 -0
  385. package/templates/default/locales/zh/.mustflow/skills/facade-pattern/SKILL.md +210 -0
  386. package/templates/default/locales/zh/.mustflow/skills/failure-triage/SKILL.md +96 -0
  387. package/templates/default/locales/zh/.mustflow/skills/instruction-conflict-scope-check/SKILL.md +118 -0
  388. package/templates/default/locales/zh/.mustflow/skills/line-ending-hygiene/SKILL.md +111 -0
  389. package/templates/default/locales/zh/.mustflow/skills/migration-safety-check/SKILL.md +117 -0
  390. package/templates/default/locales/zh/.mustflow/skills/multi-agent-work-coordination/SKILL.md +260 -0
  391. package/templates/default/locales/zh/.mustflow/skills/null-object-pattern/SKILL.md +196 -0
  392. package/templates/default/locales/zh/.mustflow/skills/pattern-scout/SKILL.md +110 -0
  393. package/templates/default/locales/zh/.mustflow/skills/performance-budget-check/SKILL.md +121 -0
  394. package/templates/default/locales/zh/.mustflow/skills/project-context-authoring/SKILL.md +107 -0
  395. package/templates/default/locales/zh/.mustflow/skills/pure-core-imperative-shell/SKILL.md +212 -0
  396. package/templates/default/locales/zh/.mustflow/skills/readme-authoring/SKILL.md +115 -0
  397. package/templates/default/locales/zh/.mustflow/skills/repo-improvement-loop/SKILL.md +150 -0
  398. package/templates/default/locales/zh/.mustflow/skills/repro-first-debug/SKILL.md +112 -0
  399. package/templates/default/locales/zh/.mustflow/skills/requirement-regression-guard/SKILL.md +152 -0
  400. package/templates/default/locales/zh/.mustflow/skills/result-option/SKILL.md +186 -0
  401. package/templates/default/locales/zh/.mustflow/skills/security-privacy-review/SKILL.md +116 -0
  402. package/templates/default/locales/zh/.mustflow/skills/security-regression-tests/SKILL.md +131 -0
  403. package/templates/default/locales/zh/.mustflow/skills/skill-authoring/SKILL.md +110 -0
  404. package/templates/default/locales/zh/.mustflow/skills/source-freshness-check/SKILL.md +111 -0
  405. package/templates/default/locales/zh/.mustflow/skills/state-machine-pattern/SKILL.md +214 -0
  406. package/templates/default/locales/zh/.mustflow/skills/strategy-pattern/SKILL.md +215 -0
  407. package/templates/default/locales/zh/.mustflow/skills/structure-discovery-gate/SKILL.md +159 -0
  408. package/templates/default/locales/zh/.mustflow/skills/test-maintenance/SKILL.md +122 -0
  409. package/templates/default/locales/zh/.mustflow/skills/ui-quality-gate/SKILL.md +117 -0
  410. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/SKILL.md +127 -0
  411. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/assets/review-template.html +286 -0
  412. package/templates/default/locales/zh/.mustflow/skills/visual-review-artifact/resources.toml +7 -0
  413. package/templates/default/locales/zh/.mustflow/skills/web-asset-optimization/SKILL.md +108 -0
  414. package/templates/default/locales/zh/AGENTS.md +86 -0
  415. package/templates/default/manifest.toml +339 -0
@@ -0,0 +1,116 @@
1
+ ---
2
+ mustflow_doc: skill.date-number-audit
3
+ locale: hi
4
+ canonical: false
5
+ revision: 1
6
+ lifecycle: mustflow-owned
7
+ authority: procedure
8
+ name: date-number-audit
9
+ description: Apply this skill when a task creates, edits, or reports dates, versions, counts, durations, limits, metrics, benchmarks, prices, percentages, or other numeric facts.
10
+ metadata:
11
+ mustflow_schema: "1"
12
+ mustflow_kind: procedure
13
+ pack_id: mustflow.core
14
+ skill_id: mustflow.core.date-number-audit
15
+ command_intents:
16
+ - changes_status
17
+ - changes_diff_summary
18
+ - docs_validate_fast
19
+ - test_release
20
+ - mustflow_check
21
+ ---
22
+
23
+ # Date and Number Audit
24
+
25
+ <!-- mustflow-section: purpose -->
26
+ ## Purpose
27
+
28
+ Prevent code, docs, tests, and final reports from inventing, copying stale, or mis-synchronizing dates and numeric facts.
29
+
30
+ <!-- mustflow-section: use-when -->
31
+ ## Use When
32
+
33
+ - A change adds, edits, removes, or reports a date, deadline, release version, count, duration, timeout, limit, quota, size, percentage, price, benchmark, score, coverage value, or generated-file total.
34
+ - Documentation summarizes how many commands, files, pages, templates, locales, tests, checks, or supported items exist.
35
+ - A final report or user-facing message depends on a number that may drift after code, template, package, docs, or generated-output changes.
36
+ - A failing check suggests a stale revision, mismatched version, wrong count, outdated date, or inconsistent numeric threshold.
37
+
38
+ <!-- mustflow-section: do-not-use-when -->
39
+ ## Do Not Use When
40
+
41
+ - The number is a local variable, loop index, enum value, or test fixture with no public or cross-file meaning.
42
+ - The task only preserves existing numeric text without relying on it.
43
+ - A specialized skill for release versioning, dependency reality, artifact integrity, or source freshness is the narrower match.
44
+
45
+ <!-- mustflow-section: required-inputs -->
46
+ ## Required Inputs
47
+
48
+ - The date or numeric fact and every surface that states, derives, or validates it.
49
+ - The source of truth for the value, such as package metadata, template metadata, schema, code constant, generated output, test assertion, or current command result.
50
+ - The acceptable precision and wording when a value is approximate, sampled, local-only, or time-sensitive.
51
+ - Relevant command-intent contract entries for docs, packaging, build, or mustflow validation.
52
+
53
+ <!-- mustflow-section: preconditions -->
54
+ ## Preconditions
55
+
56
+ - The task matches the Use When conditions and does not match the Do Not Use When exclusions.
57
+ - Required inputs are available, or missing inputs can be reported without guessing.
58
+ - Higher-priority instructions and `.mustflow/config/commands.toml` have been checked for the current scope.
59
+
60
+ <!-- mustflow-section: allowed-edits -->
61
+ ## Allowed Edits
62
+
63
+ - Align dates and numeric facts across source files, generated metadata, tests, documentation, and final reports.
64
+ - Replace exact numbers with bounded or source-linked wording when exactness is not stable.
65
+ - Do not invent a number to make a document feel complete.
66
+ - Do not change behavior thresholds, timeouts, limits, or release versions unless the task and source of truth support the change.
67
+
68
+ <!-- mustflow-section: procedure -->
69
+ ## Procedure
70
+
71
+ 1. List the date or numeric facts that the task creates, edits, or reports.
72
+ 2. Identify the source of truth for each value before changing dependent surfaces.
73
+ 3. Search related code, templates, docs, schemas, tests, and generated metadata for duplicate statements of the same value.
74
+ 4. Update dependent surfaces from the source of truth, or mark the value as approximate, local, sampled, or unverified when exact verification is unavailable.
75
+ 5. Keep version numbers, template revisions, schema revisions, locale source revisions, package assertions, and public examples synchronized.
76
+ 6. Prefer phrasing such as "about", "currently", "at the time of this check", or "from the latest generated output" only when that uncertainty is true and useful.
77
+ 7. Run the narrowest configured verification that proves the value and dependent surfaces still agree.
78
+
79
+ <!-- mustflow-section: postconditions -->
80
+ ## Postconditions
81
+
82
+ - Every public or cross-file date and numeric fact has a named source of truth or an explicit uncertainty note.
83
+ - Tests and metadata that assert numbers are synchronized with the changed source.
84
+ - The final report names any values that were intentionally left approximate or unverified.
85
+
86
+ <!-- mustflow-section: verification -->
87
+ ## Verification
88
+
89
+ Use configured oneshot command intents when available:
90
+
91
+ - `changes_status`
92
+ - `changes_diff_summary`
93
+ - `docs_validate_fast`
94
+ - `test_release`
95
+ - `mustflow_check`
96
+
97
+ Use a narrower configured test, build, or docs intent when it better proves the changed numeric surface.
98
+
99
+ <!-- mustflow-section: failure-handling -->
100
+ ## Failure Handling
101
+
102
+ - If two sources disagree, do not guess. Identify the higher-authority source or report the conflict.
103
+ - If a value depends on time, network state, package registry state, generated output, or external data that was not refreshed, state that boundary.
104
+ - If an exact number is unnecessary and expensive to keep current, rewrite the statement to avoid brittle precision.
105
+ - If changing a number affects behavior, activate the relevant code, test, release, or dependency skill before continuing.
106
+
107
+ <!-- mustflow-section: output-format -->
108
+ ## Output Format
109
+
110
+ - Dates or numeric facts audited
111
+ - Source of truth for each value
112
+ - Surfaces synchronized
113
+ - Exact values changed or made approximate
114
+ - Command intents run
115
+ - Skipped checks and reasons
116
+ - Remaining date or numeric risk
@@ -0,0 +1,161 @@
1
+ ---
2
+ mustflow_doc: skill.dependency-injection
3
+ locale: hi
4
+ canonical: false
5
+ revision: 3
6
+ lifecycle: mustflow-owned
7
+ authority: procedure
8
+ name: dependency-injection
9
+ description: Apply this skill when core or application logic creates, imports, resolves, or hides external dependencies such as databases, APIs, SDKs, filesystems, clocks, random generators, identifiers, loggers, configuration, framework request objects, AI clients, queues, or payment/email providers.
10
+ metadata:
11
+ mustflow_schema: "1"
12
+ mustflow_kind: procedure
13
+ pack_id: mustflow.core
14
+ skill_id: mustflow.core.dependency-injection
15
+ command_intents:
16
+ - changes_status
17
+ - changes_diff_summary
18
+ - test_related
19
+ - test
20
+ - lint
21
+ - build
22
+ - docs_validate_fast
23
+ - test_release
24
+ - mustflow_check
25
+ ---
26
+
27
+ # Dependency Injection
28
+
29
+ <!-- mustflow-section: purpose -->
30
+ ## Purpose
31
+
32
+ Keep business logic from creating, finding, or importing the tools it needs. External-world objects belong at assembly boundaries; core logic receives narrow ports, explicit values, or request context from the outside.
33
+
34
+ Dependency injection is not an abstraction quota. Use it to keep replaceable infrastructure, hidden global state, and side effects from leaking into domain and use-case code.
35
+
36
+ <!-- mustflow-section: use-when -->
37
+ ## Use When
38
+
39
+ - Core, domain, application, service, or use-case code directly constructs a database client, external SDK, queue, file storage, logger, clock, random generator, identifier generator, AI model client, email sender, payment gateway, HTTP client, or framework object.
40
+ - Code reads `process.env`, current time, random values, UUIDs, files, local storage, global containers, or global loggers away from the assembly boundary.
41
+ - A refactor aims to make behavior easier to test without real databases, network calls, API keys, filesystem writes, current time, or random identifiers.
42
+ - New ports, adapters, provider modules, transaction runners, or composition roots are being introduced.
43
+ - A function's signature hides required collaborators or accepts broad technical objects instead of the narrow capability it actually needs.
44
+ - An optional collaborator should be wired as a real implementation or a safe null, no-op, disabled, identity, empty, deny-all, or failing implementation at the assembly boundary.
45
+
46
+ <!-- mustflow-section: do-not-use-when -->
47
+ ## Do Not Use When
48
+
49
+ - The code is a pure function, value object, entity constructor, small data formatter, or internal helper with no external dependency.
50
+ - The task is a disposable one-off script that is not imported, tested, repeated, used in production, or connected to external services.
51
+ - A framework's dependency injection mechanism is already confined to the application boundary and does not leak into domain code.
52
+ - The only change needed is to confirm a package or tool exists; use `dependency-reality-check`.
53
+
54
+ <!-- mustflow-section: required-inputs -->
55
+ ## Required Inputs
56
+
57
+ - The target code area and the direct dependency, global state, or hidden collaborator being introduced or removed.
58
+ - The intended business capability and which layer owns the rule: domain, application, infrastructure, adapter, route, worker, or assembly root.
59
+ - Existing local patterns for ports, adapters, fakes, transaction runners, clocks, configuration loading, and test setup.
60
+ - Current changed files and command-intent contract entries relevant to tests, builds, docs, release metadata, and mustflow validation.
61
+
62
+ <!-- mustflow-section: preconditions -->
63
+ ## Preconditions
64
+
65
+ - The task matches the Use When conditions and does not match the Do Not Use When exclusions.
66
+ - Higher-priority instructions and `.mustflow/config/commands.toml` have been checked for the current scope.
67
+ - If the local structure is unfamiliar, use `pattern-scout` or `codebase-orientation` before introducing new folders or naming conventions.
68
+
69
+ <!-- mustflow-section: allowed-edits -->
70
+ ## Allowed Edits
71
+
72
+ - Define narrow consumer-owned ports where core logic needs external behavior.
73
+ - Move concrete client creation, environment reads, lifecycle setup, and disposal to assembly boundaries.
74
+ - Add infrastructure adapters that implement the ports and translate external rows, responses, errors, and identifiers into internal types.
75
+ - Add local fakes, fixed clocks, fixed identifiers, and contract tests when needed to preserve behavior.
76
+ - Wire optional collaborators with `null-object-pattern` when absence is explicit, safe, and should not leak nullable checks into business logic.
77
+ - Do not add a service locator, global container access, broad application dependency bag, framework decorator in domain code, or speculative interface for every class.
78
+ - When the dependency also crosses an external protocol, provider, database, webhook, queue, file, cache, AI model, or framework boundary, use `adapter-boundary` for the translation and failure-handling rules.
79
+
80
+ <!-- mustflow-section: procedure -->
81
+ ## Procedure
82
+
83
+ 1. Classify the code under change:
84
+ - Core logic: domain rules, use cases, state transitions, policy checks, calculations, and business decisions.
85
+ - Edge logic: routes, controllers, workers, command handlers, adapters, repositories, SDK wrappers, and assembly roots.
86
+ 2. Find direct external dependencies before editing. Look for concrete SDK construction, database clients, HTTP clients, file APIs, environment reads, current-time calls, random or UUID generation, global loggers, global containers, framework request or response objects, and external error types.
87
+ 3. Decide whether dependency injection is warranted. Inject only collaborators that cross a boundary, are hard to test, may change implementation, or represent hidden global state. Do not wrap pure helpers, value objects, or stable internal data structures just to add ceremony.
88
+ 4. Define ports from the consumer's need, not from the provider's API.
89
+ - Prefer `PaymentGateway`, `UserRepository`, `EmailSender`, `ImageStorage`, or `TextGenerator`.
90
+ - Avoid provider-shaped ports such as `StripeService`, `PrismaUserStore`, `ResendMailer`, `S3ImageStorage`, or `OpenAITextGenerator` at the core boundary.
91
+ 5. Choose the injection style:
92
+ - Use constructor injection or a dependency object for classes with stable collaborators.
93
+ - Use function-closure injection for small use cases or function-oriented modules.
94
+ - Use method parameters for per-call data such as actor, tenant, locale, request id, pagination, filters, or command input.
95
+ - Use factories only when runtime values decide the implementation, lifecycle, or resource handle.
96
+ 6. Keep construction at the assembly boundary. Create concrete clients, load and validate configuration, register containers, open connections, and wire adapters in files such as bootstrap, server setup, worker setup, route setup, module registration, or test setup.
97
+ - If a dependency is optional and disabled by explicit configuration, choose the real collaborator or the safe neutral implementation here, not inside business logic.
98
+ - If a dependency is required, validate configuration here and fail early instead of injecting a null object.
99
+ 7. Treat time, random values, identifiers, configuration, logging, transactions, and framework objects as dependencies.
100
+ - For domain decisions, prefer an already captured instant or time context over passing a clock that can be queried inside the domain.
101
+ - Pass fixed implementations in tests so time, identifiers, and random choices are reproducible.
102
+ 8. Keep adapters responsible for translation. Repositories and provider adapters should convert database rows, external responses, external errors, and provider identifiers before returning to core logic.
103
+ 9. If the injected collaborator is an external boundary, apply `adapter-boundary` before finalizing the port and adapter. Dependency injection decides how core logic receives the collaborator; adapter boundaries decide how external protocols, data, errors, timeouts, retries, idempotency, security, and observability are translated.
104
+ 10. Keep transaction ownership explicit. Inject a transaction runner when a use case needs atomic persistence across multiple repositories. Do not hide transaction boundaries inside repositories when the use case owns the unit of work, and do not call external APIs inside a database transaction.
105
+ 11. Reject hidden dependency patterns:
106
+ - no property injection for required collaborators
107
+ - no service locator or `container.resolve` in core logic
108
+ - no process-wide mutable singleton holding request state
109
+ - no broad `AppDeps` object when a use case needs only a few collaborators
110
+ - no circular service dependencies unless a smaller use case, shared policy, or event boundary has been considered first
111
+ 12. Keep tests honest. Unit tests for core logic should use fakes or fixed collaborators and should not require a real database, real network, real API key, real email, real payment, real filesystem side effect, current time, or random UUID. Test real adapters separately with integration or contract coverage.
112
+ 13. Verify with the narrowest configured command intents that cover the changed code, tests, template files, docs, and release metadata.
113
+
114
+ <!-- mustflow-section: postconditions -->
115
+ ## Postconditions
116
+
117
+ - Core logic declares its collaborators through constructor parameters, function parameters, or narrow context objects.
118
+ - Concrete external implementation creation is easy to find at assembly boundaries.
119
+ - Core logic does not import provider SDKs, database clients, framework request or response objects, global containers, or external provider error types.
120
+ - Tests can replace external collaborators, time, identifiers, and random values without live infrastructure.
121
+ - Adapter boundaries translate external data and failures before they reach core logic.
122
+
123
+ <!-- mustflow-section: verification -->
124
+ ## Verification
125
+
126
+ Use configured oneshot command intents when available:
127
+
128
+ - `changes_status`
129
+ - `changes_diff_summary`
130
+ - `test_related`
131
+ - `test`
132
+ - `lint`
133
+ - `build`
134
+ - `docs_validate_fast`
135
+ - `test_release`
136
+ - `mustflow_check`
137
+
138
+ Prefer the narrowest configured test or build intent that proves the affected boundary. Use documentation and release checks when templates, skill routes, public docs, package metadata, or installed-file surfaces change.
139
+
140
+ <!-- mustflow-section: failure-handling -->
141
+ ## Failure Handling
142
+
143
+ - If extracting a port would duplicate an existing local interface, reuse or narrow the existing local pattern instead of creating a parallel abstraction.
144
+ - If a class needs many collaborators, stop before adding a giant dependency object and look for mixed responsibilities, smaller use cases, or adapter boundaries.
145
+ - If a framework forces decorators or container registration, keep that integration in the application boundary and do not let it shape domain types.
146
+ - If a direct dependency cannot be removed in one safe step, first wrap it at the smallest local boundary and report the remaining leakage.
147
+ - If tests still need real infrastructure after the refactor, report which dependency is still not injectable and why.
148
+
149
+ <!-- mustflow-section: output-format -->
150
+ ## Output Format
151
+
152
+ - Dependency boundary reviewed
153
+ - Direct external dependencies found
154
+ - Injection style selected
155
+ - Ports and adapters added or reused
156
+ - Assembly boundary used
157
+ - External data or error translation handled
158
+ - Tests, fakes, or fixed collaborators added or reused
159
+ - Command intents run
160
+ - Skipped checks and reasons
161
+ - Remaining dependency leakage or lifecycle risk
@@ -0,0 +1,115 @@
1
+ ---
2
+ mustflow_doc: skill.dependency-reality-check
3
+ locale: hi
4
+ canonical: false
5
+ revision: 1
6
+ lifecycle: mustflow-owned
7
+ authority: procedure
8
+ name: dependency-reality-check
9
+ description: Apply this skill when a task assumes, adds, removes, imports, invokes, or documents a package, runtime, tool, command, service, or platform capability.
10
+ metadata:
11
+ mustflow_schema: "1"
12
+ mustflow_kind: procedure
13
+ pack_id: mustflow.core
14
+ skill_id: mustflow.core.dependency-reality-check
15
+ command_intents:
16
+ - changes_status
17
+ - changes_diff_summary
18
+ - build
19
+ - test_release
20
+ - mustflow_check
21
+ ---
22
+
23
+ # Dependency Reality Check
24
+
25
+ <!-- mustflow-section: purpose -->
26
+ ## Purpose
27
+
28
+ Prevent code, docs, tests, and final reports from assuming unavailable packages, tools, commands, runtimes, services, or platform capabilities.
29
+
30
+ <!-- mustflow-section: use-when -->
31
+ ## Use When
32
+
33
+ - A change adds, removes, renames, imports, invokes, or documents a dependency, tool, runtime, command, plugin, service, or platform feature.
34
+ - A solution relies on a package manager, binary, environment variable, browser API, operating-system command, hosted service, or optional integration.
35
+ - A generated instruction tells another agent or user to run a tool that may not be declared in the repository.
36
+ - A failure may be caused by a missing install, mismatched version, unsupported runtime, or unavailable command.
37
+
38
+ <!-- mustflow-section: do-not-use-when -->
39
+ ## Do Not Use When
40
+
41
+ - The task only changes repository-local prose and does not mention tools, runtime behavior, package metadata, or commands.
42
+ - The dependency is already proven by the current task context and no dependency-facing surface changes.
43
+ - The user explicitly asks for a speculative design that should not be implemented or verified yet.
44
+
45
+ <!-- mustflow-section: required-inputs -->
46
+ ## Required Inputs
47
+
48
+ - The dependency, tool, command, runtime, service, or platform capability being assumed.
49
+ - Package, lock, config, import, script, command-intent, or documentation files that declare or reference it.
50
+ - The minimum version, capability, or availability claim if one is required.
51
+ - Relevant command-intent contract entries for build, package, test, or documentation verification.
52
+
53
+ <!-- mustflow-section: preconditions -->
54
+ ## Preconditions
55
+
56
+ - The task matches the Use When conditions and does not match the Do Not Use When exclusions.
57
+ - Required inputs are available, or missing inputs can be reported without guessing.
58
+ - Higher-priority instructions and `.mustflow/config/commands.toml` have been checked for the current scope.
59
+
60
+ <!-- mustflow-section: allowed-edits -->
61
+ ## Allowed Edits
62
+
63
+ - Align dependency declarations, imports, scripts, command metadata, tests, and docs that describe the same capability.
64
+ - Prefer existing repository dependencies and declared command intents before adding new packages or tools.
65
+ - Do not install packages, widen runtime requirements, or introduce new external services unless the user request and repository contract support it.
66
+ - Do not claim a dependency is available just because it exists on the internet or in another project.
67
+
68
+ <!-- mustflow-section: procedure -->
69
+ ## Procedure
70
+
71
+ 1. Name the assumed dependency or capability and where the task relies on it.
72
+ 2. Check the repository declarations first: package metadata, lockfiles, config files, imports, command intents, docs, and templates.
73
+ 3. Decide whether the dependency is present, absent, optional, transitive, host-provided, or external.
74
+ 4. If present, verify that the requested capability and version expectation match the declared dependency.
75
+ 5. If absent, prefer an existing local alternative. Add a new dependency only when it is necessary and within the task scope.
76
+ 6. Keep all dependency-facing surfaces aligned: package metadata, lockfiles when intentionally updated, command contract, docs, tests, and installation notes.
77
+ 7. Run the narrowest configured verification that proves the dependency path used by the change.
78
+
79
+ <!-- mustflow-section: postconditions -->
80
+ ## Postconditions
81
+
82
+ - Every dependency or tool claim is backed by a repository declaration, configured command, host boundary, or explicit unverified-risk note.
83
+ - New dependency requirements are reflected in the appropriate metadata and public documentation.
84
+ - The final report states whether the dependency was existing, added, optional, unavailable, or intentionally not verified.
85
+
86
+ <!-- mustflow-section: verification -->
87
+ ## Verification
88
+
89
+ Use configured oneshot command intents when available:
90
+
91
+ - `changes_status`
92
+ - `changes_diff_summary`
93
+ - `build`
94
+ - `test_release`
95
+ - `mustflow_check`
96
+
97
+ Use a narrower configured test, package, or docs intent when it better proves the dependency path.
98
+
99
+ <!-- mustflow-section: failure-handling -->
100
+ ## Failure Handling
101
+
102
+ - If the dependency is missing, report the missing declaration or command instead of silently adding a workaround.
103
+ - If the declared version lacks the needed capability, report the mismatch and avoid claiming support.
104
+ - If a dependency requires network, credentials, operating-system setup, or service access, stop at that boundary and name the unchecked requirement.
105
+ - If generated docs would instruct users to run undeclared tools, rewrite the docs to use declared commands or mark the tool as a manual prerequisite.
106
+
107
+ <!-- mustflow-section: output-format -->
108
+ ## Output Format
109
+
110
+ - Dependency or capability checked
111
+ - Repository declaration or absence
112
+ - Surfaces synchronized
113
+ - Command intents run
114
+ - Skipped dependency checks and reasons
115
+ - Remaining dependency risk
@@ -0,0 +1,136 @@
1
+ ---
2
+ mustflow_doc: skill.diff-risk-review
3
+ locale: hi
4
+ canonical: false
5
+ revision: 1
6
+ lifecycle: mustflow-owned
7
+ authority: procedure
8
+ name: diff-risk-review
9
+ description: Apply this skill when changed files need risk classification, verification selection, and rollback notes before final reporting.
10
+ metadata:
11
+ mustflow_schema: "1"
12
+ mustflow_kind: procedure
13
+ pack_id: mustflow.core
14
+ skill_id: mustflow.core.diff-risk-review
15
+ command_intents:
16
+ - changes_status
17
+ - changes_diff_summary
18
+ - test
19
+ - test_related
20
+ - test_audit
21
+ - lint
22
+ - build
23
+ - docs_validate
24
+ - mustflow_check
25
+ ---
26
+
27
+ # Diff Risk Review
28
+
29
+ <!-- mustflow-section: purpose -->
30
+ ## Purpose
31
+
32
+ Classify the risk of a completed change, choose the smallest relevant configured verification, and record rollback notes without expanding into a broad code review or speculative refactor.
33
+
34
+ <!-- mustflow-section: use-when -->
35
+ ## Use When
36
+
37
+ - A change touches more than one public surface, workflow file, command contract, template, generated map, test, or documentation area.
38
+ - The user asks for the next roadmap slice, a completed change summary, a pre-commit check, or a risk-aware final report.
39
+ - Verification breadth is unclear and the agent must decide between targeted, docs-only, build, strict check, or full test intents.
40
+ - A change has potential rollback concerns because it affects installed templates, package metadata, generated files, user-facing docs, command behavior, security-sensitive paths, or data-handling rules.
41
+
42
+ <!-- mustflow-section: do-not-use-when -->
43
+ ## Do Not Use When
44
+
45
+ - The task is only to perform a detailed code review with findings; use `code-review` instead.
46
+ - No diff or changed-file list is available.
47
+ - The change is a trivial wording edit that is already covered by a more specific documentation or translation procedure.
48
+ - The user explicitly asks not to review risk or verification scope.
49
+
50
+ <!-- mustflow-section: required-inputs -->
51
+ ## Required Inputs
52
+
53
+ - Current changed-file list or diff summary.
54
+ - User task goal and any acceptance criteria.
55
+ - `.mustflow/config/commands.toml` command intent statuses.
56
+ - `.mustflow/config/preferences.toml` verification-selection settings.
57
+ - Relevant skill or context documents for the changed surfaces.
58
+
59
+ <!-- mustflow-section: preconditions -->
60
+ ## Preconditions
61
+
62
+ - The task matches the Use When conditions and does not match the Do Not Use When exclusions.
63
+ - Required inputs are available, or missing inputs can be reported without guessing.
64
+ - Higher-priority instructions and `.mustflow/config/commands.toml` have been checked for the current scope.
65
+
66
+ <!-- mustflow-section: allowed-edits -->
67
+ ## Allowed Edits
68
+
69
+ - Keep edits within the scope described by this skill, the user request, and the matching route in `.mustflow/skills/INDEX.md`.
70
+ - Do not broaden command permission, invent project facts, change unrelated files, or add new abstractions only because a risk was noticed.
71
+
72
+ <!-- mustflow-section: procedure -->
73
+ ## Procedure
74
+
75
+ 1. Read the changed-file list and diff summary before judging risk.
76
+ 2. Group changed files by surface:
77
+ - source or runtime behavior
78
+ - tests and fixtures
79
+ - command contract or workflow policy
80
+ - installed template files
81
+ - package, release, or version metadata
82
+ - public documentation
83
+ - generated maps or local state
84
+ - security, privacy, data, migration, or external integration boundaries
85
+ 3. Assign a risk level:
86
+ - `low`: wording, translation, or isolated documentation with matching docs validation
87
+ - `medium`: templates, tests, package metadata, generated maps, or workflow docs without runtime behavior changes
88
+ - `high`: runtime behavior, command execution, security, privacy, data handling, migrations, release behavior, or multi-surface changes
89
+ 4. Identify the minimum relevant configured verification intents. Prefer the narrowest configured intents that cover the changed surfaces, but do not hide missing, unknown, manual-only, or skipped intents.
90
+ 5. Record rollback notes for any changed installed template, command contract, package version, generated file, migration-like change, or public behavior change.
91
+ 6. Check for scope drift: unrelated files, invented facts, unnecessary abstractions, weakened validation, or unreported generated-file refreshes.
92
+ 7. Produce a concise risk and verification summary. Use `code-review` only if findings require a full review-style report.
93
+
94
+ <!-- mustflow-section: postconditions -->
95
+ ## Postconditions
96
+
97
+ - The expected output can be produced with clear evidence, executed command intents, skipped checks, and remaining risks.
98
+ - Any missing command intent, unknown input, or authority conflict is reported instead of hidden.
99
+ - The final report can explain why each verification intent was run or skipped.
100
+
101
+ <!-- mustflow-section: verification -->
102
+ ## Verification
103
+
104
+ Use configured oneshot command intents when available:
105
+
106
+ - `changes_status`
107
+ - `changes_diff_summary`
108
+ - `mustflow_check`
109
+ - `docs_validate`
110
+ - `build`
111
+ - `test_related`
112
+ - `test`
113
+ - `test_audit`
114
+ - `lint`
115
+
116
+ Do not infer missing commands. If `test_related`, `test_audit`, or `lint` is unknown or manual-only, report the status and choose the next configured intent that covers the risk.
117
+
118
+ <!-- mustflow-section: failure-handling -->
119
+ ## Failure Handling
120
+
121
+ - If the changed-file list is unavailable, run or request a configured status intent before classifying risk.
122
+ - If a configured verification fails, switch to `failure-triage` for that failing intent.
123
+ - If the risk level is high but the matching verification intent is missing, report the gap instead of downgrading risk.
124
+ - If generated files such as `REPO_MAP.md` are stale, refresh them only through their configured intent.
125
+
126
+ <!-- mustflow-section: output-format -->
127
+ ## Output Format
128
+
129
+ - Changed surfaces
130
+ - Risk level and reason
131
+ - Minimum relevant verification
132
+ - Command intents run
133
+ - Skipped command intents and reasons
134
+ - Rollback notes
135
+ - Scope drift or generated-file notes
136
+ - Remaining risk
@@ -0,0 +1,119 @@
1
+ ---
2
+ mustflow_doc: skill.docs-prose-review
3
+ locale: hi
4
+ canonical: false
5
+ revision: 2
6
+ lifecycle: mustflow-owned
7
+ authority: procedure
8
+ name: docs-prose-review
9
+ description: Apply this skill when a documentation review queue entry needs prose cleanup for LLM-like wording, awkward phrasing, literal translation, unnatural tone, or review comments attached to the queue entry.
10
+ metadata:
11
+ mustflow_schema: "1"
12
+ mustflow_kind: procedure
13
+ pack_id: mustflow.core
14
+ skill_id: mustflow.core.docs-prose-review
15
+ command_intents:
16
+ - docs_validate
17
+ - mustflow_check
18
+ ---
19
+
20
+ # Docs Prose Review
21
+
22
+ <!-- mustflow-section: purpose -->
23
+ ## Purpose
24
+
25
+ Review one queued documentation file at a time and make its prose read naturally while preserving the document's technical contract.
26
+
27
+ <!-- mustflow-section: use-when -->
28
+ ## Use When
29
+
30
+ - The task asks to review documentation created or modified by an LLM.
31
+ - A document is listed in the mustflow documentation review queue.
32
+ - The queue entry includes a review comment that explains how the document should be checked or revised.
33
+ - Prose sounds like LLM output, literal translation, filler, duplicated explanation, or unnatural Korean, English, or localized writing.
34
+ - The reviewer is a human, LLM, tool, or external process and needs to record the review result.
35
+
36
+ <!-- mustflow-section: do-not-use-when -->
37
+ ## Do Not Use When
38
+
39
+ - The task asks for new product documentation, API documentation, or workflow policy changes instead of prose review.
40
+ - The document is not in the review queue and the task does not ask to add it.
41
+ - The requested change would alter commands, paths, code blocks, schemas, field names, public contracts, or technical meaning.
42
+ - The reviewer cannot understand the target language well enough to improve prose safely.
43
+
44
+ <!-- mustflow-section: required-inputs -->
45
+ ## Required Inputs
46
+
47
+ - The documentation review queue entry or a user-selected document path.
48
+ - Any review comment attached to the queue entry.
49
+ - The current file contents.
50
+ - The intended document language and existing document structure.
51
+ - The reviewer kind and free-form reviewer identifier for the review record.
52
+ - `.mustflow/config/commands.toml` to resolve any verification intents.
53
+
54
+ <!-- mustflow-section: preconditions -->
55
+ ## Preconditions
56
+
57
+ - The task matches the Use When conditions and does not match the Do Not Use When exclusions.
58
+ - The queue entry or selected path exists in the current mustflow root.
59
+ - Higher-priority instructions, repository style, and command policy have been checked for the current scope.
60
+ - The reviewer can preserve technical meaning while improving prose.
61
+
62
+ <!-- mustflow-section: allowed-edits -->
63
+ ## Allowed Edits
64
+
65
+ - Edit only the selected documentation file and review ledger entry unless the user explicitly broadens scope.
66
+ - Preserve headings, frontmatter identity, tables, command examples, code blocks, paths, field names, and schema names unless they are the direct source of the prose issue.
67
+ - Do not rewrite the whole document only to change tone.
68
+ - Do not remove a document from the queue without either improving it, marking it as still needing review, or explicitly recording why it should be ignored.
69
+
70
+ <!-- mustflow-section: procedure -->
71
+ ## Procedure
72
+
73
+ 1. Inspect the documentation review queue and choose one queued file unless the user selected a specific path.
74
+ 2. If the entry has a review comment, treat it as the primary review guidance. Preserve the same technical safety boundaries as the rest of this skill.
75
+ 3. If the entry has no review comment, inspect the document normally for awkward, LLM-like, over-explained, duplicated, literal, or unnatural prose.
76
+ 4. Read the entire selected file before editing so terminology, heading structure, examples, and references stay consistent.
77
+ 5. Apply the review comment or prose cleanup with minimal, meaning-preserving edits.
78
+ 6. Preserve executable snippets, paths, field names, option names, identifiers, frontmatter identity, and tables.
79
+ 7. If the comment is ambiguous or the meaning is unclear, do not guess. Mark the entry as still needing human review and summarize what needs a human decision.
80
+ 8. If the file does not need prose changes, mark the entry approved or ignored with a concise summary that explains why.
81
+ 9. After a successful prose review, mark the queue entry approved with reviewer metadata and a short summary.
82
+ 10. Run relevant configured verification intents when the edit changes public docs or installed workflow docs.
83
+
84
+ <!-- mustflow-section: postconditions -->
85
+ ## Postconditions
86
+
87
+ - The selected document reads more naturally without changing technical meaning.
88
+ - The review queue entry is approved, marked for human review, or ignored with reviewer metadata.
89
+ - Any skipped edit, unresolved meaning question, or missing command intent is reported.
90
+
91
+ <!-- mustflow-section: verification -->
92
+ ## Verification
93
+
94
+ Use configured oneshot command intents when available and relevant:
95
+
96
+ - `docs_validate`
97
+ - `mustflow_check`
98
+
99
+ Do not infer missing validation commands.
100
+
101
+ <!-- mustflow-section: failure-handling -->
102
+ ## Failure Handling
103
+
104
+ - If the queue cannot be inspected, report the blocked queue step and do not edit blindly.
105
+ - If the selected file is missing, mark or report the stale queue entry instead of creating a replacement document.
106
+ - If the language or technical meaning is uncertain, mark the entry as still needing human review.
107
+ - If validation fails after prose edits, fix the first relevant documentation or workflow issue before marking the review complete.
108
+
109
+ <!-- mustflow-section: output-format -->
110
+ ## Output Format
111
+
112
+ - Queue entry selected
113
+ - Review comment followed or reason no comment was present
114
+ - Prose issues fixed
115
+ - Review status recorded
116
+ - Reviewer kind and reviewer identifier used
117
+ - Command intents run
118
+ - Skipped command intents and reasons
119
+ - Remaining language, meaning, or validation risks