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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/Dev/i18n/base/Common/commands/aliases.md +7 -13
  2. package/Dev/i18n/base/Common/commands/init.md +89 -1
  3. package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
  4. package/Dev/i18n/base/Common/commands/search.md +2 -2
  5. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  6. package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
  7. package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
  8. package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
  9. package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
  10. package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
  11. package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
  12. package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
  13. package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
  14. package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
  15. package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
  16. package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
  17. package/Dev/i18n/de/QA/commands/fix.md +8 -8
  18. package/Dev/i18n/de/QA/commands/recette.md +7 -8
  19. package/Dev/i18n/de/QA/commands/regression.md +11 -11
  20. package/Dev/i18n/de/QA/commands/report.md +5 -162
  21. package/Dev/i18n/de/QA/commands/status.md +140 -13
  22. package/Dev/i18n/de/QA/commands/tdd.md +1 -1
  23. package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
  24. package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
  25. package/Dev/i18n/de/Workflow/commands/design.md +151 -209
  26. package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
  27. package/Dev/i18n/de/Workflow/commands/init.md +42 -14
  28. package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
  29. package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
  30. package/Dev/i18n/de/Workflow/commands/review.md +1 -1
  31. package/Dev/i18n/de/Workflow/commands/start.md +115 -25
  32. package/Dev/i18n/de/Workflow/commands/status.md +275 -201
  33. package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
  34. package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
  35. package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
  36. package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
  37. package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
  38. package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
  39. package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
  40. package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
  41. package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
  42. package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
  43. package/Dev/i18n/en/QA/commands/fix.md +8 -8
  44. package/Dev/i18n/en/QA/commands/recette.md +7 -8
  45. package/Dev/i18n/en/QA/commands/regression.md +11 -11
  46. package/Dev/i18n/en/QA/commands/report.md +5 -221
  47. package/Dev/i18n/en/QA/commands/status.md +140 -13
  48. package/Dev/i18n/en/QA/commands/tdd.md +1 -1
  49. package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
  50. package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
  51. package/Dev/i18n/en/Workflow/commands/design.md +143 -200
  52. package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
  53. package/Dev/i18n/en/Workflow/commands/init.md +42 -14
  54. package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
  55. package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
  56. package/Dev/i18n/en/Workflow/commands/review.md +1 -1
  57. package/Dev/i18n/en/Workflow/commands/start.md +107 -17
  58. package/Dev/i18n/en/Workflow/commands/status.md +265 -191
  59. package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
  60. package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
  61. package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
  62. package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
  63. package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
  64. package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
  65. package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
  66. package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
  67. package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
  68. package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
  69. package/Dev/i18n/es/QA/commands/fix.md +8 -8
  70. package/Dev/i18n/es/QA/commands/recette.md +7 -8
  71. package/Dev/i18n/es/QA/commands/regression.md +11 -11
  72. package/Dev/i18n/es/QA/commands/report.md +5 -162
  73. package/Dev/i18n/es/QA/commands/status.md +140 -13
  74. package/Dev/i18n/es/QA/commands/tdd.md +1 -1
  75. package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
  76. package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
  77. package/Dev/i18n/es/Workflow/commands/design.md +158 -218
  78. package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
  79. package/Dev/i18n/es/Workflow/commands/init.md +42 -14
  80. package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
  81. package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
  82. package/Dev/i18n/es/Workflow/commands/review.md +1 -1
  83. package/Dev/i18n/es/Workflow/commands/start.md +113 -23
  84. package/Dev/i18n/es/Workflow/commands/status.md +284 -210
  85. package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
  86. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
  87. package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
  88. package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
  89. package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
  90. package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
  91. package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
  92. package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
  93. package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
  94. package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
  95. package/Dev/i18n/fr/QA/commands/fix.md +8 -8
  96. package/Dev/i18n/fr/QA/commands/recette.md +7 -8
  97. package/Dev/i18n/fr/QA/commands/regression.md +11 -11
  98. package/Dev/i18n/fr/QA/commands/report.md +5 -163
  99. package/Dev/i18n/fr/QA/commands/status.md +140 -13
  100. package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
  101. package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
  102. package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
  103. package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
  104. package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
  105. package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
  106. package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
  107. package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
  108. package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
  109. package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
  110. package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
  111. package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
  112. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
  113. package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
  114. package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
  115. package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
  116. package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
  117. package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
  118. package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
  119. package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
  120. package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
  121. package/Dev/i18n/pt/QA/commands/fix.md +8 -8
  122. package/Dev/i18n/pt/QA/commands/recette.md +7 -8
  123. package/Dev/i18n/pt/QA/commands/regression.md +11 -11
  124. package/Dev/i18n/pt/QA/commands/report.md +5 -162
  125. package/Dev/i18n/pt/QA/commands/status.md +140 -13
  126. package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
  127. package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
  128. package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
  129. package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
  130. package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
  131. package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
  132. package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
  133. package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
  134. package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
  135. package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
  136. package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
  137. package/Dev/scripts/install-common-rules.sh +7 -10
  138. package/Dev/scripts/prune-removed-commands.sh +22 -0
  139. package/Project/i18n/de/Gate/commands/check.md +392 -0
  140. package/Project/i18n/de/Gate/commands/report.md +5 -230
  141. package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
  142. package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
  143. package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
  144. package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
  145. package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
  146. package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
  147. package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
  148. package/Project/i18n/de/Sprint/commands/dev.md +5 -443
  149. package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
  150. package/Project/i18n/de/Sprint/commands/status.md +5 -173
  151. package/Project/i18n/de/Sprint/commands/transition.md +5 -259
  152. package/Project/i18n/de/agents/product-owner.md +5 -5
  153. package/Project/i18n/de/agents/tech-lead.md +8 -8
  154. package/Project/i18n/de/commands/add-epic.md +5 -88
  155. package/Project/i18n/de/commands/add-story.md +5 -112
  156. package/Project/i18n/de/commands/add-task.md +5 -127
  157. package/Project/i18n/de/commands/analyze-backlog.md +5 -110
  158. package/Project/i18n/de/commands/backlog.md +653 -0
  159. package/Project/i18n/de/commands/batch-status.md +5 -209
  160. package/Project/i18n/de/commands/board.md +5 -130
  161. package/Project/i18n/de/commands/burndown.md +5 -120
  162. package/Project/i18n/de/commands/checkpoint.md +5 -239
  163. package/Project/i18n/de/commands/coverage-map.md +5 -217
  164. package/Project/i18n/de/commands/critical-path.md +5 -123
  165. package/Project/i18n/de/commands/decompose-tasks.md +5 -600
  166. package/Project/i18n/de/commands/dependencies.md +5 -139
  167. package/Project/i18n/de/commands/gap-analysis.md +5 -290
  168. package/Project/i18n/de/commands/generate-backlog.md +5 -378
  169. package/Project/i18n/de/commands/generate-constitution.md +5 -223
  170. package/Project/i18n/de/commands/generate-prd.md +5 -210
  171. package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
  172. package/Project/i18n/de/commands/list-epics.md +5 -91
  173. package/Project/i18n/de/commands/list-stories.md +5 -116
  174. package/Project/i18n/de/commands/list-tasks.md +5 -128
  175. package/Project/i18n/de/commands/metrics.md +5 -223
  176. package/Project/i18n/de/commands/migrate-backlog.md +5 -144
  177. package/Project/i18n/de/commands/migrate.md +158 -0
  178. package/Project/i18n/de/commands/move-task.md +5 -200
  179. package/Project/i18n/de/commands/report.md +156 -0
  180. package/Project/i18n/de/commands/reverse-prd.md +5 -284
  181. package/Project/i18n/de/commands/reverse-stories.md +5 -301
  182. package/Project/i18n/de/commands/reverse.md +249 -0
  183. package/Project/i18n/de/commands/run-epic.md +5 -187
  184. package/Project/i18n/de/commands/run-queue.md +5 -250
  185. package/Project/i18n/de/commands/run-sprint.md +5 -262
  186. package/Project/i18n/de/commands/scan.md +5 -267
  187. package/Project/i18n/de/commands/sync-backlog.md +5 -161
  188. package/Project/i18n/de/commands/trace.md +126 -174
  189. package/Project/i18n/de/commands/update-epic.md +5 -101
  190. package/Project/i18n/de/commands/update-stories.md +5 -190
  191. package/Project/i18n/de/commands/update-story.md +5 -146
  192. package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
  193. package/Project/i18n/de/scaffold/project-management__README.md +7 -7
  194. package/Project/i18n/de/templates/board.md +22 -9
  195. package/Project/i18n/de/templates/epic.md +4 -4
  196. package/Project/i18n/de/templates/prd.md +1 -1
  197. package/Project/i18n/de/templates/sprint-status.md +60 -0
  198. package/Project/i18n/de/templates/task.md +1 -1
  199. package/Project/i18n/de/templates/user-story.md +8 -6
  200. package/Project/i18n/en/Gate/commands/check.md +392 -0
  201. package/Project/i18n/en/Gate/commands/report.md +5 -261
  202. package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
  203. package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
  204. package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
  205. package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
  206. package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
  207. package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
  208. package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
  209. package/Project/i18n/en/Sprint/commands/dev.md +5 -441
  210. package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
  211. package/Project/i18n/en/Sprint/commands/status.md +5 -214
  212. package/Project/i18n/en/Sprint/commands/transition.md +5 -259
  213. package/Project/i18n/en/agents/product-owner.md +5 -5
  214. package/Project/i18n/en/agents/tech-lead.md +8 -8
  215. package/Project/i18n/en/commands/add-epic.md +5 -88
  216. package/Project/i18n/en/commands/add-story.md +5 -112
  217. package/Project/i18n/en/commands/add-task.md +5 -127
  218. package/Project/i18n/en/commands/analyze-backlog.md +5 -133
  219. package/Project/i18n/en/commands/backlog.md +653 -0
  220. package/Project/i18n/en/commands/batch-status.md +5 -209
  221. package/Project/i18n/en/commands/board.md +5 -130
  222. package/Project/i18n/en/commands/burndown.md +5 -120
  223. package/Project/i18n/en/commands/checkpoint.md +5 -239
  224. package/Project/i18n/en/commands/coverage-map.md +5 -217
  225. package/Project/i18n/en/commands/critical-path.md +5 -123
  226. package/Project/i18n/en/commands/decompose-tasks.md +5 -600
  227. package/Project/i18n/en/commands/dependencies.md +5 -139
  228. package/Project/i18n/en/commands/gap-analysis.md +5 -290
  229. package/Project/i18n/en/commands/generate-backlog.md +5 -378
  230. package/Project/i18n/en/commands/generate-constitution.md +5 -223
  231. package/Project/i18n/en/commands/generate-prd.md +5 -210
  232. package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
  233. package/Project/i18n/en/commands/list-epics.md +5 -91
  234. package/Project/i18n/en/commands/list-stories.md +5 -116
  235. package/Project/i18n/en/commands/list-tasks.md +5 -128
  236. package/Project/i18n/en/commands/metrics.md +5 -223
  237. package/Project/i18n/en/commands/migrate-backlog.md +5 -186
  238. package/Project/i18n/en/commands/migrate.md +158 -0
  239. package/Project/i18n/en/commands/move-task.md +5 -200
  240. package/Project/i18n/en/commands/report.md +156 -0
  241. package/Project/i18n/en/commands/reverse-prd.md +5 -284
  242. package/Project/i18n/en/commands/reverse-stories.md +5 -301
  243. package/Project/i18n/en/commands/reverse.md +249 -0
  244. package/Project/i18n/en/commands/run-epic.md +5 -187
  245. package/Project/i18n/en/commands/run-queue.md +5 -250
  246. package/Project/i18n/en/commands/run-sprint.md +5 -262
  247. package/Project/i18n/en/commands/scan.md +5 -267
  248. package/Project/i18n/en/commands/sync-backlog.md +5 -161
  249. package/Project/i18n/en/commands/trace.md +119 -167
  250. package/Project/i18n/en/commands/update-epic.md +5 -101
  251. package/Project/i18n/en/commands/update-stories.md +5 -190
  252. package/Project/i18n/en/commands/update-story.md +5 -146
  253. package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
  254. package/Project/i18n/en/scaffold/project-management__README.md +7 -7
  255. package/Project/i18n/en/templates/board.md +22 -9
  256. package/Project/i18n/en/templates/epic.md +4 -4
  257. package/Project/i18n/en/templates/prd.md +1 -1
  258. package/Project/i18n/en/templates/sprint-status.md +60 -0
  259. package/Project/i18n/en/templates/task.md +1 -1
  260. package/Project/i18n/en/templates/user-story.md +7 -5
  261. package/Project/i18n/es/Gate/commands/check.md +392 -0
  262. package/Project/i18n/es/Gate/commands/report.md +5 -229
  263. package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
  264. package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
  265. package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
  266. package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
  267. package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
  268. package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
  269. package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
  270. package/Project/i18n/es/Sprint/commands/dev.md +5 -441
  271. package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
  272. package/Project/i18n/es/Sprint/commands/status.md +5 -172
  273. package/Project/i18n/es/Sprint/commands/transition.md +5 -259
  274. package/Project/i18n/es/agents/product-owner.md +5 -5
  275. package/Project/i18n/es/agents/tech-lead.md +8 -8
  276. package/Project/i18n/es/commands/add-epic.md +5 -88
  277. package/Project/i18n/es/commands/add-story.md +5 -112
  278. package/Project/i18n/es/commands/add-task.md +5 -127
  279. package/Project/i18n/es/commands/analyze-backlog.md +5 -110
  280. package/Project/i18n/es/commands/backlog.md +653 -0
  281. package/Project/i18n/es/commands/batch-status.md +5 -209
  282. package/Project/i18n/es/commands/board.md +5 -130
  283. package/Project/i18n/es/commands/burndown.md +5 -120
  284. package/Project/i18n/es/commands/checkpoint.md +5 -239
  285. package/Project/i18n/es/commands/coverage-map.md +5 -217
  286. package/Project/i18n/es/commands/critical-path.md +5 -123
  287. package/Project/i18n/es/commands/decompose-tasks.md +5 -600
  288. package/Project/i18n/es/commands/dependencies.md +5 -139
  289. package/Project/i18n/es/commands/gap-analysis.md +5 -290
  290. package/Project/i18n/es/commands/generate-backlog.md +5 -378
  291. package/Project/i18n/es/commands/generate-constitution.md +5 -223
  292. package/Project/i18n/es/commands/generate-prd.md +5 -210
  293. package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
  294. package/Project/i18n/es/commands/list-epics.md +5 -91
  295. package/Project/i18n/es/commands/list-stories.md +5 -116
  296. package/Project/i18n/es/commands/list-tasks.md +5 -128
  297. package/Project/i18n/es/commands/metrics.md +5 -223
  298. package/Project/i18n/es/commands/migrate-backlog.md +5 -144
  299. package/Project/i18n/es/commands/migrate.md +158 -0
  300. package/Project/i18n/es/commands/move-task.md +5 -200
  301. package/Project/i18n/es/commands/report.md +156 -0
  302. package/Project/i18n/es/commands/reverse-prd.md +5 -284
  303. package/Project/i18n/es/commands/reverse-stories.md +5 -301
  304. package/Project/i18n/es/commands/reverse.md +249 -0
  305. package/Project/i18n/es/commands/run-epic.md +5 -187
  306. package/Project/i18n/es/commands/run-queue.md +5 -250
  307. package/Project/i18n/es/commands/run-sprint.md +5 -262
  308. package/Project/i18n/es/commands/scan.md +5 -267
  309. package/Project/i18n/es/commands/sync-backlog.md +5 -161
  310. package/Project/i18n/es/commands/trace.md +126 -174
  311. package/Project/i18n/es/commands/update-epic.md +5 -101
  312. package/Project/i18n/es/commands/update-stories.md +5 -190
  313. package/Project/i18n/es/commands/update-story.md +5 -146
  314. package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
  315. package/Project/i18n/es/scaffold/project-management__README.md +7 -7
  316. package/Project/i18n/es/templates/board.md +22 -9
  317. package/Project/i18n/es/templates/epic.md +4 -4
  318. package/Project/i18n/es/templates/prd.md +1 -1
  319. package/Project/i18n/es/templates/sprint-status.md +60 -0
  320. package/Project/i18n/es/templates/task.md +1 -1
  321. package/Project/i18n/es/templates/user-story.md +8 -6
  322. package/Project/i18n/fr/Gate/commands/check.md +392 -0
  323. package/Project/i18n/fr/Gate/commands/report.md +5 -196
  324. package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
  325. package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
  326. package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
  327. package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
  328. package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
  329. package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
  330. package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
  331. package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
  332. package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
  333. package/Project/i18n/fr/Sprint/commands/status.md +5 -172
  334. package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
  335. package/Project/i18n/fr/agents/product-owner.md +5 -5
  336. package/Project/i18n/fr/agents/tech-lead.md +8 -8
  337. package/Project/i18n/fr/commands/add-epic.md +5 -88
  338. package/Project/i18n/fr/commands/add-story.md +5 -112
  339. package/Project/i18n/fr/commands/add-task.md +5 -127
  340. package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
  341. package/Project/i18n/fr/commands/backlog.md +653 -0
  342. package/Project/i18n/fr/commands/batch-status.md +5 -209
  343. package/Project/i18n/fr/commands/board.md +5 -130
  344. package/Project/i18n/fr/commands/burndown.md +5 -120
  345. package/Project/i18n/fr/commands/checkpoint.md +5 -239
  346. package/Project/i18n/fr/commands/coverage-map.md +5 -217
  347. package/Project/i18n/fr/commands/critical-path.md +5 -123
  348. package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
  349. package/Project/i18n/fr/commands/dependencies.md +5 -139
  350. package/Project/i18n/fr/commands/gap-analysis.md +5 -290
  351. package/Project/i18n/fr/commands/generate-backlog.md +5 -378
  352. package/Project/i18n/fr/commands/generate-constitution.md +5 -223
  353. package/Project/i18n/fr/commands/generate-prd.md +5 -210
  354. package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
  355. package/Project/i18n/fr/commands/list-epics.md +5 -91
  356. package/Project/i18n/fr/commands/list-stories.md +5 -116
  357. package/Project/i18n/fr/commands/list-tasks.md +5 -128
  358. package/Project/i18n/fr/commands/metrics.md +5 -223
  359. package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
  360. package/Project/i18n/fr/commands/migrate.md +158 -0
  361. package/Project/i18n/fr/commands/move-task.md +5 -200
  362. package/Project/i18n/fr/commands/report.md +156 -0
  363. package/Project/i18n/fr/commands/reverse-prd.md +5 -284
  364. package/Project/i18n/fr/commands/reverse-stories.md +5 -301
  365. package/Project/i18n/fr/commands/reverse.md +249 -0
  366. package/Project/i18n/fr/commands/run-epic.md +5 -187
  367. package/Project/i18n/fr/commands/run-queue.md +5 -250
  368. package/Project/i18n/fr/commands/run-sprint.md +5 -262
  369. package/Project/i18n/fr/commands/scan.md +5 -267
  370. package/Project/i18n/fr/commands/sync-backlog.md +5 -161
  371. package/Project/i18n/fr/commands/trace.md +125 -173
  372. package/Project/i18n/fr/commands/update-epic.md +5 -101
  373. package/Project/i18n/fr/commands/update-stories.md +5 -190
  374. package/Project/i18n/fr/commands/update-story.md +5 -146
  375. package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
  376. package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
  377. package/Project/i18n/fr/templates/board.md +22 -9
  378. package/Project/i18n/fr/templates/epic.md +4 -4
  379. package/Project/i18n/fr/templates/prd.md +1 -1
  380. package/Project/i18n/fr/templates/sprint-status.md +60 -0
  381. package/Project/i18n/fr/templates/task.md +1 -1
  382. package/Project/i18n/fr/templates/user-story.md +8 -6
  383. package/Project/i18n/pt/Gate/commands/check.md +392 -0
  384. package/Project/i18n/pt/Gate/commands/report.md +5 -229
  385. package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
  386. package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
  387. package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
  388. package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
  389. package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
  390. package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
  391. package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
  392. package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
  393. package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
  394. package/Project/i18n/pt/Sprint/commands/status.md +5 -172
  395. package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
  396. package/Project/i18n/pt/agents/product-owner.md +5 -5
  397. package/Project/i18n/pt/agents/tech-lead.md +8 -8
  398. package/Project/i18n/pt/commands/add-epic.md +5 -88
  399. package/Project/i18n/pt/commands/add-story.md +5 -112
  400. package/Project/i18n/pt/commands/add-task.md +5 -127
  401. package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
  402. package/Project/i18n/pt/commands/backlog.md +653 -0
  403. package/Project/i18n/pt/commands/batch-status.md +5 -209
  404. package/Project/i18n/pt/commands/board.md +5 -130
  405. package/Project/i18n/pt/commands/burndown.md +5 -120
  406. package/Project/i18n/pt/commands/checkpoint.md +5 -239
  407. package/Project/i18n/pt/commands/coverage-map.md +5 -217
  408. package/Project/i18n/pt/commands/critical-path.md +5 -123
  409. package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
  410. package/Project/i18n/pt/commands/dependencies.md +5 -139
  411. package/Project/i18n/pt/commands/gap-analysis.md +5 -290
  412. package/Project/i18n/pt/commands/generate-backlog.md +5 -378
  413. package/Project/i18n/pt/commands/generate-constitution.md +5 -223
  414. package/Project/i18n/pt/commands/generate-prd.md +5 -210
  415. package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
  416. package/Project/i18n/pt/commands/list-epics.md +5 -91
  417. package/Project/i18n/pt/commands/list-stories.md +5 -116
  418. package/Project/i18n/pt/commands/list-tasks.md +5 -128
  419. package/Project/i18n/pt/commands/metrics.md +5 -223
  420. package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
  421. package/Project/i18n/pt/commands/migrate.md +158 -0
  422. package/Project/i18n/pt/commands/move-task.md +5 -200
  423. package/Project/i18n/pt/commands/report.md +156 -0
  424. package/Project/i18n/pt/commands/reverse-prd.md +5 -284
  425. package/Project/i18n/pt/commands/reverse-stories.md +5 -301
  426. package/Project/i18n/pt/commands/reverse.md +249 -0
  427. package/Project/i18n/pt/commands/run-epic.md +5 -187
  428. package/Project/i18n/pt/commands/run-queue.md +5 -250
  429. package/Project/i18n/pt/commands/run-sprint.md +5 -262
  430. package/Project/i18n/pt/commands/scan.md +5 -267
  431. package/Project/i18n/pt/commands/sync-backlog.md +5 -161
  432. package/Project/i18n/pt/commands/trace.md +126 -174
  433. package/Project/i18n/pt/commands/update-epic.md +5 -101
  434. package/Project/i18n/pt/commands/update-stories.md +5 -190
  435. package/Project/i18n/pt/commands/update-story.md +5 -146
  436. package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
  437. package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
  438. package/Project/i18n/pt/templates/board.md +22 -9
  439. package/Project/i18n/pt/templates/epic.md +4 -4
  440. package/Project/i18n/pt/templates/prd.md +1 -1
  441. package/Project/i18n/pt/templates/sprint-status.md +60 -0
  442. package/Project/i18n/pt/templates/task.md +1 -1
  443. package/Project/i18n/pt/templates/user-story.md +8 -6
  444. package/Project/install-project-commands.sh +33 -52
  445. package/README.md +22 -5
  446. package/Tools/Ralph/README.md +9 -9
  447. package/bundles/cursor/.cursorrules +2 -2
  448. package/bundles/windsurf/.windsurfrules +2 -2
  449. package/cli/kanban/server/app.js +9 -4
  450. package/cli/kanban/server/services/repository.js +35 -8
  451. package/cli/kanban/server/services/sprint-cache.js +45 -1
  452. package/cli/kanban/shared/schemas.js +2 -0
  453. package/cli/lib/update.js +15 -0
  454. package/config/removed-commands.yaml +14 -0
  455. package/package.json +4 -2
  456. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
  457. package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
  458. package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
  459. package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
  460. package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
  461. package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
  462. package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
  463. package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
  464. package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
  465. package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
  466. package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
