@atlashub/smartstack-cli 4.80.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1008) hide show
  1. package/.documentation/agents.html +124 -585
  2. package/.documentation/ba-develop.html +852 -0
  3. package/.documentation/ba-skills.html +465 -0
  4. package/.documentation/business-analyse.html +385 -1570
  5. package/.documentation/cli-commands.html +162 -799
  6. package/.documentation/commands.html +902 -1338
  7. package/.documentation/css/styles.css +34 -1
  8. package/.documentation/efcore.html +161 -2599
  9. package/.documentation/gitflow.html +62 -105
  10. package/.documentation/hooks.html +94 -343
  11. package/.documentation/index.html +116 -385
  12. package/.documentation/init.html +217 -1566
  13. package/.documentation/installation.html +121 -1470
  14. package/.documentation/license.html +90 -450
  15. package/.documentation/ralph-loop.html +105 -602
  16. package/dist/index.js +9421 -79036
  17. package/dist/index.js.map +1 -1
  18. package/package.json +5 -20
  19. package/scripts/generate-docs/README.md +87 -0
  20. package/scripts/generate-docs/index.ts +175 -0
  21. package/scripts/generate-docs/lib/context-builder.ts +81 -0
  22. package/scripts/generate-docs/lib/handlebars-setup.ts +162 -0
  23. package/scripts/generate-docs/lib/markdown-parser.ts +86 -0
  24. package/scripts/generate-docs/lib/sidebar-builder.ts +80 -0
  25. package/scripts/generate-docs/lib/skill-parser.ts +171 -0
  26. package/scripts/generate-docs/lib/stats.ts +32 -0
  27. package/scripts/generate-docs/lib/version.ts +17 -0
  28. package/scripts/generate-docs/templates/layout.hbs +33 -0
  29. package/scripts/generate-docs/templates/pages/_generic.hbs +12 -0
  30. package/scripts/generate-docs/templates/pages/ba-develop.hbs +10 -0
  31. package/scripts/generate-docs/templates/pages/ba-skills.hbs +8 -0
  32. package/scripts/generate-docs/templates/pages/business-analyse.hbs +1 -0
  33. package/scripts/generate-docs/templates/pages/commands.hbs +13 -0
  34. package/scripts/generate-docs/templates/pages/gitflow.hbs +2164 -0
  35. package/scripts/generate-docs/templates/pages/index.hbs +5 -0
  36. package/scripts/generate-docs/templates/partials/breadcrumb.hbs +6 -0
  37. package/scripts/generate-docs/templates/partials/header.hbs +22 -0
  38. package/scripts/generate-docs/templates/partials/sidebar.hbs +32 -0
  39. package/scripts/generate-docs/templates/partials/skill-card.hbs +22 -0
  40. package/scripts/generate-docs/templates/partials/skill-grid.hbs +5 -0
  41. package/scripts/generate-docs/templates/partials/skill-table.hbs +18 -0
  42. package/scripts/generate-docs/templates/partials/stats-bar.hbs +20 -0
  43. package/scripts/test-migration-program-cs.mts +94 -0
  44. package/templates/agents/explore-codebase.md +2 -3
  45. package/templates/agents/explore-docs.md +5 -5
  46. package/templates/hooks/hooks.json +0 -9
  47. package/templates/project/Program.cs.template +17 -5
  48. package/templates/project/appsettings.json.template +208 -195
  49. package/templates/project/claude-md/api.CLAUDE.md.template +27 -2
  50. package/templates/project/patch-smartstack-theme.cjs.template +42 -0
  51. package/templates/scripts/statusline/README.md +47 -0
  52. package/templates/scripts/statusline/index.js +224 -0
  53. package/templates/skills/CLAUDE.md +235 -0
  54. package/templates/skills/ba-develop/SKILL.md +310 -0
  55. package/templates/skills/ba-develop/cli/compute-page-diff/__tests__/compute-page-diff.test.ts +177 -0
  56. package/templates/skills/ba-develop/cli/compute-page-diff/compute-diff.ts +51 -0
  57. package/templates/skills/ba-develop/cli/compute-page-diff/disk-drift.ts +55 -0
  58. package/templates/skills/ba-develop/cli/compute-page-diff/index.ts +89 -0
  59. package/templates/skills/ba-develop/cli/compute-page-diff/scan-pagespecs.ts +115 -0
  60. package/templates/skills/ba-develop/cli/compute-page-diff/types.ts +63 -0
  61. package/templates/skills/ba-develop/cli/compute-page-diff/validate.ts +20 -0
  62. package/templates/skills/ba-develop/cli/update-snapshot/__tests__/update-snapshot.test.ts +73 -0
  63. package/templates/skills/ba-develop/cli/update-snapshot/execute.ts +24 -0
  64. package/templates/skills/ba-develop/cli/update-snapshot/index.ts +61 -0
  65. package/templates/skills/ba-develop/cli/update-snapshot/types.ts +40 -0
  66. package/templates/skills/ba-develop/cli/update-snapshot/validate.ts +17 -0
  67. package/templates/skills/ba-develop/references/anti-patterns.md +101 -0
  68. package/templates/skills/ba-develop/references/auto-healing.md +191 -0
  69. package/templates/skills/ba-develop/references/commit-checkpoints.md +79 -0
  70. package/templates/skills/ba-develop/references/gates.md +380 -0
  71. package/templates/skills/ba-develop/references/output-contract.md +95 -0
  72. package/templates/skills/ba-develop/references/phases-detail.md +592 -0
  73. package/templates/skills/ba-develop-plan/SKILL.md +239 -0
  74. package/templates/skills/ba-develop-plan/cli/preflight-develop-plan/__tests__/validate.test.ts +225 -0
  75. package/templates/skills/ba-develop-plan/cli/preflight-develop-plan/index.ts +102 -0
  76. package/templates/skills/ba-develop-plan/cli/preflight-develop-plan/types.ts +121 -0
  77. package/templates/skills/ba-develop-plan/cli/preflight-develop-plan/validate.ts +261 -0
  78. package/templates/skills/business-analyse/_workflow/README.md +34 -0
  79. package/templates/skills/business-analyse/_workflow/ba-files.md +174 -0
  80. package/templates/skills/business-analyse/_workflow/code-discipline.md +104 -0
  81. package/templates/skills/business-analyse/_workflow/communication.md +63 -0
  82. package/templates/skills/business-analyse/_workflow/completeAuto-discipline.md +79 -0
  83. package/templates/skills/business-analyse/_workflow/context-documents.md +45 -0
  84. package/templates/skills/business-analyse/_workflow/doc-templates.md +318 -0
  85. package/templates/skills/business-analyse/audit-actors/SKILL.md +97 -0
  86. package/templates/skills/business-analyse/audit-cross-dimension/SKILL.md +127 -0
  87. package/templates/skills/business-analyse/audit-cross-ref-code/SKILL.md +119 -0
  88. package/templates/skills/business-analyse/audit-data-model/SKILL.md +343 -0
  89. package/templates/skills/business-analyse/audit-menu/SKILL.md +97 -0
  90. package/templates/skills/business-analyse/audit-prd/SKILL.md +479 -0
  91. package/templates/skills/business-analyse/audit-pre-dev/SKILL.md +135 -0
  92. package/templates/skills/business-analyse/audit-rbac/SKILL.md +93 -0
  93. package/templates/skills/business-analyse/audit-rules/SKILL.md +182 -0
  94. package/templates/skills/business-analyse/audit-screens/SKILL.md +169 -0
  95. package/templates/skills/business-analyse/audit-sections/SKILL.md +174 -0
  96. package/templates/skills/business-analyse/audit-use-cases/SKILL.md +245 -0
  97. package/templates/skills/business-analyse/create-actors/SKILL.md +129 -0
  98. package/templates/skills/business-analyse/create-ba-order/SKILL.md +182 -0
  99. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/__tests__/generate.test.ts +151 -0
  100. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/__tests__/graph.test.ts +173 -0
  101. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/generate.ts +273 -0
  102. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/graph.ts +193 -0
  103. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/index.ts +108 -0
  104. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/types.ts +106 -0
  105. package/templates/skills/business-analyse/create-ba-order/cli/create-ba-order/validate.ts +79 -0
  106. package/templates/skills/business-analyse/create-business-rules/SKILL.md +302 -0
  107. package/templates/skills/business-analyse/create-business-rules/levels/access-rules.md +105 -0
  108. package/templates/skills/business-analyse/create-business-rules/levels/elaborate.md +193 -0
  109. package/templates/skills/business-analyse/create-business-rules/levels/identify.md +157 -0
  110. package/templates/skills/business-analyse/create-business-rules/levels/link.md +86 -0
  111. package/templates/skills/business-analyse/create-data-model/SKILL.md +319 -0
  112. package/templates/skills/business-analyse/create-data-model/levels/attributes.md +130 -0
  113. package/templates/skills/business-analyse/create-data-model/levels/identify.md +100 -0
  114. package/templates/skills/business-analyse/create-data-model/levels/relationships.md +97 -0
  115. package/templates/skills/business-analyse/create-menu/SKILL.md +191 -0
  116. package/templates/skills/business-analyse/create-menu/levels/applications.md +85 -0
  117. package/templates/skills/business-analyse/create-menu/levels/modules.md +81 -0
  118. package/templates/skills/business-analyse/create-menu/levels/resources.md +75 -0
  119. package/templates/skills/business-analyse/create-menu/levels/sections.md +82 -0
  120. package/templates/skills/business-analyse/create-plan-development/SKILL.md +93 -0
  121. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/__tests__/graph.test.ts +271 -0
  122. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/__tests__/parse.test.ts +177 -0
  123. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/generate.ts +317 -0
  124. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/graph.ts +233 -0
  125. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/index.ts +106 -0
  126. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/parse.ts +346 -0
  127. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/types.ts +160 -0
  128. package/templates/skills/business-analyse/create-plan-development/cli/create-plan-development/validate.ts +118 -0
  129. package/templates/skills/business-analyse/create-prd/SKILL.md +228 -0
  130. package/templates/skills/business-analyse/create-rbac/SKILL.md +255 -0
  131. package/templates/skills/business-analyse/create-rbac/levels/detail.md +86 -0
  132. package/templates/skills/business-analyse/create-rbac/levels/discovery.md +63 -0
  133. package/templates/skills/business-analyse/create-rbac/levels/review.md +66 -0
  134. package/templates/skills/business-analyse/create-screen/SKILL.md +386 -0
  135. package/templates/skills/business-analyse/create-screen/levels/dashboard-screens.md +94 -0
  136. package/templates/skills/business-analyse/create-screen/levels/form-screens.md +142 -0
  137. package/templates/skills/business-analyse/create-screen/levels/home-screens.md +151 -0
  138. package/templates/skills/business-analyse/create-screen/levels/kanban-screens.md +86 -0
  139. package/templates/skills/business-analyse/create-screen/levels/list-screens.md +134 -0
  140. package/templates/skills/business-analyse/create-screen/references/post-check.md +101 -0
  141. package/templates/skills/business-analyse/create-screen/references/react-templates.md +252 -0
  142. package/templates/skills/business-analyse/create-screen/references/smartcomponents.md +419 -0
  143. package/templates/skills/business-analyse/create-screen/references/type-mapping.md +150 -0
  144. package/templates/skills/business-analyse/create-use-case/SKILL.md +347 -0
  145. package/templates/skills/business-analyse/create-use-case/levels/detail.md +136 -0
  146. package/templates/skills/business-analyse/create-use-case/levels/discovery.md +110 -0
  147. package/templates/skills/business-analyse/loop/SKILL.md +401 -0
  148. package/templates/skills/business-analyse/modeling-detail/SKILL.md +241 -0
  149. package/templates/skills/business-analyse/modeling-inventory/SKILL.md +174 -0
  150. package/templates/skills/business-analyse/reconcile-menu/SKILL.md +180 -0
  151. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/__tests__/clean.test.ts +266 -0
  152. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/__tests__/detect.test.ts +231 -0
  153. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/__tests__/scan.test.ts +154 -0
  154. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/clean.ts +319 -0
  155. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/detect.ts +256 -0
  156. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/index.ts +126 -0
  157. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/scan.ts +175 -0
  158. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/types.ts +136 -0
  159. package/templates/skills/business-analyse/reconcile-menu/cli/reconcile-menu/validate.ts +32 -0
  160. package/templates/skills/check-version/SKILL.md +196 -196
  161. package/templates/skills/cli-app-sync/SKILL.md +9 -9
  162. package/templates/skills/cli-app-sync/references/comparison-map.md +4 -4
  163. package/templates/skills/cli-app-sync/references/diff-entities.md +6 -6
  164. package/templates/skills/conventions/SKILL.md +64 -0
  165. package/templates/skills/dev-start/SKILL.md +190 -237
  166. package/templates/skills/development/SKILL.md +87 -0
  167. package/templates/skills/development/audit/SKILL.md +156 -0
  168. package/templates/skills/development/audit/routing-dynamic/SKILL.md +196 -0
  169. package/templates/skills/development/audit-dev-api/SKILL.md +331 -0
  170. package/templates/skills/development/audit-dev-api/cli/audit-dev-api/__tests__/end-to-end.test.ts +364 -0
  171. package/templates/skills/development/audit-dev-api/cli/audit-dev-api/audit.ts +646 -0
  172. package/templates/skills/development/audit-dev-api/cli/audit-dev-api/index.ts +140 -0
  173. package/templates/skills/development/audit-dev-api/cli/audit-dev-api/types.ts +158 -0
  174. package/templates/skills/development/audit-dev-api/cli/audit-dev-api/validate.ts +45 -0
  175. package/templates/skills/development/audit-dev-core/SKILL.md +182 -0
  176. package/templates/skills/development/audit-dev-data/SKILL.md +195 -0
  177. package/templates/skills/development/audit-dev-domain/SKILL.md +184 -0
  178. package/templates/skills/development/audit-dev-frontend/SKILL.md +530 -0
  179. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-actions-alignment/__tests__/end-to-end.test.ts +202 -0
  180. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-actions-alignment/apply.ts +31 -0
  181. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-actions-alignment/audit.ts +734 -0
  182. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-actions-alignment/index.ts +125 -0
  183. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-actions-alignment/types.ts +165 -0
  184. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-actions-alignment/validate.ts +36 -0
  185. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-frontend/__tests__/dev-ui-022.test.ts +193 -0
  186. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-frontend/apply.ts +374 -0
  187. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-frontend/audit.ts +1126 -0
  188. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-frontend/index.ts +141 -0
  189. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-frontend/types.ts +218 -0
  190. package/templates/skills/development/audit-dev-frontend/cli/audit-dev-frontend/validate.ts +80 -0
  191. package/templates/skills/development/audit-dev-tests/SKILL.md +82 -0
  192. package/templates/skills/development/audit-dev-tests/cli/audit-dev-tests/__tests__/audit.test.ts +220 -0
  193. package/templates/skills/development/audit-dev-tests/cli/audit-dev-tests/audit.ts +185 -0
  194. package/templates/skills/development/audit-dev-tests/cli/audit-dev-tests/index.ts +84 -0
  195. package/templates/skills/development/audit-dev-tests/cli/audit-dev-tests/types.ts +48 -0
  196. package/templates/skills/development/audit-dev-tests/cli/audit-dev-tests/validate.ts +36 -0
  197. package/templates/skills/development/audit-dev-wire/SKILL.md +144 -0
  198. package/templates/skills/development/audit-dev-wire/cli/audit-dev-wire/__tests__/audit.test.ts +171 -0
  199. package/templates/skills/development/audit-dev-wire/cli/audit-dev-wire/audit.ts +307 -0
  200. package/templates/skills/development/audit-dev-wire/cli/audit-dev-wire/index.ts +139 -0
  201. package/templates/skills/development/audit-dev-wire/cli/audit-dev-wire/types.ts +110 -0
  202. package/templates/skills/development/audit-dev-wire/cli/audit-dev-wire/validate.ts +16 -0
  203. package/templates/skills/development/backend/business-layer/SKILL.md +255 -0
  204. package/templates/skills/development/backend/business-layer/cli/scaffold-business/__tests__/generate.test.ts +254 -0
  205. package/templates/skills/development/backend/business-layer/cli/scaffold-business/generate.ts +842 -0
  206. package/templates/skills/development/backend/business-layer/cli/scaffold-business/index.ts +56 -0
  207. package/templates/skills/development/backend/business-layer/cli/scaffold-business/types.ts +112 -0
  208. package/templates/skills/development/backend/business-layer/cli/scaffold-business/validate.ts +24 -0
  209. package/templates/skills/development/backend/controller/SKILL.md +154 -0
  210. package/templates/skills/development/backend/controller/cli/scaffold-controller/__tests__/generate.test.ts +345 -0
  211. package/templates/skills/development/backend/controller/cli/scaffold-controller/generate.ts +280 -0
  212. package/templates/skills/development/backend/controller/cli/scaffold-controller/index.ts +49 -0
  213. package/templates/skills/development/backend/controller/cli/scaffold-controller/types.ts +72 -0
  214. package/templates/skills/development/backend/controller/cli/scaffold-controller/validate.ts +14 -0
  215. package/templates/skills/development/backend/core-seed/SKILL.md +177 -0
  216. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/__tests__/build-spec.test.ts +163 -0
  217. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/__tests__/generate.test.ts +330 -0
  218. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/__tests__/validate.test.ts +126 -0
  219. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/build-spec.ts +287 -0
  220. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/generate.ts +826 -0
  221. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/index.ts +188 -0
  222. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/types.ts +163 -0
  223. package/templates/skills/development/backend/core-seed/cli/scaffold-core-seed/validate.ts +129 -0
  224. package/templates/skills/development/backend/data-layer/SKILL.md +163 -0
  225. package/templates/skills/development/backend/data-layer/cli/scaffold-entity/__tests__/generate.test.ts +155 -0
  226. package/templates/skills/development/backend/data-layer/cli/scaffold-entity/generate.ts +232 -0
  227. package/templates/skills/development/backend/data-layer/cli/scaffold-entity/index.ts +34 -0
  228. package/templates/skills/development/backend/data-layer/cli/scaffold-entity/types.ts +60 -0
  229. package/templates/skills/development/backend/data-layer/cli/scaffold-entity/validate.ts +42 -0
  230. package/templates/skills/development/backend/data-layer/cli/scaffold-migration/execute.ts +13 -0
  231. package/templates/skills/development/backend/data-layer/cli/scaffold-migration/index.ts +25 -0
  232. package/templates/skills/development/backend/data-layer/cli/scaffold-migration/types.ts +11 -0
  233. package/templates/skills/development/backend/data-layer/cli/scaffold-migration/validate.ts +9 -0
  234. package/templates/skills/development/backend/screen-controller/SKILL.md +169 -0
  235. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/__tests__/generate.test.ts +329 -0
  236. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/__tests__/hub-views.test.ts +105 -0
  237. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/__tests__/parse-pagespec.test.ts +137 -0
  238. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/generate.ts +437 -0
  239. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/index.ts +108 -0
  240. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/parse-pagespec.ts +104 -0
  241. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/types.ts +101 -0
  242. package/templates/skills/development/backend/screen-controller/cli/scaffold-screen-controller/validate.ts +26 -0
  243. package/templates/skills/development/backend/seed-data/SKILL.md +91 -0
  244. package/templates/skills/development/backend/seed-data/cli/scaffold-seed/generate.ts +471 -0
  245. package/templates/skills/development/backend/seed-data/cli/scaffold-seed/index.ts +74 -0
  246. package/templates/skills/development/backend/seed-data/cli/scaffold-seed/types.ts +104 -0
  247. package/templates/skills/development/backend/seed-data/cli/scaffold-seed/validate.ts +63 -0
  248. package/templates/skills/development/backend/structure/SKILL.md +47 -0
  249. package/templates/skills/development/debug/SKILL.md +62 -0
  250. package/templates/skills/development/debug/audit-bug/SKILL.md +185 -0
  251. package/templates/skills/development/debug/backend/SKILL.md +114 -0
  252. package/templates/skills/development/debug/discuss-bug/SKILL.md +193 -0
  253. package/templates/skills/development/debug/fix-bug/SKILL.md +172 -0
  254. package/templates/skills/development/debug/frontend/SKILL.md +215 -0
  255. package/templates/skills/development/frontend/api-client/SKILL.md +158 -0
  256. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/__tests__/generate.test.ts +1180 -0
  257. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/__tests__/screen-strata-contract.test.ts +261 -0
  258. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/__tests__/url-parity.test.ts +201 -0
  259. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/generate.ts +875 -0
  260. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/index.ts +36 -0
  261. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/types.ts +251 -0
  262. package/templates/skills/development/frontend/api-client/cli/scaffold-api-client/validate.ts +10 -0
  263. package/templates/skills/development/frontend/auth/SKILL.md +77 -0
  264. package/templates/skills/development/frontend/auth/cli/scaffold-frontend-auth/generate.ts +306 -0
  265. package/templates/skills/development/frontend/auth/cli/scaffold-frontend-auth/index.ts +179 -0
  266. package/templates/skills/development/frontend/auth/cli/scaffold-frontend-auth/types.ts +22 -0
  267. package/templates/skills/development/frontend/auth/cli/scaffold-frontend-auth/validate.ts +37 -0
  268. package/templates/skills/development/frontend/component/SKILL.md +347 -0
  269. package/templates/skills/development/frontend/component/cli/scaffold-component/__tests__/generate.test.ts +1237 -0
  270. package/templates/skills/development/frontend/component/cli/scaffold-component/generate.ts +1923 -0
  271. package/templates/skills/development/frontend/component/cli/scaffold-component/index.ts +155 -0
  272. package/templates/skills/development/frontend/component/cli/scaffold-component/types.ts +290 -0
  273. package/templates/skills/development/frontend/component/cli/scaffold-component/validate.ts +16 -0
  274. package/templates/skills/development/frontend/component/cli/validate-page/__tests__/execute.test.ts +231 -0
  275. package/templates/skills/development/frontend/component/cli/validate-page/execute.ts +598 -0
  276. package/templates/skills/development/frontend/component/cli/validate-page/index.ts +88 -0
  277. package/templates/skills/development/frontend/component/cli/validate-page/types.ts +58 -0
  278. package/templates/skills/development/frontend/component/cli/validate-page/validate.ts +28 -0
  279. package/templates/skills/development/frontend/component/patterns/README.md +42 -0
  280. package/templates/skills/development/frontend/component/patterns/detail-page.md +133 -0
  281. package/templates/skills/development/frontend/component/patterns/entity-card.md +148 -0
  282. package/templates/skills/development/frontend/component/patterns/form-page.md +191 -0
  283. package/templates/skills/development/frontend/component/patterns/kanban-board.md +195 -0
  284. package/templates/skills/development/frontend/component/patterns/list-page.md +175 -0
  285. package/templates/skills/development/frontend/extension-config/SKILL.md +108 -0
  286. package/templates/skills/development/frontend/extension-config/cli/scaffold-extension-config/generate.ts +64 -0
  287. package/templates/skills/development/frontend/extension-config/cli/scaffold-extension-config/index.ts +70 -0
  288. package/templates/skills/development/frontend/extension-config/cli/scaffold-extension-config/types.ts +27 -0
  289. package/templates/skills/development/frontend/extension-config/cli/scaffold-extension-config/validate.ts +16 -0
  290. package/templates/skills/development/frontend/layout/SKILL.md +52 -0
  291. package/templates/skills/development/frontend/layout/cli/scaffold-layout/__tests__/generate.test.ts +66 -0
  292. package/templates/skills/development/frontend/layout/cli/scaffold-layout/generate.ts +175 -0
  293. package/templates/skills/development/frontend/layout/cli/scaffold-layout/index.ts +104 -0
  294. package/templates/skills/development/frontend/layout/cli/scaffold-layout/types.ts +17 -0
  295. package/templates/skills/development/frontend/layout/cli/scaffold-layout/validate.ts +37 -0
  296. package/templates/skills/development/frontend/routes/SKILL.md +152 -0
  297. package/templates/skills/development/frontend/routes/cli/aggregate-component-registry/generate.ts +216 -0
  298. package/templates/skills/development/frontend/routes/cli/aggregate-component-registry/index.ts +121 -0
  299. package/templates/skills/development/frontend/routes/cli/aggregate-component-registry/types.ts +69 -0
  300. package/templates/skills/development/frontend/routes/cli/aggregate-component-registry/validate.ts +23 -0
  301. package/templates/skills/development/frontend/routes/cli/scaffold-routes/__tests__/generate.test.ts +292 -0
  302. package/templates/skills/development/frontend/routes/cli/scaffold-routes/generate.ts +270 -0
  303. package/templates/skills/development/frontend/routes/cli/scaffold-routes/index.ts +42 -0
  304. package/templates/skills/development/frontend/routes/cli/scaffold-routes/types.ts +114 -0
  305. package/templates/skills/development/frontend/routes/cli/scaffold-routes/validate.ts +68 -0
  306. package/templates/skills/development/frontend/structure/SKILL.md +119 -0
  307. package/templates/skills/development/frontend/theme/SKILL.md +48 -0
  308. package/templates/skills/development/frontend/theme/cli/scaffold-theme/__tests__/generate.test.ts +53 -0
  309. package/templates/skills/development/frontend/theme/cli/scaffold-theme/generate.ts +129 -0
  310. package/templates/skills/development/frontend/theme/cli/scaffold-theme/index.ts +102 -0
  311. package/templates/skills/development/frontend/theme/cli/scaffold-theme/types.ts +48 -0
  312. package/templates/skills/development/frontend/theme/cli/scaffold-theme/validate.ts +37 -0
  313. package/templates/skills/development/frontend/ui-polish/SKILL.md +192 -0
  314. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/__tests__/r18.test.ts +153 -0
  315. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/__tests__/r19.test.ts +307 -0
  316. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/__tests__/r20.test.ts +167 -0
  317. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/__tests__/shared-scan.test.ts +262 -0
  318. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/apply.ts +580 -0
  319. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/audit.ts +825 -0
  320. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/index.ts +133 -0
  321. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/types.ts +121 -0
  322. package/templates/skills/development/frontend/ui-polish/cli/ui-polish/validate.ts +73 -0
  323. package/templates/skills/development/frontend/ui-polish/tokens.json +292 -0
  324. package/templates/skills/development/frontend/ui-primitives/SKILL.md +88 -0
  325. package/templates/skills/development/frontend/ui-primitives/cli/scaffold-ui-primitives/__tests__/generate.test.ts +158 -0
  326. package/templates/skills/development/frontend/ui-primitives/cli/scaffold-ui-primitives/generate.ts +345 -0
  327. package/templates/skills/development/frontend/ui-primitives/cli/scaffold-ui-primitives/index.ts +142 -0
  328. package/templates/skills/development/frontend/ui-primitives/cli/scaffold-ui-primitives/types.ts +27 -0
  329. package/templates/skills/development/frontend/ui-primitives/cli/scaffold-ui-primitives/validate.ts +37 -0
  330. package/templates/skills/development/run/SKILL.md +61 -0
  331. package/templates/skills/development/run/backend/SKILL.md +106 -0
  332. package/templates/skills/development/run/frontend/SKILL.md +116 -0
  333. package/templates/skills/development/smoke-test/SKILL.md +99 -0
  334. package/templates/skills/development/smoke-test/cli/run-smoke/execute.ts +424 -0
  335. package/templates/skills/development/smoke-test/cli/run-smoke/index.ts +75 -0
  336. package/templates/skills/development/smoke-test/cli/run-smoke/types.ts +100 -0
  337. package/templates/skills/development/testing/SKILL.md +148 -0
  338. package/templates/skills/development/testing/cli/scaffold-tests/generate.ts +530 -0
  339. package/templates/skills/development/testing/cli/scaffold-tests/index.ts +83 -0
  340. package/templates/skills/development/testing/cli/scaffold-tests/types.ts +51 -0
  341. package/templates/skills/development/testing/cli/scaffold-tests/validate.ts +33 -0
  342. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/__tests__/generate.test.ts +188 -0
  343. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/__tests__/parse-ac.test.ts +191 -0
  344. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/generate.ts +190 -0
  345. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/index.ts +138 -0
  346. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/parse-ac.ts +172 -0
  347. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/types.ts +104 -0
  348. package/templates/skills/development/testing/cli/scaffold-tests-from-ac/validate.ts +57 -0
  349. package/templates/skills/development/testing/cli/test-report/execute.ts +140 -0
  350. package/templates/skills/development/testing/cli/test-report/index.ts +96 -0
  351. package/templates/skills/development/testing/cli/test-report/types.ts +52 -0
  352. package/templates/skills/development/testing/cli/test-report/validate.ts +26 -0
  353. package/templates/skills/development/testing/fix-build/SKILL.md +81 -0
  354. package/templates/skills/development/testing/smoke-http/SKILL.md +123 -0
  355. package/templates/skills/development/testing/smoke-http/cli/smoke-http/execute.ts +129 -0
  356. package/templates/skills/development/testing/smoke-http/cli/smoke-http/index.ts +113 -0
  357. package/templates/skills/development/testing/smoke-http/cli/smoke-http/types.ts +62 -0
  358. package/templates/skills/development/testing/smoke-http/cli/smoke-http/validate.ts +36 -0
  359. package/templates/skills/development/testing/ui-test/SKILL.md +128 -0
  360. package/templates/skills/development/testing/ui-test/cli/build-manifest/generate.ts +129 -0
  361. package/templates/skills/development/testing/ui-test/cli/build-manifest/index.ts +80 -0
  362. package/templates/skills/development/testing/ui-test/cli/build-manifest/types.ts +72 -0
  363. package/templates/skills/development/testing/ui-test/cli/build-manifest/validate.ts +44 -0
  364. package/templates/skills/development/testing/ui-test/cli/run-ui-test/execute.ts +136 -0
  365. package/templates/skills/development/testing/ui-test/cli/run-ui-test/index.ts +75 -0
  366. package/templates/skills/development/testing/ui-test/cli/run-ui-test/lib/dev-browser-driver.ts +250 -0
  367. package/templates/skills/development/testing/ui-test/cli/run-ui-test/templates/delete.js.hbs +83 -0
  368. package/templates/skills/development/testing/ui-test/cli/run-ui-test/templates/detail.js.hbs +87 -0
  369. package/templates/skills/development/testing/ui-test/cli/run-ui-test/templates/edit.js.hbs +91 -0
  370. package/templates/skills/development/testing/ui-test/cli/run-ui-test/templates/form-submit.js.hbs +82 -0
  371. package/templates/skills/development/testing/ui-test/cli/run-ui-test/templates/list.js.hbs +125 -0
  372. package/templates/skills/development/testing/ui-test/cli/run-ui-test/templates/permission-negative.js.hbs +65 -0
  373. package/templates/skills/development/testing/ui-test/cli/run-ui-test/types.ts +57 -0
  374. package/templates/skills/development/testing/ui-test/cli/run-ui-test/validate.ts +56 -0
  375. package/templates/skills/documentation/SKILL.md +168 -139
  376. package/templates/skills/documentation/cli/extract-doc/__tests__/forbidden.test.ts +136 -0
  377. package/templates/skills/documentation/cli/extract-doc/__tests__/overflow.test.ts +76 -0
  378. package/templates/skills/documentation/cli/extract-doc/__tests__/required.test.ts +147 -0
  379. package/templates/skills/documentation/cli/extract-doc/extract.ts +657 -0
  380. package/templates/skills/documentation/cli/extract-doc/index.ts +102 -0
  381. package/templates/skills/documentation/cli/extract-doc/types.ts +133 -0
  382. package/templates/skills/documentation/cli/extract-doc/validate.ts +35 -0
  383. package/templates/skills/documentation/cli/scaffold-doc/generate.ts +198 -0
  384. package/templates/skills/documentation/cli/scaffold-doc/index.ts +61 -0
  385. package/templates/skills/documentation/cli/scaffold-doc/types.ts +72 -0
  386. package/templates/skills/documentation/cli/scaffold-doc/validate.ts +33 -0
  387. package/templates/skills/documentation/data-schema.md +18 -38
  388. package/templates/skills/documentation/steps/step-01-scan.md +59 -113
  389. package/templates/skills/documentation/steps/step-02-generate.md +158 -231
  390. package/templates/skills/documentation/steps/step-03-validate.md +101 -280
  391. package/templates/skills/documentation/templates.md +403 -92
  392. package/templates/skills/efcore/SKILL.md +88 -308
  393. package/templates/skills/efcore/_shared.md +140 -0
  394. package/templates/skills/efcore/agents/create.md +69 -0
  395. package/templates/skills/efcore/agents/db-update.md +58 -0
  396. package/templates/skills/efcore/agents/list.md +35 -0
  397. package/templates/skills/efcore/agents/rebase-snapshot.md +50 -0
  398. package/templates/skills/efcore/agents/recreate-db.md +78 -0
  399. package/templates/skills/efcore/agents/squash.md +78 -0
  400. package/templates/skills/efcore/agents/status.md +35 -0
  401. package/templates/skills/efcore/cli/create/execute.ts +164 -0
  402. package/templates/skills/efcore/cli/create/index.ts +51 -0
  403. package/templates/skills/efcore/cli/create/types.ts +35 -0
  404. package/templates/skills/efcore/cli/create/validate.ts +29 -0
  405. package/templates/skills/efcore/cli/lib/detect-dbcontexts.ts +195 -0
  406. package/templates/skills/efcore/cli/lib/ef-runner.ts +144 -0
  407. package/templates/skills/efcore/cli/lib/migration-name.ts +56 -0
  408. package/templates/skills/efcore/cli/lib/parse-csproj-version.ts +45 -0
  409. package/templates/skills/efcore/cli/list/execute.ts +83 -0
  410. package/templates/skills/efcore/cli/list/index.ts +60 -0
  411. package/templates/skills/efcore/cli/list/types.ts +46 -0
  412. package/templates/skills/efcore/cli/list/validate.ts +20 -0
  413. package/templates/skills/efcore/cli/rebase-snapshot/execute.ts +21 -0
  414. package/templates/skills/efcore/cli/rebase-snapshot/index.ts +53 -0
  415. package/templates/skills/efcore/cli/rebase-snapshot/types.ts +20 -0
  416. package/templates/skills/efcore/cli/rebase-snapshot/validate.ts +25 -0
  417. package/templates/skills/efcore/cli/squash/execute.ts +298 -0
  418. package/templates/skills/efcore/cli/squash/index.ts +57 -0
  419. package/templates/skills/efcore/cli/squash/types.ts +38 -0
  420. package/templates/skills/efcore/cli/squash/validate.ts +30 -0
  421. package/templates/skills/efcore/cli/status/execute.ts +152 -0
  422. package/templates/skills/efcore/cli/status/index.ts +45 -0
  423. package/templates/skills/efcore/cli/status/types.ts +32 -0
  424. package/templates/skills/efcore/cli/status/validate.ts +20 -0
  425. package/templates/skills/external/context7/SKILL.md +121 -0
  426. package/templates/skills/external/dev-browser/SKILL.md +134 -0
  427. package/templates/skills/gitflow/SKILL.md +139 -392
  428. package/templates/skills/gitflow/_shared.md +24 -620
  429. package/templates/skills/gitflow/agents/abort.md +47 -0
  430. package/templates/skills/gitflow/agents/cleanup.md +50 -0
  431. package/templates/skills/gitflow/agents/commit.md +41 -0
  432. package/templates/skills/gitflow/agents/finish.md +47 -0
  433. package/templates/skills/gitflow/agents/init.md +41 -0
  434. package/templates/skills/gitflow/agents/merge.md +44 -0
  435. package/templates/skills/gitflow/agents/pr.md +39 -0
  436. package/templates/skills/gitflow/agents/start.md +42 -0
  437. package/templates/skills/gitflow/agents/status.md +39 -0
  438. package/templates/skills/gitflow/agents/sync.md +38 -0
  439. package/templates/skills/gitflow/cli/abort/execute.ts +61 -0
  440. package/templates/skills/gitflow/cli/abort/index.ts +116 -0
  441. package/templates/skills/gitflow/cli/abort/types.ts +21 -0
  442. package/templates/skills/gitflow/cli/abort/validate.ts +38 -0
  443. package/templates/skills/gitflow/cli/cleanup/execute.ts +107 -0
  444. package/templates/skills/gitflow/cli/cleanup/index.ts +122 -0
  445. package/templates/skills/gitflow/cli/cleanup/types.ts +26 -0
  446. package/templates/skills/gitflow/cli/cleanup/validate.ts +33 -0
  447. package/templates/skills/gitflow/cli/commit/execute.ts +146 -0
  448. package/templates/skills/gitflow/cli/commit/index.ts +77 -0
  449. package/templates/skills/gitflow/cli/commit/types.ts +36 -0
  450. package/templates/skills/gitflow/cli/commit/validate.ts +38 -0
  451. package/templates/skills/gitflow/cli/finish/execute.ts +127 -0
  452. package/templates/skills/gitflow/cli/finish/index.ts +106 -0
  453. package/templates/skills/gitflow/cli/finish/types.ts +25 -0
  454. package/templates/skills/gitflow/cli/finish/validate.ts +44 -0
  455. package/templates/skills/gitflow/cli/generate-msg/execute.ts +51 -0
  456. package/templates/skills/gitflow/cli/generate-msg/index.ts +73 -0
  457. package/templates/skills/gitflow/cli/generate-msg/types.ts +37 -0
  458. package/templates/skills/gitflow/cli/generate-msg/validate.ts +42 -0
  459. package/templates/skills/gitflow/cli/init/execute.ts +186 -0
  460. package/templates/skills/gitflow/cli/init/index.ts +127 -0
  461. package/templates/skills/gitflow/cli/init/types.ts +63 -0
  462. package/templates/skills/gitflow/cli/init/validate.ts +56 -0
  463. package/templates/skills/gitflow/cli/lib/branch.ts +83 -0
  464. package/templates/skills/gitflow/cli/lib/config.ts +149 -0
  465. package/templates/skills/gitflow/cli/lib/efcore.ts +136 -0
  466. package/templates/skills/gitflow/cli/lib/git.ts +212 -0
  467. package/templates/skills/gitflow/cli/lib/output.ts +49 -0
  468. package/templates/skills/gitflow/cli/lib/paths.ts +54 -0
  469. package/templates/skills/gitflow/cli/lib/platform.ts +44 -0
  470. package/templates/skills/gitflow/cli/lib/provider.ts +147 -0
  471. package/templates/skills/gitflow/cli/lib/types.ts +189 -0
  472. package/templates/skills/gitflow/cli/lib/version.ts +152 -0
  473. package/templates/skills/gitflow/cli/lib/worktree.ts +170 -0
  474. package/templates/skills/gitflow/cli/merge/execute.ts +93 -0
  475. package/templates/skills/gitflow/cli/merge/index.ts +109 -0
  476. package/templates/skills/gitflow/cli/merge/types.ts +24 -0
  477. package/templates/skills/gitflow/cli/merge/validate.ts +33 -0
  478. package/templates/skills/gitflow/cli/pr/execute.ts +131 -0
  479. package/templates/skills/gitflow/cli/pr/index.ts +115 -0
  480. package/templates/skills/gitflow/cli/pr/types.ts +27 -0
  481. package/templates/skills/gitflow/cli/pr/validate.ts +27 -0
  482. package/templates/skills/gitflow/cli/start/execute.ts +98 -0
  483. package/templates/skills/gitflow/cli/start/index.ts +75 -0
  484. package/templates/skills/gitflow/cli/start/types.ts +26 -0
  485. package/templates/skills/gitflow/cli/start/validate.ts +47 -0
  486. package/templates/skills/gitflow/cli/status/execute.ts +251 -0
  487. package/templates/skills/gitflow/cli/status/index.ts +154 -0
  488. package/templates/skills/gitflow/cli/status/types.ts +75 -0
  489. package/templates/skills/gitflow/cli/status/validate.ts +38 -0
  490. package/templates/skills/gitflow/cli/sync/execute.ts +84 -0
  491. package/templates/skills/gitflow/cli/sync/index.ts +75 -0
  492. package/templates/skills/gitflow/cli/sync/types.ts +25 -0
  493. package/templates/skills/gitflow/cli/sync/validate.ts +34 -0
  494. package/templates/skills/gitflow/commit-message.md +46 -0
  495. package/templates/skills/init/SKILL.md +54 -0
  496. package/templates/skills/lib/__tests__/canonical-hash.test.ts +45 -0
  497. package/templates/skills/lib/__tests__/page-spec-actions.test.ts +232 -0
  498. package/templates/skills/lib/canonical-hash.ts +40 -0
  499. package/templates/skills/lib/detector.ts +243 -0
  500. package/templates/skills/lib/dotnet.ts +238 -0
  501. package/templates/skills/lib/frontend-fixers.ts +151 -0
  502. package/templates/skills/lib/fs.ts +238 -0
  503. package/templates/skills/lib/git.ts +134 -0
  504. package/templates/skills/lib/graph.ts +138 -0
  505. package/templates/skills/lib/navroute-parser.ts +51 -0
  506. package/templates/skills/lib/output.ts +117 -0
  507. package/templates/skills/lib/page-spec-actions.ts +350 -0
  508. package/templates/skills/lib/skill-slug.ts +121 -0
  509. package/templates/skills/lib/string-utils.ts +140 -0
  510. package/templates/skills/lib/template-loader.ts +115 -0
  511. package/templates/skills/lib/url-conventions.ts +151 -0
  512. package/templates/skills/package.json +5 -0
  513. package/templates/skills/quick-search/SKILL.md +99 -99
  514. package/templates/skills/review/SKILL.md +56 -0
  515. package/templates/skills/smoke-generation/SKILL.md +18 -16
  516. package/templates/skills/ui-components/SKILL.md +136 -457
  517. package/templates/skills/upgrade/SKILL.md +36 -0
  518. package/templates/skills/utils/SKILL.md +45 -44
  519. package/templates/skills/utils/subcommands/test-web-config.md +152 -152
  520. package/templates/skills/utils/subcommands/test-web.md +123 -123
  521. package/templates/skills/validate-feature/SKILL.md +102 -101
  522. package/templates/skills/validate-feature/references/api-smoke-tests.md +140 -140
  523. package/templates/skills/validate-feature/references/db-validation-checks.md +180 -180
  524. package/templates/skills/validate-feature/steps/step-00-dependencies.md +121 -121
  525. package/templates/skills/validate-feature/steps/step-01-compile.md +39 -39
  526. package/templates/skills/validate-feature/steps/step-02-unit-tests.md +45 -45
  527. package/templates/skills/validate-feature/steps/step-03-integration-tests.md +53 -53
  528. package/templates/skills/validate-feature/steps/step-04-api-smoke.md +94 -94
  529. package/templates/skills/validate-feature/steps/step-05-db-validation.md +149 -149
  530. package/templates/skills/validation/conventions/SKILL.md +193 -0
  531. package/templates/skills/validation/conventions/cli/validate-conventions/execute.ts +368 -0
  532. package/templates/skills/validation/conventions/cli/validate-conventions/index.ts +67 -0
  533. package/templates/skills/validation/conventions/cli/validate-conventions/types.ts +91 -0
  534. package/templates/skills/validation/conventions/cli/validate-conventions/validate.ts +36 -0
  535. package/templates/skills/validation/cross-validate/SKILL.md +83 -0
  536. package/templates/skills/validation/cross-validate/cli/execute.ts +576 -0
  537. package/templates/skills/validation/cross-validate/cli/index.ts +87 -0
  538. package/templates/skills/validation/cross-validate/cli/types.ts +85 -0
  539. package/templates/skills/validation/cross-validate/cli/validate.ts +54 -0
  540. package/templates/skills/validation/eslint/SKILL.md +65 -0
  541. package/templates/skills/validation/eslint/cli/execute.ts +413 -0
  542. package/templates/skills/validation/eslint/cli/index.ts +102 -0
  543. package/templates/skills/validation/eslint/cli/types.ts +48 -0
  544. package/templates/skills/validation/eslint/cli/validate.ts +43 -0
  545. package/templates/skills/validation/project-inventory/SKILL.md +166 -0
  546. package/templates/skills/validation/project-inventory/cli/project-inventory/execute.ts +397 -0
  547. package/templates/skills/validation/project-inventory/cli/project-inventory/index.ts +80 -0
  548. package/templates/skills/validation/project-inventory/cli/project-inventory/types.ts +89 -0
  549. package/templates/skills/validation/project-inventory/cli/project-inventory/validate.ts +35 -0
  550. package/templates/skills/validation/readiness-report/SKILL.md +109 -0
  551. package/templates/skills/validation/readiness-report/cli/execute.ts +236 -0
  552. package/templates/skills/validation/readiness-report/cli/index.ts +234 -0
  553. package/templates/skills/validation/readiness-report/cli/types.ts +61 -0
  554. package/templates/skills/validation/readiness-report/cli/validate.ts +54 -0
  555. package/templates/skills/validation/roslyn/SKILL.md +103 -0
  556. package/templates/skills/validation/roslyn/cli/execute.ts +616 -0
  557. package/templates/skills/validation/roslyn/cli/index.ts +86 -0
  558. package/templates/skills/validation/roslyn/cli/types.ts +50 -0
  559. package/templates/skills/validation/roslyn/cli/validate.ts +43 -0
  560. package/.documentation/apex.html +0 -649
  561. package/dist/mcp-entry.mjs +0 -68888
  562. package/dist/mcp-entry.mjs.map +0 -1
  563. package/scripts/extract-api-endpoints.ts +0 -325
  564. package/scripts/extract-business-rules.ts +0 -440
  565. package/scripts/generate-doc-with-mock-ui.ts +0 -804
  566. package/templates/agents/ba-reader.md +0 -386
  567. package/templates/agents/ba-writer.md +0 -810
  568. package/templates/agents/efcore/migration.md +0 -204
  569. package/templates/agents/efcore/rebase-snapshot.md +0 -202
  570. package/templates/agents/efcore/squash.md +0 -269
  571. package/templates/agents/gitflow/abort.md +0 -45
  572. package/templates/agents/gitflow/cleanup.md +0 -107
  573. package/templates/agents/gitflow/commit.md +0 -236
  574. package/templates/agents/gitflow/exec.md +0 -48
  575. package/templates/agents/gitflow/finish.md +0 -146
  576. package/templates/agents/gitflow/init-clone.md +0 -199
  577. package/templates/agents/gitflow/init-detect.md +0 -137
  578. package/templates/agents/gitflow/init-validate.md +0 -225
  579. package/templates/agents/gitflow/init.md +0 -509
  580. package/templates/agents/gitflow/merge.md +0 -145
  581. package/templates/agents/gitflow/plan.md +0 -42
  582. package/templates/agents/gitflow/pr.md +0 -191
  583. package/templates/agents/gitflow/review.md +0 -49
  584. package/templates/agents/gitflow/start.md +0 -147
  585. package/templates/agents/gitflow/status.md +0 -95
  586. package/templates/agents/mcp-healthcheck.md +0 -163
  587. package/templates/hooks/docs-drift-check.md +0 -96
  588. package/templates/hooks/ef-migration-check.md +0 -139
  589. package/templates/hooks/mcp-check.md +0 -64
  590. package/templates/hooks/ralph-mcp-logger.sh +0 -46
  591. package/templates/mcp-scaffolding/component.tsx.hbs +0 -318
  592. package/templates/mcp-scaffolding/controller.cs.hbs +0 -118
  593. package/templates/mcp-scaffolding/entity-extension.cs.hbs +0 -239
  594. package/templates/mcp-scaffolding/frontend/api-client.ts.hbs +0 -117
  595. package/templates/mcp-scaffolding/frontend/nav-routes.ts.hbs +0 -133
  596. package/templates/mcp-scaffolding/migrations/seed-roles.cs.hbs +0 -261
  597. package/templates/mcp-scaffolding/service-extension.cs.hbs +0 -53
  598. package/templates/mcp-scaffolding/tests/controller.test.cs.hbs +0 -436
  599. package/templates/mcp-scaffolding/tests/entity.test.cs.hbs +0 -239
  600. package/templates/mcp-scaffolding/tests/repository.test.cs.hbs +0 -441
  601. package/templates/mcp-scaffolding/tests/security.test.cs.hbs +0 -442
  602. package/templates/mcp-scaffolding/tests/service.test.cs.hbs +0 -402
  603. package/templates/mcp-scaffolding/tests/validator.test.cs.hbs +0 -428
  604. package/templates/skills/_resources/config-safety.md +0 -61
  605. package/templates/skills/_resources/context-digest-template.md +0 -53
  606. package/templates/skills/_resources/doc-context-cache.md +0 -60
  607. package/templates/skills/_resources/docs-manifest-schema.md +0 -155
  608. package/templates/skills/_resources/formatting-guide.md +0 -124
  609. package/templates/skills/_resources/mcp-validate-documentation-spec.md +0 -181
  610. package/templates/skills/_shared.md +0 -228
  611. package/templates/skills/admin/SKILL.md +0 -48
  612. package/templates/skills/ai-prompt/SKILL.md +0 -171
  613. package/templates/skills/ai-prompt/references/ai-agent-modes.md +0 -89
  614. package/templates/skills/ai-prompt/references/eval-framework.md +0 -129
  615. package/templates/skills/ai-prompt/steps/step-00-init.md +0 -47
  616. package/templates/skills/ai-prompt/steps/step-01-implementation.md +0 -122
  617. package/templates/skills/apex/SKILL.md +0 -234
  618. package/templates/skills/apex/_shared.md +0 -197
  619. package/templates/skills/apex/references/analysis-methods.md +0 -178
  620. package/templates/skills/apex/references/challenge-questions.md +0 -359
  621. package/templates/skills/apex/references/checks/architecture-checks.sh +0 -154
  622. package/templates/skills/apex/references/checks/backend-checks.sh +0 -208
  623. package/templates/skills/apex/references/checks/frontend-checks.sh +0 -560
  624. package/templates/skills/apex/references/checks/infrastructure-checks.sh +0 -292
  625. package/templates/skills/apex/references/checks/security-checks.sh +0 -153
  626. package/templates/skills/apex/references/checks/seed-checks.sh +0 -610
  627. package/templates/skills/apex/references/code-generation.md +0 -412
  628. package/templates/skills/apex/references/core-seed-data.md +0 -1502
  629. package/templates/skills/apex/references/domain-events-pattern.md +0 -45
  630. package/templates/skills/apex/references/entity-hooks-pattern.md +0 -68
  631. package/templates/skills/apex/references/error-classification.md +0 -168
  632. package/templates/skills/apex/references/frontend-route-wiring-app-tsx.md +0 -91
  633. package/templates/skills/apex/references/licensing-enforcement.md +0 -52
  634. package/templates/skills/apex/references/parallel-execution.md +0 -187
  635. package/templates/skills/apex/references/person-extension-pattern.md +0 -619
  636. package/templates/skills/apex/references/post-checks.md +0 -162
  637. package/templates/skills/apex/references/smartstack-api.md +0 -591
  638. package/templates/skills/apex/references/smartstack-frontend-compliance.md +0 -616
  639. package/templates/skills/apex/references/smartstack-frontend.md +0 -442
  640. package/templates/skills/apex/references/smartstack-layers.md +0 -551
  641. package/templates/skills/apex/steps/step-00-init.md +0 -405
  642. package/templates/skills/apex/steps/step-01-analyze.md +0 -210
  643. package/templates/skills/apex/steps/step-02-plan.md +0 -303
  644. package/templates/skills/apex/steps/step-03-execute.md +0 -194
  645. package/templates/skills/apex/steps/step-03a-layer0-domain.md +0 -144
  646. package/templates/skills/apex/steps/step-03b-layer1-seed.md +0 -339
  647. package/templates/skills/apex/steps/step-03c-layer2-backend.md +0 -401
  648. package/templates/skills/apex/steps/step-03d-layer3-frontend.md +0 -562
  649. package/templates/skills/apex/steps/step-03e-layer4-devdata.md +0 -46
  650. package/templates/skills/apex/steps/step-04-examine.md +0 -404
  651. package/templates/skills/apex/steps/step-05-deep-review.md +0 -140
  652. package/templates/skills/apex/steps/step-06-resolve.md +0 -120
  653. package/templates/skills/apex/steps/step-07-tests.md +0 -271
  654. package/templates/skills/apex/steps/step-08-run-tests.md +0 -135
  655. package/templates/skills/apex-verify/SKILL.md +0 -110
  656. package/templates/skills/apex-verify/references/audit-rules.md +0 -50
  657. package/templates/skills/apex-verify/steps/step-00-init.md +0 -119
  658. package/templates/skills/apex-verify/steps/step-01-nav-audit.md +0 -96
  659. package/templates/skills/apex-verify/steps/step-02-crud-audit.md +0 -127
  660. package/templates/skills/apex-verify/steps/step-03-perm-audit.md +0 -119
  661. package/templates/skills/apex-verify/steps/step-04-route-audit.md +0 -98
  662. package/templates/skills/apex-verify/steps/step-05-report.md +0 -110
  663. package/templates/skills/application/SKILL.md +0 -241
  664. package/templates/skills/application/references/application-roles-template.md +0 -228
  665. package/templates/skills/application/references/backend-controller-hierarchy.md +0 -68
  666. package/templates/skills/application/references/backend-entity-seeding.md +0 -73
  667. package/templates/skills/application/references/backend-seeding-and-dto-output.md +0 -83
  668. package/templates/skills/application/references/backend-table-prefix-mapping.md +0 -80
  669. package/templates/skills/application/references/backend-verification.md +0 -88
  670. package/templates/skills/application/references/contexts-cheatsheet.md +0 -86
  671. package/templates/skills/application/references/extensions-system.md +0 -158
  672. package/templates/skills/application/references/frontend-i18n-and-output.md +0 -67
  673. package/templates/skills/application/references/frontend-route-naming.md +0 -123
  674. package/templates/skills/application/references/frontend-route-wiring-app-tsx.md +0 -91
  675. package/templates/skills/application/references/frontend-verification.md +0 -158
  676. package/templates/skills/application/references/init-parameter-detection.md +0 -121
  677. package/templates/skills/application/references/migration-checklist-troubleshooting.md +0 -88
  678. package/templates/skills/application/references/nav-fallback-procedure.md +0 -198
  679. package/templates/skills/application/references/provider-template.md +0 -191
  680. package/templates/skills/application/references/roles-client-project-handling.md +0 -55
  681. package/templates/skills/application/references/roles-fallback-procedure.md +0 -144
  682. package/templates/skills/application/references/smartstack-provider.md +0 -118
  683. package/templates/skills/application/references/test-coverage-requirements.md +0 -213
  684. package/templates/skills/application/references/test-frontend.md +0 -73
  685. package/templates/skills/application/references/test-prerequisites.md +0 -72
  686. package/templates/skills/application/references/themes-db-driven.md +0 -484
  687. package/templates/skills/application/steps/step-00-init.md +0 -130
  688. package/templates/skills/application/steps/step-01-navigation.md +0 -170
  689. package/templates/skills/application/steps/step-02-permissions.md +0 -196
  690. package/templates/skills/application/steps/step-03-roles.md +0 -182
  691. package/templates/skills/application/steps/step-03b-provider.md +0 -134
  692. package/templates/skills/application/steps/step-04-backend.md +0 -174
  693. package/templates/skills/application/steps/step-05-frontend.md +0 -189
  694. package/templates/skills/application/steps/step-06-migration.md +0 -189
  695. package/templates/skills/application/steps/step-07-tests.md +0 -356
  696. package/templates/skills/application/steps/step-08-documentation.md +0 -137
  697. package/templates/skills/application/templates-backend.md +0 -463
  698. package/templates/skills/application/templates-frontend.md +0 -950
  699. package/templates/skills/application/templates-i18n.md +0 -520
  700. package/templates/skills/application/templates-seed.md +0 -1110
  701. package/templates/skills/audit-route/SKILL.md +0 -107
  702. package/templates/skills/audit-route/references/routing-pattern.md +0 -131
  703. package/templates/skills/audit-route/steps/step-00-init.md +0 -128
  704. package/templates/skills/audit-route/steps/step-01-inventory.md +0 -157
  705. package/templates/skills/audit-route/steps/step-02-conformity.md +0 -193
  706. package/templates/skills/audit-route/steps/step-03-report.md +0 -201
  707. package/templates/skills/business-analyse/SKILL.md +0 -252
  708. package/templates/skills/business-analyse/_shared.md +0 -276
  709. package/templates/skills/business-analyse/patterns/suggestion-catalog.md +0 -560
  710. package/templates/skills/business-analyse/questionnaire/01-context.md +0 -43
  711. package/templates/skills/business-analyse/questionnaire/02-stakeholders-scope.md +0 -111
  712. package/templates/skills/business-analyse/questionnaire/03-data-ui.md +0 -125
  713. package/templates/skills/business-analyse/questionnaire/04-risks-metrics.md +0 -6
  714. package/templates/skills/business-analyse/questionnaire/05-cross-module.md +0 -69
  715. package/templates/skills/business-analyse/questionnaire.md +0 -156
  716. package/templates/skills/business-analyse/react/application-viewer.md +0 -242
  717. package/templates/skills/business-analyse/react/components.md +0 -532
  718. package/templates/skills/business-analyse/react/i18n-template.md +0 -306
  719. package/templates/skills/business-analyse/react/schema.md +0 -831
  720. package/templates/skills/business-analyse/references/03-json-schemas.md +0 -221
  721. package/templates/skills/business-analyse/references/03-post-check-validation.md +0 -208
  722. package/templates/skills/business-analyse/references/03-smartstack-entity-guards.md +0 -32
  723. package/templates/skills/business-analyse/references/04-cross-module-validation.md +0 -95
  724. package/templates/skills/business-analyse/references/04-file-allocation.md +0 -162
  725. package/templates/skills/business-analyse/references/04-naming-audit-checks.md +0 -174
  726. package/templates/skills/business-analyse/references/04-semantic-validation-matrix.md +0 -118
  727. package/templates/skills/business-analyse/references/acceptance-criteria.md +0 -164
  728. package/templates/skills/business-analyse/references/analysis-semantic-checks.md +0 -190
  729. package/templates/skills/business-analyse/references/canonical-json-formats.md +0 -204
  730. package/templates/skills/business-analyse/references/compilation-structure-cards.md +0 -297
  731. package/templates/skills/business-analyse/references/consolidation-structural-checks.md +0 -124
  732. package/templates/skills/business-analyse/references/detection-strategies.md +0 -424
  733. package/templates/skills/business-analyse/references/domain-research-playbook.md +0 -234
  734. package/templates/skills/business-analyse/references/entity-architecture-decision.md +0 -240
  735. package/templates/skills/business-analyse/references/entity-sourcing-presentation.md +0 -166
  736. package/templates/skills/business-analyse/references/init-resume-logic.md +0 -70
  737. package/templates/skills/business-analyse/references/init-schema-deployment.md +0 -65
  738. package/templates/skills/business-analyse/references/module-completeness-challenge.md +0 -174
  739. package/templates/skills/business-analyse/references/multi-app-detection.md +0 -149
  740. package/templates/skills/business-analyse/references/naming-conventions.md +0 -253
  741. package/templates/skills/business-analyse/references/portal-classification.md +0 -52
  742. package/templates/skills/business-analyse/references/robustness-checks.md +0 -426
  743. package/templates/skills/business-analyse/references/ui-dashboard-spec.md +0 -85
  744. package/templates/skills/business-analyse/references/ui-resource-cards.md +0 -259
  745. package/templates/skills/business-analyse/references/validation-checklist.md +0 -378
  746. package/templates/skills/business-analyse/schemas/application-schema.json +0 -481
  747. package/templates/skills/business-analyse/schemas/feature-schema.json +0 -53
  748. package/templates/skills/business-analyse/schemas/index-schema.json +0 -47
  749. package/templates/skills/business-analyse/schemas/project-schema.json +0 -481
  750. package/templates/skills/business-analyse/schemas/sections/analysis-schema.json +0 -245
  751. package/templates/skills/business-analyse/schemas/sections/discovery-schema.json +0 -80
  752. package/templates/skills/business-analyse/schemas/sections/handoff-schema.json +0 -82
  753. package/templates/skills/business-analyse/schemas/sections/metadata-schema.json +0 -70
  754. package/templates/skills/business-analyse/schemas/sections/specification-schema.json +0 -567
  755. package/templates/skills/business-analyse/schemas/sections/validation-schema.json +0 -93
  756. package/templates/skills/business-analyse/schemas/shared/common-defs.json +0 -227
  757. package/templates/skills/business-analyse/steps/step-00-init.md +0 -463
  758. package/templates/skills/business-analyse/steps/step-01-cadrage.md +0 -901
  759. package/templates/skills/business-analyse/steps/step-02-structure.md +0 -315
  760. package/templates/skills/business-analyse/steps/step-03-specify.md +0 -986
  761. package/templates/skills/business-analyse/steps/step-04-consolidate.md +0 -928
  762. package/templates/skills/business-analyse/templates/tpl-frd.md +0 -168
  763. package/templates/skills/business-analyse/templates/tpl-handoff.md +0 -189
  764. package/templates/skills/business-analyse/templates/tpl-launch-displays.md +0 -59
  765. package/templates/skills/business-analyse/templates-frd.md +0 -476
  766. package/templates/skills/business-analyse/templates-react.md +0 -574
  767. package/templates/skills/business-analyse-design/SKILL.md +0 -101
  768. package/templates/skills/business-analyse-design/references/screens-post-check.md +0 -221
  769. package/templates/skills/business-analyse-design/references/screens-type-mapping.md +0 -138
  770. package/templates/skills/business-analyse-design/references/smartcomponents-templates.md +0 -225
  771. package/templates/skills/business-analyse-design/references/spec-auto-inference.md +0 -117
  772. package/templates/skills/business-analyse-design/steps/step-01-screens.md +0 -108
  773. package/templates/skills/business-analyse-design/steps/step-02-wireframes.md +0 -155
  774. package/templates/skills/business-analyse-design/steps/step-03-navigation.md +0 -189
  775. package/templates/skills/business-analyse-develop/SKILL.md +0 -250
  776. package/templates/skills/business-analyse-develop/references/category-completeness.md +0 -326
  777. package/templates/skills/business-analyse-develop/references/category-rules.md +0 -109
  778. package/templates/skills/business-analyse-develop/references/compact-loop.md +0 -478
  779. package/templates/skills/business-analyse-develop/references/handoff-quality-gate.md +0 -132
  780. package/templates/skills/business-analyse-develop/references/init-resume-recovery.md +0 -183
  781. package/templates/skills/business-analyse-develop/references/module-transition.md +0 -246
  782. package/templates/skills/business-analyse-develop/references/multi-module-queue.md +0 -171
  783. package/templates/skills/business-analyse-develop/references/parallel-execution.md +0 -246
  784. package/templates/skills/business-analyse-develop/references/prd-v3-transformation.md +0 -326
  785. package/templates/skills/business-analyse-develop/references/quality-gates.md +0 -160
  786. package/templates/skills/business-analyse-develop/references/report-reconciliation.md +0 -140
  787. package/templates/skills/business-analyse-develop/references/report-template.md +0 -142
  788. package/templates/skills/business-analyse-develop/references/section-splitting.md +0 -439
  789. package/templates/skills/business-analyse-develop/references/task-transform-legacy.md +0 -256
  790. package/templates/skills/business-analyse-develop/references/team-orchestration.md +0 -547
  791. package/templates/skills/business-analyse-develop/steps/step-00-init.md +0 -242
  792. package/templates/skills/business-analyse-develop/steps/step-01-task.md +0 -182
  793. package/templates/skills/business-analyse-develop/steps/step-01-v4-execute.md +0 -139
  794. package/templates/skills/business-analyse-develop/steps/step-02-execute.md +0 -216
  795. package/templates/skills/business-analyse-develop/steps/step-02-v4-verify.md +0 -176
  796. package/templates/skills/business-analyse-develop/steps/step-03-commit.md +0 -107
  797. package/templates/skills/business-analyse-develop/steps/step-04-check.md +0 -419
  798. package/templates/skills/business-analyse-develop/steps/step-05-report.md +0 -137
  799. package/templates/skills/business-analyse-handoff/SKILL.md +0 -101
  800. package/templates/skills/business-analyse-handoff/references/acceptance-criteria.md +0 -318
  801. package/templates/skills/business-analyse-handoff/references/agent-handoff-transform-prompt.md +0 -211
  802. package/templates/skills/business-analyse-handoff/references/context-isolation-pattern.md +0 -47
  803. package/templates/skills/business-analyse-handoff/references/entity-canonicalization.md +0 -158
  804. package/templates/skills/business-analyse-handoff/references/entity-domain-mapping.md +0 -115
  805. package/templates/skills/business-analyse-handoff/references/handoff-file-inventory.md +0 -49
  806. package/templates/skills/business-analyse-handoff/references/handoff-file-templates.md +0 -197
  807. package/templates/skills/business-analyse-handoff/references/handoff-global-validation.md +0 -142
  808. package/templates/skills/business-analyse-handoff/references/handoff-mappings.md +0 -108
  809. package/templates/skills/business-analyse-handoff/references/handoff-seeddata-generation.md +0 -314
  810. package/templates/skills/business-analyse-handoff/references/prd-generation.md +0 -362
  811. package/templates/skills/business-analyse-handoff/references/prd-validation-checks.md +0 -125
  812. package/templates/skills/business-analyse-handoff/references/project-index-update.md +0 -98
  813. package/templates/skills/business-analyse-handoff/references/readiness-scoring.md +0 -95
  814. package/templates/skills/business-analyse-handoff/schemas/handoff-schema.json +0 -95
  815. package/templates/skills/business-analyse-handoff/steps/step-00-validate.md +0 -158
  816. package/templates/skills/business-analyse-handoff/steps/step-01-transform.md +0 -85
  817. package/templates/skills/business-analyse-handoff/steps/step-02-export.md +0 -169
  818. package/templates/skills/business-analyse-handoff/templates/tpl-progress.md +0 -172
  819. package/templates/skills/business-analyse-html/SKILL.md +0 -89
  820. package/templates/skills/business-analyse-html/html/ba-interactive.html +0 -6134
  821. package/templates/skills/business-analyse-html/html/build-html.js +0 -137
  822. package/templates/skills/business-analyse-html/html/src/partials/cadrage-context.html +0 -34
  823. package/templates/skills/business-analyse-html/html/src/partials/cadrage-scope.html +0 -27
  824. package/templates/skills/business-analyse-html/html/src/partials/cadrage-stakeholders.html +0 -55
  825. package/templates/skills/business-analyse-html/html/src/partials/cadrage-success.html +0 -34
  826. package/templates/skills/business-analyse-html/html/src/partials/consol-datamodel.html +0 -8
  827. package/templates/skills/business-analyse-html/html/src/partials/consol-flows.html +0 -29
  828. package/templates/skills/business-analyse-html/html/src/partials/consol-interactions.html +0 -8
  829. package/templates/skills/business-analyse-html/html/src/partials/consol-permissions.html +0 -8
  830. package/templates/skills/business-analyse-html/html/src/partials/decomp-dependencies.html +0 -38
  831. package/templates/skills/business-analyse-html/html/src/partials/decomp-modules.html +0 -43
  832. package/templates/skills/business-analyse-html/html/src/partials/handoff-summary.html +0 -24
  833. package/templates/skills/business-analyse-html/html/src/partials/module-spec-container.html +0 -4
  834. package/templates/skills/business-analyse-html/html/src/scripts/01-data-init.js +0 -313
  835. package/templates/skills/business-analyse-html/html/src/scripts/02-navigation.js +0 -316
  836. package/templates/skills/business-analyse-html/html/src/scripts/03-render-cadrage.js +0 -162
  837. package/templates/skills/business-analyse-html/html/src/scripts/04-render-modules.js +0 -203
  838. package/templates/skills/business-analyse-html/html/src/scripts/05-render-specs.js +0 -866
  839. package/templates/skills/business-analyse-html/html/src/scripts/06-render-consolidation.js +0 -196
  840. package/templates/skills/business-analyse-html/html/src/scripts/06-render-mockups.js +0 -564
  841. package/templates/skills/business-analyse-html/html/src/scripts/07-render-handoff.js +0 -108
  842. package/templates/skills/business-analyse-html/html/src/scripts/08-editing.js +0 -137
  843. package/templates/skills/business-analyse-html/html/src/scripts/09-export.js +0 -138
  844. package/templates/skills/business-analyse-html/html/src/scripts/10-comments.js +0 -221
  845. package/templates/skills/business-analyse-html/html/src/scripts/11-review-panel.js +0 -167
  846. package/templates/skills/business-analyse-html/html/src/scripts/12-render-diagrams.js +0 -162
  847. package/templates/skills/business-analyse-html/html/src/styles/01-variables.css +0 -38
  848. package/templates/skills/business-analyse-html/html/src/styles/02-layout.css +0 -216
  849. package/templates/skills/business-analyse-html/html/src/styles/03-navigation.css +0 -120
  850. package/templates/skills/business-analyse-html/html/src/styles/04-cards.css +0 -194
  851. package/templates/skills/business-analyse-html/html/src/styles/05-modules.css +0 -518
  852. package/templates/skills/business-analyse-html/html/src/styles/06-wireframes.css +0 -263
  853. package/templates/skills/business-analyse-html/html/src/styles/07-comments.css +0 -184
  854. package/templates/skills/business-analyse-html/html/src/styles/08-review-panel.css +0 -241
  855. package/templates/skills/business-analyse-html/html/src/styles/09-mockups-html.css +0 -220
  856. package/templates/skills/business-analyse-html/html/src/styles/10-diagrams.css +0 -73
  857. package/templates/skills/business-analyse-html/html/src/template.html +0 -449
  858. package/templates/skills/business-analyse-html/references/02-embedded-artifacts-building.md +0 -144
  859. package/templates/skills/business-analyse-html/references/02-feature-data-building.md +0 -143
  860. package/templates/skills/business-analyse-html/references/02-mapping-tables.md +0 -442
  861. package/templates/skills/business-analyse-html/references/02-normalization-helpers.md +0 -139
  862. package/templates/skills/business-analyse-html/references/02-screen-format-detection.md +0 -283
  863. package/templates/skills/business-analyse-html/references/02-self-check-validation.md +0 -199
  864. package/templates/skills/business-analyse-html/references/data-build.md +0 -215
  865. package/templates/skills/business-analyse-html/references/data-mapping.md +0 -452
  866. package/templates/skills/business-analyse-html/references/output-modes.md +0 -119
  867. package/templates/skills/business-analyse-html/references/wireframe-svg-style-guide.md +0 -335
  868. package/templates/skills/business-analyse-html/steps/step-01-collect.md +0 -140
  869. package/templates/skills/business-analyse-html/steps/step-02-build-data.md +0 -76
  870. package/templates/skills/business-analyse-html/steps/step-03-render.md +0 -95
  871. package/templates/skills/business-analyse-html/steps/step-04-verify.md +0 -224
  872. package/templates/skills/business-analyse-quick/SKILL.md +0 -807
  873. package/templates/skills/business-analyse-quick/references/domain-heuristics.md +0 -172
  874. package/templates/skills/business-analyse-quick/references/prd-schema.md +0 -268
  875. package/templates/skills/business-analyse-review/SKILL.md +0 -71
  876. package/templates/skills/business-analyse-review/references/review-data-mapping.md +0 -367
  877. package/templates/skills/business-analyse-review/steps/step-00-init.md +0 -111
  878. package/templates/skills/business-analyse-review/steps/step-01-apply.md +0 -304
  879. package/templates/skills/business-analyse-status/SKILL.md +0 -136
  880. package/templates/skills/cc-agent/SKILL.md +0 -129
  881. package/templates/skills/cc-agent/references/agent-behavior-patterns.md +0 -95
  882. package/templates/skills/cc-agent/references/agent-frontmatter.md +0 -213
  883. package/templates/skills/cc-agent/references/permission-modes.md +0 -102
  884. package/templates/skills/cc-agent/references/tools-reference.md +0 -144
  885. package/templates/skills/cc-agent/steps/step-00-init.md +0 -134
  886. package/templates/skills/cc-agent/steps/step-01-design.md +0 -186
  887. package/templates/skills/cc-agent/steps/step-02-generate.md +0 -131
  888. package/templates/skills/cc-agent/steps/step-03-validate.md +0 -130
  889. package/templates/skills/cc-agent/templates/agent-categorized.md +0 -67
  890. package/templates/skills/cc-agent/templates/agent-standalone.md +0 -56
  891. package/templates/skills/cc-agent/templates/agent-with-skills.md +0 -94
  892. package/templates/skills/cc-audit/SKILL.md +0 -108
  893. package/templates/skills/cc-audit/references/agent-checklist.md +0 -91
  894. package/templates/skills/cc-audit/references/hook-checklist.md +0 -110
  895. package/templates/skills/cc-audit/references/skill-checklist.md +0 -70
  896. package/templates/skills/cc-audit/steps/step-00-init.md +0 -98
  897. package/templates/skills/cc-audit/steps/step-01-scan.md +0 -142
  898. package/templates/skills/cc-audit/steps/step-02-analyze.md +0 -158
  899. package/templates/skills/cc-audit/steps/step-03-report.md +0 -142
  900. package/templates/skills/cc-skill/SKILL.md +0 -134
  901. package/templates/skills/cc-skill/references/best-practices.md +0 -167
  902. package/templates/skills/cc-skill/references/frontmatter-reference.md +0 -182
  903. package/templates/skills/cc-skill/references/skill-patterns.md +0 -199
  904. package/templates/skills/cc-skill/steps/step-00-init.md +0 -119
  905. package/templates/skills/cc-skill/steps/step-01-design.md +0 -199
  906. package/templates/skills/cc-skill/steps/step-02-generate.md +0 -145
  907. package/templates/skills/cc-skill/steps/step-03-steps.md +0 -151
  908. package/templates/skills/cc-skill/steps/step-04-validate.md +0 -124
  909. package/templates/skills/cc-skill/templates/skill-forked.md +0 -85
  910. package/templates/skills/cc-skill/templates/skill-progressive.md +0 -102
  911. package/templates/skills/cc-skill/templates/skill-simple.md +0 -75
  912. package/templates/skills/cc-skill/templates/step-template.md +0 -82
  913. package/templates/skills/controller/SKILL.md +0 -162
  914. package/templates/skills/controller/postman-templates.md +0 -614
  915. package/templates/skills/controller/references/controller-code-templates.md +0 -162
  916. package/templates/skills/controller/references/mcp-scaffold-workflow.md +0 -237
  917. package/templates/skills/controller/references/permission-sync-templates.md +0 -149
  918. package/templates/skills/controller/steps/step-00-init.md +0 -193
  919. package/templates/skills/controller/steps/step-01-analyze.md +0 -152
  920. package/templates/skills/controller/steps/step-02-plan.md +0 -176
  921. package/templates/skills/controller/steps/step-03-generate.md +0 -189
  922. package/templates/skills/controller/steps/step-04-perms.md +0 -80
  923. package/templates/skills/controller/steps/step-05-validate.md +0 -107
  924. package/templates/skills/controller/templates.md +0 -1556
  925. package/templates/skills/debug/SKILL.md +0 -70
  926. package/templates/skills/debug/references/team-protocol.md +0 -232
  927. package/templates/skills/debug/steps/step-00-init.md +0 -57
  928. package/templates/skills/debug/steps/step-01-analyze.md +0 -219
  929. package/templates/skills/debug/steps/step-02-resolve.md +0 -85
  930. package/templates/skills/efcore/references/database-operations.md +0 -66
  931. package/templates/skills/efcore/references/reset-operations.md +0 -81
  932. package/templates/skills/efcore/references/seed-methods.md +0 -86
  933. package/templates/skills/efcore/references/shared-init-functions.md +0 -250
  934. package/templates/skills/efcore/references/sql-objects-injection.md +0 -19
  935. package/templates/skills/efcore/references/troubleshooting.md +0 -81
  936. package/templates/skills/efcore/references/zero-downtime-patterns.md +0 -229
  937. package/templates/skills/explore/SKILL.md +0 -98
  938. package/templates/skills/feature-full/SKILL.md +0 -111
  939. package/templates/skills/feature-full/steps/step-00-init.md +0 -57
  940. package/templates/skills/feature-full/steps/step-01-implementation.md +0 -133
  941. package/templates/skills/gitflow/phases/abort.md +0 -189
  942. package/templates/skills/gitflow/phases/cleanup.md +0 -264
  943. package/templates/skills/gitflow/phases/status.md +0 -192
  944. package/templates/skills/gitflow/references/commit-message-generation.md +0 -58
  945. package/templates/skills/gitflow/references/commit-migration-validation.md +0 -53
  946. package/templates/skills/gitflow/references/finish-cleanup.md +0 -55
  947. package/templates/skills/gitflow/references/finish-version-bumping.md +0 -45
  948. package/templates/skills/gitflow/references/init-config-template.md +0 -143
  949. package/templates/skills/gitflow/references/init-environment-detection.md +0 -41
  950. package/templates/skills/gitflow/references/init-name-normalization.md +0 -118
  951. package/templates/skills/gitflow/references/init-questions.md +0 -193
  952. package/templates/skills/gitflow/references/init-structure-creation.md +0 -75
  953. package/templates/skills/gitflow/references/init-version-detection.md +0 -23
  954. package/templates/skills/gitflow/references/init-workspace-detection.md +0 -43
  955. package/templates/skills/gitflow/references/merge-ci-status.md +0 -36
  956. package/templates/skills/gitflow/references/merge-execution.md +0 -62
  957. package/templates/skills/gitflow/references/merge-pr-context.md +0 -76
  958. package/templates/skills/gitflow/references/plan-template.md +0 -69
  959. package/templates/skills/gitflow/references/pr-build-checks.md +0 -60
  960. package/templates/skills/gitflow/references/pr-generation.md +0 -58
  961. package/templates/skills/gitflow/references/start-branch-normalization.md +0 -28
  962. package/templates/skills/gitflow/references/start-efcore-preflight.md +0 -70
  963. package/templates/skills/gitflow/references/start-local-config.md +0 -113
  964. package/templates/skills/gitflow/references/start-worktree-creation.md +0 -50
  965. package/templates/skills/gitflow/references/sync-push-verify.md +0 -44
  966. package/templates/skills/gitflow/references/sync-rebase-conflicts.md +0 -38
  967. package/templates/skills/gitflow/steps/step-commit.md +0 -199
  968. package/templates/skills/gitflow/steps/step-finish.md +0 -147
  969. package/templates/skills/gitflow/steps/step-init.md +0 -230
  970. package/templates/skills/gitflow/steps/step-merge.md +0 -85
  971. package/templates/skills/gitflow/steps/step-plan.md +0 -151
  972. package/templates/skills/gitflow/steps/step-pr.md +0 -247
  973. package/templates/skills/gitflow/steps/step-start.md +0 -195
  974. package/templates/skills/gitflow/steps/step-sync.md +0 -161
  975. package/templates/skills/gitflow/templates/config.json +0 -72
  976. package/templates/skills/mcp/SKILL.md +0 -62
  977. package/templates/skills/mcp/steps/step-01-healthcheck.md +0 -108
  978. package/templates/skills/mcp/steps/step-02-tools.md +0 -73
  979. package/templates/skills/migrate/SKILL.md +0 -312
  980. package/templates/skills/migrate/references/v3.34-to-v3.46.md +0 -289
  981. package/templates/skills/notification/SKILL.md +0 -173
  982. package/templates/skills/refactor/SKILL.md +0 -56
  983. package/templates/skills/refactor/steps/step-01-discover.md +0 -60
  984. package/templates/skills/refactor/steps/step-02-execute.md +0 -67
  985. package/templates/skills/review-code/SKILL.md +0 -95
  986. package/templates/skills/review-code/references/clean-code-principles.md +0 -292
  987. package/templates/skills/review-code/references/code-quality-metrics.md +0 -174
  988. package/templates/skills/review-code/references/feedback-patterns.md +0 -149
  989. package/templates/skills/review-code/references/owasp-api-top10.md +0 -243
  990. package/templates/skills/review-code/references/security-checklist.md +0 -212
  991. package/templates/skills/review-code/references/smartstack-conventions.md +0 -568
  992. package/templates/skills/review-code/steps/step-01-smartstack.md +0 -96
  993. package/templates/skills/review-code/steps/step-02-detailed-review.md +0 -80
  994. package/templates/skills/review-code/steps/step-03-react.md +0 -44
  995. package/templates/skills/sketch/SKILL.md +0 -34
  996. package/templates/skills/ui-components/accessibility.md +0 -170
  997. package/templates/skills/ui-components/patterns/dashboard-chart.md +0 -327
  998. package/templates/skills/ui-components/patterns/data-table.md +0 -175
  999. package/templates/skills/ui-components/patterns/entity-card.md +0 -77
  1000. package/templates/skills/ui-components/patterns/grid-layout.md +0 -91
  1001. package/templates/skills/ui-components/patterns/kanban.md +0 -43
  1002. package/templates/skills/ui-components/references/component-catalog.md +0 -82
  1003. package/templates/skills/ui-components/responsive-guidelines.md +0 -278
  1004. package/templates/skills/ui-components/style-guide.md +0 -113
  1005. package/templates/skills/validate/SKILL.md +0 -181
  1006. package/templates/skills/workflow/SKILL.md +0 -196
  1007. package/templates/skills/workflow/steps/step-00-init.md +0 -57
  1008. package/templates/skills/workflow/steps/step-01-implementation.md +0 -84
