@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
@@ -0,0 +1,249 @@
1
+ ---
2
+ description: "Pipeline de rétro-ingénierie brownfield : scanner le code, puis dériver un PRD brouillon, des user stories et une analyse d'écarts spec vs code"
3
+ argument-hint: "[scan|prd|stories|gaps|all] [--scope=<scope>] [--module=<name>] [--output=<path>]"
4
+ ---
5
+
6
+ # /project:reverse
7
+
8
+ ## Mission
9
+
10
+ Rétro-concevoir des spécifications à partir d'un code existant (projets brownfield). Une seule commande couvre tout le pipeline : inventorier le code (`scan`), inférer un PRD brouillon (`prd`), inférer des user stories (`stories`) et comparer les spécifications au code (`gaps`). `all` enchaîne les quatre dans l'ordre.
11
+
12
+ ## Usage
13
+
14
+ | Commande | Rôle | Remplace |
15
+ |----------|------|----------|
16
+ | `/project:reverse scan` | Inventaire des modules, endpoints, modèles, services, tests, infrastructure | `/project:reverse scan` |
17
+ | `/project:reverse prd` | PRD BROUILLON inféré du code | `/project:reverse prd` |
18
+ | `/project:reverse stories` | User stories BROUILLON inférées du code et des tests | `/project:reverse stories` |
19
+ | `/project:reverse gaps` | Analyse d'écarts spec vs code, classée par sévérité | `/project:reverse gaps` |
20
+ | `/project:reverse all` | `scan` -> `prd` -> `stories` -> `gaps`, dans cet ordre | les quatre |
21
+
22
+ ## Arguments
23
+
24
+ Analyser `$ARGUMENTS` : premier jeton = sous-commande (`scan`, `prd`, `stories`, `gaps`, `all`). Sans sous-commande, demander laquelle (recommander `all` à la première exécution). Flags :
25
+
26
+ | Flag | S'applique à | Description |
27
+ |------|-------------|-------------|
28
+ | `--scope=<scope>` | `scan` : all, backend, frontend, api, tests / `stories` : all, module, endpoint / `gaps` : full, requirements, stories, code | Limite l'analyse |
29
+ | `--module=<name>` | `stories` | Génère les stories d'un seul module |
30
+ | `--output=<path>` | `scan`, `prd` | Chemin de sortie (valeurs par défaut ci-dessous) |
31
+
32
+ ## Règles communes
33
+
34
+ **Le mode plan est obligatoire.** Avant d'exécuter, activer le mode plan, proposer le plan et attendre la validation avant de modifier un fichier. Avec `all`, un seul plan couvre les quatre étapes.
35
+
36
+ **Règles d'inférence des personas (utilisées par `prd` et `stories`) :**
37
+
38
+ | Pattern d'authentification | Persona inféré |
39
+ |----------------------------|----------------|
40
+ | `ROLE_ADMIN` + routes d'administration | Administrateur |
41
+ | `ROLE_USER` + routes authentifiées | Utilisateur enregistré |
42
+ | `ROLE_MANAGER` + routes de gestion | Manager / superviseur |
43
+ | Endpoints publics (sans auth) | Visiteur / anonyme |
44
+ | Authentification par clé d'API | Système externe |
45
+
46
+ **Tout ce qui est inféré est un BROUILLON.** Le code montre ce que le système fait, pas ce qu'il devrait faire. Marquer chaque artefact inféré `INFERRED` et exiger une validation humaine avant de le considérer comme faisant autorité. Marqueur à insérer dans chaque section ou story inférée :
47
+
48
+ ```
49
+ > INFERRED -- Généré par analyse du code existant.
50
+ > Une validation humaine est requise avant de le considérer comme faisant autorité.
51
+ ```
52
+
53
+ **Règle de statut :** `.bmad/sprint-status.yaml` est l'unique source de vérité du STATUT des stories/tâches. Les stories générées ne contiennent que du contenu (pas de champ de statut) ; les enregistrer dans `.bmad/sprint-status.yaml` (schéma : `.claude/templates/project/sprint-status.md`) une fois validées.
54
+
55
+ **Chemins par défaut :**
56
+
57
+ ```
58
+ project-management/
59
+ +-- scan-report.md # scan
60
+ +-- prd.md # prd (BROUILLON)
61
+ +-- backlog/user-stories/US-*.md # stories
62
+ +-- analysis/
63
+ +-- reverse-engineering.md # prd : notes d'analyse et niveaux de confiance
64
+ +-- gap-analysis.md # gaps
65
+ ```
66
+
67
+ **Prérequis :** code source accessible ; `README.md`, `docker-compose.yml`, `./docs/` optionnels. `prd`, `stories` et `gaps` nécessitent `project-management/scan-report.md` -- s'il manque, lancer `scan` d'abord (automatique avec `all`). `gaps` nécessite aussi un PRD (`project-management/prd.md`, issu de `/workflow:plan --only=prd` ou de `prd`) ; `stories` et `gaps` l'utilisent pour la traçabilité FR-xxx lorsqu'il existe.
68
+
69
+ **Convention de sortie :** chaque étape affiche une bannière de progression encadrée, se termine par un court résumé et propose les prochaines étapes (valider de façon interactive, lancer la sous-commande suivante). Avec `all`, marquer une pause de validation humaine après `prd` et `stories` avant de continuer vers `gaps`.
70
+
71
+ ## scan
72
+
73
+ Point d'entrée du pipeline : un inventaire structuré du code.
74
+
75
+ **1. Détection de la stack.** Parcourir la racine à la recherche de marqueurs de framework, lire le manifeste (`composer.json`, `package.json`, `pubspec.yaml`, `*.csproj`, `pyproject.toml`), identifier la version du framework et les dépendances clés, détecter l'infrastructure (Docker, CI/CD, Redis, files de messages) et choisir l'agent reviewer adapté (`@symfony-reviewer`, `@react-reviewer`...).
76
+
77
+ | Pattern de fichier | Stack |
78
+ |--------------------|-------|
79
+ | `*.php` + `symfony.lock` | Symfony |
80
+ | `*.php` + `artisan` | Laravel |
81
+ | `*.php` + `composer.json` | PHP (générique) |
82
+ | `*.dart` + `pubspec.yaml` | Flutter |
83
+ | `*.tsx` / `*.jsx` + `next.config.*` | React (Next.js) |
84
+ | `*.tsx` / `*.jsx` + `package.json` | React |
85
+ | `*.vue` + `package.json` | Vue.js |
86
+ | `angular.json` | Angular |
87
+ | `*.cs` + `*.csproj` | .NET / C# |
88
+ | `*.py` + `pyproject.toml` | Python |
89
+ | `Dockerfile` / `docker-compose.yml` | Docker (infra) |
90
+
91
+ **2. Scan de la structure.** Classer les fichiers en :
92
+ 1. Modules / domaines (bounded contexts, modules partagés, namespaces)
93
+ 2. Endpoints (routes, contrôleurs, méthodes HTTP, chemins, middlewares/guards)
94
+ 3. Modèles / entités (champs, types, relations, migrations)
95
+ 4. Services (services, use cases, handlers de commandes/requêtes, listeners, subscribers)
96
+ 5. Tests (unitaires / intégration / E2E, correspondance test-source, frameworks)
97
+ 6. Infrastructure (Docker, CI/CD, configuration d'environnement, intégrations tierces)
98
+
99
+ **3. Analyse du code.** Estimer les LOC par module ; identifier le pattern d'architecture (MVC, Clean Architecture, DDD...) ; détecter l'outillage qualité (linting, analyse statique) ; cartographier le graphe de dépendances entre modules ; repérer les marqueurs de dette technique ; utiliser le reviewer spécifique à la stack pour des analyses ciblées.
100
+
101
+ **4. Rapport** dans `project-management/scan-report.md`, avec les sections : en-tête (projet, stack, taille, modules), Technology Stack, Modules / Bounded Contexts (fichiers, LOC, tests, couverture), Endpoints (méthode, chemin, contrôleur, auth), Models / Entities (champs, relations, migrations), Services (dépendances, type), Tests (type, nombre, framework), Infrastructure (composant, fichier de config, notes) et un Complexity Summary.
102
+
103
+ ```
104
+ | Module | Files | LOC | Tests | Coverage |
105
+ | User | 24 | 1,800 | 12 | ~65% |
106
+ | Method | Path | Controller | Auth |
107
+ | GET | /api/users | UserController | JWT |
108
+ ```
109
+
110
+ Métriques du Complexity Summary : LOC total, nombre de fichiers, bounded contexts, endpoints d'API, entités en base, fichiers de test, couverture de tests estimée, pattern d'architecture.
111
+
112
+ ## prd
113
+
114
+ Pendant brownfield de `/workflow:plan --only=prd` : un PRD BROUILLON inféré du code.
115
+
116
+ **1. Charger** le rapport de scan (ainsi que `./docs/` et `README.md`) ; analyser stack, modules, endpoints, entités, services.
117
+
118
+ **2. Analyse de la logique métier**, pour chaque module : événements de domaine (payloads, listeners, workflows), use cases / commandes / requêtes, règles de validation (entité, requête, assertions métier), machines à états (enums de statuts, configuration de workflow, guards), intégrations externes (paiement, e-mail, stockage, API tierces).
119
+
120
+ **3. Inférence des exigences.**
121
+
122
+ | Pattern de code | Exigence inférée |
123
+ |-----------------|------------------|
124
+ | Middleware d'auth / JWT | Authentification utilisateur requise |
125
+ | Guards par rôle | Autorisation par rôles |
126
+ | Contrôleurs CRUD | Fonctionnalités de gestion de données |
127
+ | Handlers d'upload de fichiers | Gestion de documents/médias |
128
+ | Services d'e-mail | Système de notifications |
129
+ | Passerelle de paiement | Traitement des paiements |
130
+ | Endpoints d'export | Fonctionnalités de reporting/export |
131
+ | Logique de recherche/filtre | Recherche et filtrage |
132
+ | Pagination | Gestion de gros volumes de données |
133
+ | Couches de cache | Exigences de performance |
134
+ | Workers de files | Exigences de traitement asynchrone |
135
+ | Rate limiting | Exigences de protection de l'API |
136
+
137
+ | Infrastructure | NFR inférée |
138
+ |----------------|-------------|
139
+ | Docker / Kubernetes | Scalabilité, conteneurisation |
140
+ | Redis / Memcached | Cache de performance |
141
+ | Système de files (RabbitMQ...) | Traitement asynchrone, fiabilité |
142
+ | Pipelines CI/CD | Automatisation du déploiement |
143
+ | Config de load balancer | Haute disponibilité |
144
+ | Configuration SSL/TLS | Sécurité |
145
+ | Stack de logs (ELK...) | Supervision |
146
+
147
+ Les personas proviennent du tableau commun ci-dessus.
148
+
149
+ **4. Générer** `project-management/prd.md` en huit sections : Executive Summary (INFERRED), Problem Statement (INFERRED), Goals & Metrics (**PLACEHOLDER** -- impossible à inférer, saisie humaine requise), Target Users / Personas (INFERRED, chacun en brouillon), Functional Requirements (INFERRED, une par groupe de fonctionnalités/endpoints, priorisée selon la complexité et l'usage, étiquetée avec le module source), Non-Functional Requirements (INFERRED), Scope & Constraints (INFERRED), Risks & Mitigations (INFERRED : dette, zones non testées, risques de dépendances). Écrire les notes d'analyse et la confiance par section (HIGH / MEDIUM / LOW) dans `project-management/analysis/reverse-engineering.md` ; l'en-tête du PRD affiche `Status: DRAFT - Requires human validation` et le tableau de confiance.
150
+
151
+ **5. Validation humaine.** Présenter un résumé des sections inférées, mettre en évidence celles à faible confiance et celles qui n'ont pu être inférées (Goals, Metrics), demander à l'utilisateur de valider / corriger / compléter chacune, itérer jusqu'à satisfaction.
152
+
153
+ ## stories
154
+
155
+ User stories BROUILLON inférées des endpoints, services, entités et tests.
156
+
157
+ **1. Charger** le rapport de scan et le PRD s'il existe (pour la traçabilité FR-xxx) ; déterminer le périmètre (all, un `--module`, un endpoint).
158
+
159
+ **2. Extraction des fonctionnalités**, par endpoint/fonctionnalité : contrôleur/handler (méthode, route, validation de la requête, réponse et codes de statut, autorisation), service/use case (flux métier, effets de bord, appels externes, chemins d'erreur), entité/modèle (champs et contraintes, relations, transitions d'état, soft delete/timestamps), tests (noms de méthodes, assertions, fixtures, cas limites).
160
+
161
+ **3. Génération des stories.**
162
+
163
+ | Route | Action inférée |
164
+ |-------|----------------|
165
+ | `POST /api/resources` | créer une ressource |
166
+ | `GET /api/resources` | lister les ressources |
167
+ | `GET /api/resources/{id}` | consulter une ressource |
168
+ | `PUT /api/resources/{id}` | modifier une ressource |
169
+ | `DELETE /api/resources/{id}` | supprimer une ressource |
170
+ | action personnalisée | d'après le nom de méthode et la logique métier |
171
+
172
+ Inférence du bénéfice : CRUD -> « afin de gérer les données {resource} » ; recherche/filtre -> « trouver rapidement les {resources} pertinentes » ; export -> « utiliser les données {resource} à l'extérieur » ; notifications -> « être informé de {event} » ; auth -> « que mes données soient sécurisées et accessibles à moi seul ». Les critères d'acceptation viennent des tests : fixtures -> Given, actions -> When, résultats attendus -> Then.
173
+
174
+ ```markdown
175
+ # US-XXX: [Titre inféré]
176
+
177
+ > INFERRED -- générée par analyse du code. Validation humaine requise.
178
+
179
+ ## Source
180
+ - Module / Endpoint ({method} {path}) / Contrôleur / Implements: FR-XXX (si PRD)
181
+
182
+ ## User Story
183
+ As [persona inféré] I want [action inférée] So that [bénéfice inféré]
184
+ Conversation: [ ] persona [ ] l'action correspond à l'intention [ ] le bénéfice correspond aux objectifs métier
185
+ INVEST: [ ] Independent / Negotiable / Valuable / Estimable / Sized / Testable
186
+
187
+ ## Acceptance Criteria (Gherkin)
188
+ Scenario: nominal (depuis le cas passant) Given / When / Then
189
+ Scenario: erreur (depuis la validation) Given / When / Then
190
+
191
+ ## Technical Notes
192
+ Entité, règles de validation, exigences d'auth, événements dispatchés
193
+
194
+ ## Estimation
195
+ Story Points (selon la complexité), MoSCoW (selon les usages)
196
+ ```
197
+
198
+ **4. Traçabilité** (si `project-management/prd.md` existe) : associer chaque story à une FR-xxx (ajouter `implements: FR-xxx`), lister les stories sans exigence (code sans spec) et les exigences sans story (spec sans code).
199
+
200
+ **5. Sortie et validation.** Enregistrer dans `project-management/backlog/user-stories/US-001-create-user.md`, `US-002-...`, générer un index récapitulatif groupé par module (titre, points, MoSCoW, nombre de stories reliées au PRD, nombre de non reliées), puis demander à l'utilisateur de valider, corriger ou rejeter chaque story.
201
+
202
+ ## gaps
203
+
204
+ Comparer les spécifications (PRD, stories, spec technique) avec le code réel.
205
+
206
+ **1. Charger les specs :** `project-management/prd.md`, `project-management/backlog/user-stories/`, `project-management/tech-spec.md` (le cas échéant), le rapport de scan (le rafraîchir en lançant `scan` s'il manque ou est obsolète). Analyser FR-xxx, NFR-xxx et US-xxx.
207
+
208
+ **2. Scanner le code :** cataloguer endpoints, logique métier, modèles de données, tests, infrastructure dans un inventaire de fonctionnalités indexé par module.
209
+
210
+ **3. Comparaison à quatre voies :**
211
+
212
+ | Catégorie | Vérifications |
213
+ |-----------|---------------|
214
+ | **Spec sans code** (non implémenté) | FR-xxx sans endpoint correspondant ; US-xxx sans fonctionnalité correspondante ; NFR-xxx sans configuration correspondante |
215
+ | **Code sans spec** (non documenté) | Endpoints sans référence FR ; services sans référence US ; entités non couvertes par les specs |
216
+ | **Écart spec-code** (incohérent) | Différences de champs, de flux de statuts, d'auth, de validation et de format de réponse |
217
+ | **Lacunes de tests** (non testé) | Fonctionnalités sans tests unitaires / d'intégration ; critères d'acceptation sans tests E2E ; chemins d'erreur sans tests |
218
+
219
+ **4. Classer par sévérité :**
220
+
221
+ | Sévérité | Critères | Action |
222
+ |----------|----------|--------|
223
+ | **Critical** | Fonctionnalité cœur manquante ou cassée ; faille de sécurité ; risque d'intégrité des données | Correction immédiate |
224
+ | **Major** | Écart de fonctionnalité important ; incohérence significative ; tests critiques manquants | Sprint en cours |
225
+ | **Minor** | Lacune de documentation ; incohérence non critique ; tests de cas limites manquants | Sprint suivant |
226
+ | **Info** | Incohérence de style ; fonctionnalité optionnelle ; amélioration | Backlog |
227
+
228
+ Règles : spec sans code + P0 = Critical, + P1 = Major, + P2 = Minor ; code sans spec + auth = Major, + CRUD = Minor ; écart + intégrité des données = Critical, + UI/UX = Minor ; lacune de tests + logique métier = Major, + cas limite = Minor.
229
+
230
+ **5. Rapport** dans `project-management/analysis/gap-analysis.md` : en-tête (projet, date, périmètre), pourcentages de couverture spec / code / tests, nombre d'écarts par sévérité, les quatre tableaux par catégorie avec preuves (chemins de fichiers, références de lignes) et une liste de remédiation classée par priorité avec l'effort (S < 2h, M 2-8h, L > 8h).
231
+
232
+ ```
233
+ | # | Action | Severity | Effort |
234
+ | 1 | Implement FR-005 (password reset) | Critical | M |
235
+ | 2 | Add integration tests for payment | Critical | S |
236
+ ```
237
+
238
+ Proposer ensuite : créer des stories pour les fonctionnalités manquantes, générer des tâches pour les éléments de remédiation, ou se concentrer sur une catégorie d'écarts.
239
+
240
+ ## all
241
+
242
+ Exécuter `scan` -> `prd` -> `stories` -> `gaps` dans l'ordre, en réutilisant chaque sortie comme entrée de l'étape suivante (sans re-scan). Marquer une pause de validation humaine après `prd` et `stories`. Terminer par un récapitulatif : fichiers écrits, nombre de personas / exigences / stories inférés, nombre d'écarts par sévérité et les 3 actions prioritaires.
243
+
244
+ ## Commandes associées
245
+
246
+ - `/workflow:plan --only=prd` - Générer un PRD de façon interactive (greenfield)
247
+ - `/workflow:plan --only=backlog` - Créer un backlog SCRUM à partir du PRD
248
+ - `/workflow:design` - Générer une spécification technique
249
+ - `/project:backlog` - Gérer epics, stories et tâches
@@ -1,191 +1,9 @@
1
1
  ---
2
- description: Exécuter toutes les stories d'un epic en batch
3
- argument-hint: <epic-id> [--dry-run]
2
+ description: "Obsolète (retirée en 9.0) : utilisez /workflow:implement --epic"
3
+ deprecated: true
4
+ replaced-by: /workflow:implement
4
5
  ---
5
6
 
6
- # Run Epic
7
+ > ⚠️ `/project:run-epic` est obsolète et sera retirée en 9.0. Utilisez `/workflow:implement --epic`.
7
8
 
8
- Mettre en file d'attente et traiter toutes les stories d'un epic en mode batch.
9
-
10
- ## Arguments
11
-
12
- $ARGUMENTS (format: <epic-id> [--dry-run])
13
- - **epic-id** (requis) : Identifiant de l'epic (ex: EPIC-001)
14
- - **--dry-run** (optionnel) : Prévisualiser sans exécuter
15
-
16
- ## Mode Plan
17
-
18
- > **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.
19
-
20
- ## Processus
21
-
22
- ### Étape 1 : Identifier les stories de l'epic
23
-
24
- 1. Lire `.bmad/sprint-status.yaml`
25
- 2. Trouver toutes les stories avec `epic_id` correspondant à l'argument
26
- 3. Trier par priorité ou ID
27
-
28
- ### Étape 2 : Vérifier la préparation des stories
29
-
30
- Pour chaque story, vérifier :
31
- - La story existe et a les champs requis
32
- - Pas déjà terminée
33
- - Pas bloquée (ou signaler pour revue)
34
-
35
- ### Étape 3 : Construire la file d'exécution
36
-
37
- Créer une file priorisée :
38
- 1. Stories sans dépendances en premier
39
- 2. ID plus bas = priorité plus haute
40
- 3. Respecter la priorité explicite si définie
41
-
42
- ### Étape 4 : Ajouter à la file batch
43
-
44
- Mettre à jour `.bmad/batch-queue.yaml` :
45
- ```yaml
46
- queue:
47
- - story_id: "US-001"
48
- priority: 1
49
- status: "pending"
50
- dependencies: []
51
- - story_id: "US-002"
52
- priority: 2
53
- dependencies: ["US-001"]
54
- ```
55
-
56
- ### Étape 5 : Exécuter (sauf --dry-run)
57
-
58
- Pour chaque story dans l'ordre :
59
- 1. Transitionner vers in-progress
60
- 2. Exécuter le workflow de développement
61
- 3. Exécuter les quality gates
62
- 4. Transitionner à travers les états
63
- 5. Checkpoint après chaque
64
-
65
- ## Format de sortie
66
-
67
- ### Dry Run
68
-
69
- ```
70
- ═══════════════════════════════════════════════════════
71
- Run Epic : EPIC-002 (DRY RUN)
72
- ═══════════════════════════════════════════════════════
73
-
74
- Epic : EPIC-002 - Gestion Utilisateurs
75
- Stories : 5
76
-
77
- Plan d'exécution :
78
- ──────────────────────────────────────────────────────
79
- [1] US-010 : Inscription utilisateur (5 pts)
80
- Statut : ready-for-dev → in-progress → review → done
81
- Dépendances : aucune
82
-
83
- [2] US-011 : Connexion utilisateur (5 pts)
84
- Statut : ready-for-dev → in-progress → review → done
85
- Dépendances : US-010
86
-
87
- [3] US-012 : Page profil (5 pts)
88
- Statut : ready-for-dev → in-progress → review → done
89
- Dépendances : US-010
90
-
91
- [4] US-013 : Réinitialisation mot de passe (3 pts)
92
- Statut : ready-for-dev → in-progress → review → done
93
- Dépendances : US-010, US-011
94
-
95
- [5] US-014 : Vérification email (3 pts)
96
- Statut : ready-for-dev → in-progress → review → done
97
- Dépendances : US-010
98
-
99
- Total Points : 21
100
-
101
- Ordre d'exécution (respect des dépendances) :
102
- 1. US-010 (pas de deps)
103
- 2. US-011, US-012, US-014 (parallèle après US-010)
104
- 3. US-013 (après US-010, US-011)
105
-
106
- Workflow estimé par story :
107
- • Transition vers in-progress
108
- • Cycles TDD (red → green → refactor)
109
- • Code review
110
- • Validation quality gate
111
- • Transition vers done
112
-
113
- ⚠️ DRY RUN - Aucune modification effectuée
114
-
115
- Exécuter sans --dry-run pour lancer.
116
- ═══════════════════════════════════════════════════════
117
- ```
118
-
119
- ### Exécution
120
-
121
- ```
122
- ═══════════════════════════════════════════════════════
123
- Run Epic : EPIC-002
124
- ═══════════════════════════════════════════════════════
125
-
126
- Epic : EPIC-002 - Gestion Utilisateurs
127
- Mode : Séquentiel
128
- Stories : 5
129
-
130
- Mise en file des stories...
131
- ──────────────────────────────────────────────────────
132
- ✅ Ajouté US-010 (priorité 1)
133
- ✅ Ajouté US-011 (priorité 2, dépend de US-010)
134
- ✅ Ajouté US-012 (priorité 3, dépend de US-010)
135
- ✅ Ajouté US-013 (priorité 4, dépend de US-010, US-011)
136
- ✅ Ajouté US-014 (priorité 5, dépend de US-010)
137
-
138
- Statut de la file :
139
- ──────────────────────────────────────────────────────
140
- ⏳ En attente : 5
141
- 🔄 En cours : 0
142
- ✅ Terminé : 0
143
- ❌ Échoué : 0
144
-
145
- Prochaines étapes :
146
- ──────────────────────────────────────────────────────
147
- Exécuter la file :
148
- /project:run-queue
149
-
150
- Ou traiter automatiquement :
151
- /project:run-queue --auto
152
-
153
- Surveiller la progression :
154
- /project:batch-status
155
- ═══════════════════════════════════════════════════════
156
- ```
157
-
158
- ## Exemple
159
-
160
- ```
161
- /project:run-epic EPIC-002 --dry-run
162
- /project:run-epic EPIC-002
163
- ```
164
-
165
- ## Exécution parallèle
166
-
167
- Pour les stories indépendantes, activer le mode parallèle :
168
- ```
169
- /project:run-queue --parallel 3
170
- ```
171
-
172
- Cela traite jusqu'à 3 stories simultanément quand elles n'ont pas de dépendances.
173
-
174
- ## Reprise
175
-
176
- Si l'exécution est interrompue :
177
- ```
178
- /project:run-queue --resume
179
- ```
180
-
181
- Continue depuis le dernier checkpoint.
182
-
183
- ## Intégration avec Ralph
184
-
185
- Si Ralph est configuré, l'exécution batch s'intègre :
186
- ```yaml
187
- # ralph.yml
188
- bmad_integration:
189
- enabled: true
190
- batch_queue_file: ".bmad/batch-queue.yaml"
191
- ```
9
+ Exécutez `/workflow:implement --epic $ARGUMENTS` : lisez `.claude/commands/workflow/implement.md` et suivez-le avec ces arguments.