@the-bearded-bear/claude-craft 8.23.3 → 8.26.0-next.2a54921

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 (466) hide show
  1. package/Dev/i18n/base/Common/commands/aliases.md +7 -13
  2. package/Dev/i18n/base/Common/commands/init.md +89 -1
  3. package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
  4. package/Dev/i18n/base/Common/commands/search.md +2 -2
  5. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  6. package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
  7. package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
  8. package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
  9. package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
  10. package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
  11. package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
  12. package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
  13. package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
  14. package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
  15. package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
  16. package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
  17. package/Dev/i18n/de/QA/commands/fix.md +8 -8
  18. package/Dev/i18n/de/QA/commands/recette.md +7 -8
  19. package/Dev/i18n/de/QA/commands/regression.md +11 -11
  20. package/Dev/i18n/de/QA/commands/report.md +5 -162
  21. package/Dev/i18n/de/QA/commands/status.md +140 -13
  22. package/Dev/i18n/de/QA/commands/tdd.md +1 -1
  23. package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
  24. package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
  25. package/Dev/i18n/de/Workflow/commands/design.md +151 -209
  26. package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
  27. package/Dev/i18n/de/Workflow/commands/init.md +42 -14
  28. package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
  29. package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
  30. package/Dev/i18n/de/Workflow/commands/review.md +1 -1
  31. package/Dev/i18n/de/Workflow/commands/start.md +115 -25
  32. package/Dev/i18n/de/Workflow/commands/status.md +275 -201
  33. package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
  34. package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
  35. package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
  36. package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
  37. package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
  38. package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
  39. package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
  40. package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
  41. package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
  42. package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
  43. package/Dev/i18n/en/QA/commands/fix.md +8 -8
  44. package/Dev/i18n/en/QA/commands/recette.md +7 -8
  45. package/Dev/i18n/en/QA/commands/regression.md +11 -11
  46. package/Dev/i18n/en/QA/commands/report.md +5 -221
  47. package/Dev/i18n/en/QA/commands/status.md +140 -13
  48. package/Dev/i18n/en/QA/commands/tdd.md +1 -1
  49. package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
  50. package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
  51. package/Dev/i18n/en/Workflow/commands/design.md +143 -200
  52. package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
  53. package/Dev/i18n/en/Workflow/commands/init.md +42 -14
  54. package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
  55. package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
  56. package/Dev/i18n/en/Workflow/commands/review.md +1 -1
  57. package/Dev/i18n/en/Workflow/commands/start.md +107 -17
  58. package/Dev/i18n/en/Workflow/commands/status.md +265 -191
  59. package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
  60. package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
  61. package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
  62. package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
  63. package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
  64. package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
  65. package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
  66. package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
  67. package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
  68. package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
  69. package/Dev/i18n/es/QA/commands/fix.md +8 -8
  70. package/Dev/i18n/es/QA/commands/recette.md +7 -8
  71. package/Dev/i18n/es/QA/commands/regression.md +11 -11
  72. package/Dev/i18n/es/QA/commands/report.md +5 -162
  73. package/Dev/i18n/es/QA/commands/status.md +140 -13
  74. package/Dev/i18n/es/QA/commands/tdd.md +1 -1
  75. package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
  76. package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
  77. package/Dev/i18n/es/Workflow/commands/design.md +158 -218
  78. package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
  79. package/Dev/i18n/es/Workflow/commands/init.md +42 -14
  80. package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
  81. package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
  82. package/Dev/i18n/es/Workflow/commands/review.md +1 -1
  83. package/Dev/i18n/es/Workflow/commands/start.md +113 -23
  84. package/Dev/i18n/es/Workflow/commands/status.md +284 -210
  85. package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
  86. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
  87. package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
  88. package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
  89. package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
  90. package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
  91. package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
  92. package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
  93. package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
  94. package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
  95. package/Dev/i18n/fr/QA/commands/fix.md +8 -8
  96. package/Dev/i18n/fr/QA/commands/recette.md +7 -8
  97. package/Dev/i18n/fr/QA/commands/regression.md +11 -11
  98. package/Dev/i18n/fr/QA/commands/report.md +5 -163
  99. package/Dev/i18n/fr/QA/commands/status.md +140 -13
  100. package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
  101. package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
  102. package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
  103. package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
  104. package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
  105. package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
  106. package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
  107. package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
  108. package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
  109. package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
  110. package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
  111. package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
  112. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
  113. package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
  114. package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
  115. package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
  116. package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
  117. package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
  118. package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
  119. package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
  120. package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
  121. package/Dev/i18n/pt/QA/commands/fix.md +8 -8
  122. package/Dev/i18n/pt/QA/commands/recette.md +7 -8
  123. package/Dev/i18n/pt/QA/commands/regression.md +11 -11
  124. package/Dev/i18n/pt/QA/commands/report.md +5 -162
  125. package/Dev/i18n/pt/QA/commands/status.md +140 -13
  126. package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
  127. package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
  128. package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
  129. package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
  130. package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
  131. package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
  132. package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
  133. package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
  134. package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
  135. package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
  136. package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
  137. package/Dev/scripts/install-common-rules.sh +7 -10
  138. package/Dev/scripts/prune-removed-commands.sh +22 -0
  139. package/Project/i18n/de/Gate/commands/check.md +392 -0
  140. package/Project/i18n/de/Gate/commands/report.md +5 -230
  141. package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
  142. package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
  143. package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
  144. package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
  145. package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
  146. package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
  147. package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
  148. package/Project/i18n/de/Sprint/commands/dev.md +5 -443
  149. package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
  150. package/Project/i18n/de/Sprint/commands/status.md +5 -173
  151. package/Project/i18n/de/Sprint/commands/transition.md +5 -259
  152. package/Project/i18n/de/agents/product-owner.md +5 -5
  153. package/Project/i18n/de/agents/tech-lead.md +8 -8
  154. package/Project/i18n/de/commands/add-epic.md +5 -88
  155. package/Project/i18n/de/commands/add-story.md +5 -112
  156. package/Project/i18n/de/commands/add-task.md +5 -127
  157. package/Project/i18n/de/commands/analyze-backlog.md +5 -110
  158. package/Project/i18n/de/commands/backlog.md +653 -0
  159. package/Project/i18n/de/commands/batch-status.md +5 -209
  160. package/Project/i18n/de/commands/board.md +5 -130
  161. package/Project/i18n/de/commands/burndown.md +5 -120
  162. package/Project/i18n/de/commands/checkpoint.md +5 -239
  163. package/Project/i18n/de/commands/coverage-map.md +5 -217
  164. package/Project/i18n/de/commands/critical-path.md +5 -123
  165. package/Project/i18n/de/commands/decompose-tasks.md +5 -600
  166. package/Project/i18n/de/commands/dependencies.md +5 -139
  167. package/Project/i18n/de/commands/gap-analysis.md +5 -290
  168. package/Project/i18n/de/commands/generate-backlog.md +5 -378
  169. package/Project/i18n/de/commands/generate-constitution.md +5 -223
  170. package/Project/i18n/de/commands/generate-prd.md +5 -210
  171. package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
  172. package/Project/i18n/de/commands/list-epics.md +5 -91
  173. package/Project/i18n/de/commands/list-stories.md +5 -116
  174. package/Project/i18n/de/commands/list-tasks.md +5 -128
  175. package/Project/i18n/de/commands/metrics.md +5 -223
  176. package/Project/i18n/de/commands/migrate-backlog.md +5 -144
  177. package/Project/i18n/de/commands/migrate.md +158 -0
  178. package/Project/i18n/de/commands/move-task.md +5 -200
  179. package/Project/i18n/de/commands/report.md +156 -0
  180. package/Project/i18n/de/commands/reverse-prd.md +5 -284
  181. package/Project/i18n/de/commands/reverse-stories.md +5 -301
  182. package/Project/i18n/de/commands/reverse.md +249 -0
  183. package/Project/i18n/de/commands/run-epic.md +5 -187
  184. package/Project/i18n/de/commands/run-queue.md +5 -250
  185. package/Project/i18n/de/commands/run-sprint.md +5 -262
  186. package/Project/i18n/de/commands/scan.md +5 -267
  187. package/Project/i18n/de/commands/sync-backlog.md +5 -161
  188. package/Project/i18n/de/commands/trace.md +126 -174
  189. package/Project/i18n/de/commands/update-epic.md +5 -101
  190. package/Project/i18n/de/commands/update-stories.md +5 -190
  191. package/Project/i18n/de/commands/update-story.md +5 -146
  192. package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
  193. package/Project/i18n/de/scaffold/project-management__README.md +7 -7
  194. package/Project/i18n/de/templates/board.md +22 -9
  195. package/Project/i18n/de/templates/epic.md +4 -4
  196. package/Project/i18n/de/templates/prd.md +1 -1
  197. package/Project/i18n/de/templates/sprint-status.md +60 -0
  198. package/Project/i18n/de/templates/task.md +1 -1
  199. package/Project/i18n/de/templates/user-story.md +8 -6
  200. package/Project/i18n/en/Gate/commands/check.md +392 -0
  201. package/Project/i18n/en/Gate/commands/report.md +5 -261
  202. package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
  203. package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
  204. package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
  205. package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
  206. package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
  207. package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
  208. package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
  209. package/Project/i18n/en/Sprint/commands/dev.md +5 -441
  210. package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
  211. package/Project/i18n/en/Sprint/commands/status.md +5 -214
  212. package/Project/i18n/en/Sprint/commands/transition.md +5 -259
  213. package/Project/i18n/en/agents/product-owner.md +5 -5
  214. package/Project/i18n/en/agents/tech-lead.md +8 -8
  215. package/Project/i18n/en/commands/add-epic.md +5 -88
  216. package/Project/i18n/en/commands/add-story.md +5 -112
  217. package/Project/i18n/en/commands/add-task.md +5 -127
  218. package/Project/i18n/en/commands/analyze-backlog.md +5 -133
  219. package/Project/i18n/en/commands/backlog.md +653 -0
  220. package/Project/i18n/en/commands/batch-status.md +5 -209
  221. package/Project/i18n/en/commands/board.md +5 -130
  222. package/Project/i18n/en/commands/burndown.md +5 -120
  223. package/Project/i18n/en/commands/checkpoint.md +5 -239
  224. package/Project/i18n/en/commands/coverage-map.md +5 -217
  225. package/Project/i18n/en/commands/critical-path.md +5 -123
  226. package/Project/i18n/en/commands/decompose-tasks.md +5 -600
  227. package/Project/i18n/en/commands/dependencies.md +5 -139
  228. package/Project/i18n/en/commands/gap-analysis.md +5 -290
  229. package/Project/i18n/en/commands/generate-backlog.md +5 -378
  230. package/Project/i18n/en/commands/generate-constitution.md +5 -223
  231. package/Project/i18n/en/commands/generate-prd.md +5 -210
  232. package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
  233. package/Project/i18n/en/commands/list-epics.md +5 -91
  234. package/Project/i18n/en/commands/list-stories.md +5 -116
  235. package/Project/i18n/en/commands/list-tasks.md +5 -128
  236. package/Project/i18n/en/commands/metrics.md +5 -223
  237. package/Project/i18n/en/commands/migrate-backlog.md +5 -186
  238. package/Project/i18n/en/commands/migrate.md +158 -0
  239. package/Project/i18n/en/commands/move-task.md +5 -200
  240. package/Project/i18n/en/commands/report.md +156 -0
  241. package/Project/i18n/en/commands/reverse-prd.md +5 -284
  242. package/Project/i18n/en/commands/reverse-stories.md +5 -301
  243. package/Project/i18n/en/commands/reverse.md +249 -0
  244. package/Project/i18n/en/commands/run-epic.md +5 -187
  245. package/Project/i18n/en/commands/run-queue.md +5 -250
  246. package/Project/i18n/en/commands/run-sprint.md +5 -262
  247. package/Project/i18n/en/commands/scan.md +5 -267
  248. package/Project/i18n/en/commands/sync-backlog.md +5 -161
  249. package/Project/i18n/en/commands/trace.md +119 -167
  250. package/Project/i18n/en/commands/update-epic.md +5 -101
  251. package/Project/i18n/en/commands/update-stories.md +5 -190
  252. package/Project/i18n/en/commands/update-story.md +5 -146
  253. package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
  254. package/Project/i18n/en/scaffold/project-management__README.md +7 -7
  255. package/Project/i18n/en/templates/board.md +22 -9
  256. package/Project/i18n/en/templates/epic.md +4 -4
  257. package/Project/i18n/en/templates/prd.md +1 -1
  258. package/Project/i18n/en/templates/sprint-status.md +60 -0
  259. package/Project/i18n/en/templates/task.md +1 -1
  260. package/Project/i18n/en/templates/user-story.md +7 -5
  261. package/Project/i18n/es/Gate/commands/check.md +392 -0
  262. package/Project/i18n/es/Gate/commands/report.md +5 -229
  263. package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
  264. package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
  265. package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
  266. package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
  267. package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
  268. package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
  269. package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
  270. package/Project/i18n/es/Sprint/commands/dev.md +5 -441
  271. package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
  272. package/Project/i18n/es/Sprint/commands/status.md +5 -172
  273. package/Project/i18n/es/Sprint/commands/transition.md +5 -259
  274. package/Project/i18n/es/agents/product-owner.md +5 -5
  275. package/Project/i18n/es/agents/tech-lead.md +8 -8
  276. package/Project/i18n/es/commands/add-epic.md +5 -88
  277. package/Project/i18n/es/commands/add-story.md +5 -112
  278. package/Project/i18n/es/commands/add-task.md +5 -127
  279. package/Project/i18n/es/commands/analyze-backlog.md +5 -110
  280. package/Project/i18n/es/commands/backlog.md +653 -0
  281. package/Project/i18n/es/commands/batch-status.md +5 -209
  282. package/Project/i18n/es/commands/board.md +5 -130
  283. package/Project/i18n/es/commands/burndown.md +5 -120
  284. package/Project/i18n/es/commands/checkpoint.md +5 -239
  285. package/Project/i18n/es/commands/coverage-map.md +5 -217
  286. package/Project/i18n/es/commands/critical-path.md +5 -123
  287. package/Project/i18n/es/commands/decompose-tasks.md +5 -600
  288. package/Project/i18n/es/commands/dependencies.md +5 -139
  289. package/Project/i18n/es/commands/gap-analysis.md +5 -290
  290. package/Project/i18n/es/commands/generate-backlog.md +5 -378
  291. package/Project/i18n/es/commands/generate-constitution.md +5 -223
  292. package/Project/i18n/es/commands/generate-prd.md +5 -210
  293. package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
  294. package/Project/i18n/es/commands/list-epics.md +5 -91
  295. package/Project/i18n/es/commands/list-stories.md +5 -116
  296. package/Project/i18n/es/commands/list-tasks.md +5 -128
  297. package/Project/i18n/es/commands/metrics.md +5 -223
  298. package/Project/i18n/es/commands/migrate-backlog.md +5 -144
  299. package/Project/i18n/es/commands/migrate.md +158 -0
  300. package/Project/i18n/es/commands/move-task.md +5 -200
  301. package/Project/i18n/es/commands/report.md +156 -0
  302. package/Project/i18n/es/commands/reverse-prd.md +5 -284
  303. package/Project/i18n/es/commands/reverse-stories.md +5 -301
  304. package/Project/i18n/es/commands/reverse.md +249 -0
  305. package/Project/i18n/es/commands/run-epic.md +5 -187
  306. package/Project/i18n/es/commands/run-queue.md +5 -250
  307. package/Project/i18n/es/commands/run-sprint.md +5 -262
  308. package/Project/i18n/es/commands/scan.md +5 -267
  309. package/Project/i18n/es/commands/sync-backlog.md +5 -161
  310. package/Project/i18n/es/commands/trace.md +126 -174
  311. package/Project/i18n/es/commands/update-epic.md +5 -101
  312. package/Project/i18n/es/commands/update-stories.md +5 -190
  313. package/Project/i18n/es/commands/update-story.md +5 -146
  314. package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
  315. package/Project/i18n/es/scaffold/project-management__README.md +7 -7
  316. package/Project/i18n/es/templates/board.md +22 -9
  317. package/Project/i18n/es/templates/epic.md +4 -4
  318. package/Project/i18n/es/templates/prd.md +1 -1
  319. package/Project/i18n/es/templates/sprint-status.md +60 -0
  320. package/Project/i18n/es/templates/task.md +1 -1
  321. package/Project/i18n/es/templates/user-story.md +8 -6
  322. package/Project/i18n/fr/Gate/commands/check.md +392 -0
  323. package/Project/i18n/fr/Gate/commands/report.md +5 -196
  324. package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
  325. package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
  326. package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
  327. package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
  328. package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
  329. package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
  330. package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
  331. package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
  332. package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
  333. package/Project/i18n/fr/Sprint/commands/status.md +5 -172
  334. package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
  335. package/Project/i18n/fr/agents/product-owner.md +5 -5
  336. package/Project/i18n/fr/agents/tech-lead.md +8 -8
  337. package/Project/i18n/fr/commands/add-epic.md +5 -88
  338. package/Project/i18n/fr/commands/add-story.md +5 -112
  339. package/Project/i18n/fr/commands/add-task.md +5 -127
  340. package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
  341. package/Project/i18n/fr/commands/backlog.md +653 -0
  342. package/Project/i18n/fr/commands/batch-status.md +5 -209
  343. package/Project/i18n/fr/commands/board.md +5 -130
  344. package/Project/i18n/fr/commands/burndown.md +5 -120
  345. package/Project/i18n/fr/commands/checkpoint.md +5 -239
  346. package/Project/i18n/fr/commands/coverage-map.md +5 -217
  347. package/Project/i18n/fr/commands/critical-path.md +5 -123
  348. package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
  349. package/Project/i18n/fr/commands/dependencies.md +5 -139
  350. package/Project/i18n/fr/commands/gap-analysis.md +5 -290
  351. package/Project/i18n/fr/commands/generate-backlog.md +5 -378
  352. package/Project/i18n/fr/commands/generate-constitution.md +5 -223
  353. package/Project/i18n/fr/commands/generate-prd.md +5 -210
  354. package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
  355. package/Project/i18n/fr/commands/list-epics.md +5 -91
  356. package/Project/i18n/fr/commands/list-stories.md +5 -116
  357. package/Project/i18n/fr/commands/list-tasks.md +5 -128
  358. package/Project/i18n/fr/commands/metrics.md +5 -223
  359. package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
  360. package/Project/i18n/fr/commands/migrate.md +158 -0
  361. package/Project/i18n/fr/commands/move-task.md +5 -200
  362. package/Project/i18n/fr/commands/report.md +156 -0
  363. package/Project/i18n/fr/commands/reverse-prd.md +5 -284
  364. package/Project/i18n/fr/commands/reverse-stories.md +5 -301
  365. package/Project/i18n/fr/commands/reverse.md +249 -0
  366. package/Project/i18n/fr/commands/run-epic.md +5 -187
  367. package/Project/i18n/fr/commands/run-queue.md +5 -250
  368. package/Project/i18n/fr/commands/run-sprint.md +5 -262
  369. package/Project/i18n/fr/commands/scan.md +5 -267
  370. package/Project/i18n/fr/commands/sync-backlog.md +5 -161
  371. package/Project/i18n/fr/commands/trace.md +125 -173
  372. package/Project/i18n/fr/commands/update-epic.md +5 -101
  373. package/Project/i18n/fr/commands/update-stories.md +5 -190
  374. package/Project/i18n/fr/commands/update-story.md +5 -146
  375. package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
  376. package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
  377. package/Project/i18n/fr/templates/board.md +22 -9
  378. package/Project/i18n/fr/templates/epic.md +4 -4
  379. package/Project/i18n/fr/templates/prd.md +1 -1
  380. package/Project/i18n/fr/templates/sprint-status.md +60 -0
  381. package/Project/i18n/fr/templates/task.md +1 -1
  382. package/Project/i18n/fr/templates/user-story.md +8 -6
  383. package/Project/i18n/pt/Gate/commands/check.md +392 -0
  384. package/Project/i18n/pt/Gate/commands/report.md +5 -229
  385. package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
  386. package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
  387. package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
  388. package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
  389. package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
  390. package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
  391. package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
  392. package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
  393. package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
  394. package/Project/i18n/pt/Sprint/commands/status.md +5 -172
  395. package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
  396. package/Project/i18n/pt/agents/product-owner.md +5 -5
  397. package/Project/i18n/pt/agents/tech-lead.md +8 -8
  398. package/Project/i18n/pt/commands/add-epic.md +5 -88
  399. package/Project/i18n/pt/commands/add-story.md +5 -112
  400. package/Project/i18n/pt/commands/add-task.md +5 -127
  401. package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
  402. package/Project/i18n/pt/commands/backlog.md +653 -0
  403. package/Project/i18n/pt/commands/batch-status.md +5 -209
  404. package/Project/i18n/pt/commands/board.md +5 -130
  405. package/Project/i18n/pt/commands/burndown.md +5 -120
  406. package/Project/i18n/pt/commands/checkpoint.md +5 -239
  407. package/Project/i18n/pt/commands/coverage-map.md +5 -217
  408. package/Project/i18n/pt/commands/critical-path.md +5 -123
  409. package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
  410. package/Project/i18n/pt/commands/dependencies.md +5 -139
  411. package/Project/i18n/pt/commands/gap-analysis.md +5 -290
  412. package/Project/i18n/pt/commands/generate-backlog.md +5 -378
  413. package/Project/i18n/pt/commands/generate-constitution.md +5 -223
  414. package/Project/i18n/pt/commands/generate-prd.md +5 -210
  415. package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
  416. package/Project/i18n/pt/commands/list-epics.md +5 -91
  417. package/Project/i18n/pt/commands/list-stories.md +5 -116
  418. package/Project/i18n/pt/commands/list-tasks.md +5 -128
  419. package/Project/i18n/pt/commands/metrics.md +5 -223
  420. package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
  421. package/Project/i18n/pt/commands/migrate.md +158 -0
  422. package/Project/i18n/pt/commands/move-task.md +5 -200
  423. package/Project/i18n/pt/commands/report.md +156 -0
  424. package/Project/i18n/pt/commands/reverse-prd.md +5 -284
  425. package/Project/i18n/pt/commands/reverse-stories.md +5 -301
  426. package/Project/i18n/pt/commands/reverse.md +249 -0
  427. package/Project/i18n/pt/commands/run-epic.md +5 -187
  428. package/Project/i18n/pt/commands/run-queue.md +5 -250
  429. package/Project/i18n/pt/commands/run-sprint.md +5 -262
  430. package/Project/i18n/pt/commands/scan.md +5 -267
  431. package/Project/i18n/pt/commands/sync-backlog.md +5 -161
  432. package/Project/i18n/pt/commands/trace.md +126 -174
  433. package/Project/i18n/pt/commands/update-epic.md +5 -101
  434. package/Project/i18n/pt/commands/update-stories.md +5 -190
  435. package/Project/i18n/pt/commands/update-story.md +5 -146
  436. package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
  437. package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
  438. package/Project/i18n/pt/templates/board.md +22 -9
  439. package/Project/i18n/pt/templates/epic.md +4 -4
  440. package/Project/i18n/pt/templates/prd.md +1 -1
  441. package/Project/i18n/pt/templates/sprint-status.md +60 -0
  442. package/Project/i18n/pt/templates/task.md +1 -1
  443. package/Project/i18n/pt/templates/user-story.md +8 -6
  444. package/Project/install-project-commands.sh +33 -52
  445. package/README.md +22 -5
  446. package/Tools/Ralph/README.md +9 -9
  447. package/bundles/cursor/.cursorrules +2 -2
  448. package/bundles/windsurf/.windsurfrules +2 -2
  449. package/cli/kanban/server/app.js +9 -4
  450. package/cli/kanban/server/services/repository.js +35 -8
  451. package/cli/kanban/server/services/sprint-cache.js +45 -1
  452. package/cli/kanban/shared/schemas.js +2 -0
  453. package/cli/lib/update.js +15 -0
  454. package/config/removed-commands.yaml +14 -0
  455. package/package.json +4 -2
  456. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
  457. package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
  458. package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
  459. package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
  460. package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
  461. package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
  462. package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
  463. package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
  464. package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
  465. package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
  466. package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Orchestrateur de sprint de bout en bout (démarrage -> décomposition -> validation -> implémentation -> PR -> CI -> revue -> rétro -> merge)