@@ -1,104 +1,96 @@
1
1
  ---
2
2
  name: trace
3
- description: Display bidirectional traceability matrix from requirements to code and tests
4
- arguments:
5
- - name: scope
6
- description: Scope of tracing (all, requirement, story, code)
7
- required: false
8
- - name: id
9
- description: Specific ID to trace (e.g., FR-001, US-001)
10
- required: false
11
- - name: format
12
- description: Output format (table, mermaid, json)
13
- required: false
3
+ description: "Bidirectional traceability matrix (requirement → story → code → tests); --gaps lists uncovered requirements, --by-priority groups by MoSCoW"
4
+ argument-hint: "[all|requirement|story|code] [ID] [--gaps] [--by-priority] [--level=story|code|test|all] [--format=table|mermaid|json]"
14
5
  ---
15
6
 
16
7
  # /project:trace
17
8
 
18
9
  ## Mission
19
10
 
20
- Generate a bidirectional traceability matrix that maps every requirement from the PRD through user stories, code implementation, and test coverage. This provides full visibility into what is implemented, what is tested, and what gaps exist.
11
+ Map every requirement of the PRD through user stories, code and tests. The default view is the full bidirectional matrix; `--gaps` turns it into a coverage report that lists only what is not covered (this is the former `/project:trace --gaps`); `--by-priority` groups the result by MoSCoW priority.
12
+
13
+ ## Usage
14
+
15
+ | Invocation | What it does | Replaces |
16
+ |------------|--------------|----------|
17
+ | `/project:trace` or `/project:trace all` | Full matrix: requirement → story → code → tests | `/project:trace` |
18
+ | `/project:trace requirement FR-001` | Trace one requirement downwards | `/project:trace --scope requirement --id FR-001` |
19
+ | `/project:trace story US-001` | Trace one story upwards (requirements) and downwards (code, tests) | `/project:trace --scope story` |
20
+ | `/project:trace code` | Code files with and without story reference | `/project:trace --scope code` |
21
+ | `/project:trace --gaps` | Coverage report: requirements not covered by stories, code or tests, with recommended actions | `/project:trace --gaps` |
22
+ | `/project:trace --gaps --level test` | Same, limited to one coverage level (`story`, `code`, `test`, `all`; default `all`) | `/project:trace --gaps --level test` |
23
+ | `/project:trace --by-priority` | Group requirements and coverage percentages by MoSCoW priority | new (was a section of coverage-map) |
24
+
25
+ Flags combine: `/project:trace --gaps --by-priority` gives the coverage report with the per-priority breakdown.
26
+
27
+ ## Arguments
28
+
29
+ Parse `$ARGUMENTS`:
30
+ - First positional token in `all|requirement|story|code` → scope (default `all`).
31
+ - Next positional token matching `FR-\d+` or `US-\d+` → ID to trace (required to be meaningful for `requirement` and `story`).
32
+ - `--gaps` → coverage mode. `--level` is only read in this mode.
33
+ - `--by-priority` → group by priority: P0 = Must have, P1 = Should have, P2 = Could have / Nice to have.
34
+ - `--format` → `table` (default), `mermaid`, `json`.
21
35
 