@@ -1,35 +1,29 @@
1
1
  <!DOCTYPE html>
2
+ <!--
3
+ AUTO-GENERATED by scripts/generate-docs — do not edit by hand.
4
+ Edit docs-src/business-analyse.md (or templates/skills/<skill>/SKILL.md for skill data)
5
+ and run `npm run build:docs`. CI enforces drift via `npm run docs:check`.
6
+ -->
2
7
  <html lang="fr">
3
8
  <head>
4
9
  <meta charset="UTF-8">
5
10
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <title>Business Analyse - SmartStack CLI</title>
11
+ <title>Business Analyse — pipeline complet - SmartStack CLI</title>
7
12
  <link rel="stylesheet" href="css/styles.css">
8
13
  </head>
9
14
  <body>
10
15
  <div class="app-container">
11
- <!-- Global Header -->
16
+ <!-- Global Header (single unified element) -->
12
17
  <header class="global-header">
13
18
  <div class="logo">SS</div>
14
19
  <span class="site-title">SmartStack CLI</span>
15
- <span class="version-badge">v3.34.0</span>
20
+ <span class="version-badge">v5.0.0</span>
16
21
  <div class="header-divider"></div>
17
22
  <span class="page-title">Business Analyse</span>
18
- <nav class="breadcrumb">
19
- <a href="index.html">
20
- <span data-lang="fr">Accueil</span>
21
- <span data-lang="en">Home</span>
22
- </a>
23
- <span class="breadcrumb-separator">&#8250;</span>
24
- <span data-lang="fr">Workflows</span>
25
- <span data-lang="en">Workflows</span>
26
- <span class="breadcrumb-separator">&#8250;</span>
27
- <span class="breadcrumb-current">Business Analyse v6.0</span>
28
- </nav>
29
23
  <!-- Language Select -->