3
- argument-hint: "<N> [--auto-merge] [--max-fix-attempts=2] [--max-workers=3] [--base=main] [--dry-run] [--overnight]"
3
+ argument-hint: "<N> [--from-prd] [--auto-merge] [--max-fix-attempts=2] [--max-workers=3] [--base=main] [--dry-run] [--overnight]"
4
4
  ---
5
5
 
6
6
  # Auto Sprint — Orchestrateur de Sprint de Bout en Bout
@@ -14,8 +14,8 @@ que `/team:sprint`) afin d'éviter l'imbrication d'Agent Teams.
14
14
  Cette commande automatise ce qui nécessitait auparavant six commandes manuelles avec un `/clear` entre chaque :
15
15
 
16
16
  ```
17
- /workflow:start N -> /project:decompose-tasks 00N -> /gate:validate-sprint 00N
18
- -> /team:sprint "sprint-00N" -> /workflow:review N -> /workflow:retro N
17
+ /workflow:start N -> /workflow:start N --tasks-only -> /gate:check sprint 00N
18
+ -> /workflow:implement N -> /workflow:review N -> /workflow:retro N
19
19
  ```
20
20
 
21
21
  …et ajoute : branche, commit, Pull Request, surveillance CI et merge.
@@ -25,6 +25,7 @@ Cette commande automatise ce qui nécessitait auparavant six commandes manuelles
25
25
  $ARGUMENTS