22
36
  ## Prerequisites
23
37
 
24
38
  - `project-management/prd.md` exists with FR-xxx requirement IDs
25
39
  - `project-management/backlog/` contains user stories with `Implements:` references
26
- - Codebase with `// Story: US-xxx` or `# Story: US-xxx` comments
40
+ - Codebase with `// Story: US-xxx` or `# Story: US-xxx` comments (optional for `--gaps --level story`)
27
41
  - Test files with story/requirement references
28
42
 
29
43
  ## Plan Mode
30
44
 
31
45
  > **Plan mode is mandatory.** Before executing, Claude activates plan mode to analyze impacted code, propose an implementation plan, and wait for your validation before making any changes.
32
46
 
33
- ## Workflow
47
+ ## Shared scans
34
48
 
35
- ### Step 1: Scan PRD Requirements
49
+ Both modes run the same four scans once; the results feed either the matrix or the coverage report. Story **status** always comes from `.bmad/sprint-status.yaml` (single source of truth); markdown files only provide content.
36
50
 
37
- ```
38
- ╔══════════════════════════════════════════════════════════╗
39
- ║ TRACEABILITY SCAN - REQUIREMENTS ║
40
- ╠══════════════════════════════════════════════════════════╣
41
- ║ Scanning project-management/prd.md... ║
42
- ╚══════════════════════════════════════════════════════════╝
43
- ```
51
+ ### Scan 1: Requirements
44
52
 
