@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: "Matriz de rastreabilidade bidirecional (requisito → story → código → testes); --gaps lista os requisitos não cobertos, --by-priority agrupa por prioridade 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
- ## Mission
9
+ ## Missão
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
+ Relacionar cada requisito do PRD com as user stories, o código e os testes. A vista predefinida é a matriz bidirecional completa; `--gaps` transforma-a num relatório de cobertura que lista apenas o que não está coberto (o antigo `/project:trace --gaps`); `--by-priority` agrupa o resultado por prioridade MoSCoW.
21
12
 
22
- ## Prerequisites
13
+ ## Utilização
23
14
 
24
- - `project-management/prd.md` exists with FR-xxx requirement IDs
25
- - `project-management/backlog/` contains user stories with `Implements:` references
26
- - Codebase with `// Story: US-xxx` or `# Story: US-xxx` comments
27
- - Test files with story/requirement references
15
+ | Invocação | O que faz | Substitui |
16
+ |-----------|-----------|-----------|
17
+ | `/project:trace` ou `/project:trace all` | Matriz completa: requisito → story → código → testes | `/project:trace` |
18
+ | `/project:trace requirement FR-001` | Rastreia um requisito para baixo | `/project:trace --scope requirement --id FR-001` |
19
+ | `/project:trace story US-001` | Rastreia uma story para cima (requisitos) e para baixo (código, testes) | `/project:trace --scope story` |
20
+ | `/project:trace code` | Ficheiros de código com e sem referência a uma story | `/project:trace --scope code` |
21
+ | `/project:trace --gaps` | Relatório de cobertura: requisitos não cobertos por stories, código ou testes, com ações recomendadas | `/project:trace --gaps` |
22
+ | `/project:trace --gaps --level test` | Igual, limitado a um nível de cobertura (`story`, `code`, `test`, `all`; predefinido `all`) | `/project:trace --gaps --level test` |
23
+ | `/project:trace --by-priority` | Agrupa requisitos e percentagens de cobertura por prioridade MoSCoW | novo (antes era uma secção do coverage-map) |
28
24
 
29
- ## Modo Plano
25
+ As opções combinam-se: `/project:trace --gaps --by-priority` produz o relatório de cobertura com a repartição por prioridade.
30
26
 
31
- > **O modo plano é obrigatório.** Antes de executar, Claude ativa o modo plano para analisar o código impactado, propor um plano de implementação e aguardar sua validação antes de realizar qualquer alteração.
27
+ ## Argumentos
32
28
 
33
- ## Workflow
29
+ Analisar `$ARGUMENTS`:
30
+ - Primeiro argumento posicional entre `all|requirement|story|code` → âmbito (predefinido `all`).
31
+ - Argumento posicional seguinte que corresponda a `FR-\d+` ou `US-\d+` → ID a rastrear (necessário para `requirement` e `story`).
32
+ - `--gaps` → modo de cobertura. `--level` só é lido neste modo.
33
+ - `--by-priority` → agrupar por prioridade: P0 = Must have, P1 = Should have, P2 = Could have / Nice to have.
34
+ - `--format` → `table` (predefinido), `mermaid`, `json`.
34
35
 
35
- ### Step 1: Scan PRD Requirements
36
+ ## Pré-requisitos
36
37
 
37
- ```
38
- ╔══════════════════════════════════════════════════════════╗
39
- ║ TRACEABILITY SCAN - REQUIREMENTS ║
40
- ╠══════════════════════════════════════════════════════════╣
41
- ║ Scanning project-management/prd.md... ║
42
- ╚══════════════════════════════════════════════════════════╝
43
- ```
38
+ - `project-management/prd.md` existe com identificadores de requisitos FR-xxx
39
+ - `project-management/backlog/` contém user stories com referências `Implements:`
40
+ - Código com comentários `// Story: US-xxx` ou `# Story: US-xxx` (opcional para `--gaps --level story`)
41
+ - Ficheiros de testes com referências a stories/requisitos
42
+
43
+ ## Plan Mode
44
+
45
+ > **O Plan Mode é obrigatório.** Antes de executar, o Claude ativa o Plan Mode para analisar o código afetado, propor um plano de implementação e aguardar a sua validação antes de fazer qualquer alteração.
44
46
 