30
24
  <select class="lang-select" id="lang-select" onchange="setLanguage(this.value); localStorage.setItem('doc-language', this.value);">
31
- <option value="fr">FR</option>
32
- <option value="en">EN</option>
25
+ <option value="fr">🇫🇷 FR</option>
26
+ <option value="en">🇬🇧 EN</option>
33
27
  </select>
34
28
  <!-- Search -->
35
29
  <div class="header-search">
@@ -46,1601 +40,422 @@
46
40
  <!-- Sidebar -->
47
41
  <aside class="sidebar">
48
42
  <button class="sidebar-toggle" title="Toggle sidebar">
49
- <span class="toggle-icon-collapse">&#171;</span>
50
- <span class="toggle-icon-expand">&#187;</span>
43
+ <span class="toggle-icon-collapse">«</span>
44
+ <span class="toggle-icon-expand">»</span>
51
45
  </button>
52
46
 
53
47
  <nav class="sidebar-nav">
54
48
  <div class="nav-section">
55
49
  <div class="nav-section-title">
56
- <span data-lang="fr">Demarrage</span>
57
- <span data-lang="en">Getting Started</span>
50
+ <span data-lang="fr">Démarrage</span><span data-lang="en">Getting Started</span>
58
51
  </div>
59
52
  <a href="index.html" class="nav-item">