45
- Parse the PRD for all functional requirements:
46
53
  1. Read `project-management/prd.md`
47
- 2. Extract all FR-xxx IDs from section 5 (Functional Requirements)
48
- 3. Record requirement text, priority (P0/P1/P2), and acceptance criteria
49
- 4. Build a requirements registry: `{FR-001: {text, priority, status}}`
50
-
51
- ### Step 2: Scan User Stories
52
-
53
- Search for user stories referencing requirements:
54
- 1. Scan `project-management/backlog/` for `US-*.md` or `user-stories/` files
55
- 2. In each story, look for `Implements:` or `Traceability` section
56
- 3. Extract mappings: `{US-001: [FR-001, FR-003]}`
57
- 4. Record story status, sprint, and acceptance criteria count
54
+ 2. Extract all FR-xxx IDs from the Functional Requirements section
55
+ 3. Record text, priority (P0/P1/P2) and acceptance criteria
56
+ 4. Registry: `{FR-001: {text, priority}}`; count requirements per priority
58
57
 
59
- ### Step 3: Scan Codebase
58
+ ### Scan 2: User stories
60
59
 
61
- Search for code files referencing stories:
62
- 1. Grep codebase for patterns: `// Story: US-xxx`, `# Story: US-xxx`, `@story US-xxx`
63
- 2. Record file paths and line numbers for each reference
64
- 3. Build mapping: `{US-001: [src/Service/OrderService.php:42, src/Controller/OrderController.php:15]}`
65
- 4. Identify code files with no story reference
60
+ 1. Scan `project-management/backlog/` for `US-*.md` (or `user-stories/` files)
61
+ 2. In each story, read the `Implements:` line or the `Traceability` section
62
+ 3. Mapping: `{US-001: [FR-001, FR-003]}`; read status and sprint from `.bmad/sprint-status.yaml`
63
+ 4. A requirement with no story referencing it is "No Story"
66
64
 