45
- Parse the PRD for all functional requirements:
46
- 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}}`
47
+ ## Análises partilhadas
50
48
 
51
- ### Step 2: Scan User Stories
49
+ Ambos os modos executam uma só vez as mesmas quatro análises; os resultados alimentam a matriz ou o relatório de cobertura. O **estado** de uma story provém sempre de `.bmad/sprint-status.yaml` (fonte única de verdade); os ficheiros markdown fornecem apenas o conteúdo.
52
50
 
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
51
+ ### Análise 1: Requisitos
58
52
 
59
- ### Step 3: Scan Codebase
53
+ 1. Ler `project-management/prd.md`
54
+ 2. Extrair todos os identificadores FR-xxx da secção de requisitos funcionais
55
+ 3. Registar o texto, a prioridade (P0/P1/P2) e os critérios de aceitação
56
+ 4. Registo: `{FR-001: {text, priority}}`; contar os requisitos por prioridade
60
57
 
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
58
+ ### Análise 2: User stories
66
59
 
67
- ### Step 4: Scan Tests
60
+ 1. Percorrer `project-management/backlog/` à procura de `US-*.md` (ou ficheiros `user-stories/`)
61
+ 2. Em cada story, ler a linha `Implements:` ou a secção `Traceability`
62
+ 3. Correspondência: `{US-001: [FR-001, FR-003]}`; ler o estado e o sprint em `.bmad/sprint-status.yaml`
63
+ 4. Um requisito que nenhuma story referencia é «No Story»
68
64
 
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
65
+ ### Análise 3: Código
74
66
 
75
- ### Step 5: Generate Traceability Matrix
67
+ 1. Procurar no código `// Story: US-xxx`, `# Story: US-xxx`, `@story US-xxx`
68
+ 2. Correspondência com ficheiro e linha: `{US-001: [src/Service/OrderService.php:42]}`
69
+ 3. Uma story sem referência é «No Code»; listar os ficheiros de código sem referência a uma story
76
70
 
77
- Combine all mappings into a comprehensive matrix:
71
+ ### Análise 4: Testes
72
+
73
+ 1. Procurar nos diretórios de testes as referências `US-xxx` / `FR-xxx` e verificar os nomes dos testes
74
+ 2. Correspondência: `{US-001: [tests/OrderServiceTest.php]}`
75
+ 3. Uma story com código mas sem referência de testes é «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
+ ## Modo matriz (predefinido)
88
84
 
89
- ### Table Format (default)
85
+ Combinar as quatro correspondências. Saída (formato table):
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
+ Com um ID, só esse ramo é apresentado, com o estado da story e o número de testes (por ex. `US-001: Login [Done]`, `tests/AuthServiceTest.php ✅ (12 tests)`), seguido de `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` com quatro subgrafos (Requirements, Stories, Code, Tests); setas contínuas para as ligações, setas tracejadas (`-.->|NO STORY|`) para um nó de lacuna quando faltam ligações; lacunas com estilo `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
+ ## Modo lacunas (`--gaps`)
218
144
 
219
- ```
220
- User: /project:trace
145
+ Reutiliza as análises partilhadas, calcula a cobertura por camada e lista apenas o que falta. `--level` restringe as camadas calculadas: `story` (análises 1-2), `code` (1-3), `test` (1-4), `all` (predefinido).
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) tem código mas não tem testes — adicionar cobertura de testes
165
+ 2. ⚠️ HIGH: FR-010 (P1) não tem story — criar uma user story
166
+ 3. 📝 LOW: FR-020 (P2) não iniciada — planear para sprints futuros
167
+
168
+ Next Commands
169
+ - /project:trace requirement FR-005 → rastreio detalhado de um requisito
170
+ - /project:backlog add story → criar as user stories em falta
171
+ - /workflow:plan --only=backlog → regenerar o backlog com as lacunas
172
+ ```
223
173
 
224
- 📋 Scanning PRD requirements...
225
- Found 10 requirements (5 P0, 3 P1, 2 P2)
174
+ Com `--level test`, apresentar uma linha por story: `US-003 | ❌ | 0 files | 0 tests` e a ação (por ex. «Criar tests/RegistrationServiceTest.php»).
226
175
 
227
- 📖 Scanning user stories...
228
- Found 8 stories with requirement references
176
+ Mermaid (`--format mermaid`): `graph TD` com um subgrafo por prioridade; nós `FR-001 ✅`, `FR-005 ⚠️ No Tests`, `FR-010 ❌ No Story`; estilos `#4caf50` (coberto), `#ff9800` (parcial), `#f44336` (em falta).
229
177
 
230
- 💻 Scanning codebase...
231
- Found 24 code files with story references
178
+ ### Limiares de cobertura
232
179
 
233
- 🧪 Scanning tests...
234
- Found 18 test files with story references
180
+ | Limiar | Estado | Ação |
181
+ |--------|--------|------|
182
+ | >= 90% | ✅ Excelente | Manter |
183
+ | 80-89% | ⚠️ Bom | Rever as lacunas |
184
+ | 60-79% | ⚠️ A melhorar | Priorizar a cobertura |
185
+ | < 60% | ❌ Crítico | Ação imediata necessária |
235
186
 
236
- Bidirectional Traceability Matrix
237
- =================================
238
- [... full matrix output ...]
187
+ ## Agrupamento por prioridade (`--by-priority`)
239
188
 
240
- Coverage: 60% end-to-end
241
- Gaps: 2 requirements without stories, 1 story without tests
189
+ Funciona nos dois modos. No modo matriz, os requisitos são listados sob os títulos `P0 Must have`, `P1 Should have`, `P2 Could have`. No modo lacunas, acrescentar:
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
+ As ações recomendadas passam a ser ordenadas começando por P0.
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
+ ## Exemplo de sessão
256
203
 