60
- <span class="icon">&#127968;</span>
61
- <span class="nav-text" data-lang="fr">Accueil</span>
62
- <span class="nav-text" data-lang="en">Home</span>
53
+ <span class="icon">🏠</span>
54
+ <span class="nav-text" data-lang="fr">Accueil</span><span class="nav-text" data-lang="en">Home</span>
63
55
  </a>
64
56
  <a href="installation.html" class="nav-item">
65
- <span class="icon">&#128230;</span>
66
- <span class="nav-text">Installation</span>
67
- </a>
68
- <a href="license.html" class="nav-item">
69
- <span class="icon">&#128274;</span>
70
- <span class="nav-text" data-lang="fr">Licence</span>
71
- <span class="nav-text" data-lang="en">License</span>
57
+ <span class="icon">📦</span>
58
+ <span class="nav-text" data-lang="fr">Installation</span><span class="nav-text" data-lang="en">Installation</span>
72
59
  </a>
73
60
  <a href="init.html" class="nav-item">
74
- <span class="icon">&#128640;</span>
75
- <span class="nav-text">Projet Client</span>
61
+ <span class="icon">🚀</span>
62
+ <span class="nav-text" data-lang="fr">Projet Client</span><span class="nav-text" data-lang="en">Client Project</span>
63
+ </a>
64
+ <a href="license.html" class="nav-item">
65
+ <span class="icon">🔐</span>
66
+ <span class="nav-text" data-lang="fr">Licence</span><span class="nav-text" data-lang="en">License</span>
76
67
  </a>
77
68
  </div>
78
-
79
69
  <div class="nav-section">
80
- <div class="nav-section-title">Workflows</div>
70
+ <div class="nav-section-title">
71
+ <span data-lang="fr">Workflows</span><span data-lang="en">Workflows</span>
72
+ </div>
81
73
  <a href="gitflow.html" class="nav-item">
82
- <span class="icon">&#128256;</span>
83
- <span class="nav-text">GitFlow</span>
74
+ <span class="icon">🔀</span>
75
+ <span class="nav-text" data-lang="fr">GitFlow</span><span class="nav-text" data-lang="en">GitFlow</span>
84
76
  </a>
85
77
  <a href="efcore.html" class="nav-item">
86
- <span class="icon">&#128452;</span>
87
- <span class="nav-text">EF Core</span>
78
+ <span class="icon">🗄️</span>
79
+ <span class="nav-text" data-lang="fr">EF Core</span><span class="nav-text" data-lang="en">EF Core</span>
88
80
  </a>
89
- <a href="ralph-loop.html" class="nav-item">
90
- <span class="icon">&#128260;</span>
91
- <span class="nav-text">Ralph Loop</span>
81
+ <a href="business-analyse.html" class="nav-item active">
82
+ <span class="icon">📊</span>
83
+ <span class="nav-text" data-lang="fr">Business Analyse</span><span class="nav-text" data-lang="en">Business Analysis</span>
92
84
  </a>
93
- <a href="apex.html" class="nav-item">
94
- <span class="icon">&#9881;</span>
95
- <span class="nav-text">APEX</span>
85
+ <a href="ba-develop.html" class="nav-item nav-item-child">
86
+ <span class="icon">⚙️</span>
87
+ <span class="nav-text" data-lang="fr">BA Develop</span><span class="nav-text" data-lang="en">BA Develop</span>
88
+ </a>
89
+ <a href="ralph-loop.html" class="nav-item">
90
+ <span class="icon">🔄</span>
91
+ <span class="nav-text" data-lang="fr">Ralph Loop</span><span class="nav-text" data-lang="en">Ralph Loop</span>
96
92
  </a>
97
- <div class="nav-item-with-toc">
98
- <a href="business-analyse.html" class="active">
99
- <span class="icon">&#128202;</span>
100
- <span class="nav-text">Business Analyse</span>
101
- <button class="toc-toggle">&#9654;</button>
102
- </a>
103
- <nav class="sidebar-toc">
104
- <a href="#introduction" class="sidebar-toc-link">Introduction</a>
105
- <a href="#architecture" class="sidebar-toc-link">
106
- <span data-lang="fr">Architecture (4-Niveaux)</span>
107
- <span data-lang="en">Architecture (4-Level Hierarchy)</span>
108
- </a>
109
- <a href="#quick-start" class="sidebar-toc-link">Quick Start</a>
110
- <a href="#use-cases" class="sidebar-toc-link">
111
- <span data-lang="fr">5 Cas d'usage</span>
112
- <span data-lang="en">5 Use Cases</span>
113
- </a>
114
- <a href="#flags" class="sidebar-toc-link">
115
- <span data-lang="fr">Flags &amp; Modes</span>
116
- <span data-lang="en">Flags &amp; Modes</span>
117
- </a>
118
- <a href="#workflow" class="sidebar-toc-link">Workflow</a>
119
- <a href="#step-00" class="sidebar-toc-link">00. Init</a>
120
- <a href="#step-01" class="sidebar-toc-link">01. Cadrage</a>
121
- <a href="#step-02" class="sidebar-toc-link">02. Decomposition</a>
122
- <a href="#step-03" class="sidebar-toc-link">03. Specify (Per-Module)</a>
123
- <a href="#step-04" class="sidebar-toc-link">04. Consolidation</a>
124
- <a href="#step-05" class="sidebar-toc-link">05. Handoff</a>
125
- <a href="#step-06" class="sidebar-toc-link">06. Extract</a>
126
- <a href="#companion-skills" class="sidebar-toc-link">
127
- <span data-lang="fr">Skills complementaires</span>
128
- <span data-lang="en">Companion Skills</span>
129
- </a>
130
- <a href="#schemas" class="sidebar-toc-link">Schemas</a>
131
- <a href="#agents" class="sidebar-toc-link">Agents</a>
132
- <a href="#ids-refs" class="sidebar-toc-link">
133
- <span data-lang="fr">IDs &amp; Refs</span>
134
- <span data-lang="en">IDs &amp; Cross-References</span>
135
- </a>
136
- <a href="#output" class="sidebar-toc-link">
137
- <span data-lang="fr">Sorties</span>
138
- <span data-lang="en">Output</span>
139
- </a>
140
- <a href="#versioning" class="sidebar-toc-link">Versioning</a>
141
- </nav>
142
- </div>
143
93
  </div>
144
-
145
94
  <div class="nav-section">
146
95
  <div class="nav-section-title">
147
- <span data-lang="fr">Outils</span>
148
- <span data-lang="en">Tools</span>
96
+ <span data-lang="fr">Annuaire</span><span data-lang="en">Directory</span>
149
97
  </div>
98
+ <a href="commands.html" class="nav-item">
99
+ <span class="icon">⚡</span>
100
+ <span class="nav-text" data-lang="fr">Commandes Claude</span><span class="nav-text" data-lang="en">Claude Commands</span>
101
+ </a>
150
102
  <a href="cli-commands.html" class="nav-item">
151
- <span class="icon">&#128187;</span>
152
- <span class="nav-text" data-lang="fr">CLI SmartStack</span>
153
- <span class="nav-text" data-lang="en">SmartStack CLI</span>
103
+ <span class="icon">💻</span>
104
+ <span class="nav-text" data-lang="fr">CLI SmartStack</span><span class="nav-text" data-lang="en">SmartStack CLI</span>
154
105
  </a>
155
- <a href="agents.html" class="nav-item">
156
- <span class="icon">&#129302;</span>
157
- <span class="nav-text">Agents</span>
106
+ <a href="ba-skills.html" class="nav-item">
107
+ <span class="icon">📋</span>
108
+ <span class="nav-text" data-lang="fr">Skills BA</span><span class="nav-text" data-lang="en">BA Skills</span>
158
109
  </a>
159
- <a href="commands.html" class="nav-item">
160
- <span class="icon">&#9889;</span>
161
- <span class="nav-text" data-lang="fr">Commandes Claude</span>
162
- <span class="nav-text" data-lang="en">Claude Commands</span>
110
+ <a href="agents.html" class="nav-item">
111
+ <span class="icon">🤖</span>
112
+ <span class="nav-text" data-lang="fr">Agents</span><span class="nav-text" data-lang="en">Agents</span>
163
113
  </a>
164
114
  <a href="hooks.html" class="nav-item">
165
- <span class="icon">&#128279;</span>
166
- <span class="nav-text">Hooks</span>
167
- </a>
168
- <a href="test-web.html" class="nav-item">
169
- <span class="icon">&#127760;</span>
170
- <span class="nav-text">Test Web</span>
115
+ <span class="icon">🔗</span>
116
+ <span class="nav-text" data-lang="fr">Hooks</span><span class="nav-text" data-lang="en">Hooks</span>
171
117
  </a>
172
118
  </div>
173
119
  </nav>
120
+
174
121
  </aside>
175
122
 
176
- <!-- Main Content -->
177
123
  <main class="main-content">