67
- ### Step 4: Scan Tests
65
+ ### Scan 3: Code
68
66
 
69
- Search for test files referencing stories or requirements:
70
- 1. Grep test directories for `US-xxx` or `FR-xxx` references
71
- 2. Check test names for story/requirement patterns
72
- 3. Build mapping: `{US-001: [tests/OrderServiceTest.php, tests/OrderControllerTest.php]}`
73
- 4. Identify stories with no test coverage
67
+ 1. Grep the codebase for `// Story: US-xxx`, `# Story: US-xxx`, `@story US-xxx`
68
+ 2. Mapping with file and line: `{US-001: [src/Service/OrderService.php:42]}`
69
+ 3. A story with no reference is "No Code"; list code files with no story reference
74
70
 
75
- ### Step 5: Generate Traceability Matrix
71
+ ### Scan 4: Tests
76
72
 
77
- Combine all mappings into a comprehensive matrix:
73
+ 1. Grep test directories for `US-xxx` / `FR-xxx` references and check test names
74
+ 2. Mapping: `{US-001: [tests/OrderServiceTest.php]}`
75
+ 3. A story with code but no test reference is "No Tests"
78
76
 
79
77
  ```
80
78
  ╔══════════════════════════════════════════════════════════╗
81
- ║ TRACEABILITY MATRIX GENERATED ║
82
- ╠══════════════════════════════════════════════════════════╣
83
79
  ║ Requirements: {n} | Stories: {n} | Files: {n} | Tests: {n}║
84
80
  ╚══════════════════════════════════════════════════════════╝
85
81
  ```
86
82
 
87
- ## Output Format
83
+ ## Matrix mode (default)
88
84
 
89
- ### Table Format (default)
85
+ Combine the four mappings. Output (table format):
90
86
 
91
87
  ```
92
88
  Bidirectional Traceability Matrix
93
89
  =================================
94
90
 
95
- Requirement → Story → Code → Tests
96
- ─────────────────────────────────────────────────────
97
-
98
91
  FR-001 (P0) User Authentication
99
92
  ├── US-001: Login with email/password
100
93
  │ ├── src/Service/AuthService.php:25
101
- │ ├── src/Controller/AuthController.php:18
102
94
  │ ├── tests/AuthServiceTest.php ✅
103
95
  │ └── tests/AuthControllerTest.php ✅
104
96
  └── US-002: Password reset flow
@@ -115,7 +107,6 @@ FR-010 (P1) Export to CSV
115
107
 
116
108
  Coverage Summary
117
109
  ================
118
-
119
110
  | Level | Covered | Total | Percentage |
120
111
  |-------|---------|-------|------------|
121
112
  | Requirements → Stories | 8 | 10 | 80% |
@@ -125,145 +116,106 @@ Coverage Summary
125
116
 
126
117
  Gaps Identified
127
118
  ===============
128
-
129
119
  | Type | ID | Description | Action Needed |
130
120
  |------|----|-------------|---------------|
131
121
  | No Stories | FR-010 | Export to CSV | Create user story |
132
122
  | No Tests | US-003 | Register with email | Add test coverage |
133
- | No Code | US-005 | Bulk import | Implement feature |
134
123
  ```
