@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: "Brownfield reverse-engineering pipeline: scan the codebase, then derive a draft PRD, user stories and a spec-vs-code gap analysis"
3
+ argument-hint: "[scan|prd|stories|gaps|all] [--scope=<scope>] [--module=<name>] [--output=<path>]"
4
+ ---
5
+
6
+ # /project:reverse
7
+
8
+ ## Mission
9
+
10
+ Reverse-engineer specifications from an existing codebase (brownfield projects). One command covers the whole pipeline: inventory the code (`scan`), infer a draft PRD (`prd`), infer user stories (`stories`) and compare specs against code (`gaps`). `all` runs the four in order.
11
+
12
+ ## Usage
13
+
14
+ | Command | What it does | Replaces |
15
+ |---------|--------------|----------|
16
+ | `/project:reverse scan` | Inventory of modules, endpoints, models, services, tests, infrastructure | `/project:reverse scan` |
17
+ | `/project:reverse prd` | DRAFT PRD inferred from code | `/project:reverse prd` |
18
+ | `/project:reverse stories` | DRAFT user stories inferred from code and tests | `/project:reverse stories` |
19
+ | `/project:reverse gaps` | Spec vs code gap analysis, severity-ranked | `/project:reverse gaps` |
20
+ | `/project:reverse all` | `scan` -> `prd` -> `stories` -> `gaps`, in this order | all four |
21
+
22
+ ## Arguments
23
+
24
+ Parse `$ARGUMENTS`: first token = subcommand (`scan`, `prd`, `stories`, `gaps`, `all`). With no subcommand, ask which one (recommend `all` on a first run). Flags:
25
+
26
+ | Flag | Applies to | Description |
27
+ |------|-----------|-------------|
28
+ | `--scope=<scope>` | `scan`: all, backend, frontend, api, tests / `stories`: all, module, endpoint / `gaps`: full, requirements, stories, code | Limits the analysis |
29
+ | `--module=<name>` | `stories` | Generate stories for one module only |
30
+ | `--output=<path>` | `scan`, `prd` | Output path (defaults below) |
31
+
32
+ ## Shared rules
33
+
34
+ **Plan mode is mandatory.** Before executing, activate plan mode, propose the plan, and wait for validation before changing any file. With `all`, one plan covers the four steps.
35
+
36
+ **Persona and inference rules (used by `prd` and `stories`):**
37
+
38
+ | Auth pattern | Inferred persona |
39
+ |--------------|------------------|
40
+ | `ROLE_ADMIN` + admin routes | Administrator |
41
+ | `ROLE_USER` + authenticated routes | Registered user |
42
+ | `ROLE_MANAGER` + management routes | Manager / supervisor |
43
+ | Public endpoints (no auth) | Visitor / anonymous |
44
+ | API key auth | External system |
45
+
46
+ **Everything inferred is a DRAFT.** Code shows what the system does, not what it should do. Mark every inferred artifact `INFERRED` and require human validation before it is treated as authoritative. Marker to insert in each inferred section or story:
47
+
48
+ ```
49
+ > INFERRED -- This was generated by analyzing the existing codebase.
50
+ > Human validation is required before treating this as authoritative.
51
+ ```
52
+
53
+ **Status rule:** `.bmad/sprint-status.yaml` is the single source of truth for story/task STATUS. Generated stories contain content only (no status field); register them in `.bmad/sprint-status.yaml` (schema: `.claude/templates/project/sprint-status.md`) once validated.
54
+
55
+ **Default paths:**
56
+
57
+ ```
58
+ project-management/
59
+ +-- scan-report.md # scan
60
+ +-- prd.md # prd (DRAFT)
61
+ +-- backlog/user-stories/US-*.md # stories
62
+ +-- analysis/
63
+ +-- reverse-engineering.md # prd: analysis notes and confidence levels
64
+ +-- gap-analysis.md # gaps
65
+ ```
66
+
67
+ **Prerequisites:** source code accessible; optional `README.md`, `docker-compose.yml`, `./docs/`. `prd`, `stories` and `gaps` need `project-management/scan-report.md` -- if missing, run `scan` first (automatic under `all`). `gaps` also needs a PRD (`project-management/prd.md`, from `/workflow:plan --only=prd` or `prd`); `stories` and `gaps` use it for FR-xxx traceability when present.
68
+
69
+ **Output convention:** each step prints a boxed progress banner, ends with a short summary and offers next steps (validate interactively, run the next subcommand). Under `all`, pause for human validation after `prd` and `stories` before continuing to `gaps`.
70
+
71
+ ## scan
72
+
73
+ Entry point of the pipeline: a structured inventory of the codebase.
74
+
75
+ **1. Stack detection.** Scan the root for framework markers, read the manifest (`composer.json`, `package.json`, `pubspec.yaml`, `*.csproj`, `pyproject.toml`), identify framework version and key dependencies, detect infrastructure (Docker, CI/CD, Redis, queues) and pick the matching reviewer agent (`@symfony-reviewer`, `@react-reviewer`...).
76
+
77
+ | File pattern | Stack |
78
+ |--------------|-------|
79
+ | `*.php` + `symfony.lock` | Symfony |
80
+ | `*.php` + `artisan` | Laravel |
81
+ | `*.php` + `composer.json` | PHP (generic) |
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. Structure scan.** Categorize files into:
92
+ 1. Modules / domains (bounded contexts, shared modules, namespaces)
93
+ 2. Endpoints (routes, controllers, HTTP methods, paths, middleware/guards)
94
+ 3. Models / entities (fields, types, relationships, migrations)
95
+ 4. Services (services, use cases, command/query handlers, listeners, subscribers)
96
+ 5. Tests (unit / integration / E2E, test-to-source mapping, frameworks)
97
+ 6. Infrastructure (Docker, CI/CD, environment config, third-party integrations)
98
+
99
+ **3. Code analysis.** Estimate LOC per module; identify the architecture pattern (MVC, Clean Architecture, DDD...); detect quality tooling (linting, static analysis); map the module dependency graph; flag technical-debt markers; use the tech-specific reviewer for stack insights.
100
+
101
+ **4. Report** at `project-management/scan-report.md`, with these sections: header (project, stack, size, modules), Technology Stack, Modules / Bounded Contexts (files, LOC, tests, coverage), Endpoints (method, path, controller, auth), Models / Entities (fields, relationships, migrations), Services (dependencies, type), Tests (type, count, framework), Infrastructure (component, config file, notes) and a 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
+ Complexity Summary metrics: total LOC, total files, bounded contexts, API endpoints, database entities, test files, estimated test coverage, architecture pattern.
111
+
112
+ ## prd
113
+
114
+ Brownfield counterpart of `/workflow:plan --only=prd`: a DRAFT PRD inferred from code.
115
+
116
+ **1. Load** the scan report (and `./docs/`, `README.md`); parse stack, modules, endpoints, entities, services.
117
+
118
+ **2. Business logic analysis**, for each module: domain events (payloads, listeners, workflows), use cases / commands / queries, validation rules (entity, request, business assertions), state machines (status enums, workflow config, guards), external integrations (payment, email, storage, third-party APIs).
119
+
120
+ **3. Requirement inference.**
121
+
122
+ | Code pattern | Inferred requirement |
123
+ |--------------|---------------------|
124
+ | Auth middleware / JWT | User authentication required |
125
+ | Role-based guards | Authorization with roles |
126
+ | CRUD controllers | Data management features |
127
+ | File upload handlers | Document/media management |
128
+ | Email services | Notification system |
129
+ | Payment gateway | Payment processing |
130
+ | Export endpoints | Reporting/export features |
131
+ | Search/filter logic | Search and filtering |
132
+ | Pagination | Large dataset handling |
133
+ | Cache layers | Performance requirements |
134
+ | Queue workers | Async processing requirements |
135
+ | Rate limiting | API protection requirements |
136
+
137
+ | Infrastructure | Inferred NFR |
138
+ |----------------|--------------|
139
+ | Docker / Kubernetes | Scalability, containerization |
140
+ | Redis / Memcached | Performance caching |
141
+ | Queue system (RabbitMQ...) | Async processing, reliability |
142
+ | CI/CD pipelines | Deployment automation |
143
+ | Load balancer config | High availability |
144
+ | SSL/TLS configuration | Security |
145
+ | Logging stack (ELK...) | Monitoring |
146
+
147
+ Personas come from the shared persona table above.
148
+
149
+ **4. Generate** `project-management/prd.md` with eight sections: Executive Summary (INFERRED), Problem Statement (INFERRED), Goals & Metrics (**PLACEHOLDER** -- cannot be inferred, needs human input), Target Users / Personas (INFERRED, each a draft), Functional Requirements (INFERRED, one per feature/endpoint group, prioritized by complexity and usage, tagged with source module), Non-Functional Requirements (INFERRED), Scope & Constraints (INFERRED), Risks & Mitigations (INFERRED: debt, untested areas, dependency risks). Write analysis notes and per-section confidence (HIGH / MEDIUM / LOW) to `project-management/analysis/reverse-engineering.md`; the PRD header shows `Status: DRAFT - Requires human validation` and the confidence table.
150
+
151
+ **5. Human validation.** Show a summary of inferred sections, highlight low-confidence ones and those that could not be inferred (Goals, Metrics), ask the user to validate / correct / expand each, iterate until satisfied.
152
+
153
+ ## stories
154
+
155
+ DRAFT user stories inferred from endpoints, services, entities and tests.
156
+
157
+ **1. Load** the scan report and the PRD if present (for FR-xxx traceability); determine scope (all, a `--module`, an endpoint).
158
+
159
+ **2. Feature extraction**, per endpoint/feature: controller/handler (method, route, request validation, response and status codes, authorization), service/use case (business flow, side effects, external calls, error paths), entity/model (fields and constraints, relationships, state transitions, soft delete/timestamps), tests (method names, assertions, fixtures, edge cases).
160
+
161
+ **3. Story generation.**
162
+
163
+ | Route | Inferred action |
164
+ |-------|-----------------|
165
+ | `POST /api/resources` | create a resource |
166
+ | `GET /api/resources` | list resources |
167
+ | `GET /api/resources/{id}` | view a resource |
168
+ | `PUT /api/resources/{id}` | update a resource |
169
+ | `DELETE /api/resources/{id}` | delete a resource |
170
+ | custom action | from method name and business logic |
171
+
172
+ Benefit inference: CRUD -> "so that I can manage {resource} data"; search/filter -> "find relevant {resources} quickly"; export -> "use {resource} data externally"; notifications -> "be informed about {event}"; auth -> "my data is secure and accessible only to me". Acceptance criteria come from tests: fixtures -> Given, actions -> When, expectations -> Then.
173
+
174
+ ```markdown
175
+ # US-XXX: [Inferred Title]
176
+
177
+ > INFERRED -- generated from codebase analysis. Human validation required.
178
+
179
+ ## Source
180
+ - Module / Endpoint ({method} {path}) / Controller / Implements: FR-XXX (if PRD exists)
181
+
182
+ ## User Story
183
+ As [inferred persona] I want [inferred action] So that [inferred benefit]
184
+ Conversation: [ ] persona [ ] action matches intent [ ] benefit matches business goals
185
+ INVEST: [ ] Independent / Negotiable / Valuable / Estimable / Sized / Testable
186
+
187
+ ## Acceptance Criteria (Gherkin)
188
+ Scenario: nominal (from happy path) Given / When / Then
189
+ Scenario: error (from validation) Given / When / Then
190
+
191
+ ## Technical Notes
192
+ Entity, validation rules, auth requirements, dispatched events
193
+
194
+ ## Estimation
195
+ Story Points (from complexity), MoSCoW (from usage patterns)
196
+ ```
197
+
198
+ **4. Traceability** (if `project-management/prd.md` exists): map each story to an FR-xxx (add `implements: FR-xxx`), list stories without a requirement (code without spec) and requirements without a story (spec without code).
199
+
200
+ **5. Output and validation.** Save to `project-management/backlog/user-stories/US-001-create-user.md`, `US-002-...`, generate a summary index grouped by module (title, points, MoSCoW, mapped-to-PRD count, unmapped count), then ask the user to validate, correct or reject each story.
201
+
202
+ ## gaps
203
+
204
+ Compare specifications (PRD, stories, tech spec) with the actual code.
205
+
206
+ **1. Load specs:** `project-management/prd.md`, `project-management/backlog/user-stories/`, `project-management/tech-spec.md` (if any), the scan report (refresh it by running `scan` if missing or outdated). Parse FR-xxx, NFR-xxx and US-xxx.
207
+
208
+ **2. Scan code:** catalog endpoints, business logic, data models, tests, infrastructure into a feature inventory indexed by module.
209
+
210
+ **3. Four-way comparison:**
211
+
212
+ | Category | Checks |
213
+ |----------|--------|
214
+ | **Spec without code** (not implemented) | FR-xxx without matching endpoint; US-xxx without matching feature; NFR-xxx without matching config |
215
+ | **Code without spec** (undocumented) | Endpoints without FR reference; services without US reference; entities without spec coverage |
216
+ | **Spec-code mismatch** (inconsistent) | Field, status-flow, auth, validation and response-format differences |
217
+ | **Test gaps** (untested) | Features without unit / integration tests; acceptance criteria without E2E tests; error paths without tests |
218
+
219
+ **4. Classify by severity:**
220
+
221
+ | Severity | Criteria | Action |
222
+ |----------|----------|--------|
223
+ | **Critical** | Core feature missing or broken; security vulnerability; data integrity risk | Immediate fix |
224
+ | **Major** | Important feature gap; significant mismatch; missing critical tests | Current sprint |
225
+ | **Minor** | Documentation gap; non-critical mismatch; missing edge-case tests | Next sprint |
226
+ | **Info** | Style inconsistency; optional feature; enhancement | Backlog |
227
+
228
+ Rules: spec without code + P0 = Critical, + P1 = Major, + P2 = Minor; code without spec + auth = Major, + CRUD = Minor; mismatch + data integrity = Critical, + UI/UX = Minor; test gap + business logic = Major, + edge case = Minor.
229
+
230
+ **5. Report** at `project-management/analysis/gap-analysis.md`: header (project, date, scope), spec / code / test coverage percentages, gap counts per severity, the four category tables with evidence (file paths, line references), and a priority-ranked remediation list with 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
+ Then offer: create stories for the missing features, generate tasks for remediation items, or focus on one gap category.
239
+
240
+ ## all
241
+
242
+ Run `scan` -> `prd` -> `stories` -> `gaps` in order, reusing each output as the next input (no re-scan). Pause for human validation after `prd` and `stories`. End with a recap: files written, number of inferred personas / requirements / stories, gap counts per severity and the top 3 actions.
243
+
244
+ ## Related Commands
245
+
246
+ - `/workflow:plan --only=prd` - Generate a PRD interactively (greenfield)
247
+ - `/workflow:plan --only=backlog` - Create a SCRUM backlog from the PRD
248
+ - `/workflow:design` - Generate a technical specification
249
+ - `/project:backlog` - Manage epics, stories and tasks
@@ -1,191 +1,9 @@
1
1
  ---