26
26
 
27
27
  - `<N>` : Numéro du sprint (ex. `5`). **Obligatoire.**
28
+ - `--from-prd` : Avant la Phase 1, exécute `/workflow:plan --only=backlog` (sous-agent) pour générer le backlog depuis `project-management/prd.md`, puis poursuit le pipeline normal.
28
29
  - `--auto-merge` : Merge automatiquement dès que la CI est verte et que la DoD est validée. **Défaut : DÉSACTIVÉ** — la
29
30
  commande se met en pause et attend un GO humain explicite avant de merger (respecte la règle de « revue obligatoire »,
30
31
  règle 09, et le principe Karpathy « pas d'auto-merge sans revue humaine »).
@@ -52,7 +53,7 @@ la bonne forme à chaque phase :
52
53
  | Phase | Forme attendue |
53
54
  |-------|----------------|
54
55
  | `start`, `review`, `retro` | `N` brut (ex. `5`) |
55
- | `decompose-tasks` | `00N` avec zéros (ex. `005`) |
56
+ | `start --tasks-only` | `N` nu (ex. `5`) |
56
57
  | `team:sprint` (implémentation) | nom libre du sprint résolu depuis le dossier / fichier de statut |
57
58
 
58
59
  Résoudre le dossier du sprint via glob `project-management/sprints/sprint-{N}-*/` et lire
@@ -64,12 +65,16 @@ Résoudre le dossier du sprint via glob `project-management/sprints/sprint-{N}-*
64
65
 
65
66
  1. Parser `<N>` et les drapeaux. Dériver `N`, `00N`, le slug et le nom du sprint.
66
67
  2. Résoudre `project-management/sprints/sprint-{N}-*/` et `.bmad/sprint-status.yaml`.
67
- **Abandonner** si aucun des deux n'existe (rien à orchestrer).
68
+ Si aucun des deux n'existe, le sprint est nouveau : la Phase 1 crée les deux (pas d'abandon).
68
69
  3. Vérifier que l'arbre de travail est propre et que `--base` est à jour. **Abandonner** si sale.
69
70
  4. Créer / basculer sur la branche feature `feature/sprint-{N}-<slug>` depuis `--base`
70
71
  (règle 09 : `main` toujours déployable — ne jamais travailler directement sur la branche de base).
71
72
  5. Si `--dry-run` : afficher le contexte résolu + les 9 phases planifiées et **s'arrêter ici**.
72
73
 
74
+ ### Phase 0b — Backlog depuis le PRD (sous-agent, uniquement avec `--from-prd`)
75
+
76
+ > « Lis `.claude/commands/workflow/plan.md` et exécute `/workflow:plan --only=backlog` (entrée : `project-management/prd.md`). Retourne un résumé concis et les fichiers créés. »
77
+
73
78
  ### Phase 1 — Démarrage (sous-agent)
74
79
 
75
80
  Instancier un sous-agent isolé :
@@ -80,13 +85,13 @@ Instancier un sous-agent isolé :
80
85
 
81
86
  ### Phase 2 — Décomposition (sous-agent)
82
87
 
83
- > « Lis `.claude/commands/project/decompose-tasks.md` et exécute-le pour le sprint **00N**.
84
- > Génère les fichiers de tâches par US, `task-board.md`, et le graphe de dépendances.
88
+ > « Lis `.claude/commands/workflow/start.md` (`/workflow:start {N} --tasks-only`) et exécute-le pour le sprint **N**.
89
+ > Génère les fichiers `tasks/TASK-*.md`, `board.md`, et le graphe de dépendances.
85
90
  > Retourne un résumé concis et les fichiers créés. »
86
91
 
87
92
  ### Phase 3 — Validation du gate (sous-agent + boucle de correction automatique)
88
93
 
89
- > « Lis `.claude/commands/gate/validate-sprint.md` et exécute-le pour le sprint **00N**.
94
+ > « Lis `.claude/commands/gate/check.md` (gate `sprint`) et exécute-le pour le sprint **00N**.
90
95
  > Retourne PASS/FAIL, le score et la liste des critères échoués. »
91
96
 
92
97
  **En cas d'ÉCHEC → boucle de correction automatique** (jusqu'à `--max-fix-attempts`) :
@@ -97,6 +102,8 @@ Instancier un sous-agent isolé :
97
102
 
98
103
  ### Phase 4 — Implémentation (tu = chef d'orchestre)
99
104
 
105
+ > Équivalent à `/workflow:implement --parallel N` (qui délègue à `/team:sprint`).
106
+
100
107
  Prendre **directement le rôle de conducteur `/team:sprint`** (ne **pas** instancier un Agent Team imbriqué) :
101
108
 
102
109
  1. Lire `.bmad/sprint-status.yaml` ; filtrer les stories à `ready-for-dev`.
@@ -195,3 +202,4 @@ Phase | Statut | Notes
195
202
  - **L'auto-merge est opt-in** et intentionnellement conditionné à un drapeau.
196
203
  - **Docker est obligatoire** pour les tests (CLAUDE.md du projet).
197
204
  - L'isolation des sous-agents remplace `/clear` — garder chaque rapport de sous-agent concis.
205
+ - Pour la variante parallèle Agent Teams qui rédige aussi les stories avec revue croisée, utiliser `/team:delivery`.
@@ -1,7 +1,11 @@
1
1
  ---
2
2
  name: workflow-design
3
- description: "Exécuter la phase de Conception (Solutioning) - spécification technique et architecture"
3
+ description: "Exécuter la phase de Conception (Solutioning) - générer la spécification technique (défaut) ou la constitution du projet (--constitution)"
4
+ argument-hint: "[--constitution] [--continue]"
4
5
  arguments:
6
+ - name: constitution
7
+ description: Générer la constitution du projet (project-management/constitution.md) au lieu de la spec technique
8
+ required: false
5
9
  - name: continue
6
10
  description: Reprendre là où on s'est arrêté
7
11
  required: false
@@ -11,273 +15,208 @@ arguments:
11
15
 
12
16
  ## Mission
13
17
 
14
- Exécuter la phase de Conception (Solutioning) du workflow de développement. Cette phase se concentre sur la création de la Spécification Technique, la conception de l'architecture et la documentation des décisions techniques clés.
18
+ Exécuter la phase de Conception (Solutioning) : transformer le PRD en spécification technique, diagrammes d'architecture, modèle de données, conception d'API et ADR. Avec `--constitution`, consigner à la place les décisions immuables du projet dans une Constitution de projet.
19
+
20
+ ## Usage
21
+
22
+ | Invocation | Action | Remplace |
23
+ |------------|--------|----------|
24
+ | `/workflow:design` | Lit `project-management/prd.md`, écrit `project-management/tech-spec.md` + fichiers d'architecture + ADR | `/workflow:design` |
25
+ | `/workflow:design --constitution` | Écrit `project-management/constitution.md` (décisions immuables, utilisée par `/gate:check alignment`) | `/workflow:design --constitution` |
26
+ | `/workflow:design --continue` | Reprend une session de conception interrompue | - |
27
+
28
+ Ordre canonique des documents : PRD → spec technique → backlog → sprint.
15
29
 
16
30
  ## Quand utiliser
17
31
 
18
32
  - Tracks **Standard** et **Enterprise**
19
- - Après la complétion de `/workflow:plan`
20
- - Quand le PRD et le backlog sont prêts
33
+ - Après `/workflow:plan --only=prd`
34
+ - `--constitution` : au démarrage du projet (ou dès que des décisions doivent être verrouillées)
21
35
 
22
36
  ## Prérequis
23
37
 
24
- - Le PRD existe dans `project-management/prd.md`
25
- - Le backlog existe dans `project-management/backlog/`
26
-
27
- ## Mode Plan
38
+ - Le PRD existe dans `project-management/prd.md` (`--constitution` : uniquement des sources optionnelles, voir ci-dessous)
39
+ - Stack technique identifiée (demandée de façon interactive pour un nouveau projet)
28
40
 
29
- > **Le mode plan est recommandé.** Claude active le mode plan pour structurer l'approche, identifier les dépendances et présenter une stratégie de génération avant de créer les artefacts.
41
+ ## Plan Mode
30
42
 
31
- ## Workflow
43
+ > **Le plan mode est obligatoire.** Claude active le plan mode pour analyser le code impacté, proposer une stratégie de génération et attendre votre validation avant de créer des artefacts.
32
44
 
33
- ### Étape 1 : Mise en place de la conception
34
-
35
- ```
36
- ╔══════════════════════════════════════════════════════════╗
37
- ║ PHASE DE CONCEPTION - DÉMARRAGE ║
38
- ╠══════════════════════════════════════════════════════════╣
39
- ║ Track: Standard ║
40
- ║ Phase: 3 sur 4 - Conception (Solutioning) ║
41
- ║ ║
42
- ║ Objectifs : ║
43
- ║ • Créer la Spécification Technique à partir du PRD ║
44
- ║ • Concevoir l'architecture système (diagrammes C4) ║
45
- ║ • Définir le modèle de données et la conception API ║
46
- ║ • Documenter les Architecture Decision Records (ADR) ║
47
- ║ • Planifier la stratégie de test ║
48
- ╚══════════════════════════════════════════════════════════╝
49
- ```
45
+ ## Workflow : Spec technique (défaut)
50
46
 
51
- ### Étape 2 : Chargement des artefacts de planification
47
+ ### Étape 1 : Analyse du PRD
52
48
 
53
49
  ```
54
50
  ╔══════════════════════════════════════════════════════════╗
55
- ║ CHARGEMENT DES ARTEFACTS DE PLANIFICATION ║
56
- ╠══════════════════════════════════════════════════════════╣
57
- ║ ║
58
- ║ Analyse du PRD : ║
59
- ║ ├── ✅ prd.md chargé ║
51
+ ║ PHASE DE CONCEPTION - DÉMARRAGE ║
52
+ ║ Track : Standard | Phase : 3 sur 4 - Design (Solutioning) ║
53
+ ║ Chargement de project-management/prd.md ... ║
60
54
  ║ ├── Exigences fonctionnelles : 12 ║
61
55
  ║ ├── Exigences non fonctionnelles : 8 ║
62
56
  ║ └── Intégrations requises : 2 ║
63
- ║ ║
64
- ║ Résumé du backlog : ║
65
- ║ ├── ✅ backlog/ chargé ║
66
- ║ ├── EPICs : 4 ║
67
- ║ ├── User Stories : 18 ║
68
- ║ └── Story Points totaux : 89 ║
69
- ║ ║
70
- ║ Contraintes (si Enterprise) : ║
71
- ║ └── ✅ analysis/constraints.md chargé ║
72
- ║ ║
73
57
  ╚══════════════════════════════════════════════════════════╝
74
58
  ```
75
59
 
76
- ### Étape 3 : Tâches de conception
60
+ Extraire du PRD : exigences fonctionnelles (`FR-xxx`), exigences non fonctionnelles (performance, sécurité, scalabilité), personas et parcours, contraintes et hypothèses, intégrations. Si `project-management/analysis/constraints.md` existe (Enterprise), le charger aussi.
61
+
62
+ ### Étape 2 : Analyse de la codebase
77
63
 
78
- Exécuter les tâches de conception dans l'ordre :
64
+ Codebase existante : détecter la stack (backend, frontend, base de données, cache, infrastructure) et les patterns existants (architecture, style d'API, auth, tests) et rester cohérent avec eux.
65
+
66
+ Nouveau projet : poser les questions technologiques.
79
67
 
80
68
  ```
81
- ╔══════════════════════════════════════════════════════════╗
82
- ║ TÂCHES DE CONCEPTION ║
83
- ╠══════════════════════════════════════════════════════════╣
84
- ║ ║
85
- ║ □ Tâche 1 : Générer la Spécification Technique ║
86
- ║ Commande : /project:generate-tech-spec ║
87
- ║ Résultat : project-management/tech-spec.md ║
88
- ║ ║
89
- ║ □ Tâche 2 : Conception de l'architecture ║
90
- ║ Créer les diagrammes C4 (contexte, conteneur, composant)║
91
- ║ Résultat : project-management/architecture/ ║
92
- ║ ║
93
- ║ □ Tâche 3 : Conception du modèle de données ║
94
- ║ ERD et schéma de base de données ║
95
- ║ Résultat : project-management/architecture/erd.md ║
96
- ║ ║
97
- ║ □ Tâche 4 : Conception de l'API ║
98
- ║ Endpoints, payloads, authentification ║
99
- ║ Résultat : project-management/architecture/api.md ║
100
- ║ ║
101
- ║ □ Tâche 5 : Créer les ADR ║
102
- ║ Documenter les décisions techniques clés ║
103
- ║ Résultat : docs/adr/ ║
104
- ║ ║
105
- ║ □ Tâche 6 : Revue de sécurité ║
106
- ║ Checklist OWASP, stratégie d'authentification ║
107
- ║ Résultat : project-management/architecture/security.md ║
108
- ║ ║
109
- ╚══════════════════════════════════════════════════════════╝
69
+ ┌─────────────────────────────────────────────────────────┐
70
+ │ QUESTIONS - Stack technique │
71
+ ├─────────────────────────────────────────────────────────┤
72
+ │ 1. Framework backend préféré ? (Symfony/Laravel/Node) │
73
+ │ 2. Framework frontend ? (React/Vue/Angular/Aucun) │
74
+ │ 3. Base de données préférée ? (PostgreSQL/MySQL/MongoDB) │
75
+ │ 4. Cible de déploiement ? (Docker/K8s/Serverless/VPS) │
76
+ │ 5. Des intégrations existantes à prendre en compte ? │
77
+ └─────────────────────────────────────────────────────────┘
110
78
  ```
111
79
 
112
- ### Étape 4 : Exécution de la génération de la Spécification Technique
80
+ ### Étape 3 : Questions d'architecture
113
81
 
114
82
  ```
115
- Démarrage de /project:generate-tech-spec...
116
-
117
- Analyse des exigences du PRD...
118
- Détection des patterns du codebase existant...
83
+ ┌─────────────────────────────────────────────────────────┐
84
+ │ QUESTIONS - Décisions d'architecture │
85
+ ├─────────────────────────────────────────────────────────┤
86
+ │ 1. Monolithe ou microservices ? │
87
+ │ 2. Style d'API préféré ? (REST/GraphQL/gRPC) │
88
+ │ 3. Échelle attendue ? (utilisateurs, requêtes/s) │
89
+ │ 4. Fonctionnalités temps réel ? (WebSockets/SSE) │
90
+ │ 5. Besoins de stockage de fichiers ? (S3/local/CDN) │
91
+ │ 6. Besoins de traitement de jobs en arrière-plan ? │
92
+ │ 7. Intégrations tierces ? (paiement, e-mail, etc.) │
93
+ └─────────────────────────────────────────────────────────┘
94
+ ```
119
95
 
120
- [Le workflow de génération de la Spécification Technique s'exécute avec Q&R interactif]
96
+ ### Étape 4 : Tâches de conception
121
97
 
122
- ✅ Spécification Technique créée : project-management/tech-spec.md
123
- ```
98
+ Exécuter dans l'ordre :
124
99
 
125
- ### Étape 5 : Diagrammes d'architecture
100
+ | # | Tâche | Sortie |
101
+ |---|-------|--------|
102
+ | 1 | Spec technique (template `.claude/templates/project/tech-spec.md`) | `project-management/tech-spec.md` |
103
+ | 2 | Diagrammes C4 (contexte, conteneur, composant) | `project-management/architecture/c4-*.md` |
104
+ | 3 | Modèle de données : ERD (Mermaid `erDiagram`) + schémas ; valider les relations, les entités manquantes, l'indexation | `project-management/architecture/erd.md` |
105
+ | 4 | Conception d'API : endpoints dérivés des FR-xxx et des personas, payloads, erreurs, auth | `project-management/architecture/api.md` |
106
+ | 5 | Sécurité et performance : mitigations OWASP, authN/authZ, chiffrement, rate limiting, écarts RGPD | `project-management/architecture/security.md` |
107
+ | 6 | ADR pour les décisions clés (base de données, style d'API, authentification) | `docs/adr/ADR-00x-*.md` |
108
+ | 7 | Stratégie de tests (cible de couverture 80 %), CI/CD et déploiement, monitoring | dans `tech-spec.md` |
126
109
 
127
- Générer les diagrammes d'architecture C4 :
110
+ Exemple de checklist sécurité :
128
111
 
129
112
  ```
130
- ╔══════════════════════════════════════════════════════════╗
131
- ║ DIAGRAMMES D'ARCHITECTURE ║
132
- ╠══════════════════════════════════════════════════════════╣
133
- ║ ║
134
- ║ C4 Niveau 1 - Contexte système : ║
135
- ║ ┌─────────────────────────────────────────────────────┐ ║
136
- ║ │ │ ║
137
- ║ │ [Utilisateur] ──► [Notre Système] ──► [Stripe] │ ║
138
- ║ │ │ │ ║
139
- ║ │ ▼ │ ║
140
- ║ │ [SendGrid] │ ║
141
- ║ │ │ ║
142
- ║ └─────────────────────────────────────────────────────┘ ║
143
- ║ ║
144
- ║ C4 Niveau 2 - Conteneur : ║
145
- ║ ┌─────────────────────────────────────────────────────┐ ║
146
- ║ │ │ ║
147
- ║ │ [React SPA] ──► [Symfony API] ──► [PostgreSQL] │ ║
148
- ║ │ │ │ ║
149
- ║ │ ▼ │ ║
150
- ║ │ [Redis] │ ║
151
- ║ │ │ ║
152
- ║ └─────────────────────────────────────────────────────┘ ║
153
- ║ ║
154
- ║ Fichiers créés : ║
155
- ║ ├── architecture/c4-context.md ║
156
- ║ ├── architecture/c4-container.md ║
157
- ║ └── architecture/c4-component.md ║
158
- ║ ║
159
- ╚══════════════════════════════════════════════════════════╝
113
+ ✅ Authentification : JWT avec cookies HttpOnly
114
+ ✅ Autorisation : RBAC avec policies
115
+ ✅ Chiffrement des données : AES-256 au repos, TLS 1.3 en transit
116
+ ✅ Validation des entrées : validation DTO + sanitisation
117
+ ✅ Rate limiting : 100 req/min par utilisateur
118
+ ⚠️ Conformité RGPD : politique de rétention des données à définir
160
119
  ```
161
120
 
162
- ### Étape 6 : Création des ADR
121
+ ### Étape 5 : Gate de revue de conception
163
122
 
164
- Documenter les décisions architecturales clés :
123
+ - La spec technique couvre toutes les exigences du PRD (chaque `FR-xxx` est traçable)
124
+ - L'architecture supporte les NFR (performance, sécurité)
125
+ - Le modèle de données gère toutes les entités ; la conception d'API couvre toutes les user stories
126
+ - Sécurité, stratégie de tests et approche de déploiement documentées
127
+ - ADR complets et justifiés
165
128
 
166
- ```
167
- ╔══════════════════════════════════════════════════════════╗
168
- ║ ARCHITECTURE DECISION RECORDS (ADR) ║
169
- ╠══════════════════════════════════════════════════════════╣
170
- ║ ║
171
- ║ ADR créés : ║
172
- ║ ║
173
- ║ ┌─────────────────────────────────────────────────────┐ ║
174
- ║ │ ADR-001 : Choix de la base de données │ ║
175
- ║ │ Décision : PostgreSQL │ ║
176
- ║ │ Justification : Conformité ACID, support JSON, │ ║
177
- ║ │ existant │ ║
178
- ║ └─────────────────────────────────────────────────────┘ ║
179
- ║ ║
180
- ║ ┌─────────────────────────────────────────────────────┐ ║
181
- ║ │ ADR-002 : Style d'API │ ║
182
- ║ │ Décision : REST avec JSON:API │ ║
183
- ║ │ Justification : Expertise de l'équipe, cache, │ ║
184
- ║ │ simplicité │ ║
185
- ║ └─────────────────────────────────────────────────────┘ ║
186
- ║ ║
187
- ║ ┌─────────────────────────────────────────────────────┐ ║
188
- ║ │ ADR-003 : Authentification │ ║
189
- ║ │ Décision : JWT avec refresh tokens │ ║
190
- ║ │ Justification : Stateless, adapté au mobile, │ ║
191
- ║ │ standard │ ║
192
- ║ └─────────────────────────────────────────────────────┘ ║
193
- ║ ║
194
- ║ Fichiers : docs/adr/ADR-001.md, ADR-002.md, ADR-003.md ║
195
- ║ ║
196
- ╚══════════════════════════════════════════════════════════╝
197
- ```
129
+ Proposer des itérations : stratégie de cache, documentation d'API détaillée, pipeline de déploiement.
198
130
 
199
- ### Étape 7 : Porte de revue de conception
131
+ ### Étape 6 : Finalisation
200
132
 
201
133
  ```
202
134
  ╔══════════════════════════════════════════════════════════╗
203
- ║ PORTE DE REVUE DE CONCEPTION ║
204
- ╠══════════════════════════════════════════════════════════╣
205
- ║ ║
206
- ║ Checklist : ║
207
- ║ ✅ La Spécification Technique couvre toutes les exigences ║
208
- ║ du PRD ║
209
- ║ ✅ L'architecture supporte les NFR (performance, sécurité)║
210
- ║ ✅ Le modèle de données gère toutes les entités ║
211
- ║ ✅ La conception API couvre toutes les user stories ║
212
- ║ ✅ Les considérations de sécurité sont documentées ║
213
- ║ ✅ La stratégie de test est définie ║
214
- ║ ✅ L'approche de déploiement est documentée ║
215
- ║ ║
216
- ║ Questions de revue : ║
217
- ║ 1. L'architecture est-elle appropriée pour l'échelle ? ║
218
- ║ 2. Y a-t-il des intégrations manquantes ? ║
219
- ║ 3. L'approche sécurité est-elle suffisante ? ║
220
- ║ 4. Les ADR sont-ils complets et justifiés ? ║
221
- ║ ║
135
+ ║ PHASE DE CONCEPTION TERMINÉE ║
136
+ ║ ✅ project-management/tech-spec.md ║
137
+ ║ ✅ project-management/architecture/ (c4, erd, api, sec.) ║
138
+ ║ ✅ docs/adr/ (3 ADR) ║
139
+ ║ • 24 endpoints d'API • 8 entités • 3 intégrations ║
140
+ ║ ║
141
+ ║ SUIVANT : /workflow:plan --only=backlog ║
142
+ ║ PUIS : /workflow:start 1 ║
222
143
  ╚══════════════════════════════════════════════════════════╝
223
144
  ```
224
145
 
225
- ### Étape 8 : Fin de phase
146
+ Le backlog lit `project-management/prd.md` et, une fois créée, `project-management/tech-spec.md`. Après la conception, recommander `/workflow:plan --only=backlog` puis `/workflow:start 1`.
226
147
 
227
- ```
228
- ╔══════════════════════════════════════════════════════════╗
229
- ║ PHASE DE CONCEPTION TERMINÉE ║
230
- ╠══════════════════════════════════════════════════════════╣
231
- ║ ║
232
- ║ Artefacts créés : ║
233
- ║ ✅ tech-spec.md Spécification Technique ║
234
- ║ ✅ architecture/ ║
235
- ║ ├── c4-context.md Diagramme de contexte système ║
236
- ║ ├── c4-container.md Diagramme de conteneurs ║
237
- ║ ├── c4-component.md Diagramme de composants ║
238
- ║ ├── erd.md Diagramme Entité-Relation ║
239
- ║ ├── api.md Conception API ║
240
- ║ └── security.md Considérations de sécurité ║
241
- ║ ✅ docs/adr/ 3 Architecture Decision Records║
242
- ║ ║
243
- ║ Résumé : ║
244
- ║ • 24 endpoints API conçus ║
245
- ║ • 8 entités de base de données définies ║
246
- ║ • 3 intégrations externes spécifiées ║
247
- ║ • Objectif de couverture de tests à 80% ║
248
- ║ ║
249
- ║ ─────────────────────────────────────────────────────────║
250
- ║ PHASE SUIVANTE : Implémentation ║
251
- ║ Commande : /workflow:implement ║
252
- ║ ─────────────────────────────────────────────────────────║
253
- ║ ║
254
- ║ Prêt à démarrer le développement du Sprint 1 ! ║
255
- ╚══════════════════════════════════════════════════════════╝
256
- ```
148
+ ## Workflow : Constitution (`--constitution`)
149
+
150
+ ### Phase 1 : Découverte du contexte
151
+
152
+ Analyse automatique de : `README.md`, `project-management/prd.md`, `project-management/tech-spec.md`, structure de la codebase (patterns, conventions) et configuration `.claude/`. Lister les sources trouvées.
153
+
154
+ ### Phase 2 : Clarification interactive
155
+
156
+ Interroger l'utilisateur, par thème, pour combler les lacunes :
157
+
158
+ | Thème | Questions |
159
+ |-------|-----------|
160
+ | Vision & Mission | Vision en une phrase ; quoi, pour qui, pourquoi ; objectifs non négociables ; ce qui ferait échouer le projet |
161
+ | Contraintes techniques | Technologies verrouillées ; pattern d'architecture obligatoire ; contraintes d'infrastructure ; intégrations tierces obligatoires |
162
+ | Principes de conception | Patterns obligatoires ; patterns/pratiques interdits ; standards de code ; stratégie de tests requise |
163
+ | Exigences non fonctionnelles | Objectifs de performance (latence, charge) ; sécurité ; conformité (RGPD, SOC2) ; disponibilité/uptime |
164
+ | Périmètre | Hors périmètre ; systèmes externes ; frontières d'équipe et responsabilités ; qui peut amender la constitution |
165
+
166
+ ### Phase 3 : Génération
167
+
168
+ 1. Charger le template `.claude/templates/project/constitution.md`
169
+ 2. Renseigner la vision, la mission et les objectifs non négociables
170
+ 3. Verrouiller la stack technique (technologies et versions)
171
+ 4. Consigner les patterns obligatoires et interdits
172
+ 5. Enregistrer les objectifs de performance, de sécurité et de conformité
173
+ 6. Documenter les exclusions, les frontières d'intégration et le processus d'amendement
174
+
175
+ ### Phase 4 : Revue et ratification
176
+
177
+ Sortie : `project-management/constitution.md` avec les sections Vision & Mission, Contraintes techniques, Principes de conception, Exigences non fonctionnelles, Périmètre, Processus d'amendement. Proposer d'ajuster les décisions verrouillées, d'ajouter des contraintes ou d'affiner le périmètre. Les notes de découverte optionnelles vont dans `project-management/analysis/discovery-notes.md`.
178
+
179
+ La constitution est la référence utilisée par `/gate:check alignment`. Étapes suivantes : `/workflow:plan --only=prd` s'il n'y a pas encore de PRD, sinon lancer le `/workflow:design` par défaut.
257
180
 
258
181
  ## Agents impliqués
259
182
 
260
- - **tech-lead** : Conception technique globale et création des ADR
261
- - **api-designer** : Conception d'API REST/GraphQL
262
- - **database-architect** : Modèle de données et conception du schéma
263
- - **ui-designer** : Architecture frontend (si applicable)
264
- - **devops-engineer** : Conception du déploiement et de l'infrastructure
183
+ - **tech-lead** : conception technique globale et création des ADR
184
+ - **api-designer** : conception d'API REST/GraphQL
185
+ - **database-architect** : modèle de données et conception du schéma
186
+ - **ui-designer** : architecture frontend (le cas échéant)
187
+ - **devops-engineer** : conception du déploiement et de l'infrastructure
265
188
 
266
189
  ## Fichiers de sortie
267
190
 
268
- | Fichier | Objectif |
269
- |---------|----------|
270
- | `tech-spec.md` | Spécification Technique complète |
271
- | `architecture/c4-*.md` | Diagrammes d'architecture C4 |
272
- | `architecture/erd.md` | Diagramme Entité-Relation |
273
- | `architecture/api.md` | Documentation des endpoints API |
274
- | `architecture/security.md` | Conception de la sécurité |
191
+ | Fichier | Rôle |
192
+ |---------|------|
193
+ | `project-management/tech-spec.md` | Spécification technique complète |
194
+ | `project-management/constitution.md` | Constitution du projet (`--constitution`) |
195
+ | `project-management/architecture/c4-*.md` | Diagrammes d'architecture C4 |
196
+ | `project-management/architecture/erd.md` | Diagramme entité-relation |
197
+ | `project-management/architecture/api.md` | Documentation des endpoints d'API |
198
+ | `project-management/architecture/security.md` | Conception de la sécurité |
275
199
  | `docs/adr/*.md` | Architecture Decision Records |
276
200
 
201
+ ## Exemple de session
202
+
203
+ ```
204
+ User: /workflow:design
205
+
206
+ Claude: Chargement de project-management/prd.md : 12 FR, 8 NFR.
207
+ Détecté : Symfony + React + PostgreSQL.
208
+ ❓ L'API actuelle est REST. Garder REST ou migrer vers GraphQL ?
209
+ > Garder REST
210
+ [... Q&R interactives ...]
211
+ ✅ Spec technique générée : project-management/tech-spec.md
212
+ Suivant : /workflow:plan --only=backlog, puis /workflow:start 1
213
+ ```
214
+
277
215
  ## Commandes associées
278
216
 
279
- - `/workflow:plan` - Phase précédente
280
- - `/workflow:implement` - Phase suivante
217
+ - `/workflow:plan` - Phase précédente (`--only=prd`, `--only=backlog`)
218
+ - `/workflow:start` - Démarrer le premier sprint
219
+ - `/workflow:implement` - Phase d'implémentation
281
220
  - `/workflow:status` - Vérifier la progression
282
- - `/project:generate-tech-spec` - Génération directe de la spécification technique
221
+ - `/gate:check` - Quality gates (`alignment` utilise la constitution)
283
222
  - `/common:architecture-decision` - Créer des ADR individuels