135
124
 
136
- ### Mermaid Format (--format mermaid)
137
-
138
- ```mermaid
139
- graph LR
140
- subgraph Requirements
141
- FR001[FR-001 Auth]
142
- FR002[FR-002 Registration]
143
- FR010[FR-010 Export]
144
- end
145
-
146
- subgraph Stories
147
- US001[US-001 Login]
148
- US002[US-002 Password Reset]
149
- US003[US-003 Register]
150
- end
151
-
152
- subgraph Code
153
- AUTH[AuthService]
154
- PWD[PasswordResetService]
155
- REG[RegistrationService]
156
- end
157
-
158
- subgraph Tests
159
- T1[AuthServiceTest ✅]
160
- T2[PasswordResetTest ✅]
161
- T3[❌ Missing]
162
- end
163
-
164
- FR001 --> US001
165
- FR001 --> US002
166
- FR002 --> US003
167
- FR010 -.->|NO STORY| X1[Gap]
168
-
169
- US001 --> AUTH
170
- US002 --> PWD
171
- US003 --> REG
172
-
173
- AUTH --> T1
174
- PWD --> T2
175
- REG -.-> T3
176
-
177
- style FR010 fill:#ff6b6b
178
- style X1 fill:#ff6b6b
179
- style T3 fill:#ff6b6b
180
- ```
125
+ With an ID, only that branch is printed, with story status and test counts (e.g. `US-001: Login [Done]`, `tests/AuthServiceTest.php ✅ (12 tests)`), then `Status: Fully covered (2/2 stories, 3/3 code files, 3/3 test files)`.
126
+
127
+ ### Mermaid (`--format mermaid`)
181
128
 
182
- ### JSON Format (--format json)
129
+ `graph LR` with four subgraphs (Requirements, Stories, Code, Tests); solid arrows for links, dotted arrows (`-.->|NO STORY|`) to a gap node for missing links; gaps styled `fill:#ff6b6b`.
130
+
131
+ ### JSON (`--format json`)
183
132
 
184
133
  ```json
185
134
  {
186
135
  "generated_at": "2026-02-19T10:00:00Z",
187
- "requirements": {
188
- "FR-001": {
189
- "text": "User Authentication",
190
- "priority": "P0",
191
- "stories": ["US-001", "US-002"],
192
- "covered": true
193
- }
194
- },
195
- "stories": {
196
- "US-001": {
197
- "title": "Login with email/password",
198
- "implements": ["FR-001"],
199
- "code_files": ["src/Service/AuthService.php"],
200
- "test_files": ["tests/AuthServiceTest.php"],
201
- "covered": true
202
- }
203
- },
204
- "coverage": {
205
- "requirements_to_stories": 0.80,
206
- "stories_to_code": 0.87,
207
- "stories_to_tests": 0.75,
208
- "end_to_end": 0.60
209
- },
210
- "gaps": [
211
- {"type": "no_stories", "id": "FR-010", "description": "Export to CSV"},
212
- {"type": "no_tests", "id": "US-003", "description": "Register with email"}
213
- ]
136
+ "requirements": {"FR-001": {"text": "User Authentication", "priority": "P0", "stories": ["US-001"], "covered": true}},
137
+ "stories": {"US-001": {"title": "Login", "implements": ["FR-001"], "code_files": ["src/Service/AuthService.php"], "test_files": ["tests/AuthServiceTest.php"], "covered": true}},
138
+ "coverage": {"requirements_to_stories": 0.80, "stories_to_code": 0.87, "stories_to_tests": 0.75, "end_to_end": 0.60},
139
+ "gaps": [{"type": "no_stories", "id": "FR-010", "description": "Export to CSV"}]
214
140
  }
215
141
  ```
216
142
 
217
- ## Example Session
143
+ ## Gaps mode (`--gaps`)
218
144
 
219
- ```
220
- User: /project:trace
145
+ Reuses the shared scans, computes coverage per layer and lists only what is missing. `--level` restricts the layers computed: `story` (scan 1-2), `code` (1-3), `test` (1-4), `all` (default).
221
146
 
222
- Claude: Starting traceability scan...
147
+ ```
148
+ Requirement Coverage Map
149
+ ========================
150
+ | Layer | Covered | Total | Coverage | Status |
151
+ |-------|---------|-------|----------|--------|
152
+ | Stories | 8 | 10 | 80% | ⚠️ |
153
+ | Code | 7 | 8 | 87% | ⚠️ |
154
+ | Tests | 6 | 8 | 75% | ❌ |
155
+ | End-to-End | 6 | 10 | 60% | ❌ |
156
+
157
+ Uncovered Requirements
158
+ | ID | Requirement | Priority | Missing |
159
+ |----|-------------|----------|---------|
160
+ | FR-005 | Bulk export | P0 | Tests |
161
+ | FR-010 | CSV import | P1 | Story, Code, Tests |
162
+
163
+ Recommended Actions
164
+ 1. 🔴 CRITICAL: FR-005 (P0) has code but no tests — add test coverage
165
+ 2. ⚠️ HIGH: FR-010 (P1) has no story — create a user story
166
+ 3. 📝 LOW: FR-020 (P2) not started — plan for future sprints
167
+
168
+ Next Commands
169
+ - /project:trace requirement FR-005 → deep trace of one requirement
170
+ - /project:backlog add story → create missing user stories
171
+ - /workflow:plan --only=backlog → regenerate backlog with gaps
172
+ ```
223
173
 
224
- 📋 Scanning PRD requirements...
225
- Found 10 requirements (5 P0, 3 P1, 2 P2)
174
+ With `--level test`, print one row per story: `US-003 | ❌ | 0 files | 0 tests` and the action (e.g. "Create tests/RegistrationServiceTest.php").
226
175
 
227
- 📖 Scanning user stories...
228
- Found 8 stories with requirement references
176
+ Mermaid (`--format mermaid`): `graph TD` with one subgraph per priority; nodes `FR-001 ✅`, `FR-005 ⚠️ No Tests`, `FR-010 ❌ No Story`; styles `#4caf50` (covered), `#ff9800` (partial), `#f44336` (missing).
229
177
 
230
- 💻 Scanning codebase...
231
- Found 24 code files with story references
178
+ ### Coverage thresholds
232
179
 