178
- <div class="content-full">
179
-
180
- <!-- ============================================ -->
181
- <!-- INTRODUCTION -->
182
- <!-- ============================================ -->
183
- <section id="introduction">
184
- <h2>Introduction</h2>
185
- <p data-lang="fr">
186
- Le skill <strong>Business Analyse v6.0</strong> est un workflow en <strong>7 etapes</strong> qui transforme un besoin utilisateur en specification fonctionnelle complete avec support iteratif multi-module. La v6.0 ajoute un document HTML interactif pour la revue client et un pipeline d'extraction (<code>-x</code>) pour re-importer les modifications.
187
- </p>
188
- <p data-lang="en">
189
- The <strong>Business Analyse v6.0</strong> skill is a <strong>7-step</strong> workflow that transforms a user need into a complete functional specification with iterative multi-module support. v6.0 adds an interactive HTML document for client review and an extraction pipeline (<code>-x</code>) to re-import modifications.
190
- </p>
191
-
192
- <div class="alert alert-success">
193
- <span class="alert-icon">✓</span>
194
- <div class="alert-content">
195
- <h5 data-lang="fr">Ameliorations recentes (v3.30-31)</h5>
196
- <h5 data-lang="en">Recent Improvements (v3.30-31)</h5>
197
- <ul>
198
- <li data-lang="fr"><strong>v3.31.0</strong> - Correction deadlock agent team : agents pouvaient entrer en attente infinie lors de l'adhesion a des teams obsoletes</li>
199
- <li data-lang="en"><strong>v3.31.0</strong> - Team agent deadlock fix: agents could enter infinite wait when joining stale teams</li>
200
- <li data-lang="fr"><strong>v3.30.0</strong> - Mode detection guards : agents team evitent les AskUserQuestion qui causaient des crashes en mode auto</li>
201
- <li data-lang="en"><strong>v3.30.0</strong> - Mode detection guards: team agents avoid AskUserQuestion which would crash in auto mode</li>
202
- <li data-lang="fr">Gestion robuste du cycle de vie des agents team avec protocole d'arret gracieux</li>
203
- <li data-lang="en">Robust team agent lifecycle management with graceful shutdown protocol</li>
204
- </ul>
205
- </div>
206
- </div>
207
-
208
- <h4 data-lang="fr">7 Etapes du workflow</h4>
209
- <h4 data-lang="en">7 Workflow Steps</h4>
210
- <ol class="steps-list">
211
- <li>
212
- <strong>Init</strong> - Detecte le mode (application vs module), cree feature.json initial
213
- </li>
214
- <li>
215
- <strong>Cadrage</strong> - Analyse applicative : probleme, stakeholders, scope, roles (applicationRoles)
216
- </li>
217
- <li>
218
- <strong>Decomposition</strong> - Decompose l'application en modules, dependances, graphe topologique
219
- </li>
220
- <li>
221
- <strong>Specify (Per-Module)</strong> - Specification iterative de chaque module en ordre de dependance
222
- </li>
223
- <li>
224
- <strong>Consolidation</strong> - Validation cross-module, coherence des permissions et entites partagees
225
- </li>
226
- <li>
227
- <strong>Handoff</strong> - Mapping des fichiers par module, extraction programmatique prd.json via <code>ss derive-prd</code>, deploiement HTML interactif
228
- </li>
229
- <li>
230
- <strong>Extract</strong> - Import depuis l'export JSON du HTML interactif (<code>-x</code>), mapping vers feature.json
231
- </li>
232
- </ol>
233
-
234
- <h4 data-lang="fr">Navigation hierarchique (4 niveaux)</h4>
235
- <h4 data-lang="en">Hierarchical Navigation (4 Levels)</h4>
236
- <div class="code-block">
237
- <button class="copy-btn">Copy</button>
238
- <pre><code>Application Module Section Resource
239
-
240
- Exemple:
241
- - Application: "OrderManagement"
242
- - Module: "Checkout"
243
- - Section: "ShoppingCart" (page React)
244
- - Resource: "CartItem" (composant React)</code></pre>
245
- </div>
246
-
247
- <div class="alert alert-warning">
248
- <span class="alert-icon">&#9888;</span>
249
- <div class="alert-content">
250
- <h5 data-lang="fr">Architecture multi-niveaux</h5>
251
- <h5 data-lang="en">Multi-level Architecture</h5>
252
- <p data-lang="fr">
253
- Deux fichiers de schema : <strong>application-schema.json</strong> (master, cadrage et modules) et <strong>feature-schema.json</strong> (par module, specification).
254
- </p>
255
- <p data-lang="en">
256
- Two schema files: <strong>application-schema.json</strong> (master, framing and modules) and <strong>feature-schema.json</strong> (per-module, specification).
257
- </p>
258
- </div>
259
- </div>
260
-
261
- <div class="alert alert-info">
262
- <span class="alert-icon">&#128202;</span>
263
- <div class="alert-content">
264
- <h5 data-lang="fr">2 Agents specialises</h5>
265
- <h5 data-lang="en">2 Specialized Agents</h5>
266
- <p data-lang="fr">
267
- <strong>ba-reader</strong> : lecture, recherche de features, validation des references croisees.
268
- <strong>ba-writer</strong> : creation, enrichissement, validation du schema, verification post-ecriture.
269
- </p>
270
- <p data-lang="en">
271
- <strong>ba-reader</strong>: read, search features, validate cross-references.
272
- <strong>ba-writer</strong>: create, enrich, schema validation, post-write verification.
273
- </p>
274
- </div>
275
- </div>
276
-
277
- <div class="alert alert-success">
278
- <span class="alert-icon">&#128202;</span>
279
- <div class="alert-content">
280
- <h5 data-lang="fr">prd.json programmatique</h5>
281
- <h5 data-lang="en">Programmatic prd.json</h5>
282
- <p data-lang="fr">
283
- Le fichier <code>prd.json</code> n'est JAMAIS genere par l'LLM. Il est extrait programmatiquement par <code>ss derive-prd</code> a partir du feature.json final, garantissant coherence et tracabilite.
284
- </p>
285
- <p data-lang="en">
286
- The <code>prd.json</code> file is NEVER generated by the LLM. It is extracted programmatically by <code>ss derive-prd</code> from the final feature.json, ensuring consistency and traceability.
287
- </p>
288
- </div>
289
- </div>
290
- </section>
291
-
292
- <!-- ============================================ -->
293
- <!-- ARCHITECTURE (4-LEVEL HIERARCHY) -->
294
- <!-- ============================================ -->
295
- <section id="architecture">
296
- <h2>
297
- <span data-lang="fr">Architecture (Hierarchie 4-Niveaux)</span>
298
- <span data-lang="en">Architecture (4-Level Hierarchy)</span>
299
- </h2>
300
-
301
- <p data-lang="fr">
302
- La v6.0 utilise une hierarchie 4 niveaux (Application → Module → Section → Resource) pour naviguer les applications multi-modules. Deux fichiers JSON (master application + per-module) garantissent la tracabilite et la coherence cross-module.
303
- </p>
304
- <p data-lang="en">
305
- v6.0 uses a 4-level hierarchy (Application → Module → Section → Resource) to navigate multi-module applications. Two JSON files (master application + per-module) ensure traceability and cross-module coherence.
306
- </p>
307
-
308
- <h4 data-lang="fr">Structure de repertoires</h4>
309
- <h4 data-lang="en">Directory Structure</h4>
310
-
311
- <div class="code-block">
312
- <button class="copy-btn">Copy</button>
313
- <pre><code>docs/business/{app}/business-analyse/
314
- ├── v1.0/
315
- │ ├── feature.json ← MASTER (application-level)
316
- │ │ includes: cadrage, moduleRegistry, dependencyGraph
317
- │ └── README.md ← Overview
318
-
319
- ├── {module-name}/
320
- │ └── v1.0/
321
- │ ├── feature.json ← PER-MODULE (feature-schema.json)
322
- │ │ includes: specification, validation, handoff
323
- │ └── README.md
324
-
325
- └── .ralph/
326
- ├── prd.json ← Extracted programmatically
327
- ├── progress.txt ← Tracker
328
- └── per-module/
329
- ├── checkout-handoff.json
330
- ├── payment-handoff.json
331
- └── ...</code></pre>
332
- </div>
333
-
334
- <h4 data-lang="fr">Deux schemas JSON</h4>
335
- <h4 data-lang="en">Two JSON Schemas</h4>
336
-
337
- <div class="table-container">
338
- <table class="reference-table">
339
- <thead>
340
- <tr>
341
- <th>Fichier</th>
342
- <th>
343
- <span data-lang="fr">Niveau</span>
344
- <span data-lang="en">Level</span>
345
- </th>
346
- <th>
347
- <span data-lang="fr">Contenu principal</span>
348
- <span data-lang="en">Main Content</span>
349
- </th>
350
- <th>
351
- <span data-lang="fr">Ecriture par</span>
352
- <span data-lang="en">Written by</span>
353
- </th>
354
- </tr>
355
- </thead>
356
- <tbody>
357
- <tr>
358
- <td><code>application-schema.json</code></td>
359
- <td>Master</td>
360
- <td>
361
- <span data-lang="fr">cadrage, applicationRoles, moduleRegistry[], dependencyGraph</span>
362
- <span data-lang="en">framing, applicationRoles, moduleRegistry[], dependencyGraph</span>
363
- </td>
364
- <td>Step 01-02</td>
365
- </tr>
366
- <tr>
367
- <td><code>feature-schema.json</code></td>
368
- <td>Per-Module</td>
369
- <td>
370
- <span data-lang="fr">specification, validation, handoff (entites, UC, BR, FR, wireframes)</span>
371
- <span data-lang="en">specification, validation, handoff (entities, UC, BR, FR, wireframes)</span>
372
- </td>
373
- <td>Step 03-05</td>
374
- </tr>
375
- </tbody>
376
- </table>
377
- </div>
378
-
379
- <h4 data-lang="fr">Coverage Matrix (tracabilite)</h4>
380
- <h4 data-lang="en">Coverage Matrix (Traceability)</h4>
381
-
382
- <p data-lang="fr">
383
- Chaque requirement original du cadrage doit etre trace a au moins 1 use case (UC), business rule (BR), ou functional requirement (FR).
384
- </p>
385
- <p data-lang="en">
386
- Each original requirement from framing must be traced to at least 1 use case (UC), business rule (BR), or functional requirement (FR).
387
- </p>
388
-
389
- <div class="code-block">
390
- <button class="copy-btn">Copy</button>
391
- <pre><code>"coverageMatrix": {
392
- "mustHave": [
393
- {
394
- "id": "REQ-001",
395
- "description": "Users can view their order history",
396
- "category": "core_feature",
397
- "tracedTo": ["UC-HIST-001", "FR-HIST-001"],
398
- "covered": true
399
- }
400
- ],
401
- "shouldHave": [...],
402
- "couldHave": [...]
403
- }</code></pre>
404
- </div>
405
- </section>
406
-
407
- <!-- ============================================ -->
408
- <!-- QUICK START -->
409
- <!-- ============================================ -->
410
- <section id="quick-start">
411
- <h2>Quick Start</h2>
412
-
413
- <div class="command-card">
414
- <div class="command-header">
415
- <code class="command-name">/business-analyse</code>
416
- <span class="badge badge-purple">SKILL</span>
417
- </div>
418
- <div class="command-body">
419
- <p data-lang="fr">
420
- Lancez l'analyse metier complete avec le nouveau workflow 6 etapes.
421
- </p>
422
- <p data-lang="en">
423
- Launch the complete business analysis with the new 6-step workflow.
424
- </p>
425
-
426
- <div class="code-block">
427
- <button class="copy-btn">Copy</button>
428
- <pre><code>/business-analyse [description] [flags]</code></pre>
429
- </div>
430
-
431
- <h4 data-lang="fr">Exemples rapides</h4>
432
- <h4 data-lang="en">Quick Examples</h4>
433
-
434
- <div class="code-block">
435
- <button class="copy-btn">Copy</button>
436
- <pre><code># Nouvelle application (workflow complet 6 etapes)
437
- /business-analyse Order management system
438
-
439
- # Question sur une application ou module
440
- /business-analyse -q FEAT-001 "What are the permission hierarchy?"
441
-
442
- # Refactoring (delta sur application existante)
443
- /business-analyse -r FEAT-001 "Add return management module"
444
-
445
- # Micro-feature (analyse minimale)
446
- /business-analyse -m Add a status field to orders
447
-
448
- # Extract depuis HTML interactif
449
- /business-analyse -x ./docs/business/MyApp/ba-export.json</code></pre>
450
- </div>
451
- </div>
452
- </div>
453
- </section>
454
-
455
- <!-- ============================================ -->
456
- <!-- 4 USE CASES -->
457
- <!-- ============================================ -->
458
- <section id="use-cases">
459
- <h2>
460
- <span data-lang="fr">5 Cas d'usage</span>
461
- <span data-lang="en">5 Use Cases</span>
462
- </h2>
463
-
464
- <div class="table-container">
465
- <table class="reference-table">
466
- <thead>
467
- <tr>
468
- <th>
469
- <span data-lang="fr">Cas d'usage</span>
470
- <span data-lang="en">Use Case</span>
471
- </th>
472
- <th>Flag</th>
473
- <th>
474
- <span data-lang="fr">Mode</span>
475
- <span data-lang="en">Mode</span>
476
- </th>
477
- <th>
478
- <span data-lang="fr">Parcours</span>
479
- <span data-lang="en">Flow</span>
480
- </th>
481
- </tr>
482
- </thead>
483
- <tbody>
484
- <tr>
485
- <td><strong data-lang="fr">Nouvelle application</strong><strong data-lang="en">New application</strong></td>
486
- <td><span data-lang="fr">(aucun)</span><span data-lang="en">(none)</span></td>
487
- <td><span data-lang="fr">application</span><span data-lang="en">application</span></td>
488
- <td>00 01 → 02 → 03[*N modules] → 04 → 05</td>
489
- </tr>
490
- <tr>
491
- <td><strong>Question</strong></td>
492
- <td><code>-q</code></td>
493
- <td><span data-lang="fr">lecture seule</span><span data-lang="en">read-only</span></td>
494
- <td>ba-reader.findFeature() → ba-reader.readSection() → EXIT</td>
495
- </tr>
496
- <tr>
497
- <td><strong>Refactoring</strong></td>
498
- <td><code>-r</code></td>
499
- <td><span data-lang="fr">delta application</span><span data-lang="en">delta application</span></td>
500
- <td>00 (delta) 01 02 03[*N modules] 04 05</td>
501
- </tr>
502
- <tr>
503
- <td><strong>Micro-feature</strong></td>
504
- <td><code>-m</code></td>
505
- <td><span data-lang="fr">module simple</span><span data-lang="en">simple module</span></td>
506
- <td>00 (micro) 01 (lite) 02 (skip) 03 (minimal) 04 (auto) 05</td>
507
- </tr>
508
- <tr>
509
- <td><strong>Extract</strong></td>
510
- <td><code>-x</code></td>
511
- <td><span data-lang="fr">import HTML interactif</span><span data-lang="en">interactive HTML import</span></td>
512
- <td>00 → 06 (extract) → <span data-lang="fr">choix</span><span data-lang="en">choice</span> (01 | 05 | EXIT)</td>
513
- </tr>
514
- </tbody>
515
- </table>
516
- </div>
517
- </section>
518
-
519
- <!-- ============================================ -->
520
- <!-- FLAGS & MODES -->
521
- <!-- ============================================ -->
522
- <section id="flags">
523
- <h2>Flags &amp; Modes</h2>
524
-
525
- <div class="table-container">
526
- <table class="reference-table">
527
- <thead>
528
- <tr>
529
- <th>Flag</th>
530
- <th>
531
- <span data-lang="fr">Effet</span>
532
- <span data-lang="en">Effect</span>
533
- </th>
534
- <th>
535
- <span data-lang="fr">Par defaut</span>
536
- <span data-lang="en">Default</span>
537
- </th>
538
- </tr>
539
- </thead>
540
- <tbody>
541
- <tr>
542
- <td><code>-q, --question</code></td>
543
- <td>
544
- <span data-lang="fr">Mode lecture seule (ba-reader)</span>
545
- <span data-lang="en">Read-only mode (ba-reader)</span>
546
- </td>
547
- <td>false</td>
548
- </tr>
549
- <tr>
550
- <td><code>-r, --refactor</code></td>
551
- <td>
552
- <span data-lang="fr">Creer version delta (v1.1)</span>
553
- <span data-lang="en">Create delta version (v1.1)</span>
554
- </td>
555
- <td>false</td>
556
- </tr>
557
- <tr>
558
- <td><code>-m, --micro</code></td>
559
- <td>
560
- <span data-lang="fr">Analyse minimale pour micro-feature</span>
561
- <span data-lang="en">Minimal analysis for micro-feature</span>
562
- </td>
563
- <td>false</td>
564
- </tr>
565
- <tr>
566
- <td><code>-x, --extract</code></td>
567
- <td>
568
- <span data-lang="fr">Importer depuis l'export JSON du HTML interactif</span>
569
- <span data-lang="en">Import from interactive HTML JSON export</span>
570
- </td>
571
- <td>false</td>
572
- </tr>
573
- <tr>
574
- <td><code>--economy-mode</code></td>
575
- <td>
576
- <span data-lang="fr">Haiku partout, moins de context</span>
577
- <span data-lang="en">Haiku everywhere, less context</span>
578
- </td>
579
- <td>false</td>
580
- </tr>
581
- <tr>
582
- <td><code>--mcp-available</code></td>
583
- <td>
584
- <span data-lang="fr">Valider avec SmartStack.mcp</span>
585
- <span data-lang="en">Validate with SmartStack.mcp</span>
586
- </td>
587
- <td>false</td>
588
- </tr>
589
- </tbody>
590
- </table>
591
- </div>
592
- </section>
593
-
594
- <!-- ============================================ -->
595
- <!-- WORKFLOW (6 STEPS) -->
596
- <!-- ============================================ -->
597
- <section id="workflow">
598
- <h2>Workflow (7 Etapes)</h2>
599
-
600
- <p data-lang="fr">
601
- Le workflow v6.0 combine decouverte, decomposition, specification iterative et consolidation cross-module. Chaque etape enrichit progressivement le feature.json.
602
- </p>
603
- <p data-lang="en">
604
- The v6.0 workflow combines discovery, decomposition, iterative specification and cross-module consolidation. Each step progressively enriches the feature.json.
605
- </p>
606
- </section>
607
-
608
- <!-- ============================================ -->
609
- <!-- STEP 00 - INIT -->
610
- <!-- ============================================ -->
611
- <section id="step-00">
612
- <h3>00. Init</h3>
613
-
614
- <p data-lang="fr">
615
- Detecte le mode d'execution (application vs module), cree le fichier feature.json initial avec metadata et configuration.
616
- </p>
617
- <p data-lang="en">
618
- Detects execution mode (application vs module), creates initial feature.json with metadata and configuration.
619
- </p>
620
-
621
- <h4 data-lang="fr">Actions</h4>
622
- <h4 data-lang="en">Actions</h4>
623
- <ul>
624
- <li data-lang="fr">Lire config de projet + detecter contexte</li>
625
- <li data-lang="en">Read project config + detect context</li>
626
- <li data-lang="fr">Mode application : creer master feature.json avec schema application-schema.json</li>
627
- <li data-lang="en">Application mode: create master feature.json with application-schema.json</li>
628
- <li data-lang="fr">Mode module : creer feature.json single avec schema feature-schema.json</li>
629
- <li data-lang="en">Module mode: create single feature.json with feature-schema.json</li>
630
- <li data-lang="fr">Initialiser metadata et premiere section</li>
631
- <li data-lang="en">Initialize metadata and first section</li>
632
- </ul>
633
- </section>
634
-
635
- <!-- ============================================ -->
636
- <!-- STEP 01 - CADRAGE -->
637
- <!-- ============================================ -->
638
- <section id="step-01">
639
- <h3>01. Cadrage</h3>
640
-
641
- <p data-lang="fr">
642
- Analyse applicative au niveau master : probleme, stakeholders, scope, roles, risques. Definit les <code>applicationRoles</code> (admin, manager, contributor, viewer).
643
- </p>
644
- <p data-lang="en">
645
- Application-level framing: problem, stakeholders, scope, roles, risks. Defines <code>applicationRoles</code> (admin, manager, contributor, viewer).
646
- </p>
647
-
648
- <h4 data-lang="fr">Actions</h4>
649
- <h4 data-lang="en">Actions</h4>
650
- <ul>
651
- <li data-lang="fr">AskUserQuestion (max 4 par batch) pour decouvrir besoin metier</li>
652
- <li data-lang="en">AskUserQuestion (max 4 per batch) to discover business need</li>
653
- <li data-lang="fr">Definir 4-tier applicationRoles : admin, manager, contributor, viewer</li>
654
- <li data-lang="en">Define 4-tier applicationRoles: admin, manager, contributor, viewer</li>
655
- <li data-lang="fr">Suggestions proactives depuis catalog</li>
656
- <li data-lang="en">Proactive suggestions from catalog</li>
657
- <li data-lang="fr">Analyse des risques (securite, performance, complexite)</li>
658
- <li data-lang="en">Risk analysis (security, performance, complexity)</li>
659
- <li data-lang="fr">Creer COVERAGE MATRIX (obligatoire) : trace chaque requirement a une UC/BR/FR</li>
660
- <li data-lang="en">Create COVERAGE MATRIX (mandatory): trace each requirement to a UC/BR/FR</li>
661
- </ul>
662
-
663
- <div class="alert alert-warning">
664
- <span class="alert-icon">&#9888;</span>
665
- <div class="alert-content">
666
- <h5 data-lang="fr">Coverage Matrix obligatoire</h5>
667
- <h5 data-lang="en">Coverage Matrix Mandatory</h5>
668
- <p data-lang="fr">
669
- Chaque requirement doit avoir at least une trace cross-reference. La matrice est validee a l'etape 04 (Consolidation).
670
- </p>
671
- <p data-lang="en">
672
- Each requirement must have at least one trace cross-reference. Matrix is validated in step 04 (Consolidation).
673
- </p>
674
- </div>
675
- </div>
676
- </section>
677
-
678
- <!-- ============================================ -->
679
- <!-- STEP 02 - DECOMPOSITION -->
680
- <!-- ============================================ -->
681
- <section id="step-02">
682
- <h3>02. Decomposition</h3>
683
-
684
- <p data-lang="fr">
685
- Decompose l'application en modules interdependants. Construit le graphe de dependances avec tri topologique. Assigne priorite et complexite.
686
- </p>
687
- <p data-lang="en">
688
- Decomposes application into interdependent modules. Builds dependency graph with topological sort. Assigns priority and complexity.
689
- </p>
690
-
691
- <h4 data-lang="fr">Actions</h4>
692
- <h4 data-lang="en">Actions</h4>
693
- <ul>
694
- <li data-lang="fr">Splitter l'application en modules logiques</li>
695
- <li data-lang="en">Split application into logical modules</li>
696
- <li data-lang="fr">Determiner dependances inter-modules</li>
697
- <li data-lang="en">Determine inter-module dependencies</li>
698
- <li data-lang="fr">Construire dependencyGraph (tri topologique obligatoire)</li>
699
- <li data-lang="en">Build dependencyGraph (topological sort mandatory)</li>
700
- <li data-lang="fr">Assigner priorite (must/should/could) et complexite estimee</li>
701
- <li data-lang="en">Assign priority (must/should/could) and estimated complexity</li>
702
- <li data-lang="fr">Ecrire moduleRegistry dans master feature.json</li>
703
- <li data-lang="en">Write moduleRegistry in master feature.json</li>
704
- </ul>
705
-
706
- <div class="code-block">
707
- <button class="copy-btn">Copy</button>
708
- <pre><code>"dependencyGraph": {
709
- "modules": ["Checkout", "Payment", "Inventory", "Shipping"],
710
- "edges": [
711
- { "from": "Checkout", "to": "Payment", "type": "requires" },
712
- { "from": "Checkout", "to": "Inventory", "type": "requires" }
713
- ],
714
- "topologicalOrder": ["Inventory", "Checkout", "Payment", "Shipping"],
715
- "priorities": {
716
- "Inventory": "must",
717
- "Checkout": "must",
718
- "Payment": "must",
719
- "Shipping": "should"
720
- }
721
- }</code></pre>
722
- </div>
723
- </section>
724
-
725
- <!-- ============================================ -->
726
- <!-- STEP 03 - SPECIFY (PER-MODULE) -->
727
- <!-- ============================================ -->
728
- <section id="step-03">
729
- <h3>03. Specify (Per-Module Loop)</h3>
730
-
731
- <p data-lang="fr">
732
- Specification iterative de chaque module dans l'ordre topologique. Pour chaque module : sections, entites, regles metier, UC, FR, permissions, wireframes.
733
- </p>
734
- <p data-lang="en">
735
- Iterative specification of each module in topological order. For each module: sections, entities, business rules, UC, FR, permissions, wireframes.
736
- </p>
737
-
738
- <h4 data-lang="fr">Actions par module</h4>
739
- <h4 data-lang="en">Actions per module</h4>
740
- <ul>
741
- <li data-lang="fr"><strong>Sections &amp; Resources</strong> (Niveaux 4-5) : Section = page React, Resource = composant</li>
742
- <li data-lang="en"><strong>Sections &amp; Resources</strong> (Levels 4-5): Section = React page, Resource = component</li>
743
- <li data-lang="fr"><strong>Entites</strong> : tables metier, FK, indexes</li>
744
- <li data-lang="en"><strong>Entities</strong>: business tables, FK, indexes</li>
745
- <li data-lang="fr"><strong>Regles metier (BR)</strong> : format id BR-{CATEGORY}-{PREFIX}-{NNN}</li>
746
- <li data-lang="en"><strong>Business Rules (BR)</strong>: format id BR-{CATEGORY}-{PREFIX}-{NNN}</li>
747
- <li data-lang="fr"><strong>Cas d'usage (UC)</strong> : format id UC-{PREFIX}-{NNN}</li>
748
- <li data-lang="en"><strong>Use Cases (UC)</strong>: format id UC-{PREFIX}-{NNN}</li>
749
- <li data-lang="fr"><strong>Exigences fonctionnelles (FR)</strong> : format id FR-{PREFIX}-{NNN}</li>
750
- <li data-lang="en"><strong>Functional Requirements (FR)</strong>: format id FR-{PREFIX}-{NNN}</li>
751
- <li data-lang="fr"><strong>Wireframes structurels</strong> : ASCII mockup + JSON layout</li>
752
- <li data-lang="en"><strong>Structural Wireframes</strong>: ASCII mockup + JSON layout</li>
753
- </ul>
754
-
755
- <h4 data-lang="fr">Verification de couverture</h4>
756
- <h4 data-lang="en">Coverage Verification</h4>
757
-
758
- <p data-lang="fr">
759
- Chaque requirement "mustHave" de la coverageMatrix doit avoir at least 1 UC qui la reference.
760
- </p>
761
- <p data-lang="en">
762
- Each "mustHave" requirement in coverageMatrix must have at least 1 UC that references it.
763
- </p>
764
- </section>
765
-
766
- <!-- ============================================ -->
767
- <!-- STEP 04 - CONSOLIDATION -->
768
- <!-- ============================================ -->
769
- <section id="step-04">
770
- <h3>04. Consolidation</h3>
771
-
772
- <p data-lang="fr">
773
- Validation cross-module (10 verifications semantiques). Coherence des permissions, entites partagees, mappage UC-FR.
774
- </p>
775
- <p data-lang="en">
776
- Cross-module validation (10 semantic checks). Permission coherence, shared entities, UC-FR mapping.
777
- </p>
778
-
779
- <h4 data-lang="fr">10 Verifications semantiques</h4>
780
- <h4 data-lang="en">10 Semantic Checks</h4>
781
-
782
- <ol>
783
- <li data-lang="fr">Permission orphans : roles utilises mais non definis dans applicationRoles</li>
784
- <li data-lang="en">Permission orphans: roles used but not defined in applicationRoles</li>
785
- <li data-lang="fr">UC-FR links : chaque UC doit avoir at least 1 FR</li>
786
- <li data-lang="en">UC-FR links: each UC must have at least 1 FR</li>
787
- <li data-lang="fr">Entity-endpoint mapping : chaque entite doit avoir CRUD endpoints</li>
788
- <li data-lang="en">Entity-endpoint mapping: each entity must have CRUD endpoints</li>
789
- <li data-lang="fr">BR consistency : chaque BR doit etre test dans un UC</li>
790
- <li data-lang="en">BR consistency: each BR must be tested in a UC</li>
791
- <li data-lang="fr">Cross-module entity refs : shared entities coherentes</li>
792
- <li data-lang="en">Cross-module entity refs: shared entities coherent</li>
793
- <li data-lang="fr">Permission hierarchy : no conflicts ou contraintes</li>
794
- <li data-lang="en">Permission hierarchy: no conflicts or constraints</li>
795
- <li data-lang="fr">E2E flows : workflows complets tracables</li>
796
- <li data-lang="en">E2E flows: complete workflows traceable</li>
797
- <li data-lang="fr">Coverage matrix completion : toutes requirements couverts</li>
798
- <li data-lang="en">Coverage matrix completion: all requirements covered</li>
799
- <li data-lang="fr">ID uniqueness : pas de collisions dans modules</li>
800
- <li data-lang="en">ID uniqueness: no collisions across modules</li>
801
- <li data-lang="fr">Schema validation : JSON Schema 2020-12 compliance</li>
802
- <li data-lang="en">Schema validation: JSON Schema 2020-12 compliance</li>
803
- </ol>
804
- </section>
805
-
806
- <!-- ============================================ -->
807
- <!-- STEP 05 - HANDOFF -->
808
- <!-- ============================================ -->
809
- <section id="step-05">
810
- <h3>05. Handoff</h3>
811
-
812
- <p data-lang="fr">
813
- Handoff final par module avec mapping de fichiers (7 categories). Extraction programmatique du prd.json via <code>ss derive-prd</code>.
814
- </p>
815
- <p data-lang="en">
816
- Final per-module handoff with file mapping (7 categories). Programmatic extraction of prd.json via <code>ss derive-prd</code>.
817
- </p>
818
-
819
- <h4 data-lang="fr">Actions</h4>
820
- <h4 data-lang="en">Actions</h4>
821
-
822
- <div class="table-container">
823
- <table class="reference-table">
824
- <thead>
825
- <tr>
826
- <th>
827
- <span data-lang="fr">Categorie</span>
828
- <span data-lang="en">Category</span>
829
- </th>
830
- <th>
831
- <span data-lang="fr">Fichiers</span>
832
- <span data-lang="en">Files</span>
833
- </th>
834
- </tr>
835
- </thead>
836
- <tbody>
837
- <tr>
838
- <td><strong>Domain</strong></td>
839
- <td>entities/, aggregates/, valueObjects/</td>
840
- </tr>
841
- <tr>
842
- <td><strong>Application</strong></td>
843
- <td>services/, handlers/, DTOs/</td>
844
- </tr>
845
- <tr>
846
- <td><strong>Infrastructure</strong></td>
847
- <td>repositories/, context/, migrations/</td>
848
- </tr>
849
- <tr>
850
- <td><strong>API</strong></td>
851
- <td>controllers/, endpoints/, auth/</td>
852
- </tr>
853
- <tr>
854
- <td><strong>Frontend</strong></td>
855
- <td>pages/, components/, hooks/</td>
856
- </tr>
857
- <tr>
858
- <td><strong>SeedData</strong></td>
859
- <td>Seeding/Data/{module}/</td>
860
- </tr>
861
- <tr>
862
- <td><strong>Tests</strong></td>
863
- <td>Tests/{module}/, Unit/, Integration/</td>
864
- </tr>
865
- </tbody>
866
- </table>
867
- </div>
868
-
869
- <h4 data-lang="fr">prd.json (extraction programmatique)</h4>
870
- <h4 data-lang="en">prd.json (Programmatic Extraction)</h4>
871
-
872
- <p data-lang="fr">
873
- Le fichier <code>.ralph/prd.json</code> est genere par <code>ss derive-prd feature.json</code> (NOT par l'LLM). Il contient le resume technique pour implementation.
874
- </p>
875
- <p data-lang="en">
876
- The <code>.ralph/prd.json</code> file is generated by <code>ss derive-prd feature.json</code> (NOT by LLM). It contains technical summary for implementation.
877
- </p>
878
-
879
- <div class="code-block">
880
- <button class="copy-btn">Copy</button>
881
- <pre><code>{
882
- "application": "OrderManagement",
883
- "version": "1.0",
884
- "modules": [
885
- {
886
- "name": "Checkout",
887
- "priority": "must",
888
- "entities": ["Order", "OrderLine", "Customer"],
889
- "useCases": ["UC-CHK-001", "UC-CHK-002"],
890
- "apiEndpoints": [
891
- "POST /api/orders",
892
- "GET /api/orders/{id}",
893
- "PUT /api/orders/{id}/confirm"
894
- ],
895
- "permissions": ["viewer", "contributor"]
896
- }
897
- ]
898
- }</code></pre>
899
- </div>
900
-
901
- <h4 data-lang="fr">Document HTML interactif</h4>
902
- <h4 data-lang="en">Interactive HTML Document</h4>
124
+ <div class="content content-wide">
125
+ <nav class="breadcrumb">
126
+ <span class="breadcrumb-item"><span data-lang="fr">Workflows</span><span data-lang="en">Workflows</span></span>
127
+ <span class="breadcrumb-sep">›</span>
128
+ <span class="breadcrumb-item current"><span data-lang="fr">Business Analyse</span><span data-lang="en">Business Analysis</span></span>
129
+
130
+ </nav>
131
+ <h1><span data-lang="fr">Pipeline Business Analyse — 23 skills</span><span data-lang="en">Business Analysis pipeline — 23 skills</span></h1>
132
+ <p><span data-lang="fr">SmartStack v5 introduit un pipeline d&#39;analyse métier complet, basé sur des fichiers markdown sous <code>.smartstack/ba/</code>. Aucune base de données, aucune dépendance MCP, aucun envelope JSON : tout est lisible, diff-able et committable.</span>
133
+ <span data-lang="en">SmartStack v5 ships a complete business analysis pipeline backed by markdown files under <code>.smartstack/ba/</code>. No database, no MCP dependency, no JSON envelopes: everything is readable, diff-able and committable.</span></p>
134
+ <h2><span data-lang="fr">Pipeline en un coup d&#39;œil</span><span data-lang="en">Pipeline at a glance</span></h2>
135
+ <p><span data-lang="fr">8 phases séquentielles (7 phases métier + 1 synthèse PRD). Chaque phase a son audit dédié qui doit passer avant la suivante ; l&#39;audit final <code>/ba-audit-prd</code> émet le verdict <strong>GO / NO-GO</strong> qui débloque (ou bloque) <code>/ba-develop</code>.</span>
136
+ <span data-lang="en">8 sequential phases (7 business phases + 1 PRD synthesis). Each phase has its dedicated audit that must pass before the next one; the final <code>/ba-audit-prd</code> audit emits the <strong>GO / NO-GO</strong> verdict that unblocks (or blocks) <code>/ba-develop</code>.</span></p>
137
+ <div class="svg-diagram">
138
+ <svg viewBox="0 0 820 540" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="Business analysis pipeline 8 phases">
139
+ <defs>
140
+ <marker id="bp-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto">
141
+ <path d="M0,0 L10,5 L0,10 z" fill="#475569"/>
142
+ </marker>
143
+ <marker id="bp-arrow-go" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto">
144
+ <path d="M0,0 L10,5 L0,10 z" fill="#22c55e"/>
145
+ </marker>
146
+ </defs>
147
+ <!-- Column headers -->
148
+ <text x="180" y="22" text-anchor="middle" fill="#818cf8" font-family="Inter,sans-serif" font-size="12" font-weight="600">create / define</text>
149
+ <text x="520" y="22" text-anchor="middle" fill="#06b6d4" font-family="Inter,sans-serif" font-size="12" font-weight="600">audit</text>
150
+ <text x="740" y="22" text-anchor="middle" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="12" font-weight="600">writes</text>
151
+ <!-- Phases (rows) -->
152
+ <!-- 1 -->
153
+ <rect x="50" y="40" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
154
+ <text x="65" y="58" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">1 · Menu</text>
155
+ <text x="65" y="72" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-menu</text>
156
+ <line x1="310" y1="60" x2="370" y2="60" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
157
+ <rect x="370" y="40" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
158
+ <text x="385" y="58" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">MENU-001..005 · SEC-001..006 · XAPP-001..003</text>
159
+ <text x="385" y="72" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-menu + /ba-audit-sections</text>
160
+ <text x="675" y="58" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">index.md tree</text>
161
+ <text x="675" y="72" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="9">App / Module / Section / Resource</text>
162
+ <!-- 2 -->
163
+ <rect x="50" y="90" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
164
+ <text x="65" y="108" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">2 · Actors</text>
165
+ <text x="65" y="122" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-actors</text>
166
+ <line x1="310" y1="110" x2="370" y2="110" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
167
+ <rect x="370" y="90" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
168
+ <text x="385" y="108" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">ACT-001..006</text>
169
+ <text x="385" y="122" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-actors</text>
170
+ <text x="675" y="108" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">&lt;APP&gt;/acteur.md</text>
171
+ <!-- 3 -->
172
+ <rect x="50" y="140" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
173
+ <text x="65" y="158" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">3 · Use cases</text>
174
+ <text x="65" y="172" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-use-case</text>
175
+ <line x1="310" y1="160" x2="370" y2="160" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
176
+ <rect x="370" y="140" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
177
+ <text x="385" y="158" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">UC-001..012</text>
178
+ <text x="385" y="172" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-use-cases</text>
179
+ <text x="675" y="158" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">&lt;SECTION&gt;/use-case.md</text>
180
+ <!-- 4 -->
181
+ <rect x="50" y="190" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
182
+ <text x="65" y="208" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">4 · Business rules</text>
183
+ <text x="65" y="222" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-business-rules</text>
184
+ <line x1="310" y1="210" x2="370" y2="210" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
185
+ <rect x="370" y="190" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
186
+ <text x="385" y="208" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">BR-001..010</text>
187
+ <text x="385" y="222" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-rules</text>
188
+ <text x="675" y="208" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">règles-métier.md</text>
189
+ <!-- 5 -->
190
+ <rect x="50" y="240" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
191
+ <text x="65" y="258" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">5 · RBAC</text>
192
+ <text x="65" y="272" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-rbac</text>
193
+ <line x1="310" y1="260" x2="370" y2="260" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
194
+ <rect x="370" y="240" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
195
+ <text x="385" y="258" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">RBAC-001..005</text>
196
+ <text x="385" y="272" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-rbac</text>
197
+ <text x="675" y="258" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">&lt;MODULE&gt;/rbac.md</text>
198
+ <!-- 6 -->
199
+ <rect x="50" y="290" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
200
+ <text x="65" y="308" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">6 · Data model</text>
201
+ <text x="65" y="322" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-data-model</text>
202
+ <line x1="310" y1="310" x2="370" y2="310" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
203
+ <rect x="370" y="290" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
204
+ <text x="385" y="308" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">DM-001..017 · CODE-001..004</text>
205
+ <text x="385" y="322" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-data-model + cross-ref-code</text>
206
+ <text x="675" y="308" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">&lt;MODULE&gt;/entité.md</text>
207
+ <!-- 7 -->
208
+ <rect x="50" y="340" width="260" height="40" rx="6" fill="#1e293b" stroke="#6366f1"/>
209
+ <text x="65" y="358" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11" font-weight="600">7 · Screens</text>
210
+ <text x="65" y="372" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-screen</text>
211
+ <line x1="310" y1="360" x2="370" y2="360" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
212
+ <rect x="370" y="340" width="290" height="40" rx="6" fill="#0f172a" stroke="#06b6d4"/>
213
+ <text x="385" y="358" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">SCR-001..013 (incl. custom actions)</text>
214
+ <text x="385" y="372" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-screens</text>
215
+ <text x="675" y="358" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">&lt;SECTION&gt;/screen.md</text>
216
+ <!-- Synthesis -->
217
+ <rect x="50" y="410" width="260" height="50" rx="6" fill="#1e293b" stroke="#f97316" stroke-width="2"/>
218
+ <text x="65" y="428" fill="#f97316" font-family="Inter,sans-serif" font-size="11" font-weight="600">Synthesis · PRD</text>
219
+ <text x="65" y="444" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">/ba-create-prd</text>
220
+ <text x="65" y="456" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="9">reads phases 1..7</text>
221
+ <line x1="310" y1="435" x2="370" y2="435" stroke="#475569" stroke-width="1.5" marker-end="url(#bp-arrow)"/>
222
+ <rect x="370" y="410" width="290" height="50" rx="6" fill="#0f172a" stroke="#06b6d4" stroke-width="2"/>
223
+ <text x="385" y="428" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="11">PRD-001..101 · <tspan font-weight="600">70 checks across 7 dimensions</tspan></text>
224
+ <text x="385" y="442" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">/ba-audit-prd</text>
225
+ <text x="385" y="456" fill="#22c55e" font-family="Inter,sans-serif" font-size="10" font-weight="600">→ GO / NO-GO gate</text>
226
+ <text x="675" y="428" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">prd.md + 3 slices</text>
227
+ <text x="675" y="442" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">pagespecs/*.md</text>
228
+ <text x="675" y="456" fill="#8a9bb0" font-family="Fira Code,monospace" font-size="10">claude.md</text>
229
+ <!-- Arrow to dev -->
230
+ <line x1="515" y1="460" x2="515" y2="495" stroke="#22c55e" stroke-width="2" marker-end="url(#bp-arrow-go)"/>
231
+ <rect x="380" y="495" width="270" height="35" rx="6" fill="#1e293b" stroke="#22c55e" stroke-width="2"/>
232
+ <text x="515" y="515" text-anchor="middle" fill="#22c55e" font-family="Inter,sans-serif" font-size="12" font-weight="600">/ba-develop → code généré</text>
233
+ <text x="515" y="528" text-anchor="middle" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="9">unblocked only if PRD audit returns GO (score ≥ 80)</text>
234
+ </svg>
235
+ </div>
236
+
237
+ <h2><span data-lang="fr">Modèle de fichiers</span><span data-lang="en">File model</span></h2>
238
+ <p><span data-lang="fr">Tout le pipeline écrit sous <code>.smartstack/ba/</code>. Chaque niveau de la hiérarchie a un fichier autoritaire dédié :</span>
239
+ <span data-lang="en">The whole pipeline writes under <code>.smartstack/ba/</code>. Each level of the hierarchy owns a dedicated authoritative file:</span></p>
240
+ <table>
241
+ <thead>
242
+ <tr>
243
+ <th><span data-lang="fr">Niveau</span><span data-lang="en">Level</span></th>
244
+ <th><span data-lang="fr">Chemin type</span><span data-lang="en">Typical path</span></th>
245
+ <th><span data-lang="fr">Fichiers</span><span data-lang="en">Files</span></th>
246
+ </tr>
247
+ </thead>
248
+ <tbody><tr>
249
+ <td><span data-lang="fr">Projet</span><span data-lang="en">Project</span></td>
250
+ <td><code>.smartstack/ba/</code></td>
251
+ <td><span data-lang="fr">racine, audits transverses</span><span data-lang="en">root, cross-cutting audits</span></td>
252
+ </tr>
253
+ <tr>
254
+ <td><span data-lang="fr">Application</span><span data-lang="en">Application</span></td>
255
+ <td><code>.smartstack/ba/&lt;APP&gt;/</code></td>
256
+ <td><code>index.md</code>, <code>acteur.md</code></td>
257
+ </tr>
258
+ <tr>
259
+ <td><span data-lang="fr">Module</span><span data-lang="en">Module</span></td>
260
+ <td><code>.smartstack/ba/&lt;APP&gt;/&lt;MODULE&gt;/</code></td>
261
+ <td><code>index.md</code>, <code>entité.md</code>, <code>rbac.md</code>, <code>prd.md</code></td>
262
+ </tr>
263
+ <tr>
264
+ <td><span data-lang="fr">Section</span><span data-lang="en">Section</span></td>
265
+ <td><code>.smartstack/ba/&lt;APP&gt;/&lt;MODULE&gt;/&lt;SECTION&gt;/</code></td>
266
+ <td><code>index.md</code>, <code>use-case.md</code>, <code>règles-métier.md</code>, <code>screen.md</code></td>
267
+ </tr>
268
+ </tbody></table>
269
+ <div class="svg-diagram">
270
+ <svg viewBox="0 0 820 380" xmlns="http://www.w3.org/2000/svg" role="img" aria-label=".smartstack/ba/ hierarchy">
271
+ <defs>
272
+ <pattern id="hl-dotted" patternUnits="userSpaceOnUse" width="4" height="4">
273
+ <path d="M0,2 L4,2" stroke="#475569" stroke-width="0.5"/>
274
+ </pattern>
275
+ </defs>
276
+ <!-- Title -->
277
+ <text x="20" y="28" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="13" font-weight="600">Authoritative files by hierarchy level</text>
278
+ <text x="20" y="46" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Every audit reads its level's file + the files of the levels above (e.g. screen audit reads section + module + app).</text>
279
+ <!-- Tree -->
280
+ <text x="40" y="80" fill="#f97316" font-family="Fira Code,monospace" font-size="13" font-weight="600">📁 .smartstack/ba/</text>
281
+ <text x="280" y="80" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Project cross-cutting</text>
282
+ <rect x="450" y="66" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
283
+ <text x="460" y="80" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">_audit/menu.md · sections.md · cross-dimension.md · pre-dev.md</text>
284
+ <!-- App -->
285
+ <line x1="60" y1="90" x2="60" y2="115" stroke="#475569" stroke-width="1"/>
286
+ <line x1="60" y1="115" x2="80" y2="115" stroke="#475569" stroke-width="1"/>
287
+ <text x="85" y="120" fill="#f97316" font-family="Fira Code,monospace" font-size="13" font-weight="600">📁 &lt;APP&gt;/</text>
288
+ <text x="280" y="120" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Application — actors live here</text>
289
+ <rect x="450" y="106" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
290
+ <text x="460" y="120" fill="#22c55e" font-family="Fira Code,monospace" font-size="10">index.md · acteur.md</text>
291
+ <!-- Module -->
292
+ <line x1="100" y1="130" x2="100" y2="155" stroke="#475569" stroke-width="1"/>
293
+ <line x1="100" y1="155" x2="120" y2="155" stroke="#475569" stroke-width="1"/>
294
+ <text x="125" y="160" fill="#f97316" font-family="Fira Code,monospace" font-size="13" font-weight="600">📁 &lt;MODULE&gt;/</text>
295
+ <text x="280" y="160" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Module — data model + RBAC + PRD</text>
296
+ <rect x="450" y="146" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
297
+ <text x="460" y="160" fill="#22c55e" font-family="Fira Code,monospace" font-size="10">index.md · entité.md · rbac.md · prd.md (+ 3 slices)</text>
298
+ <!-- pagespecs (module child) -->
299
+ <line x1="140" y1="170" x2="140" y2="195" stroke="#475569" stroke-width="1"/>
300
+ <line x1="140" y1="195" x2="160" y2="195" stroke="#475569" stroke-width="1"/>
301
+ <text x="165" y="200" fill="#f97316" font-family="Fira Code,monospace" font-size="12" font-weight="600">📁 pagespecs/</text>
302
+ <text x="280" y="200" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Machine-readable per-screen contracts</text>
303
+ <rect x="450" y="186" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
304
+ <text x="460" y="200" fill="#22c55e" font-family="Fira Code,monospace" font-size="10">&lt;ScreenCode&gt;.md (one per screen, fenced JSON)</text>
305
+ <!-- audit (module child) -->
306
+ <line x1="140" y1="205" x2="140" y2="230" stroke="#475569" stroke-width="1"/>
307
+ <line x1="140" y1="230" x2="160" y2="230" stroke="#475569" stroke-width="1"/>
308
+ <text x="165" y="235" fill="#06b6d4" font-family="Fira Code,monospace" font-size="12" font-weight="600">📁 _audit/</text>
309
+ <text x="280" y="235" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Module-level audit verdicts (one .md per dimension)</text>
310
+ <rect x="450" y="221" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
311
+ <text x="460" y="235" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">entité.md · rbac.md · prd.md · cross-ref-code.md</text>
312
+ <!-- Section -->
313
+ <line x1="140" y1="245" x2="140" y2="275" stroke="#475569" stroke-width="1"/>
314
+ <line x1="140" y1="275" x2="160" y2="275" stroke="#475569" stroke-width="1"/>
315
+ <text x="165" y="280" fill="#f97316" font-family="Fira Code,monospace" font-size="13" font-weight="600">📁 &lt;SECTION&gt;/</text>
316
+ <text x="280" y="280" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Section UCs + rules + screens</text>
317
+ <rect x="450" y="266" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
318
+ <text x="460" y="280" fill="#22c55e" font-family="Fira Code,monospace" font-size="10">index.md · use-case.md · règles-métier.md · screen.md</text>
319
+ <!-- section audit -->
320
+ <line x1="180" y1="290" x2="180" y2="315" stroke="#475569" stroke-width="1"/>
321
+ <line x1="180" y1="315" x2="200" y2="315" stroke="#475569" stroke-width="1"/>
322
+ <text x="205" y="320" fill="#06b6d4" font-family="Fira Code,monospace" font-size="12" font-weight="600">📁 _audit/</text>
323
+ <text x="280" y="320" fill="#8a9bb0" font-family="Inter,sans-serif" font-size="10">Section-level audit verdicts</text>
324
+ <rect x="450" y="306" width="340" height="20" rx="3" fill="#0d1117" stroke="#334155"/>
325
+ <text x="460" y="320" fill="#06b6d4" font-family="Fira Code,monospace" font-size="10">use-case.md · règles-métier.md · screen.md</text>
326
+ <!-- Legend -->
327
+ <rect x="20" y="345" width="780" height="28" rx="4" fill="#0f172a" stroke="#334155"/>
328
+ <circle cx="40" cy="359" r="5" fill="#f97316"/>
329
+ <text x="52" y="363" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="10">Folder</text>
330
+ <circle cx="120" cy="359" r="5" fill="#22c55e"/>
331
+ <text x="132" y="363" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="10">Authoritative file (written by a phase)</text>
332
+ <circle cx="360" cy="359" r="5" fill="#06b6d4"/>
333
+ <text x="372" y="363" fill="#c8d0dc" font-family="Inter,sans-serif" font-size="10">Audit verdict (written by an audit, read by the next phase)</text>
334
+ </svg>
335
+ </div>
336
+
337
+ <h2><span data-lang="fr">Phases du pipeline</span><span data-lang="en">Pipeline phases</span></h2>
338
+ <p><span data-lang="fr">Chaque phase « <em>define</em> / <em>generate</em> » est immédiatement vérifiable par son audit dédié — la colonne de droite. L&#39;audit écrit un verdict sous <code>_audit/&lt;dimension&gt;.md</code> que vous relisez avant de passer à la phase suivante.</span>
339
+ <span data-lang="en">Each <em>define</em>/<em>generate</em> phase is immediately verifiable through its dedicated audit — the right-hand column. The audit writes a verdict under <code>_audit/&lt;dimension&gt;.md</code> that you review before moving to the next phase.</span></p>
340
+ <table>
341
+ <thead>
342
+ <tr>
343
+ <th>Phase</th>
344
+ <th>Skill</th>
345
+ <th><span data-lang="fr">Écrit</span><span data-lang="en">Writes</span></th>
346
+ <th><span data-lang="fr">Audit</span><span data-lang="en">Audit</span></th>
347
+ </tr>
348
+ </thead>
349
+ <tbody><tr>
350
+ <td>1 — <span data-lang="fr">Menu</span><span data-lang="en">Menu</span></td>
351
+ <td><code>/ba-create-menu</code></td>
352
+ <td><span data-lang="fr">arbre <code>index.md</code></span><span data-lang="en"><code>index.md</code> tree</span></td>
353
+ <td><code>/ba-audit-menu</code> + <code>/ba-audit-sections</code></td>
354
+ </tr>
355
+ <tr>
356
+ <td>2 — <span data-lang="fr">Acteurs</span><span data-lang="en">Actors</span></td>
357
+ <td><code>/ba-create-actors</code></td>
358
+ <td><code>acteur.md</code></td>
359
+ <td><code>/ba-audit-actors</code></td>
360
+ </tr>
361
+ <tr>
362
+ <td>3 — <span data-lang="fr">Cas d&#39;usage</span><span data-lang="en">Use cases</span></td>
363
+ <td><code>/ba-create-use-case</code></td>
364
+ <td><code>use-case.md</code></td>
365
+ <td><code>/ba-audit-use-cases</code></td>
366
+ </tr>
367
+ <tr>
368
+ <td>4 — <span data-lang="fr">Règles métier</span><span data-lang="en">Business rules</span></td>
369
+ <td><code>/ba-create-business-rules</code></td>
370
+ <td><code>règles-métier.md</code></td>
371
+ <td><code>/ba-audit-rules</code></td>
372
+ </tr>
373
+ <tr>
374
+ <td>5 RBAC</td>
375
+ <td><code>/ba-create-rbac</code></td>
376
+ <td><code>rbac.md</code></td>
377
+ <td><code>/ba-audit-rbac</code></td>
378
+ </tr>
379
+ <tr>
380
+ <td>6 — <span data-lang="fr">Modèle de données</span><span data-lang="en">Data model</span></td>
381
+ <td><code>/ba-create-data-model</code></td>
382
+ <td><code>entité.md</code></td>
383
+ <td><code>/ba-audit-data-model</code> + <code>/ba-audit-cross-ref-code</code></td>
384
+ </tr>
385
+ <tr>
386
+ <td>7 <span data-lang="fr">Écrans</span><span data-lang="en">Screens</span></td>
387
+ <td><code>/ba-create-screen</code></td>
388
+ <td><code>screen.md</code> <span data-lang="fr">(actions CRUD + custom)</span><span data-lang="en">(CRUD + custom actions)</span></td>
389
+ <td><code>/ba-audit-screens</code> <span data-lang="fr">(SCR-001..013, dont SCR-011..013 sur les actions custom)</span><span data-lang="en">(SCR-001..013, incl. SCR-011..013 for custom actions)</span></td>
390
+ </tr>
391
+ <tr>
392
+ <td><span data-lang="fr">Synthèse</span><span data-lang="en">Synthesis</span></td>
393
+ <td><code>/ba-create-prd</code></td>
394
+ <td><code>prd.md</code> + 3 slices + <code>pagespecs/*.md</code></td>
395
+ <td><code>/ba-audit-prd</code> <span data-lang="fr">(70 checks, porte GO/NO-GO ; dont PRD-095..101 sur le contrat custom-action)</span><span data-lang="en">(70 checks, GO/NO-GO gate; incl. PRD-095..101 for the custom-action contract)</span></td>
396
+ </tr>
397
+ </tbody></table>
398
+ <h2><span data-lang="fr">Actions custom — comment les déclarer</span><span data-lang="en">Custom actions — how to declare them</span></h2>
399
+ <p><span data-lang="fr">À côté des actions CRUD standard (create / read / list / edit / delete), un écran peut exposer des <strong>actions custom</strong> métier — un bouton « Synchroniser depuis PCE », un bouton « Ouvrir l&#39;historique ». La déclaration se fait dans <code>screen.md</code> sous forme de <em>bullet structurée</em> :</span>
400
+ <span data-lang="en">Alongside standard CRUD actions (create / read / list / edit / delete), a screen can expose <strong>custom business actions</strong> — a &quot;Sync from PCE&quot; button, an &quot;Open history&quot; button. The declaration is a <em>structured bullet</em> in <code>screen.md</code>:</span></p>
401
+ <pre><code class="language-markdown">- **Actions personnalisées** :
402
+ - `syncFromPce` kind: api, scope: header, endpoint: sync-from-proconcept,
403
+ httpMethod: POST, permission: referentiels.types-affaire.execute,
404
+ UC: UC-GAF-REF-TYPEAFFAIRE-007, label: « Synchroniser depuis PCE »
405
+ - `openHistory` — kind: navigate, scope: row,
406
+ targetScreen: SCR-GAF-HIST-001, permission: referentiels.types-affaire.read,
407
+ label: « Ouvrir l&#39;historique »
408
+ </code></pre>
409
+ <p><span data-lang="fr">Deux discriminateurs <code>kind</code> :</span>
410
+ <span data-lang="en">Two <code>kind</code> discriminators:</span></p>
411
+ <table>
412
+ <thead>
413
+ <tr>
414
+ <th><code>kind</code></th>
415
+ <th><span data-lang="fr">Sémantique métier</span><span data-lang="en">Business semantics</span></th>
416
+ <th><span data-lang="fr">Champs requis</span><span data-lang="en">Required fields</span></th>
417
+ </tr>
418
+ </thead>
419
+ <tbody><tr>
420
+ <td><code>api</code></td>
421
+ <td><span data-lang="fr">Action qui déclenche une opération côté serveur (lecture, écriture, calcul…)</span><span data-lang="en">Action triggering a server-side operation (read, write, computation…)</span></td>
422
+ <td><code>endpoint</code>, <code>httpMethod</code>, <code>permission</code>, <code>UC</code></td>
423
+ </tr>
424
+ <tr>
425
+ <td><code>navigate</code></td>
426
+ <td><span data-lang="fr">Action qui ouvre un autre écran (navigation pure, pas d&#39;appel serveur)</span><span data-lang="en">Action opening another screen (pure navigation, no server call)</span></td>
427
+ <td><code>targetScreen</code>, <code>permission</code></td>
428
+ </tr>
429
+ </tbody></table>
430
+ <p><span data-lang="fr">Le champ <code>endpoint</code> est traité comme la <strong>source de vérité</strong> par le pipeline en aval — la déclaration BA est ainsi le seul endroit à modifier quand on renomme l&#39;action.</span>
431
+ <span data-lang="en">The <code>endpoint</code> field is treated as the <strong>source of truth</strong> by the downstream pipeline — the BA declaration is the single place to edit when an action is renamed.</span></p>
432
+ <p><span data-lang="fr">Les audits BA <code>/ba-audit-screens</code> (SCR-011..013) et <code>/ba-audit-prd</code> (PRD-095..101) vérifient que la déclaration est complète, que l&#39;<code>endpoint</code> est unique par entité, que le <code>targetScreen</code> est résoluble et que le contrat Zod est valide.</span>
433
+ <span data-lang="en">The BA audits <code>/ba-audit-screens</code> (SCR-011..013) and <code>/ba-audit-prd</code> (PRD-095..101) verify that the declaration is complete, the <code>endpoint</code> is unique per entity, the <code>targetScreen</code> is resolvable, and the Zod contract is valid.</span></p>
434
+ <h2><span data-lang="fr">Audits transverses</span><span data-lang="en">Cross-cutting audits</span></h2>
435
+ <p><span data-lang="fr">Au-delà des audits par phase ci-dessus, deux audits vérifient la cohérence globale :</span>
436
+ <span data-lang="en">Beyond the per-phase audits above, two audits verify the overall coherence:</span></p>
437
+ <ul>
438
+ <li><code>/ba-audit-cross-dimension</code> — <span data-lang="fr">cohérence inter-dimensions (un champ d&#39;état est-il bien couvert par une règle, un UC et un écran ?)</span><span data-lang="en">cross-dimension coherence (is a state field properly covered by a rule, a UC and a screen?)</span></li>
439
+ <li><code>/ba-audit-pre-dev</code> — <span data-lang="fr">orchestrateur lecture-seule : agrège tous les verdicts <code>_audit/<em>.md</code> et émet un GO/NO-GO projet</span><span data-lang="en">read-only orchestrator: aggregates every <code>_audit/</em>.md</code> verdict and emits a project-level GO/NO-GO</span></li>
440
+ </ul>
441
+ <h2><span data-lang="fr">Modélisation rapide (optionnel)</span><span data-lang="en">Fast modelling (optional)</span></h2>
442
+ <p><span data-lang="fr">Pour les modules grands, le passage en deux étapes accélère l&#39;inventaire :</span>
443
+ <span data-lang="en">For large modules, the two-pass approach speeds up the inventory:</span></p>
444
+ <ul>
445
+ <li><code>/ba-modeling-inventory</code> — <span data-lang="fr">pass 1 : listing rapide de tous les UC + règles avec un flag simple/moderate/complex</span><span data-lang="en">pass 1: fast listing of all UCs + rules tagged simple/moderate/complex</span></li>
446
+ <li><code>/ba-modeling-detail</code> <span data-lang="fr">pass 2 : expansion d&#39;un item</span><span data-lang="en">pass 2: expand a single item</span></li>
447
+ </ul>
448
+ <hr>
449
+ <p><span data-lang="fr">Quand la phase de synthèse a écrit le PRD et que l&#39;audit a renvoyé <strong>GO</strong>, l&#39;analyse métier est terminée. Le passage au code se fait via <a href="ba-develop.html"><code>/ba-develop</code></a>, documenté sur sa page dédiée.</span>
450
+ <span data-lang="en">When the synthesis phase has written the PRD and the audit returned <strong>GO</strong>, business analysis is done. Hand-off to code is documented on the dedicated <a href="ba-develop.html"><code>/ba-develop</code></a> page.</span></p>
451
+ <p><span data-lang="fr">L&#39;annuaire des 23 skills BA (avec leur fiche détaillée) est sur la page <a href="ba-skills.html">Skills BA</a> dans l&#39;Annuaire.</span>
452
+ <span data-lang="en">The directory of the 23 BA skills (with their full cards) lives on the <a href="ba-skills.html">BA Skills</a> page in the Directory.</span></p>
903
453
 
904
- <p data-lang="fr">
905
- A l'etape de handoff, un document HTML interactif (<code>ba-interactive.html</code>) est deploye dans le repertoire du projet. Ce document permet au client de consulter, modifier et enrichir l'analyse metier directement dans son navigateur, sans serveur. Les modifications peuvent etre re-importees via <code>/business-analyse -x &lt;json-path&gt;</code>.
906
- </p>
907
- <p data-lang="en">
908
- At the handoff step, an interactive HTML document (<code>ba-interactive.html</code>) is deployed to the project directory. This document allows the client to review, edit and enrich the business analysis directly in their browser, without a server. Modifications can be re-imported via <code>/business-analyse -x &lt;json-path&gt;</code>.
909
- </p>
910
-
911
- <div class="warning-block" style="background:rgba(255,170,0,0.1);border-left:4px solid #ffaa00;padding:1rem 1.2rem;border-radius:6px;margin:1rem 0;">
912
- <strong style="color:#ffaa00;">&#9888;
913
- <span data-lang="fr">Important : Source de verite</span>
914
- <span data-lang="en">Important: Source of Truth</span>
915
- </strong>
916
- <p data-lang="fr" style="margin:0.5rem 0 0;">
917
- Le HTML interactif est un <strong>livrable genere</strong>, pas une source de donnees. La source de verite est constituee par les fichiers JSON (<code>index.json</code>, <code>cadrage.json</code>, <code>entities.json</code>, etc.). Toute modification faite directement dans le HTML sera <strong>ecrasee</strong> a la prochaine regeneration via <code>/business-analyse-html</code>.
918
- </p>
919
- <p data-lang="en" style="margin:0.5rem 0 0;">
920
- The interactive HTML is a <strong>generated deliverable</strong>, not a data source. The source of truth is the JSON files (<code>index.json</code>, <code>cadrage.json</code>, <code>entities.json</code>, etc.). Any modification made directly in the HTML will be <strong>overwritten</strong> on the next regeneration via <code>/business-analyse-html</code>.
921
- </p>
922
- <p data-lang="fr" style="margin:0.5rem 0 0;">
923
- <strong>Pour conserver vos modifications :</strong><br>
924
- 1. Exporter le JSON depuis le HTML (bouton d'export)<br>
925
- 2. Re-importer avec <code>/business-analyse -x &lt;json-path&gt;</code> (met a jour les fichiers JSON sources)<br>
926
- 3. Regenerer le HTML avec <code>/business-analyse-html</code>
927
- </p>
928
- <p data-lang="en" style="margin:0.5rem 0 0;">
929
- <strong>To preserve your modifications:</strong><br>
930
- 1. Export JSON from the HTML (export button)<br>
931
- 2. Re-import with <code>/business-analyse -x &lt;json-path&gt;</code> (updates source JSON files)<br>
932
- 3. Regenerate the HTML with <code>/business-analyse-html</code>
933
- </p>
934
- </div>
935
-
936
- <h4 data-lang="fr">Verification post-handoff</h4>
937
- <h4 data-lang="en">Post-Handoff Verification</h4>
938
-
939
- <ul>
940
- <li data-lang="fr">Valider ba-reader.readApplicationContext() = tous modules presents</li>
941
- <li data-lang="en">Validate ba-reader.readApplicationContext() = all modules present</li>
942
- <li data-lang="fr">Verifier ba-writer.enrichModuleHandoff() completude</li>
943
- <li data-lang="en">Verify ba-writer.enrichModuleHandoff() completeness</li>
944
- <li data-lang="fr">Extraction prd.json via <code>ss derive-prd</code></li>
945
- <li data-lang="en">Extract prd.json via <code>ss derive-prd</code></li>
946
- <li data-lang="fr">Generer progress.txt tracker</li>
947
- <li data-lang="en">Generate progress.txt tracker</li>
948
- <li data-lang="fr">Deployer ba-interactive.html avec placeholders remplaces</li>
949
- <li data-lang="en">Deploy ba-interactive.html with placeholders replaced</li>
950
- </ul>
951
- </section>
952
-
953
- <!-- ============================================ -->
954
- <!-- STEP 06 - EXTRACT -->
955
- <!-- ============================================ -->
956
- <section id="step-06">
957
- <h3>06. Extract</h3>
958
-
959
- <p data-lang="fr">
960
- Importe les donnees depuis l'export JSON du document HTML interactif (<code>ba-interactive.html</code>) et les transforme en feature.json. Cette etape est declenchee par le flag <code>-x</code>.
961
- </p>
962
- <p data-lang="en">
963
- Imports data from the interactive HTML document's JSON export (<code>ba-interactive.html</code>) and transforms it into feature.json. This step is triggered by the <code>-x</code> flag.
964
- </p>
965
-
966
- <h4 data-lang="fr">Principe</h4>
967
- <h4 data-lang="en">Principle</h4>
968
-
969
- <ul>
970
- <li data-lang="fr">Zero perte d'information : chaque champ du JSON exporte est mappe vers feature.json</li>
971
- <li data-lang="en">Zero information loss: every field from the exported JSON is mapped to feature.json</li>
972
- <li data-lang="fr">Mapping deterministe : cadrage, modules, specifications, consolidation</li>
973
- <li data-lang="en">Deterministic mapping: cadrage, modules, specifications, consolidation</li>
974
- <li data-lang="fr">Post-extraction : choix entre enrichir (step-01), handoff (step-05), ou terminer</li>
975
- <li data-lang="en">Post-extraction: choice between enrichment (step-01), handoff (step-05), or terminate</li>
976
- </ul>
977
-
978
- <div class="code-block">
979
- <button class="copy-btn">Copy</button>
980
- <pre><code>/business-analyse -x ./docs/business/MyApp/ba-export.json</code></pre>
981
- </div>
982
- </section>
983
-
984
- <!-- ============================================ -->
985
- <!-- COMPANION SKILLS -->
986
- <!-- ============================================ -->
987
- <section id="companion-skills">
988
- <h2>
989
- <span data-lang="fr">Skills complementaires</span>
990
- <span data-lang="en">Companion Skills</span>
991
- </h2>
992
-
993
- <p data-lang="fr">
994
- Deux skills independants completent le workflow de business analyse pour la gestion du document HTML interactif.
995
- </p>
996
- <p data-lang="en">
997
- Two independent skills complement the business analysis workflow for managing the interactive HTML document.
998
- </p>
999
-
1000
- <!-- /business-analyse-html -->
1001
- <h3><code>/business-analyse-html</code></h3>
1002
-
1003
- <p data-lang="fr">
1004
- Genere (ou regenere) le document HTML interactif a partir des fichiers JSON d'analyse. Ce skill lit les sources JSON (<code>index.json</code>, <code>cadrage.json</code>, fichiers modules) et produit un fichier <code>ba-interactive.html</code> autonome.
1005
- </p>
1006
- <p data-lang="en">
1007
- Generates (or regenerates) the interactive HTML document from the analysis JSON files. This skill reads the JSON sources (<code>index.json</code>, <code>cadrage.json</code>, module files) and produces a standalone <code>ba-interactive.html</code> file.
1008
- </p>
1009
-
1010
- <div class="code-block">
1011
- <button class="copy-btn">Copy</button>
1012
- <pre><code>/business-analyse-html FEAT-001
1013
- /business-analyse-html FEAT-001 --force</code></pre>
1014
- </div>
1015
-
1016
- <div class="table-container">
1017
- <table class="reference-table">
1018
- <thead>
1019
- <tr>
1020
- <th>Flag</th>
1021
- <th><span data-lang="fr">Effet</span><span data-lang="en">Effect</span></th>
1022
- </tr>
1023
- </thead>
1024
- <tbody>
1025
- <tr>
1026
- <td><code>--force</code></td>
1027
- <td><span data-lang="fr">Regenerer meme si le HTML existe deja</span><span data-lang="en">Regenerate even if HTML already exists</span></td>
1028
- </tr>
1029
- </tbody>
1030
- </table>
1031
- </div>
1032
-
1033
- <h4><span data-lang="fr">Etapes internes</span><span data-lang="en">Internal Steps</span></h4>
1034
- <div class="table-container">
1035
- <table class="reference-table">
1036
- <thead>
1037
- <tr>
1038
- <th>Step</th>
1039
- <th><span data-lang="fr">Role</span><span data-lang="en">Role</span></th>
1040
- </tr>
1041
- </thead>
1042
- <tbody>
1043
- <tr>
1044
- <td>01</td>
1045
- <td><span data-lang="fr">Lire les sources JSON (index, cadrage, modules, consolidation)</span><span data-lang="en">Read JSON sources (index, cadrage, modules, consolidation)</span></td>
1046
- </tr>
1047
- <tr>
1048
- <td>02</td>
1049
- <td><span data-lang="fr">Construire FEATURE_DATA + EMBEDDED_ARTIFACTS</span><span data-lang="en">Build FEATURE_DATA + EMBEDDED_ARTIFACTS</span></td>
1050
- </tr>
1051
- <tr>
1052
- <td>03</td>
1053
- <td><span data-lang="fr">Injecter dans le template ba-interactive.html</span><span data-lang="en">Inject into ba-interactive.html template</span></td>
1054
- </tr>
1055
- <tr>
1056
- <td>04</td>
1057
- <td><span data-lang="fr">Verification (taille &gt; 100KB, sections, coherence)</span><span data-lang="en">Verification (size &gt; 100KB, sections, coherence)</span></td>
1058
- </tr>
1059
- </tbody>
1060
- </table>
1061
- </div>
1062
-
1063
- <div class="warning-block" style="background:rgba(255,170,0,0.1);border-left:4px solid #ffaa00;padding:1rem 1.2rem;border-radius:6px;margin:1rem 0;">
1064
- <strong style="color:#ffaa00;">&#9888;
1065
- <span data-lang="fr">Regeneration = ecrasement</span>
1066
- <span data-lang="en">Regeneration = overwrite</span>
1067
- </strong>
1068
- <p data-lang="fr" style="margin:0.5rem 0 0;">
1069
- <code>/business-analyse-html</code> ecrase le HTML existant. Si vous avez fait des modifications dans le HTML interactif, exportez d'abord le JSON puis re-importez avec <code>/business-analyse -x</code> avant de regenerer.
1070
- </p>
1071
- <p data-lang="en" style="margin:0.5rem 0 0;">
1072
- <code>/business-analyse-html</code> overwrites the existing HTML. If you made modifications in the interactive HTML, first export the JSON then re-import with <code>/business-analyse -x</code> before regenerating.
1073
- </p>
1074
- </div>
1075
-
1076
- <!-- /ba-review -->
1077
- <h3><code>/ba-review</code></h3>
1078
-
1079
- <p data-lang="fr">
1080
- Applique les corrections client exportees depuis le HTML interactif et regenere le document. Ce skill attend un fichier <code>ba-review.json</code> contenant les modifications structurees.
1081
- </p>
1082
- <p data-lang="en">
1083
- Applies client corrections exported from the interactive HTML and regenerates the document. This skill expects a <code>ba-review.json</code> file containing structured modifications.
1084
- </p>
1085
-
1086
- <div class="code-block">
1087
- <button class="copy-btn">Copy</button>
1088
- <pre><code>/ba-review</code></pre>
1089
- </div>
1090
-
1091
- <h4><span data-lang="fr">Workflow</span><span data-lang="en">Workflow</span></h4>
1092
- <ol>
1093
- <li data-lang="fr">Lire <code>ba-review.json</code> (exporte depuis le HTML interactif)</li>
1094
- <li data-lang="en">Read <code>ba-review.json</code> (exported from interactive HTML)</li>
1095
- <li data-lang="fr">Lire le master <code>index.json</code> existant</li>
1096
- <li data-lang="en">Read the existing master <code>index.json</code></li>
1097
- <li data-lang="fr">Creer une nouvelle version</li>
1098
- <li data-lang="en">Create a new version</li>
1099
- <li data-lang="fr">Appliquer les corrections (cadrage, modules, consolidation)</li>
1100
- <li data-lang="en">Apply corrections (cadrage, modules, consolidation)</li>
1101
- <li data-lang="fr">Regenerer le HTML via <code>/business-analyse-html</code></li>
1102
- <li data-lang="en">Regenerate HTML via <code>/business-analyse-html</code></li>
1103
- </ol>
1104
-
1105
- <h4><span data-lang="fr">Routage des corrections</span><span data-lang="en">Correction Routing</span></h4>
1106
- <div class="table-container">
1107
- <table class="reference-table">
1108
- <thead>
1109
- <tr>
1110
- <th><span data-lang="fr">Type de modification</span><span data-lang="en">Modification Type</span></th>
1111
- <th><span data-lang="fr">Action declenchee</span><span data-lang="en">Triggered Action</span></th>
1112
- </tr>
1113
- </thead>
1114
- <tbody>
1115
- <tr>
1116
- <td><span data-lang="fr">Entites / regles / UC / permissions</span><span data-lang="en">Entities / rules / UC / permissions</span></td>
1117
- <td><span data-lang="fr">Re-execution <code>/business-analyse</code> step-03</span><span data-lang="en">Re-run <code>/business-analyse</code> step-03</span></td>
1118
- </tr>
1119
- <tr>
1120
- <td><span data-lang="fr">Ecrans / wireframes / navigation</span><span data-lang="en">Screens / wireframes / navigation</span></td>
1121
- <td><span data-lang="fr">Re-execution <code>/ba-design-ui</code></span><span data-lang="en">Re-run <code>/ba-design-ui</code></span></td>
1122
- </tr>
1123
- <tr>
1124
- <td><span data-lang="fr">Les deux</span><span data-lang="en">Both</span></td>
1125
- <td><span data-lang="fr">Re-specification complete</span><span data-lang="en">Full re-specification</span></td>
1126
- </tr>
1127
- <tr>
1128
- <td><span data-lang="fr">Cadrage uniquement</span><span data-lang="en">Cadrage only</span></td>
1129
- <td><span data-lang="fr">Regeneration HTML uniquement</span><span data-lang="en">HTML regeneration only</span></td>
1130
- </tr>
1131
- <tr>
1132
- <td><span data-lang="fr">Client approuve</span><span data-lang="en">Client approves</span></td>
1133
- <td><code>/derive-prd</code></td>
1134
- </tr>
1135
- </tbody>
1136
- </table>
1137
- </div>
1138
-
1139
- <!-- Workflow recap -->
1140
- <h3><span data-lang="fr">Cycle de vie complet</span><span data-lang="en">Complete Lifecycle</span></h3>
1141
-
1142
- <div class="code-block">
1143
- <pre><code><span data-lang="fr"># 1. Analyse initiale (genere les JSON + HTML)
1144
- /business-analyse My Application Description
1145
-
1146
- # 2. Client consulte le HTML, fait des modifications, exporte le JSON
1147
-
1148
- # 3a. Re-import des modifications client dans les JSON sources
1149
- /business-analyse -x ./docs/business/MyApp/ba-export.json
1150
-
1151
- # 3b. OU appliquer des corrections structurees
1152
- /ba-review
1153
-
1154
- # 4. Regenerer le HTML apres modifications des JSON
1155
- /business-analyse-html FEAT-001</span><span data-lang="en"># 1. Initial analysis (generates JSON + HTML)
1156
- /business-analyse My Application Description
1157
-
1158
- # 2. Client reviews the HTML, makes modifications, exports JSON
1159
-
1160
- # 3a. Re-import client modifications into source JSONs
1161
- /business-analyse -x ./docs/business/MyApp/ba-export.json
1162
-
1163
- # 3b. OR apply structured corrections
1164
- /ba-review
1165
-
1166
- # 4. Regenerate HTML after JSON modifications
1167
- /business-analyse-html FEAT-001</span></code></pre>
1168
- </div>
1169
- </section>
1170
-
1171
- <!-- ============================================ -->
1172
- <!-- SCHEMAS -->
1173
- <!-- ============================================ -->
1174
- <section id="schemas">
1175
- <h2>Schemas</h2>
1176
-
1177
- <p data-lang="fr">
1178
- Deux schemas JSON Schema 2020-12 : <strong>application-schema.json</strong> (master) et <strong>feature-schema.json</strong> (per-module).
1179
- </p>
1180
- <p data-lang="en">
1181
- Two JSON Schema 2020-12 files: <strong>application-schema.json</strong> (master) and <strong>feature-schema.json</strong> (per-module).
1182
- </p>
1183
-
1184
- <h4><code>application-schema.json</code> (Master Level)</h4>
1185
- <ul>
1186
- <li data-lang="fr">Metadata : titre, contexte, version</li>
1187
- <li data-lang="en">Metadata: title, context, version</li>
1188
- <li data-lang="fr">Cadrage : problem, stakeholders, scope, applicationRoles, risks</li>
1189
- <li data-lang="en">Framing: problem, stakeholders, scope, applicationRoles, risks</li>
1190
- <li data-lang="fr">moduleRegistry[] : list des modules avec dependencies</li>
1191
- <li data-lang="en">moduleRegistry[]: list of modules with dependencies</li>
1192
- <li data-lang="fr">dependencyGraph : edges, topologicalOrder, priorities</li>
1193
- <li data-lang="en">dependencyGraph: edges, topologicalOrder, priorities</li>
1194
- <li data-lang="fr">coverageMatrix : mustHave/shouldHave/couldHave requirements</li>
1195
- <li data-lang="en">coverageMatrix: mustHave/shouldHave/couldHave requirements</li>
1196
- </ul>
1197
-
1198
- <h4><code>feature-schema.json</code> (Per-Module Level)</h4>
1199
- <ul>
1200
- <li data-lang="fr">Metadata : module, version, featureType</li>
1201
- <li data-lang="en">Metadata: module, version, featureType</li>
1202
- <li data-lang="fr">Sections &amp; Resources : 4-level navigation</li>
1203
- <li data-lang="en">Sections &amp; Resources: 4-level navigation</li>
1204
- <li data-lang="fr">Entities : domaine, attributs, constraints</li>
1205
- <li data-lang="en">Entities: domain, attributes, constraints</li>
1206
- <li data-lang="fr">Business Rules (BR-{CAT}-{PREFIX}-{NNN}) : validations metier</li>
1207
- <li data-lang="en">Business Rules (BR-{CAT}-{PREFIX}-{NNN}): business validations</li>
1208
- <li data-lang="fr">Use Cases (UC-{PREFIX}-{NNN}) : workflows, actors, flows</li>
1209
- <li data-lang="en">Use Cases (UC-{PREFIX}-{NNN}): workflows, actors, flows</li>
1210
- <li data-lang="fr">Functional Requirements (FR-{PREFIX}-{NNN}) : exigences techniques</li>
1211
- <li data-lang="en">Functional Requirements (FR-{PREFIX}-{NNN}): technical requirements</li>
1212
- <li data-lang="fr">Wireframes : ASCII + JSON layout</li>
1213
- <li data-lang="en">Wireframes: ASCII + JSON layout</li>
1214
- <li data-lang="fr">Permissions : roles et access control</li>
1215
- <li data-lang="en">Permissions: roles and access control</li>
1216
- <li data-lang="fr">Handoff : mapping de fichiers, API endpoints, tests</li>
1217
- <li data-lang="en">Handoff: file mapping, API endpoints, tests</li>
1218
- </ul>
1219
-
1220
- <h4 data-lang="fr">Module-Prefixed IDs</h4>
1221
- <h4 data-lang="en">Module-Prefixed IDs</h4>
1222
-
1223
- <p data-lang="fr">
1224
- Chaque ID inclut le prefixe du module pour eviter les collisions cross-module.
1225
- </p>
1226
- <p data-lang="en">
1227
- Each ID includes module prefix to avoid cross-module collisions.
1228
- </p>
1229
-
1230
- <div class="code-block">
1231
- <button class="copy-btn">Copy</button>
1232
- <pre><code>UC-{PREFIX}-{NNN} # UseCase
1233
- BR-{CAT}-{PREFIX}-{NNN} # BusinessRule
1234
- FR-{PREFIX}-{NNN} # FunctionalRequirement
1235
-
1236
- Exemple (module "checkout"):
1237
- UC-CHK-001 # Add item to cart
1238
- BR-VAL-CHK-001 # Order total must be positive
1239
- FR-CHK-001 # Shopping cart API</code></pre>
1240
- </div>
1241
- </section>
1242
-
1243
- <!-- ============================================ -->
1244
- <!-- AGENTS -->
1245
- <!-- ============================================ -->
1246
- <section id="agents">
1247
- <h2>Agents (ba-reader / ba-writer)</h2>
1248
-
1249
- <h4><code>ba-reader</code></h4>
1250
- <p data-lang="fr">
1251
- Agent de lecture specialise dans la decouverte et validation. Toutes operations sont read-only et deterministes.
1252
- </p>
1253
- <p data-lang="en">
1254
- Read-only agent specialized in discovery and validation. All operations are read-only and deterministic.
1255
- </p>
1256
-
1257
- <ul>
1258
- <li><code>findFeature(featureId)</code> - Localiser feature par ID</li>
1259
- <li><code>readSection(moduleId, sectionPath)</code> - Lire section specifique</li>
1260
- <li><code>readApplicationContext()</code> - Charger contexte complet application</li>
1261
- <li><code>listAllModuleIds()</code> - Lister tous modules (ID collision detection)</li>
1262
- <li><code>answerQuestion(question)</code> - Repondre a question sur feature</li>
1263
- </ul>
1264
-
1265
- <h4><code>ba-writer</code></h4>
1266
- <p data-lang="fr">
1267
- Agent d'ecriture avec validation schema obligatoire et verification post-ecriture.
1268
- </p>
1269
- <p data-lang="en">
1270
- Write agent with mandatory schema validation and post-write verification.
1271
- </p>
1272
-
1273
- <ul>
1274
- <li><code>create(spec)</code> - Creer nouveau feature.json (validate schema)</li>
1275
- <li><code>createApplicationFeature(appSpec)</code> - Creer master application feature</li>
1276
- <li><code>enrichSection(moduleId, sectionPath, content)</code> - Enrichir section existante</li>
1277
- <li><code>enrichModuleHandoff(moduleId, handoffData)</code> - Enrichir handoff (verify completeness)</li>
1278
- <li><code>updateStatus(featureId, newStatus)</code> - Mettre a jour statut step</li>
1279
- <li><code>enrichModuleRegistry(moduleRegistry)</code> - Enrichir registry modules</li>
1280
- <li><code>advanceModuleLoop(nextModuleId)</code> - Avancer au prochain module</li>
1281
- </ul>
1282
-
1283
- <h4 data-lang="fr">Resilience des agents team</h4>
1284
- <h4 data-lang="en">Team Agent Resilience</h4>
1285
-
1286
- <p data-lang="fr">
1287
- Les agents team de Business Analyse (cadrage, decomposition, specify, consolidation) beneficient d'une gestion robuste du cycle de vie avec trois mecanismes de resilience clefs :
1288
- </p>
1289
- <p data-lang="en">
1290
- Business Analyse team agents (framing, decomposition, specify, consolidation) benefit from robust lifecycle management with three key resilience mechanisms:
1291
- </p>
1292
-
1293
- <div class="table-container">
1294
- <table class="reference-table">
1295
- <thead>
1296
- <tr>
1297
- <th data-lang="fr">Mecanisme</th>
1298
- <th data-lang="en">Mechanism</th>
1299
- <th data-lang="fr">Comportement</th>
1300
- <th data-lang="en">Behavior</th>
1301
- </tr>
1302
- </thead>
1303
- <tbody>
1304
- <tr>
1305
- <td><strong data-lang="fr">Detection de mode</strong><strong data-lang="en">Mode Detection</strong></td>
1306
- <td data-lang="fr">Agents team detectent automatiquement si execution en auto-mode (flags <code>-a</code>, <code>-m</code>, etc.)</td>
1307
- <td data-lang="en">Team agents automatically detect if running in auto-mode (flags <code>-a</code>, <code>-m</code>, etc.)</td>
1308
- <td data-lang="fr">Evite les appels a AskUserQuestion qui causeraient crash ou deadlock</td>
1309
- <td data-lang="en">Avoids AskUserQuestion calls which would cause crash or deadlock</td>
1310
- </tr>
1311
- <tr>
1312
- <td><strong data-lang="fr">Prevention des team obsoletes</strong><strong data-lang="en">Stale Team Prevention</strong></td>
1313
- <td data-lang="fr">Agents verifient la "freshness" de la team avant adhesion pour eviter deadlock</td>
1314
- <td data-lang="en">Agents verify team freshness before joining to avoid deadlock</td>
1315
- <td data-lang="fr">Detecte teams devenues obsoletes (timeouts) et refuse l'adhesion</td>
1316
- <td data-lang="en">Detects stale teams (timeouts) and refuses to join</td>
1317
- </tr>
1318
- <tr>
1319
- <td><strong data-lang="fr">Protocole d'arret gracieux</strong><strong data-lang="en">Graceful Shutdown Protocol</strong></td>
1320
- <td data-lang="fr">3 tentatives avant force-termination des agents dans la team</td>
1321
- <td data-lang="en">3 attempts before force-termination of agents in team</td>
1322
- <td data-lang="fr">Timeout configurable (default 30s), logs detailles des tentatives</td>
1323
- <td data-lang="en">Configurable timeout (default 30s), detailed logs of attempts</td>
1324
- </tr>
1325
- </tbody>
1326
- </table>
1327
- </div>
1328
-
1329
- <div class="alert alert-info">
1330
- <span class="alert-icon">ℹ</span>
1331
- <div class="alert-content">
1332
- <h5 data-lang="fr">Logs et diagnostics</h5>
1333
- <h5 data-lang="en">Logs and Diagnostics</h5>
1334
- <p data-lang="fr">
1335
- Tous les evenements de lifecycle (join, leave, timeout, mode detection) sont loges avec timestamps pour faciliter le diagnostique en cas d'issue. Les mode detection guards emettent des warning clairs au demarrage.
1336
- </p>
1337
- <p data-lang="en">
1338
- All lifecycle events (join, leave, timeout, mode detection) are logged with timestamps for easy diagnosis in case of issues. Mode detection guards emit clear warnings at startup.
1339
- </p>
1340
- </div>
1341
- </div>
1342
-
1343
- <div class="alert alert-warning">
1344
- <span class="alert-icon">&#9888;</span>
1345
- <div class="alert-content">
1346
- <h5 data-lang="fr">Validation schema OBLIGATOIRE</h5>
1347
- <h5 data-lang="en">Schema Validation MANDATORY</h5>
1348
- <p data-lang="fr">
1349
- Chaque write doit passer par JSON Schema 2020-12 validation AVANT persistance. Les erreurs sont rejetes avec messages clairs.
1350
- </p>
1351
- <p data-lang="en">
1352
- Each write must pass JSON Schema 2020-12 validation BEFORE persistence. Errors are rejected with clear messages.
1353
- </p>
1354
- </div>
1355
- </div>
1356
- </section>
1357
-
1358
- <!-- ============================================ -->
1359
- <!-- IDS & CROSS-REFERENCES -->
1360
- <!-- ============================================ -->
1361
- <section id="ids-refs">
1362
- <h2>
1363
- <span data-lang="fr">IDs &amp; References croisees</span>
1364
- <span data-lang="en">IDs &amp; Cross-References</span>
1365
- </h2>
1366
-
1367
- <h4 data-lang="fr">Patterns de nommage</h4>
1368
- <h4 data-lang="en">Naming Patterns</h4>
1369
-
1370
- <div class="code-block">
1371
- <button class="copy-btn">Copy</button>
1372
- <pre><code>Module Prefix Format:
1373
- - 3-4 characters (e.g., CHK, PAY, INV)
1374
- - Derived from module name
1375
- - Stored in moduleRegistry
1376
-
1377
- ID Formats:
1378
- UC-{PREFIX}-{NNN} # Use Case (sequential)
1379
- BR-{CAT}-{PREFIX}-{NNN} # Business Rule with category
1380
- FR-{PREFIX}-{NNN} # Functional Requirement
1381
-
1382
- Example:
1383
- Module: "Checkout"
1384
- Prefix: "CHK"
1385
- UC-CHK-001: Add item to cart
1386
- BR-VAL-CHK-001: Order total validation
1387
- FR-CHK-001: Cart API endpoint</code></pre>
1388
- </div>
1389
-
1390
- <h4 data-lang="fr">Detection des collisions</h4>
1391
- <h4 data-lang="en">Collision Detection</h4>
1392
-
1393
- <p data-lang="fr">
1394
- L'agent <code>ba-reader.listAllModuleIds()</code> detecte les collisions cross-module et rapporte les IDs dupliques.
1395
- </p>
1396
- <p data-lang="en">
1397
- The <code>ba-reader.listAllModuleIds()</code> agent detects cross-module collisions and reports duplicate IDs.
1398
- </p>
1399
-
1400
- <h4 data-lang="fr">Regles de validation des references croisees</h4>
1401
- <h4 data-lang="en">Cross-Reference Validation Rules</h4>
1402
-
1403
- <ul>
1404
- <li data-lang="fr">Chaque UC doit referencer at least 1 FR</li>
1405
- <li data-lang="en">Each UC must reference at least 1 FR</li>
1406
- <li data-lang="fr">Chaque BR doit etre teste dans at least 1 UC</li>
1407
- <li data-lang="en">Each BR must be tested in at least 1 UC</li>
1408
- <li data-lang="fr">Chaque requirement (mustHave) doit etre couverte par coverage matrix</li>
1409
- <li data-lang="en">Each requirement (mustHave) must be covered by coverage matrix</li>
1410
- <li data-lang="fr">Les references croisees (xref) doivent utiliser module prefix correct</li>
1411
- <li data-lang="en">Cross-references (xref) must use correct module prefix</li>
1412
- </ul>
1413
- </section>
1414
-
1415
- <!-- ============================================ -->
1416
- <!-- OUTPUT -->
1417
- <!-- ============================================ -->
1418
- <section id="output">
1419
- <h2>
1420
- <span data-lang="fr">Sorties</span>
1421
- <span data-lang="en">Output</span>
1422
- </h2>
1423
-
1424
- <h4 data-lang="fr">Structure des fichiers generes</h4>
1425
- <h4 data-lang="en">Generated Files Structure</h4>
1426
-
1427
- <div class="code-block">
1428
- <button class="copy-btn">Copy</button>
1429
- <pre><code>docs/business/{app}/business-analyse/
1430
- ├── v1.0/
1431
- │ ├── feature.json ← Master application spec
1432
- │ ├── ba-interactive.html ← Interactive client review document
1433
- │ └── README.md ← Overview
1434
- ├── checkout/v1.0/
1435
- │ ├── feature.json ← Module spec
1436
- │ └── README.md
1437
- ├── payment/v1.0/
1438
- │ ├── feature.json
1439
- │ └── README.md
1440
- └── shipping/v1.0/
1441
- ├── feature.json
1442
- └── README.md
1443
-
1444
- .ralph/
1445
- ├── prd.json ← Extracted (programmatic)
1446
- ├── progress.txt ← Tracking
1447
- └── per-module/
1448
- ├── checkout-handoff.json
1449
- ├── payment-handoff.json
1450
- └── shipping-handoff.json</code></pre>
1451
- </div>
1452
-
1453
- <h4>Master <code>feature.json</code></h4>
1454
- <div class="code-block">
1455
- <button class="copy-btn">Copy</button>
1456
- <pre><code>{
1457
- "id": "APP-ORDERS-001",
1458
- "version": "1.0.0",
1459
- "application": "OrderManagement",
1460
- "status": "handed-off",
1461
- "metadata": {
1462
- "context": "ecommerce",
1463
- "title": "Order Management System",
1464
- "createdAt": "2026-02-04",
1465
- "language": "fr"
1466
- },
1467
- "cadrage": {
1468
- "problem": "...",
1469
- "stakeholders": [...],
1470
- "scope": {...},
1471
- "applicationRoles": ["admin", "manager", "contributor", "viewer"]
1472
- },
1473
- "coverageMatrix": {...},
1474
- "moduleRegistry": [...],
1475
- "dependencyGraph": {...},
1476
- "changelog": [...]
1477
- }</code></pre>
1478
- </div>
1479
-
1480
- <h4>Per-Module <code>feature.json</code></h4>
1481
- <div class="code-block">
1482
- <button class="copy-btn">Copy</button>
1483
- <pre><code>{
1484
- "id": "FEAT-CHK-001",
1485
- "module": "Checkout",
1486
- "version": "1.0.0",
1487
- "status": "handed-off",
1488
- "metadata": {...},
1489
- "specification": {
1490
- "sections": [...],
1491
- "entities": [...],
1492
- "businessRules": [...],
1493
- "useCases": [...],
1494
- "requirements": [...]
1495
- },
1496
- "validation": {...},
1497
- "handoff": {
1498
- "fileMapping": {...},
1499
- "apiEndpoints": [...],
1500
- "wireframes": [...],
1501
- "testPlan": {...}
1502
- }
1503
- }</code></pre>
1504
- </div>
1505
-
1506
- <h4><code>prd.json</code> (Programmatic)</h4>
1507
- <p data-lang="fr">
1508
- Genere par <code>ss derive-prd feature.json</code>, contient resume technique pour implementation.
1509
- </p>
1510
- <p data-lang="en">
1511
- Generated by <code>ss derive-prd feature.json</code>, contains technical summary for implementation.
1512
- </p>
1513
-
1514
- <div class="code-block">
1515
- <button class="copy-btn">Copy</button>
1516
- <pre><code>{
1517
- "application": "OrderManagement",
1518
- "version": "1.0.0",
1519
- "generatedAt": "2026-02-04",
1520
- "modules": [
1521
- {
1522
- "name": "Checkout",
1523
- "priority": "must",
1524
- "complexity": "high",
1525
- "entities": ["Order", "OrderLine", "Customer"],
1526
- "apiEndpoints": [
1527
- { "method": "POST", "path": "/api/orders", "auth": "contributor" }
1528
- ],
1529
- "permissions": ["viewer", "contributor"],
1530
- "dependencies": ["Inventory"]
1531
- }
1532
- ]
1533
- }</code></pre>
1534
- </div>
1535
-
1536
- <h4><code>progress.txt</code></h4>
1537
- <p data-lang="fr">
1538
- Tracker textuel de progression, genere a chaque etape.
1539
- </p>
1540
- <p data-lang="en">
1541
- Text progress tracker, generated at each step.
1542
- </p>
1543
-
1544
- <div class="code-block">
1545
- <button class="copy-btn">Copy</button>
1546
- <pre><code># Business Analyse Progress - OrderManagement v1.0
1547
-
1548
- [✓] Step 00 - Init (completed 2026-02-04 10:00)
1549
- [✓] Step 01 - Cadrage (completed 2026-02-04 10:15)
1550
- - 4 applicationRoles defined
1551
- - 5 mustHave requirements in coverage matrix
1552
-
1553
- [✓] Step 02 - Decomposition (completed 2026-02-04 10:30)
1554
- - 3 modules identified: Checkout, Payment, Shipping
1555
- - Topological order: [Inventory, Checkout, Payment, Shipping]
1556
-
1557
- [→] Step 03 - Specify (in progress)
1558
- - Current module: Checkout (1/4)
1559
- - Entities: 3/5 done
1560
- - Use Cases: 2/8 done
1561
-
1562
- [ ] Step 04 - Consolidation (pending)
1563
- [ ] Step 05 - Handoff (pending)</code></pre>
1564
- </div>
1565
- </section>
1566
-
1567
- <!-- ============================================ -->
1568
- <!-- VERSIONING -->
1569
- <!-- ============================================ -->
1570
- <section id="versioning">
1571
- <h2>Versioning</h2>
1572
-
1573
- <p data-lang="fr">
1574
- Les versions suivent SemVer. Les workflows complets incrementent MAJOR ou MINOR. Les deltas (refactoring) incrementent PATCH.
1575
- </p>
1576
- <p data-lang="en">
1577
- Versions follow SemVer. Complete workflows increment MAJOR or MINOR. Deltas (refactoring) increment PATCH.
1578
- </p>
1579
-
1580
- <div class="table-container">
1581
- <table class="reference-table">
1582
- <thead>
1583
- <tr>
1584
- <th>
1585
- <span data-lang="fr">Scenario</span>
1586
- <span data-lang="en">Scenario</span>
1587
- </th>
1588
- <th>
1589
- <span data-lang="fr">Version</span>
1590
- <span data-lang="en">Version</span>
1591
- </th>
1592
- <th>Flag</th>
1593
- </tr>
1594
- </thead>
1595
- <tbody>
1596
- <tr>
1597
- <td data-lang="fr">Nouvelle application</td>
1598
- <td data-lang="en">New application</td>
1599
- <td>1.0.0</td>
1600
- <td>-</td>
1601
- </tr>
1602
- <tr>
1603
- <td data-lang="fr">Ajout module majeur</td>
1604
- <td data-lang="en">Add major module</td>
1605
- <td>2.0.0</td>
1606
- <td>-</td>
1607
- </tr>
1608
- <tr>
1609
- <td data-lang="fr">Refactoring delta</td>
1610
- <td data-lang="en">Refactoring delta</td>
1611
- <td>1.1.0</td>
1612
- <td>-r</td>
1613
- </tr>
1614
- <tr>
1615
- <td data-lang="fr">Micro-feature</td>
1616
- <td data-lang="en">Micro-feature</td>
1617
- <td>1.0.1</td>
1618
- <td>-m</td>
1619
- </tr>
1620
- </tbody>
1621
- </table>
1622
- </div>
1623
- </section>
1624
454
 
1625
455
  </div>
1626
-
1627
- <!-- Footer -->
1628
- <div style="margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.85rem;">
1629
- <span data-lang="fr">Developpe par</span>
1630
- <span data-lang="en">Developed by</span>
1631
- <a href="https://www.atlashub.ch" style="color: var(--primary-light);">AtlasHub</a> &bull;
1632
- <a href="mailto:support@atlashub.ch" style="color: var(--primary-light);">support@atlashub.ch</a> &bull;
1633
- MIT License
1634
- </div>
1635
-
1636
456
  </main>
1637
457
  </div>
1638
458
  </div>
1639
-
1640
- <!-- Mobile Menu Button -->
1641
- <button class="mobile-menu-btn">☰</button>
1642
- <div class="overlay"></div>
1643
-
1644
459
  <script src="js/app.js"></script>
1645
460
  </body>
1646
461
  </html>