2
- description: Run all stories from an epic in batch
3
- argument-hint: <epic-id> [--dry-run]
2
+ description: "Deprecated (removed in 9.0): use /workflow:implement --epic"
3
+ deprecated: true
4
+ replaced-by: /workflow:implement
4
5
  ---
5
6
 
6
- # Run Epic
7
+ > ⚠️ `/project:run-epic` is deprecated and will be removed in 9.0. Use `/workflow:implement --epic`.
7
8
 
8
- Queue and process all stories from an epic in batch mode.
9
-
10
- ## Arguments
11
-
12
- $ARGUMENTS (format: <epic-id> [--dry-run])
13
- - **epic-id** (required): Epic identifier (e.g., EPIC-001)
14
- - **--dry-run** (optional): Preview without executing
15
-
16
- ## Plan Mode
17
-
18
- > **Plan mode is recommended.** Claude activates plan mode to structure the approach, identify dependencies, and present a generation strategy before creating artifacts.
19
-
20
- ## Process
21
-
22
- ### Step 1: Identify epic stories
23
-
24
- 1. Read `.bmad/sprint-status.yaml`
25
- 2. Find all stories with `epic_id` matching argument
26
- 3. Sort by priority or ID
27
-
28
- ### Step 2: Check story readiness
29
-
30
- For each story, verify:
31
- - Story exists and has required fields
32
- - Not already completed
33
- - Not blocked (or flag for review)
34
-
35
- ### Step 3: Build execution queue
36
-
37
- Create prioritized queue:
38
- 1. Stories with no dependencies first
39
- 2. Lower ID = higher priority
40
- 3. Respect explicit priority if set
41
-
42
- ### Step 4: Add to batch queue
43
-
44
- Update `.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
- ### Step 5: Execute (unless --dry-run)
57
-
58
- For each story in order:
59
- 1. Transition to in-progress
60
- 2. Execute development workflow
61
- 3. Run quality gates
62
- 4. Transition through states
63
- 5. Checkpoint after each
64
-
65
- ## Output Format
66
-
67
- ### Dry Run
68
-
69
- ```
70
- ═══════════════════════════════════════════════════════
71
- Run Epic: EPIC-002 (DRY RUN)
72
- ═══════════════════════════════════════════════════════
73
-
74
- Epic: EPIC-002 - User Management
75
- Stories: 5
76
-
77
- Execution Plan:
78
- ──────────────────────────────────────────────────────
79
- [1] US-010: User registration (5 pts)
80
- Status: ready-for-dev → in-progress → review → done
81
- Dependencies: none
82
-
83
- [2] US-011: User login (5 pts)
84
- Status: ready-for-dev → in-progress → review → done
85
- Dependencies: US-010
86
-
87
- [3] US-012: Profile page (5 pts)
88
- Status: ready-for-dev → in-progress → review → done
89
- Dependencies: US-010
90
-
91
- [4] US-013: Password reset (3 pts)
92
- Status: ready-for-dev → in-progress → review → done
93
- Dependencies: US-010, US-011
94
-
95
- [5] US-014: Email verification (3 pts)
96
- Status: ready-for-dev → in-progress → review → done
97
- Dependencies: US-010
98
-
99
- Total Points: 21
100
-
101
- Execution Order (respecting dependencies):
102
- 1. US-010 (no deps)
103
- 2. US-011, US-012, US-014 (parallel after US-010)
104
- 3. US-013 (after US-010, US-011)
105
-
106
- Estimated workflow per story:
107
- • Transition to in-progress
108
- • TDD cycles (red → green → refactor)
109
- • Code review
110
- • Quality gate validation
111
- • Transition to done
112
-
113
- ⚠️ DRY RUN - No changes made
114
-
115
- Run without --dry-run to execute.
116
- ═══════════════════════════════════════════════════════
117
- ```
118
-
119
- ### Execution
120
-
121
- ```
122
- ═══════════════════════════════════════════════════════
123
- Run Epic: EPIC-002
124
- ═══════════════════════════════════════════════════════
125
-
126
- Epic: EPIC-002 - User Management
127
- Mode: Sequential
128
- Stories: 5
129
-
130
- Queuing stories...
131
- ──────────────────────────────────────────────────────
132
- ✅ Added US-010 (priority 1)
133
- ✅ Added US-011 (priority 2, depends on US-010)
134
- ✅ Added US-012 (priority 3, depends on US-010)
135
- ✅ Added US-013 (priority 4, depends on US-010, US-011)
136
- ✅ Added US-014 (priority 5, depends on US-010)
137
-
138
- Queue Status:
139
- ──────────────────────────────────────────────────────
140
- ⏳ Pending: 5
141
- 🔄 Running: 0
142
- ✅ Completed: 0
143
- ❌ Failed: 0
144
-
145
- Next Steps:
146
- ──────────────────────────────────────────────────────
147
- Run the queue:
148
- /project:run-queue
149
-
150
- Or process automatically:
151
- /project:run-queue --auto
152
-
153
- Monitor progress:
154
- /project:batch-status
155
- ═══════════════════════════════════════════════════════
156
- ```
157
-
158
- ## Example
159
-
160
- ```
161
- /project:run-epic EPIC-002 --dry-run
162
- /project:run-epic EPIC-002
163
- ```
164
-
165
- ## Parallel Execution
166
-
167
- For independent stories, enable parallel mode:
168
- ```
169
- /project:run-queue --parallel 3
170
- ```
171
-
172
- This processes up to 3 stories simultaneously when they have no dependencies.
173
-
174
- ## Resuming
175
-
176
- If execution is interrupted:
177
- ```
178
- /project:run-queue --resume
179
- ```
180
-
181
- Continues from last checkpoint.
182
-
183
- ## Integration with Ralph
184
-
185
- If Ralph is configured, batch execution integrates:
186
- ```yaml
187
- # ralph.yml
188
- bmad_integration:
189
- enabled: true
190
- batch_queue_file: ".bmad/batch-queue.yaml"
191
- ```
9
+ Run `/workflow:implement --epic $ARGUMENTS`: read `.claude/commands/workflow/implement.md` and follow it with these arguments.