233
- 🧪 Scanning tests...
234
- Found 18 test files with story references
180
+ | Threshold | Status | Action |
181
+ |-----------|--------|--------|
182
+ | >= 90% | ✅ Excellent | Maintain |
183
+ | 80-89% | ⚠️ Good | Review gaps |
184
+ | 60-79% | ⚠️ Needs Work | Prioritize coverage |
185
+ | < 60% | ❌ Critical | Immediate action required |
235
186
 
236
- Bidirectional Traceability Matrix
237
- =================================
238
- [... full matrix output ...]
187
+ ## Priority grouping (`--by-priority`)
239
188
 
240
- Coverage: 60% end-to-end
241
- Gaps: 2 requirements without stories, 1 story without tests
189
+ Works in both modes. In matrix mode, requirements are listed under `P0 Must have`, `P1 Should have`, `P2 Could have` headings. In gaps mode, add:
242
190
 
243
- User: /project:trace --scope requirement --id FR-001
191
+ ```
192
+ Coverage by Priority
193
+ | Priority | Requirements | Story Coverage | Code Coverage | Test Coverage |
194
+ |----------|-------------|----------------|---------------|---------------|
195
+ | P0 (Must Have) | 5 | 100% ✅ | 100% ✅ | 80% ⚠️ |
196
+ | P1 (Should Have) | 3 | 66% ⚠️ | 50% ❌ | 33% ❌ |
197
+ | P2 (Could Have) | 2 | 0% ❌ | 0% ❌ | 0% ❌ |
198
+ ```
244
199
 
245
- Claude: Tracing FR-001: User Authentication
200
+ Recommended actions are then ordered P0 first.
246
201
 
247
- FR-001 (P0) User Authentication
248
- ├── US-001: Login with email/password [Done]
249
- │ ├── src/Service/AuthService.php:25
250
- │ ├── src/Controller/AuthController.php:18
251
- │ ├── tests/AuthServiceTest.php ✅ (12 tests)
252
- │ └── tests/AuthControllerTest.php ✅ (8 tests)
253
- └── US-002: Password reset flow [In Progress]
254
- ├── src/Service/PasswordResetService.php:10
255
- └── tests/PasswordResetServiceTest.php ✅ (6 tests)
202
+ ## Example session
256
203
 
257
- Status: Fully covered (2/2 stories, 3/3 code files, 3/3 test files)
204
+ ```
205
+ User: /project:trace
206
+ Claude: Found 10 requirements (5 P0, 3 P1, 2 P2), 8 stories, 24 code files, 18 test files.
207
+ [full matrix] Coverage: 60% end-to-end
258
208
 
259
- User: /project:trace --format mermaid
209
+ User: /project:trace requirement FR-001
210
+ Claude: [FR-001 branch only]
260
211
 
261
- Claude: [generates Mermaid diagram]
212
+ User: /project:trace --gaps --by-priority
213
+ Claude: [coverage report with per-priority table, 2 P0 requirements need attention]
262
214
  ```
263
215
 
264
216
  ## Related Commands
265
217
 
266
- - `/project:coverage-map` - Identify uncovered requirements
267
- - `/project:generate-prd` - Generate PRD with requirement IDs
268
- - `/project:generate-backlog` - Create backlog from PRD
269
- - `/project:generate-tech-spec` - Generate technical specification
218
+ - `/workflow:plan --only=prd` - Generate PRD with requirement IDs
219
+ - `/workflow:plan --only=backlog` - Create backlog from PRD
220
+ - `/workflow:design` - Generate technical specification
221
+ - `/project:migrate --stories` - Add missing fields (such as `Implements:`) to stories
@@ -1,105 +1,9 @@
1
1
  ---
2
- description: Update an EPIC
3
- argument-hint: [arguments]
2
+ description: "Deprecated (removed in 9.0): use /project:backlog edit epic"
3
+ deprecated: true
4
+ replaced-by: /project:backlog
4
5
  ---
5
6
 
6
- # Update an EPIC
7
+ > ⚠️ `/project:update-epic` is deprecated and will be removed in 9.0. Use `/project:backlog edit epic`.
7
8
 
8
- Modify information of an existing EPIC.
9
-
10
- ## Arguments
11
-
12
- $ARGUMENTS (format: EPIC-XXX [field] [value])
13
- - **EPIC-ID** (required): EPIC ID (e.g., EPIC-001)
14
- - **Field** (optional): Field to modify
15
- - **Value** (optional): New value
16
-
17
- ## Plan Mode
18
-
19
- > **Plan mode is mandatory.** Before executing, Claude activates plan mode to analyze impacted code, propose an implementation plan, and wait for your validation before making any changes.
20
-
21
- ## Modifiable Fields
22
-
23
- | Field | Description | Example |
24
- |-------|-------------|---------|
25
- | `name` | EPIC name | "New name" |
26
- | `priority` | Priority | High, Medium, Low |
27
- | `mmf` | Minimum Marketable Feature | "MMF description" |
28
- | `description` | Description | "New description" |
29
-
30
- ## Process
31
-
32
- ### Interactive Mode (without field arguments)
33
-
34
- If only ID is provided:
35
-
36
- ```
37
- /project:update-epic EPIC-001
38
- ```
39
-
40
- Display current information and offer modifications:
41
-
42
- ```
43
- 📋 EPIC-001: Authentication system
44
-
45
- Current fields:
46
- 1. Name: Authentication system
47
- 2. Priority: High
48
- 3. MMF: Allow users to log in
49
- 4. Description: [...]
50
-
51
- Which field to modify? (1-4, or 'q' to quit)
52
- >
53
- ```
54
-
55
- ### Direct Mode (with arguments)
56
-
57
- ```
58
- /project:update-epic EPIC-001 priority Medium
59
- ```
60
-
61
- Directly modify the specified field.
62
-
63
- ### Steps
64
-
65
- 1. Validate that EPIC exists
66
- 2. Read current file
67
- 3. Modify requested field
68
- 4. Update modification date
69
- 5. Save file
70
- 6. Update index if necessary
71
-
72
- ## Output Format
73
-
74
- ```
75
- ✅ EPIC updated!
76
-
77
- 📋 EPIC-001: Authentication system
78
-
79
- Modification:
80
- Priority: High → Medium
81
-
82
- File: project-management/backlog/epics/EPIC-001-authentication-system.md
83
- ```
84
-
85
- ## Examples
86
-
87
- ```
88
- # Interactive mode
89
- /project:update-epic EPIC-001
90
-
91
- # Change name
92
- /project:update-epic EPIC-001 name "Authentication and Authorization"
93
-
94
- # Change priority
95
- /project:update-epic EPIC-001 priority Low
96
-
97
- # Change MMF
98
- /project:update-epic EPIC-001 mmf "Allow SSO and 2FA"
99
- ```
100
-
101
- ## Validation
102
-
103
- - Field must be modifiable
104
- - Priority must be High, Medium or Low
105
- - Name cannot be empty
9
+ Run `/project:backlog edit epic $ARGUMENTS`: read `.claude/commands/project/backlog.md` and follow it with these arguments.
@@ -1,194 +1,9 @@
1
1
  ---