257
- Status: Fully covered (2/2 stories, 3/3 code files, 3/3 test files)
204
+ ```
205
+ User: /project:trace
206
+ Claude: 10 requisitos encontrados (5 P0, 3 P1, 2 P2), 8 stories, 24 ficheiros de código, 18 ficheiros de testes.
207
+ [matriz completa] Cobertura: 60% de ponta a ponta
258
208
 
259
- User: /project:trace --format mermaid
209
+ User: /project:trace requirement FR-001
210
+ Claude: [apenas o ramo FR-001]
260
211
 
261
- Claude: [generates Mermaid diagram]
212
+ User: /project:trace --gaps --by-priority
213
+ Claude: [relatório de cobertura com tabela por prioridade, 2 requisitos P0 precisam de atenção]
262
214
  ```
263
215
 
264
- ## Related Commands
216
+ ## Comandos relacionados
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` - Gerar o PRD com identificadores de requisitos
219
+ - `/workflow:plan --only=backlog` - Criar o backlog a partir do PRD
220
+ - `/workflow:design` - Gerar a especificação técnica
221
+ - `/project:migrate --stories` - Adicionar os campos em falta (como `Implements:`) às stories
@@ -1,105 +1,9 @@
1
1
  ---
2
- description: Atualizar um EPIC
3
- argument-hint: [arguments]
2
+ description: "Obsoleto (removido na 9.0): use /project:backlog edit epic"
3
+ deprecated: true
4
+ replaced-by: /project:backlog
4
5
  ---
5
6
 
6
- # Atualizar um EPIC
7
+ > ⚠️ `/project:update-epic` está obsoleto e será removido na 9.0. Use `/project:backlog edit epic`.
7
8
 
8
- Modificar informações de um EPIC existente.
9
-
10
- ## Argumentos
11
-
12
- $ARGUMENTS (formato: EPIC-XXX [campo] [valor])
13
- - **EPIC-ID** (obrigatório): ID do EPIC (ex: EPIC-001)
14
- - **Campo** (opcional): Campo a modificar
15
- - **Valor** (opcional): Novo valor
16
-
17
- ## Modo Plano
18
-
19
- > **O modo plano é obrigatório.** Antes de executar, Claude ativa o modo plano para analisar o código impactado, propor um plano de implementação e aguardar sua validação antes de realizar qualquer alteração.
20
-
21
- ## Campos Modificáveis
22
-
23
- | Campo | Descrição | Exemplo |
24
- |-------|-------------|---------|
25
- | `name` | Nome do EPIC | "Novo nome" |
26
- | `priority` | Prioridade | High, Medium, Low |
27
- | `mmf` | Minimum Marketable Feature | "Descrição do MMF" |
28
- | `description` | Descrição | "Nova descrição" |
29
-
30
- ## Processo
31
-
32
- ### Modo Interativo (sem argumentos de campo)
33
-
34
- Se apenas ID for fornecido:
35
-
36
- ```
37
- /project:update-epic EPIC-001
38
- ```
39
-
40
- Exibir informações atuais e oferecer modificações:
41
-
42
- ```
43
- 📋 EPIC-001: Sistema de autenticação
44
-
45
- Campos atuais:
46
- 1. Nome: Sistema de autenticação
47
- 2. Prioridade: High
48
- 3. MMF: Permitir que usuários façam login
49
- 4. Descrição: [...]
50
-
51
- Qual campo modificar? (1-4, ou 'q' para sair)
52
- >
53
- ```
54
-
55
- ### Modo Direto (com argumentos)
56
-
57
- ```
58
- /project:update-epic EPIC-001 priority Medium
59
- ```
60
-
61
- Modificar diretamente o campo especificado.
62
-
63
- ### Etapas
64
-
65
- 1. Validar que EPIC existe
66
- 2. Ler arquivo atual
67
- 3. Modificar campo solicitado
68
- 4. Atualizar data de modificação
69
- 5. Salvar arquivo
70
- 6. Atualizar índice se necessário
71
-
72
- ## Formato de Saída
73
-
74
- ```
75
- ✅ EPIC atualizado!
76
-
77
- 📋 EPIC-001: Sistema de autenticação
78
-
79
- Modificação:
80
- Prioridade: High → Medium
81
-
82
- Arquivo: project-management/backlog/epics/EPIC-001-authentication-system.md
83
- ```
84
-
85
- ## Exemplos
86
-
87
- ```
88
- # Modo interativo
89
- /project:update-epic EPIC-001
90
-
91
- # Alterar nome
92
- /project:update-epic EPIC-001 name "Autenticação e Autorização"
93
-
94
- # Alterar prioridade
95
- /project:update-epic EPIC-001 priority Low
96
-
97
- # Alterar MMF
98
- /project:update-epic EPIC-001 mmf "Permitir SSO e 2FA"
99
- ```
100
-
101
- ## Validação
102
-
103
- - Campo deve ser modificável
104
- - Prioridade deve ser High, Medium ou Low
105
- - Nome não pode estar vazio
9
+ Execute `/project:backlog edit epic $ARGUMENTS`: leia `.claude/commands/project/backlog.md` e siga-o com estes argumentos.