2
- description: "Update stories to BMAD v6 format with missing fields"
3
- argument-hint: "[--dry-run] [story-id]"
2
+ description: "Deprecated (removed in 9.0): use /project:migrate --stories"
3
+ deprecated: true
4
+ replaced-by: /project:migrate
4
5
  ---
5
6
 
6
- # Update Stories
7
+ > ⚠️ `/project:update-stories` is deprecated and will be removed in 9.0. Use `/project:migrate --stories`.
7
8
 
8
- Add missing BMAD v6 fields to existing user stories.
9
-
10
- ## Arguments
11
-
12
- $ARGUMENTS (format: [--dry-run] [story-id])
13
- - **--dry-run** (optional): Preview changes without applying
14
- - **story-id** (optional): Specific story to update (e.g., US-001). If omitted, updates all.
15
-
16
- ## Plan Mode
17
-
18
- > **Plan mode is mandatory.** Before executing, Claude activates plan mode to analyze impacted code, propose an implementation plan, and wait for your validation before making any changes.
19
-
20
- ## Process
21
-
22
- ### Step 1: Load current state
23
-
24
- 1. Read `.bmad/sprint-status.yaml`
25
- 2. Load story files from backlog
26
- 3. Compare fields between file and sprint-status
27
-
28
- ### Step 2: Identify missing fields
29
-
30
- For each story, check for:
31
-
32
- | Field | Required | Default if Missing |
33
- |-------|----------|-------------------|
34
- | tdd_phase | Yes | "red" if in-progress, "" otherwise |
35
- | tasks.list | Yes | Extract from ## Tasks section |
36
- | tasks.total | Yes | Count from list |
37
- | tasks.completed | Yes | Count done tasks |
38
- | current_task | No | First in-progress task |
39
- | history | Yes | Initialize with current status |
40
- | acceptance_criteria.total | Yes | Count from AC section |
41
- | acceptance_criteria.validated | Yes | 0 (default) |
42
- | story_points | Yes | Prompt if missing |
43
- | epic_id | No | Extract from file |
44
-
45
- ### Step 3: Parse task list from markdown
46
-
47
- Extract tasks from story file format:
48
- ```markdown
49
- ## Tasks
50
-
51
- | ID | Description | Status |
52
- |----|-------------|--------|
53
- | TASK-001 | Backend endpoint | 🟢 Done |
54
- | TASK-002 | Frontend form | 🟡 In Progress |
55
- ```
56
-
57
- Convert to BMAD format:
58
- ```yaml
59
- tasks:
60
- list:
61
- - id: "TASK-001"
62
- title: "Backend endpoint"
63
- status: "done"
64
- - id: "TASK-002"
65
- title: "Frontend form"
66
- status: "in-progress"
67
- ```
68
-
69
- ### Step 4: Parse acceptance criteria
70
-
71
- Extract from Gherkin format:
72
- ```markdown
73
- ## Acceptance Criteria
74
-
75
- ### AC1: Valid login
76
- Given a registered user
77
- When they enter valid credentials
78
- Then they are logged in
79
- Status: ✅ Validated
80
-
81
- ### AC2: Invalid login
82
- Given a user
83
- When they enter invalid credentials
84
- Then they see an error message
85
- Status: ⏳ Pending
86
- ```
87
-
88
- Convert to BMAD format:
89
- ```yaml
90
- acceptance_criteria:
91
- total: 2
92
- validated: 1
93
- list:
94
- - id: "AC1"
95
- title: "Valid login"
96
- status: "validated"
97
- - id: "AC2"
98
- title: "Invalid login"
99
- status: "pending"
100
- ```
101
-
102
- ### Step 5: Initialize history
103
-
104
- If no history exists, create initial entry:
105
- ```yaml
106
- history:
107
- - timestamp: "2026-01-29T10:00:00Z"
108
- from: ""
109
- to: "{current_status}"
110
- by: "update-stories"
111
- reason: "History initialized"
112
- ```
113
-
114
- ### Step 6: Validate INVEST compliance
115
-
116
- Run INVEST checks and add score:
117
- ```yaml
118
- invest_score:
119
- independent: true
120
- negotiable: true
121
- valuable: true
122
- estimable: true # false if no story_points
123
- small: true # false if > 8 points
124
- testable: true # false if no AC
125
- total: 6
126
- ```
127
-
128
- ### Step 7: Update sprint-status.yaml
129
-
130
- Merge updated fields into sprint-status.yaml.
131
-
132
- ### Step 8: Update story files (optional)
133
-
134
- Add BMAD metadata comment to story files:
135
- ```markdown
136
- <!-- BMAD v6 Metadata
137
- tdd_phase: green
138
- invest_score: 6/6
139
- last_sync: 2026-01-29T10:00:00Z
140
- -->
141
- ```
142
-
143
- ## Output Format
144
-
145
- ```
146
- 📝 Update Stories to BMAD v6
147
- ============================
148
-
149
- ## Stories Updated: {COUNT}
150
-
151
- | Story | Fields Added | INVEST Score |
152
- |-------|--------------|--------------|
153
- | US-001 | tdd_phase, history | 6/6 ✅ |
154
- | US-002 | tasks.list, history | 5/6 ⚠️ |
155
- | US-003 | story_points required | 4/6 ❌ |
156
-
157
- ## Fields Summary
158
-
159
- | Field | Added To | Skipped |
160
- |-------|----------|---------|
161
- | tdd_phase | 10 | 2 (already set) |
162
- | tasks.list | 8 | 4 (already set) |
163
- | history | 12 | 0 |
164
- | invest_score | 12 | 0 |
165
-
166
- ## Warnings
167
-
168
- ⚠️ US-003: Missing story points - please estimate
169
- ⚠️ US-007: No acceptance criteria - add before development
170
-
171
- ## Files Modified
172
- - .bmad/sprint-status.yaml
173
- - project-management/backlog/user-stories/US-001-*.md (metadata comment)
174
-
175
- ## Next Steps
176
- 1. Fix warnings: add missing story_points and AC
177
- 2. Run `/project:sync-backlog` to verify consistency
178
- 3. Run `/gate:validate-backlog` for full validation
179
- ```
180
-
181
- ## Example
182
-
183
- ```
184
- /project:update-stories --dry-run
185
- /project:update-stories
186
- /project:update-stories US-001
187
- ```
188
-
189
- ## Validation
190
-
191
- After update, all stories should pass:
192
- ```
193
- /gate:validate-backlog
194
- ```
9
+ Run `/project:migrate --stories $ARGUMENTS`: read `.claude/commands/project/migrate.md` and follow it with these arguments.