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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/Dev/i18n/base/Common/commands/aliases.md +7 -13
  2. package/Dev/i18n/base/Common/commands/init.md +89 -1
  3. package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
  4. package/Dev/i18n/base/Common/commands/search.md +2 -2
  5. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  6. package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
  7. package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
  8. package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
  9. package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
  10. package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
  11. package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
  12. package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
  13. package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
  14. package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
  15. package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
  16. package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
  17. package/Dev/i18n/de/QA/commands/fix.md +8 -8
  18. package/Dev/i18n/de/QA/commands/recette.md +7 -8
  19. package/Dev/i18n/de/QA/commands/regression.md +11 -11
  20. package/Dev/i18n/de/QA/commands/report.md +5 -162
  21. package/Dev/i18n/de/QA/commands/status.md +140 -13
  22. package/Dev/i18n/de/QA/commands/tdd.md +1 -1
  23. package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
  24. package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
  25. package/Dev/i18n/de/Workflow/commands/design.md +151 -209
  26. package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
  27. package/Dev/i18n/de/Workflow/commands/init.md +42 -14
  28. package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
  29. package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
  30. package/Dev/i18n/de/Workflow/commands/review.md +1 -1
  31. package/Dev/i18n/de/Workflow/commands/start.md +115 -25
  32. package/Dev/i18n/de/Workflow/commands/status.md +275 -201
  33. package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
  34. package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
  35. package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
  36. package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
  37. package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
  38. package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
  39. package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
  40. package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
  41. package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
  42. package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
  43. package/Dev/i18n/en/QA/commands/fix.md +8 -8
  44. package/Dev/i18n/en/QA/commands/recette.md +7 -8
  45. package/Dev/i18n/en/QA/commands/regression.md +11 -11
  46. package/Dev/i18n/en/QA/commands/report.md +5 -221
  47. package/Dev/i18n/en/QA/commands/status.md +140 -13
  48. package/Dev/i18n/en/QA/commands/tdd.md +1 -1
  49. package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
  50. package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
  51. package/Dev/i18n/en/Workflow/commands/design.md +143 -200
  52. package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
  53. package/Dev/i18n/en/Workflow/commands/init.md +42 -14
  54. package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
  55. package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
  56. package/Dev/i18n/en/Workflow/commands/review.md +1 -1
  57. package/Dev/i18n/en/Workflow/commands/start.md +107 -17
  58. package/Dev/i18n/en/Workflow/commands/status.md +265 -191
  59. package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
  60. package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
  61. package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
  62. package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
  63. package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
  64. package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
  65. package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
  66. package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
  67. package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
  68. package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
  69. package/Dev/i18n/es/QA/commands/fix.md +8 -8
  70. package/Dev/i18n/es/QA/commands/recette.md +7 -8
  71. package/Dev/i18n/es/QA/commands/regression.md +11 -11
  72. package/Dev/i18n/es/QA/commands/report.md +5 -162
  73. package/Dev/i18n/es/QA/commands/status.md +140 -13
  74. package/Dev/i18n/es/QA/commands/tdd.md +1 -1
  75. package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
  76. package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
  77. package/Dev/i18n/es/Workflow/commands/design.md +158 -218
  78. package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
  79. package/Dev/i18n/es/Workflow/commands/init.md +42 -14
  80. package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
  81. package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
  82. package/Dev/i18n/es/Workflow/commands/review.md +1 -1
  83. package/Dev/i18n/es/Workflow/commands/start.md +113 -23
  84. package/Dev/i18n/es/Workflow/commands/status.md +284 -210
  85. package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
  86. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
  87. package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
  88. package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
  89. package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
  90. package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
  91. package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
  92. package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
  93. package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
  94. package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
  95. package/Dev/i18n/fr/QA/commands/fix.md +8 -8
  96. package/Dev/i18n/fr/QA/commands/recette.md +7 -8
  97. package/Dev/i18n/fr/QA/commands/regression.md +11 -11
  98. package/Dev/i18n/fr/QA/commands/report.md +5 -163
  99. package/Dev/i18n/fr/QA/commands/status.md +140 -13
  100. package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
  101. package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
  102. package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
  103. package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
  104. package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
  105. package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
  106. package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
  107. package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
  108. package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
  109. package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
  110. package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
  111. package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
  112. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
  113. package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
  114. package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
  115. package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
  116. package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
  117. package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
  118. package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
  119. package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
  120. package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
  121. package/Dev/i18n/pt/QA/commands/fix.md +8 -8
  122. package/Dev/i18n/pt/QA/commands/recette.md +7 -8
  123. package/Dev/i18n/pt/QA/commands/regression.md +11 -11
  124. package/Dev/i18n/pt/QA/commands/report.md +5 -162
  125. package/Dev/i18n/pt/QA/commands/status.md +140 -13
  126. package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
  127. package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
  128. package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
  129. package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
  130. package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
  131. package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
  132. package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
  133. package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
  134. package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
  135. package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
  136. package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
  137. package/Dev/scripts/install-common-rules.sh +7 -10
  138. package/Dev/scripts/prune-removed-commands.sh +22 -0
  139. package/Project/i18n/de/Gate/commands/check.md +392 -0
  140. package/Project/i18n/de/Gate/commands/report.md +5 -230
  141. package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
  142. package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
  143. package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
  144. package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
  145. package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
  146. package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
  147. package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
  148. package/Project/i18n/de/Sprint/commands/dev.md +5 -443
  149. package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
  150. package/Project/i18n/de/Sprint/commands/status.md +5 -173
  151. package/Project/i18n/de/Sprint/commands/transition.md +5 -259
  152. package/Project/i18n/de/agents/product-owner.md +5 -5
  153. package/Project/i18n/de/agents/tech-lead.md +8 -8
  154. package/Project/i18n/de/commands/add-epic.md +5 -88
  155. package/Project/i18n/de/commands/add-story.md +5 -112
  156. package/Project/i18n/de/commands/add-task.md +5 -127
  157. package/Project/i18n/de/commands/analyze-backlog.md +5 -110
  158. package/Project/i18n/de/commands/backlog.md +653 -0
  159. package/Project/i18n/de/commands/batch-status.md +5 -209
  160. package/Project/i18n/de/commands/board.md +5 -130
  161. package/Project/i18n/de/commands/burndown.md +5 -120
  162. package/Project/i18n/de/commands/checkpoint.md +5 -239
  163. package/Project/i18n/de/commands/coverage-map.md +5 -217
  164. package/Project/i18n/de/commands/critical-path.md +5 -123
  165. package/Project/i18n/de/commands/decompose-tasks.md +5 -600
  166. package/Project/i18n/de/commands/dependencies.md +5 -139
  167. package/Project/i18n/de/commands/gap-analysis.md +5 -290
  168. package/Project/i18n/de/commands/generate-backlog.md +5 -378
  169. package/Project/i18n/de/commands/generate-constitution.md +5 -223
  170. package/Project/i18n/de/commands/generate-prd.md +5 -210
  171. package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
  172. package/Project/i18n/de/commands/list-epics.md +5 -91
  173. package/Project/i18n/de/commands/list-stories.md +5 -116
  174. package/Project/i18n/de/commands/list-tasks.md +5 -128
  175. package/Project/i18n/de/commands/metrics.md +5 -223
  176. package/Project/i18n/de/commands/migrate-backlog.md +5 -144
  177. package/Project/i18n/de/commands/migrate.md +158 -0
  178. package/Project/i18n/de/commands/move-task.md +5 -200
  179. package/Project/i18n/de/commands/report.md +156 -0
  180. package/Project/i18n/de/commands/reverse-prd.md +5 -284
  181. package/Project/i18n/de/commands/reverse-stories.md +5 -301
  182. package/Project/i18n/de/commands/reverse.md +249 -0
  183. package/Project/i18n/de/commands/run-epic.md +5 -187
  184. package/Project/i18n/de/commands/run-queue.md +5 -250
  185. package/Project/i18n/de/commands/run-sprint.md +5 -262
  186. package/Project/i18n/de/commands/scan.md +5 -267
  187. package/Project/i18n/de/commands/sync-backlog.md +5 -161
  188. package/Project/i18n/de/commands/trace.md +126 -174
  189. package/Project/i18n/de/commands/update-epic.md +5 -101
  190. package/Project/i18n/de/commands/update-stories.md +5 -190
  191. package/Project/i18n/de/commands/update-story.md +5 -146
  192. package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
  193. package/Project/i18n/de/scaffold/project-management__README.md +7 -7
  194. package/Project/i18n/de/templates/board.md +22 -9
  195. package/Project/i18n/de/templates/epic.md +4 -4
  196. package/Project/i18n/de/templates/prd.md +1 -1
  197. package/Project/i18n/de/templates/sprint-status.md +60 -0
  198. package/Project/i18n/de/templates/task.md +1 -1
  199. package/Project/i18n/de/templates/user-story.md +8 -6
  200. package/Project/i18n/en/Gate/commands/check.md +392 -0
  201. package/Project/i18n/en/Gate/commands/report.md +5 -261
  202. package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
  203. package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
  204. package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
  205. package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
  206. package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
  207. package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
  208. package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
  209. package/Project/i18n/en/Sprint/commands/dev.md +5 -441
  210. package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
  211. package/Project/i18n/en/Sprint/commands/status.md +5 -214
  212. package/Project/i18n/en/Sprint/commands/transition.md +5 -259
  213. package/Project/i18n/en/agents/product-owner.md +5 -5
  214. package/Project/i18n/en/agents/tech-lead.md +8 -8
  215. package/Project/i18n/en/commands/add-epic.md +5 -88
  216. package/Project/i18n/en/commands/add-story.md +5 -112
  217. package/Project/i18n/en/commands/add-task.md +5 -127
  218. package/Project/i18n/en/commands/analyze-backlog.md +5 -133
  219. package/Project/i18n/en/commands/backlog.md +653 -0
  220. package/Project/i18n/en/commands/batch-status.md +5 -209
  221. package/Project/i18n/en/commands/board.md +5 -130
  222. package/Project/i18n/en/commands/burndown.md +5 -120
  223. package/Project/i18n/en/commands/checkpoint.md +5 -239
  224. package/Project/i18n/en/commands/coverage-map.md +5 -217
  225. package/Project/i18n/en/commands/critical-path.md +5 -123
  226. package/Project/i18n/en/commands/decompose-tasks.md +5 -600
  227. package/Project/i18n/en/commands/dependencies.md +5 -139
  228. package/Project/i18n/en/commands/gap-analysis.md +5 -290
  229. package/Project/i18n/en/commands/generate-backlog.md +5 -378
  230. package/Project/i18n/en/commands/generate-constitution.md +5 -223
  231. package/Project/i18n/en/commands/generate-prd.md +5 -210
  232. package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
  233. package/Project/i18n/en/commands/list-epics.md +5 -91
  234. package/Project/i18n/en/commands/list-stories.md +5 -116
  235. package/Project/i18n/en/commands/list-tasks.md +5 -128
  236. package/Project/i18n/en/commands/metrics.md +5 -223
  237. package/Project/i18n/en/commands/migrate-backlog.md +5 -186
  238. package/Project/i18n/en/commands/migrate.md +158 -0
  239. package/Project/i18n/en/commands/move-task.md +5 -200
  240. package/Project/i18n/en/commands/report.md +156 -0
  241. package/Project/i18n/en/commands/reverse-prd.md +5 -284
  242. package/Project/i18n/en/commands/reverse-stories.md +5 -301
  243. package/Project/i18n/en/commands/reverse.md +249 -0
  244. package/Project/i18n/en/commands/run-epic.md +5 -187
  245. package/Project/i18n/en/commands/run-queue.md +5 -250
  246. package/Project/i18n/en/commands/run-sprint.md +5 -262
  247. package/Project/i18n/en/commands/scan.md +5 -267
  248. package/Project/i18n/en/commands/sync-backlog.md +5 -161
  249. package/Project/i18n/en/commands/trace.md +119 -167
  250. package/Project/i18n/en/commands/update-epic.md +5 -101
  251. package/Project/i18n/en/commands/update-stories.md +5 -190
  252. package/Project/i18n/en/commands/update-story.md +5 -146
  253. package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
  254. package/Project/i18n/en/scaffold/project-management__README.md +7 -7
  255. package/Project/i18n/en/templates/board.md +22 -9
  256. package/Project/i18n/en/templates/epic.md +4 -4
  257. package/Project/i18n/en/templates/prd.md +1 -1
  258. package/Project/i18n/en/templates/sprint-status.md +60 -0
  259. package/Project/i18n/en/templates/task.md +1 -1
  260. package/Project/i18n/en/templates/user-story.md +7 -5
  261. package/Project/i18n/es/Gate/commands/check.md +392 -0
  262. package/Project/i18n/es/Gate/commands/report.md +5 -229
  263. package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
  264. package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
  265. package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
  266. package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
  267. package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
  268. package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
  269. package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
  270. package/Project/i18n/es/Sprint/commands/dev.md +5 -441
  271. package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
  272. package/Project/i18n/es/Sprint/commands/status.md +5 -172
  273. package/Project/i18n/es/Sprint/commands/transition.md +5 -259
  274. package/Project/i18n/es/agents/product-owner.md +5 -5
  275. package/Project/i18n/es/agents/tech-lead.md +8 -8
  276. package/Project/i18n/es/commands/add-epic.md +5 -88
  277. package/Project/i18n/es/commands/add-story.md +5 -112
  278. package/Project/i18n/es/commands/add-task.md +5 -127
  279. package/Project/i18n/es/commands/analyze-backlog.md +5 -110
  280. package/Project/i18n/es/commands/backlog.md +653 -0
  281. package/Project/i18n/es/commands/batch-status.md +5 -209
  282. package/Project/i18n/es/commands/board.md +5 -130
  283. package/Project/i18n/es/commands/burndown.md +5 -120
  284. package/Project/i18n/es/commands/checkpoint.md +5 -239
  285. package/Project/i18n/es/commands/coverage-map.md +5 -217
  286. package/Project/i18n/es/commands/critical-path.md +5 -123
  287. package/Project/i18n/es/commands/decompose-tasks.md +5 -600
  288. package/Project/i18n/es/commands/dependencies.md +5 -139
  289. package/Project/i18n/es/commands/gap-analysis.md +5 -290
  290. package/Project/i18n/es/commands/generate-backlog.md +5 -378
  291. package/Project/i18n/es/commands/generate-constitution.md +5 -223
  292. package/Project/i18n/es/commands/generate-prd.md +5 -210
  293. package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
  294. package/Project/i18n/es/commands/list-epics.md +5 -91
  295. package/Project/i18n/es/commands/list-stories.md +5 -116
  296. package/Project/i18n/es/commands/list-tasks.md +5 -128
  297. package/Project/i18n/es/commands/metrics.md +5 -223
  298. package/Project/i18n/es/commands/migrate-backlog.md +5 -144
  299. package/Project/i18n/es/commands/migrate.md +158 -0
  300. package/Project/i18n/es/commands/move-task.md +5 -200
  301. package/Project/i18n/es/commands/report.md +156 -0
  302. package/Project/i18n/es/commands/reverse-prd.md +5 -284
  303. package/Project/i18n/es/commands/reverse-stories.md +5 -301
  304. package/Project/i18n/es/commands/reverse.md +249 -0
  305. package/Project/i18n/es/commands/run-epic.md +5 -187
  306. package/Project/i18n/es/commands/run-queue.md +5 -250
  307. package/Project/i18n/es/commands/run-sprint.md +5 -262
  308. package/Project/i18n/es/commands/scan.md +5 -267
  309. package/Project/i18n/es/commands/sync-backlog.md +5 -161
  310. package/Project/i18n/es/commands/trace.md +126 -174
  311. package/Project/i18n/es/commands/update-epic.md +5 -101
  312. package/Project/i18n/es/commands/update-stories.md +5 -190
  313. package/Project/i18n/es/commands/update-story.md +5 -146
  314. package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
  315. package/Project/i18n/es/scaffold/project-management__README.md +7 -7
  316. package/Project/i18n/es/templates/board.md +22 -9
  317. package/Project/i18n/es/templates/epic.md +4 -4
  318. package/Project/i18n/es/templates/prd.md +1 -1
  319. package/Project/i18n/es/templates/sprint-status.md +60 -0
  320. package/Project/i18n/es/templates/task.md +1 -1
  321. package/Project/i18n/es/templates/user-story.md +8 -6
  322. package/Project/i18n/fr/Gate/commands/check.md +392 -0
  323. package/Project/i18n/fr/Gate/commands/report.md +5 -196
  324. package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
  325. package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
  326. package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
  327. package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
  328. package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
  329. package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
  330. package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
  331. package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
  332. package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
  333. package/Project/i18n/fr/Sprint/commands/status.md +5 -172
  334. package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
  335. package/Project/i18n/fr/agents/product-owner.md +5 -5
  336. package/Project/i18n/fr/agents/tech-lead.md +8 -8
  337. package/Project/i18n/fr/commands/add-epic.md +5 -88
  338. package/Project/i18n/fr/commands/add-story.md +5 -112
  339. package/Project/i18n/fr/commands/add-task.md +5 -127
  340. package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
  341. package/Project/i18n/fr/commands/backlog.md +653 -0
  342. package/Project/i18n/fr/commands/batch-status.md +5 -209
  343. package/Project/i18n/fr/commands/board.md +5 -130
  344. package/Project/i18n/fr/commands/burndown.md +5 -120
  345. package/Project/i18n/fr/commands/checkpoint.md +5 -239
  346. package/Project/i18n/fr/commands/coverage-map.md +5 -217
  347. package/Project/i18n/fr/commands/critical-path.md +5 -123
  348. package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
  349. package/Project/i18n/fr/commands/dependencies.md +5 -139
  350. package/Project/i18n/fr/commands/gap-analysis.md +5 -290
  351. package/Project/i18n/fr/commands/generate-backlog.md +5 -378
  352. package/Project/i18n/fr/commands/generate-constitution.md +5 -223
  353. package/Project/i18n/fr/commands/generate-prd.md +5 -210
  354. package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
  355. package/Project/i18n/fr/commands/list-epics.md +5 -91
  356. package/Project/i18n/fr/commands/list-stories.md +5 -116
  357. package/Project/i18n/fr/commands/list-tasks.md +5 -128
  358. package/Project/i18n/fr/commands/metrics.md +5 -223
  359. package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
  360. package/Project/i18n/fr/commands/migrate.md +158 -0
  361. package/Project/i18n/fr/commands/move-task.md +5 -200
  362. package/Project/i18n/fr/commands/report.md +156 -0
  363. package/Project/i18n/fr/commands/reverse-prd.md +5 -284
  364. package/Project/i18n/fr/commands/reverse-stories.md +5 -301
  365. package/Project/i18n/fr/commands/reverse.md +249 -0
  366. package/Project/i18n/fr/commands/run-epic.md +5 -187
  367. package/Project/i18n/fr/commands/run-queue.md +5 -250
  368. package/Project/i18n/fr/commands/run-sprint.md +5 -262
  369. package/Project/i18n/fr/commands/scan.md +5 -267
  370. package/Project/i18n/fr/commands/sync-backlog.md +5 -161
  371. package/Project/i18n/fr/commands/trace.md +125 -173
  372. package/Project/i18n/fr/commands/update-epic.md +5 -101
  373. package/Project/i18n/fr/commands/update-stories.md +5 -190
  374. package/Project/i18n/fr/commands/update-story.md +5 -146
  375. package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
  376. package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
  377. package/Project/i18n/fr/templates/board.md +22 -9
  378. package/Project/i18n/fr/templates/epic.md +4 -4
  379. package/Project/i18n/fr/templates/prd.md +1 -1
  380. package/Project/i18n/fr/templates/sprint-status.md +60 -0
  381. package/Project/i18n/fr/templates/task.md +1 -1
  382. package/Project/i18n/fr/templates/user-story.md +8 -6
  383. package/Project/i18n/pt/Gate/commands/check.md +392 -0
  384. package/Project/i18n/pt/Gate/commands/report.md +5 -229
  385. package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
  386. package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
  387. package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
  388. package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
  389. package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
  390. package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
  391. package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
  392. package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
  393. package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
  394. package/Project/i18n/pt/Sprint/commands/status.md +5 -172
  395. package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
  396. package/Project/i18n/pt/agents/product-owner.md +5 -5
  397. package/Project/i18n/pt/agents/tech-lead.md +8 -8
  398. package/Project/i18n/pt/commands/add-epic.md +5 -88
  399. package/Project/i18n/pt/commands/add-story.md +5 -112
  400. package/Project/i18n/pt/commands/add-task.md +5 -127
  401. package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
  402. package/Project/i18n/pt/commands/backlog.md +653 -0
  403. package/Project/i18n/pt/commands/batch-status.md +5 -209
  404. package/Project/i18n/pt/commands/board.md +5 -130
  405. package/Project/i18n/pt/commands/burndown.md +5 -120
  406. package/Project/i18n/pt/commands/checkpoint.md +5 -239
  407. package/Project/i18n/pt/commands/coverage-map.md +5 -217
  408. package/Project/i18n/pt/commands/critical-path.md +5 -123
  409. package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
  410. package/Project/i18n/pt/commands/dependencies.md +5 -139
  411. package/Project/i18n/pt/commands/gap-analysis.md +5 -290
  412. package/Project/i18n/pt/commands/generate-backlog.md +5 -378
  413. package/Project/i18n/pt/commands/generate-constitution.md +5 -223
  414. package/Project/i18n/pt/commands/generate-prd.md +5 -210
  415. package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
  416. package/Project/i18n/pt/commands/list-epics.md +5 -91
  417. package/Project/i18n/pt/commands/list-stories.md +5 -116
  418. package/Project/i18n/pt/commands/list-tasks.md +5 -128
  419. package/Project/i18n/pt/commands/metrics.md +5 -223
  420. package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
  421. package/Project/i18n/pt/commands/migrate.md +158 -0
  422. package/Project/i18n/pt/commands/move-task.md +5 -200
  423. package/Project/i18n/pt/commands/report.md +156 -0
  424. package/Project/i18n/pt/commands/reverse-prd.md +5 -284
  425. package/Project/i18n/pt/commands/reverse-stories.md +5 -301
  426. package/Project/i18n/pt/commands/reverse.md +249 -0
  427. package/Project/i18n/pt/commands/run-epic.md +5 -187
  428. package/Project/i18n/pt/commands/run-queue.md +5 -250
  429. package/Project/i18n/pt/commands/run-sprint.md +5 -262
  430. package/Project/i18n/pt/commands/scan.md +5 -267
  431. package/Project/i18n/pt/commands/sync-backlog.md +5 -161
  432. package/Project/i18n/pt/commands/trace.md +126 -174
  433. package/Project/i18n/pt/commands/update-epic.md +5 -101
  434. package/Project/i18n/pt/commands/update-stories.md +5 -190
  435. package/Project/i18n/pt/commands/update-story.md +5 -146
  436. package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
  437. package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
  438. package/Project/i18n/pt/templates/board.md +22 -9
  439. package/Project/i18n/pt/templates/epic.md +4 -4
  440. package/Project/i18n/pt/templates/prd.md +1 -1
  441. package/Project/i18n/pt/templates/sprint-status.md +60 -0
  442. package/Project/i18n/pt/templates/task.md +1 -1
  443. package/Project/i18n/pt/templates/user-story.md +8 -6
  444. package/Project/install-project-commands.sh +33 -52
  445. package/README.md +22 -5
  446. package/Tools/Ralph/README.md +9 -9
  447. package/bundles/cursor/.cursorrules +2 -2
  448. package/bundles/windsurf/.windsurfrules +2 -2
  449. package/cli/kanban/server/app.js +9 -4
  450. package/cli/kanban/server/services/repository.js +35 -8
  451. package/cli/kanban/server/services/sprint-cache.js +45 -1
  452. package/cli/kanban/shared/schemas.js +2 -0
  453. package/cli/lib/update.js +15 -0
  454. package/config/removed-commands.yaml +14 -0
  455. package/package.json +4 -2
  456. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
  457. package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
  458. package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
  459. package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
  460. package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
  461. package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
  462. package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
  463. package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
  464. package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
  465. package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
  466. package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
@@ -0,0 +1,158 @@
1
+ ---
2
+ description: "Migración puntual de un backlog existente a BMAD v6 (análisis, migración, completar stories, resincronización)"
3
+ argument-hint: "[--analyze|--dry-run|--resync|--stories] [--force]"
4
+ ---
5
+
6
+ # Migrar el backlog
7
+
8
+ Migración puntual de un backlog existente a la estructura BMAD v6, con `.bmad/sprint-status.yaml` como única fuente de verdad del estado de stories y tareas (esquema: `.claude/templates/project/sprint-status.md`). Un solo comando cubre cuatro modos: análisis, migración, completar los campos que faltan en las stories y resincronización del contenido.
9
+
10
+ ## Uso
11
+
12
+ | Invocación | Qué hace | Reemplaza |
13
+ |------------|----------|-----------|
14
+ | `/project:migrate --analyze` | Solo informe: estructura, puntuaciones INVEST, carencias BMAD v6. No escribe nada | `analyze-backlog` |
15
+ | `/project:migrate` | Por defecto: migra el backlog y crea `.bmad/sprint-status.yaml` | `migrate-backlog` |
16
+ | `/project:migrate --stories [story-id]` | Completa los campos que faltan en las stories (tareas, CA, historial, INVEST) | `update-stories` |
17
+ | `/project:migrate --resync` | Reconcilia contenido e IDs entre el markdown y el YAML | `sync-backlog` |
18
+ | `--dry-run` | Solo previsualización, válido para todos los modos | - |
19
+ | `--force` | Sobrescribe los archivos BMAD existentes (modo migración) | - |
20
+
21
+ ## Argumentos
22
+
23
+ $ARGUMENTS (formato: [--analyze|--dry-run|--resync|--stories] [--force])
24
+ - **--analyze**: modo análisis (solo lectura)
25
+ - **--stories**: `story-id` opcional (p. ej. US-001); si se omite, se procesan todas las stories
26
+ - **--resync**: modo reconciliación
27
+ - **--dry-run**: muestra lo que cambiaría, no escribe nada
28
+ - **--force**: sobrescribe un `sprint-status.yaml` y archivos BMAD existentes
29
+ - Los modos son mutuamente excluyentes; sin ninguno, se ejecuta la migración por defecto.
30
+
31
+ ## Reglas comunes
32
+
33
+ - **Ubicación del backlog**, buscada en orden: `project-management/backlog/` (estándar), `docs/backlog/`, `backlog/`, `.bmad/` (ya migrado).
34
+ - **Única fuente de verdad**: el estado vive solo en `.bmad/sprint-status.yaml`. El markdown contiene únicamente contenido (título, descripción, CA, puntos, padres).
35
+ - **Estados heredados**: la migración inicial es el ÚNICO momento en que se leen los estados/emojis heredados del markdown; se mueven al YAML y luego se eliminan del markdown. `--resync` y `--stories` nunca copian un estado desde el markdown.
36
+ - **Plan mode obligatorio** para la migración por defecto, `--stories` y `--resync` (salvo `--dry-run`): Claude analiza el impacto, propone un plan y espera su validación antes de modificar nada.
37
+ - **Orden recomendado**: primero `--analyze`, luego la migración, luego `--stories`; usar `--resync` después cuando el contenido se desvíe.
38
+
39
+ ## --analyze
40
+
41
+ Solo informe, no se modifica ningún archivo.
42
+
43
+ 1. **Detectar** la ubicación del backlog (ver reglas comunes).
44
+ 2. **Identificar** epics (`EPIC-*.md`, `epic*.md`), user stories (`US-*.md`, `story*.md`), tareas (`TASK-*.md` o integradas en las stories) y archivos de índice (`index.md`, `backlog.md`, `README.md`).
45
+ 3. **Analizar** por archivo: ID, título, estado heredado (🔴 To Do, 🟡 In Progress, 🟢 Done, ⏸️ Blocked), sprint, story points, padres (US → EPIC, TASK → US), número de CA, número de tareas y avance.
46
+ 4. **Puntuación INVEST** por story (0-6): Independent (sin dependencia bloqueante), Negotiable (tiene descripción), Valuable (beneficio indicado), Estimable (tiene puntos), Small (≤ 8 puntos), Testable (tiene CA).
47
+ 5. **Carencias BMAD v6**: seguimiento de la fase TDD, lista de tareas con avance, historial de estados, asignación a sprint, estado de validación de los CA.
48
+ 6. **Informe**: resumen (totales), estructura (árbol), tabla INVEST, tabla de carencias de migración (campo / % de stories afectadas / acción), recomendaciones.
49
+
50
+ ```
51
+ 📊 Informe de análisis del backlog
52
+ Ubicación: project-management/backlog/ | Epics: {N} | Stories: {N} | Tareas: {N}
53
+
54
+ | Story | Título | INVEST | Falta |
55
+ |--------|--------|--------|-----------|
56
+ | US-001 | Login | 5/6 | Estimable |
57
+
58
+ Carencias de migración: tdd_phase 100% | tasks.list 60% | history 100%
59
+ Siguiente: /project:migrate
60
+ ```
61
+
62
+ ## Por defecto: migración
63
+
64
+ 1. **Validar**: crear `.bmad/` si hace falta; avisar si `sprint-status.yaml` existe y no hay `--force`; el análisis debería haberse ejecutado.
65
+ 2. **Crear la estructura**: `.bmad/sprint-status.yaml`, `batch-queue.yaml`, `gates/`, `hooks/`, `lib/`.
66
+ 3. **Analizar** cada story: metadatos, CA (Gherkin), tareas relacionadas, estado heredado, avance.
67
+ 4. **Convertir los estados heredados** al YAML:
68
+
69
+ | Origen | Estado BMAD v6 |
70
+ |--------|----------------|
71
+ | 🔴 To Do | backlog |
72
+ | 🟡 In Progress | in-progress |
73
+ | 🟢 Done | done |
74
+ | ⏸️ Blocked | blocked |
75
+ | Asignada a Sprint-X | ready-for-dev |
76
+
77
+ 5. **Fase TDD inicial**: 0 % de tareas terminadas → `red`; 1-99 % → `green`; 100 % → `refactor` o `done`.
78
+ 6. **Generar `sprint-status.yaml`**, una entrada por story:
79
+
80
+ ```yaml
81
+ stories:
82
+ US-001:
83
+ title: "User login"
84
+ status: "in-progress"
85
+ previous_status: "ready-for-dev"
86
+ tdd_phase: "red"
87
+ current_task: "TASK-001"
88
+ story_points: 5
89
+ epic_id: "EPIC-001"
90
+ tasks:
91
+ total: 4
92
+ completed: 2
93
+ list:
94
+ - { id: "TASK-001", title: "Backend auth endpoint", status: "in-progress", type: "BE" }
95
+ acceptance_criteria: { total: 3, validated: 1 }
96
+ history:
97
+ - { timestamp: "2026-01-29T10:00:00Z", from: "backlog", to: "in-progress", by: "migration", reason: "BMAD v6 migration" }
98
+ ```
99
+
100
+ 7. **Copia de seguridad** (salvo `--dry-run`): copiar el backlog en `.bmad/backup/` (con marca de tiempo) y registrar su ubicación.
101
+ 8. **Aplicar** (salvo `--dry-run`): escribir el YAML, eliminar emojis/campos de estado de los archivos markdown, crear `.bmad/migration-log.md`.
102
+
103
+ Dry run: lista los archivos que se crearían (p. ej. `.bmad/sprint-status.yaml`), el número de stories/tareas/CA que se migrarían, y termina con «Run without --dry-run to apply changes.».
104
+
105
+ Reversión: `tar -xzf .bmad/backup/backlog-*.tar.gz -C project-management/ && rm .bmad/sprint-status.yaml`.
106
+
107
+ Pasos siguientes: revisar el YAML, ejecutar `/workflow:status`, configurar los metadatos del sprint (fechas, objetivos), comprobar los quality gates con `/gate:check all`.
108
+
109
+ ## --stories
110
+
111
+ Completa los campos BMAD v6 que faltan en las stories existentes (todas, o una sola con `story-id`).
112
+
113
+ 1. **Cargar** `.bmad/sprint-status.yaml` y los archivos de stories; compararlos.
114
+ 2. **Campos que faltan** y valores por defecto:
115
+
116
+ | Campo | Requerido | Valor por defecto si falta |
117
+ |-------|-----------|----------------------------|
118
+ | tdd_phase | Sí | "red" si in-progress, "" en otro caso |
119
+ | tasks.list / total / completed | Sí | Extraer de `## Tasks`, contar, contar las terminadas |
120
+ | current_task | No | Primera tarea in-progress |
121
+ | history | Sí | Entrada inicial con el estado actual (`by: "migrate"`) |
122
+ | acceptance_criteria.total / validated | Sí | Contar en la sección CA / 0 |
123
+ | story_points | Sí | Preguntar al usuario si faltan |
124
+ | epic_id | No | Extraer del archivo |
125
+
126
+ 3. **Analizar las tareas** de la tabla `## Tasks` de la story y los **CA** de los bloques Gherkin `### ACn:` para rellenar `tasks.list` y `acceptance_criteria.list` (ids, títulos). Los estados de tareas y CA solo pasan al YAML para las entradas aún no seguidas allí; un estado ya presente en el YAML nunca se sobrescribe con el markdown.
127
+ 4. **INVEST**: añadir `invest_score` (independent, negotiable, valuable, estimable, small, testable, total).
128
+ 5. **Actualizar** `sprint-status.yaml` fusionando los campos; opcionalmente añadir un comentario de metadatos a los archivos de stories (`<!-- BMAD v6 Metadata … -->` con `tdd_phase`, `invest_score`, `last_sync`).
129
+
130
+ Salida: tabla de stories actualizadas (campos añadidos, puntuación INVEST), resumen por campo (añadidos / omitidos), advertencias (p. ej. «US-003: faltan story points», «US-007: sin criterios de aceptación»), archivos modificados. Después corregir las advertencias, y ejecutar `/project:migrate --resync` y `/gate:check backlog`.
131
+
132
+ ## --resync
133
+
134
+ Reconcilia contenido e IDs entre los archivos markdown y el YAML. El estado nunca se sincroniza: el YAML manda.
135
+
136
+ 1. **Cargar** ambas fuentes y construir un mapa de comparación por ID de story.
137
+ 2. **Detectar diferencias** de contenido: stories que faltan, títulos, story points, listas de tareas, CA, asignación.
138
+ 3. **Resolver**: el YAML es la autoridad para el estado, la fase TDD, el historial y el estado de las tareas; el markdown es la autoridad para títulos, descripciones, texto de los CA y puntos. Preguntar al usuario cuando ambos modificaron el mismo campo de contenido.
139
+ 4. **Archivos → YAML**: añadir las stories presentes solo en los archivos; actualizar títulos, puntos, listas de tareas y de CA.
140
+ 5. **YAML → archivos**: actualizar el comentario de metadatos (fase TDD, historial, puntuación INVEST, marca de sincronización); nunca escribir un estado en el markdown.
141
+ 6. **Huérfanos**: en el YAML pero no en los archivos → marcar `archived` o avisar; en los archivos pero no en el YAML → añadir al YAML (estado `backlog`).
142
+ 7. **Marcas de tiempo**: `last_sync` en el YAML y `<!-- last_sync: … -->` en los archivos de stories.
143
+
144
+ Salida: cambios archivos → YAML, cambios YAML → archivos, conflictos resueltos, huérfanos (archivados / añadidos), hora de la última sincronización. Después revisar `git diff` y ejecutar `/workflow:status`.
145
+
146
+ Automatización: un hook pre-commit puede ejecutar `/project:migrate --resync` (`.bmad/hooks/pre-commit.sh`).
147
+
148
+ ## Ejemplos
149
+
150
+ ```
151
+ /project:migrate --analyze
152
+ /project:migrate --dry-run
153
+ /project:migrate
154
+ /project:migrate --force
155
+ /project:migrate --stories US-001
156
+ /project:migrate --stories --dry-run
157
+ /project:migrate --resync --dry-run
158
+ ```
@@ -1,204 +1,9 @@
1
1
  ---
2
- description: Mover una Tarea
3
- argument-hint: [arguments]
2
+ description: "Obsoleto (se elimina en 9.0): usa /project:backlog move task"
3
+ deprecated: true
4
+ replaced-by: /project:backlog
4
5
  ---
5
6
 
6
- # Mover una Tarea
7
+ > ⚠️ `/project:move-task` está obsoleto y se eliminará en 9.0. Usa `/project:backlog move task`.
7
8
 
8
- Cambiar el estado de una tarea siguiendo el flujo de trabajo estricto.
9
-
10
- ## Argumentos
11
-
12
- $ARGUMENTS (formato: TASK-XXX destino)
13
- - **TASK-ID** (obligatorio): ID de la Tarea (ej., TASK-001)
14
- - **Destino** (obligatorio):
15
- - `in-progress`: Iniciar tarea
16
- - `blocked`: Marcar como bloqueada
17
- - `done`: Marcar como completada
18
-
19
- ## Flujo de Trabajo Estricto
20
-
21
- ```
22
- 🔴 To Do ──→ 🟡 In Progress ──→ 🟢 Done
23
- │ │
24
- │ ↓
25
- └────→ ⏸️ Blocked ←────┘
26
- │
27
- ↓
28
- 🟡 In Progress
29
- ```
30
-
31
- ### Transiciones Permitidas
32
-
33
- | Desde | A | Permitido |
34
- |--------|------|----------|
35
- | 🔴 To Do | 🟡 In Progress | ✅ |
36
- | 🔴 To Do | ⏸️ Blocked | ✅ |
37
- | 🔴 To Do | 🟢 Done | ❌ **Prohibido** |
38
- | 🟡 In Progress | 🟢 Done | ✅ |
39
- | 🟡 In Progress | ⏸️ Blocked | ✅ |
40
- | 🟡 In Progress | 🔴 To Do | ✅ (rollback) |
41
- | ⏸️ Blocked | 🟡 In Progress | ✅ |
42
- | 🟢 Done | 🟡 In Progress | ⚠️ (reapertura) |
43
-
44
- ## Proceso
45
-
46
- ### Paso 1: Validar Tarea
47
-
48
- 1. Encontrar archivo de tarea
49
- 2. Leer estado actual
50
- 3. Identificar US y sprint asociados
51
-
52
- ### Paso 2: Validar transición
53
-
54
- 1. Verificar que la transición está permitida
55
- 2. Si To Do → Done, bloquear y sugerir In Progress
56
-
57
- ### Paso 3: Si transición a Blocked
58
-
59
- Preguntar por bloqueador:
60
- ```
61
- ¿Cuál es el bloqueador para TASK-XXX?
62
- > [Descripción del bloqueador]
63
- ```
64
-
65
- ### Paso 4: Si transición a Done
66
-
67
- Preguntar por tiempo gastado:
68
- ```
69
- ¿Tiempo gastado en TASK-XXX? (estimación: 4h)
70
- > [Tiempo real, ej., 3.5h]
71
- ```
72
-
73
- ### Paso 5: Actualizar Tarea
74
-
75
- 1. Modificar estado en metadatos
76
- 2. Agregar bloqueador si está Blocked
77
- 3. Actualizar tiempo gastado si está Done
78
- 4. Actualizar fecha de modificación
79
-
80
- ### Paso 6: Actualizar Tablero
81
-
82
- 1. Leer tablero del sprint
83
- 2. Mover tarea a nueva columna
84
- 3. Actualizar métricas
85
-
86
- ### Paso 7: Actualizar User Story
87
-
88
- 1. Actualizar lista de tareas
89
- 2. Recalcular progreso
90
- 3. Si todas las tareas Done, sugerir completar US
91
-
92
- ### Paso 8: Actualizar Índice
93
-
94
- 1. Actualizar contadores globales
95
-
96
- ## Formato de salida
97
-
98
- ### Transición exitosa
99
-
100
- ```
101
- ✅ Tarea movida!
102
-
103
- 🔧 TASK-003: Endpoint de API login
104
- Antes: 🔴 To Do
105
- Después: 🟡 In Progress
106
-
107
- 📖 US-001: Inicio de sesión de usuario
108
- Progreso: 2/6 → 3/6 (50%)
109
-
110
- Próximos pasos:
111
- /project:move-task TASK-003 done # Cuando se complete
112
- /project:move-task TASK-003 blocked # Si se bloquea
113
- ```
114
-
115
- ### Tarea completada
116
-
117
- ```
118
- ✅ Tarea completada!
119
-
120
- 🔧 TASK-003: Endpoint de API login
121
- Estado: 🟡 In Progress → 🟢 Done
122
- Estimación: 4h
123
- Tiempo real: 3.5h ✓
124
-
125
- 📖 US-001: Inicio de sesión de usuario
126
- Progreso: 4/6 (67%) ████████░░░░
127
-
128
- Sprint 1:
129
- Tareas completadas: 12/25 (48%)
130
- Horas: 35h/77h completadas
131
- ```
132
-
133
- ### Todas las tareas Done
134
-
135
- ```
136
- ✅ Tarea completada!
137
-
138
- 🔧 TASK-006: Tests AuthService
139
- Estado: 🟢 Done
140
-
141
- 🎉 Todas las tareas de US-001 completadas!
142
-
143
- 📖 US-001: Inicio de sesión de usuario
144
- Progreso: 6/6 (100%) ██████████
145
-
146
- Próximo paso recomendado:
147
- /sprint:transition US-001 done
148
- ```
149
-
150
- ### Error de flujo de trabajo
151
-
152
- ```
153
- ❌ Transición no permitida!
154
-
155
- 🔧 TASK-004: Controller Auth
156
- Estado actual: 🔴 To Do
157
- Transición solicitada: → 🟢 Done
158
-
159
- Regla: Una tarea debe pasar por "In Progress" antes de "Done"
160
-
161
- Acción correcta:
162
- /project:move-task TASK-004 in-progress
163
- # ... trabajar en la tarea ...
164
- /project:move-task TASK-004 done
165
- ```
166
-
167
- ### Tarea bloqueada
168
-
169
- ```
170
- ✅ Tarea marcada como bloqueada
171
-
172
- 🔧 TASK-005: Pantalla Login
173
- Estado: 🟡 In Progress → ⏸️ Blocked
174
- Bloqueador: Esperando auth API (TASK-003)
175
-
176
- Para desbloquear:
177
- 1. Completar TASK-003
178
- 2. /project:move-task TASK-005 in-progress
179
- ```
180
-
181
- ## Ejemplos
182
-
183
- ```
184
- # Iniciar una tarea
185
- /project:move-task TASK-001 in-progress
186
-
187
- # Completar una tarea
188
- /project:move-task TASK-001 done
189
-
190
- # Bloquear una tarea
191
- /project:move-task TASK-001 blocked
192
-
193
- # Desbloquear una tarea
194
- /project:move-task TASK-001 in-progress
195
- ```
196
-
197
- ## Métricas Actualizadas
198
-
199
- En cada movimiento:
200
- - Conteo de tareas por estado
201
- - Horas estimadas vs reales
202
- - Progreso de la US
203
- - Progreso del Sprint
204
- - Tablero Kanban
9
+ Ejecuta `/project:backlog move task $ARGUMENTS`: lee `.claude/commands/project/backlog.md` y síguelo con estos argumentos.
@@ -0,0 +1,156 @@
1
+ ---
2
+ description: "Informes analíticos del proyecto: burndown del sprint, panel de métricas, grafo de dependencias de historias y ruta crítica"
3
+ argument-hint: "<burndown|metrics|deps> [--critical] [--sprint=Sprint-N] [--type=points|stories|tasks] [--format=...] [--velocity=N] [--output=path]"
4
+ ---
5
+
6
+ # /project:report
7
+
8
+ ## Misión
9
+
10
+ Punto de entrada único para los análisis del proyecto de solo lectura. Cada subcomando convierte los datos del backlog y del sprint en un informe: un gráfico burndown, un panel de métricas o un grafo de dependencias (con ruta crítica opcional).
11
+
12
+ ## Uso
13
+
14
+ | Invocación | Qué hace | Reemplaza |
15
+ |------------|----------|-----------|
16
+ | `/project:report burndown` | Gráfico burndown Mermaid + desviación y proyección | `/project:report burndown` |
17
+ | `/project:report metrics` | Panel de velocidad, cobertura de specs, gates, salud y regresión | `/project:report metrics` |
18
+ | `/project:report deps` | Grafo de dependencias de historias, cuellos de botella, grupos paralelos | `/project:report deps` |
19
+ | `/project:report deps --critical` | Ruta crítica, holgura y plan de ejecución en paralelo | `/project:report deps --critical` |
20
+
21
+ ## Argumentos
22
+
23
+ Analizar `$ARGUMENTS`: la primera palabra posicional es el subcomando (`burndown`, `metrics` o `deps`). Si falta o es desconocido, mostrar la tabla anterior y preguntar cuál ejecutar.
24
+
25
+ | Opción | Aplica a | Descripción |
26
+ |--------|---------|-------------|
27
+ | `--sprint=Sprint-N` | todos | Sprint a analizar (por defecto: sprint actual) |
28
+ | `--type=points\|stories\|tasks` | burndown | Unidad del gráfico (por defecto `points`) |
29
+ | `--format=dashboard\|json\|markdown` | metrics | Formato de salida (por defecto `dashboard`) |
30
+ | `--format=mermaid\|table\|json` | deps | Formato de salida (por defecto `mermaid`) |
31
+ | `--output=path` | deps | Ruta de salida (por defecto: stdout) |
32
+ | `--critical` | deps | Cambia al análisis de ruta crítica |
33
+ | `--velocity=N` | deps --critical | Velocidad del equipo (puntos por sprint) para estimar el calendario |
34
+
35
+ ## Reglas comunes
36
+
37
+ - **Fuente única de verdad:** el ESTADO de historias y tareas se lee únicamente de `.bmad/sprint-status.yaml`; los archivos markdown (`project-management/backlog/`, `tasks/TASK-*.md`) aportan el contenido (títulos, puntos, `Depends on:`), nunca el estado. Sus entradas `history` alimentan el burndown y las tendencias de velocidad.
38
+ - Rutas por defecto: `project-management/` (`prd.md`, `backlog/`, `sprints/sprint-{N}-{slug}/`); plantillas en `.claude/templates/project/`.
39
+ - Los informes son de solo lectura sobre los archivos del proyecto; las únicas escrituras son las instantáneas de métricas en `.bmad/metrics/`.
40
+ - **El modo plan es obligatorio:** antes de ejecutar, proponer el plan (datos leídos, archivos escritos) y esperar la validación.
41
+ - Terminar cada informe con las observaciones clave y recomendaciones.
42
+
43
+ ## burndown
44
+
45
+ Requisitos: `.bmad/sprint-status.yaml` con datos del sprint, fechas de inicio/fin y story points estimados.
46
+
47
+ 1. **Cargar**: leer el sprint actual en `.bmad/sprint-status.yaml` (fechas, puntos comprometidos, `history` de estados por día) y los datos pasados de `.bmad/metrics/`.
48
+ 2. **Calcular**: línea ideal (lineal del total a 0), restante real por día, desviación (adelantado/atrasado), fecha de fin proyectada según la velocidad actual.
49
+ 3. **Gráfico** (Mermaid):
50
+
51
+ ```mermaid
52
+ xychart-beta
53
+ title "Sprint-3 Burndown"
54
+ x-axis ["Day 1", "Day 2", "Day 3", "Day 4", "Day 5", "Day 6", "Day 7", "Day 8", "Day 9", "Day 10"]
55
+ y-axis "Story Points Remaining" 0 --> 25
56
+ line "Ideal" [21, 18.9, 16.8, 14.7, 12.6, 10.5, 8.4, 6.3, 4.2, 2.1, 0]
57
+ line "Actual" [21, 21, 18, 18, 15, 12, 12, 9, 6, 3]
58
+ ```
59
+
60
+ 4. **Informe de análisis**:
61
+
62
+ ```
63
+ INFORME BURNDOWN DEL SPRINT — Sprint-3 | Día 9/10
64
+ Total comprometido: 21 pts | Restante: 3 | Completado: 18 (86%)
65
+ Restante ideal: 2.1 | Real: 3 | Desviación: -0.9 pts (ligeramente atrasado)
66
+ Velocidad media: 2.0 pts/día | Fin proyectado: día 10.5 (0.5 días de retraso)
67
+ Tendencia: días 1-3: 3pts (inicio lento) | días 4-6: 6pts | días 7-9: 9pts
68
+ Riesgo: 1 historia puede pasar al siguiente sprint (US-015, 3pts, bloqueada)
69
+ ```
70
+
71
+ 5. **Almacenar**: añadir los datos diarios a `.bmad/metrics/burndown-{sprint-id}.json`.
72
+
73
+ ## metrics
74
+
75
+ Requisitos: `.bmad/sprint-status.yaml`; `project-management/backlog/` con historias; opcionalmente el historial `.bmad/metrics/` y `project-management/prd.md` para la cobertura.
76
+
77
+ | Categoría | Métricas (fuente) |
78
+ |-----------|-------------------|
79
+ | Velocidad | Puntos completados por sprint, media móvil (últimos 3), ratio de compromiso (completados / comprometidos, objetivo > 80%), arrastre (`sprint-status.yaml`, historial de métricas) |
80
+ | Cobertura de specs | % de FR-xxx cubiertos por historias, % de historias con referencias al código, % de AC con tests, % de cadenas completas FR→US→Code→Test (PRD, historias, `/project:trace`) |
81
+ | Quality gates | Gate PRD (>= 80%), DoD de historias, tasa de éxito sprint ready, tasa de éxito a la primera (historial de gates de `/gate:check`) |
82
+ | Salud del sprint | Historias y tareas terminadas / total, historias bloqueadas, cumplimiento TDD (`sprint-status.yaml`) |
83
+ | Regresión | Bugs encontrados / corregidos por sprint, tasa de regresión, tasa de escape (sesiones QA recette, registro de regresión) |
84
+
85
+ Proceso:
86
+ 1. **Recopilar**: leer `.bmad/sprint-status.yaml`, `.bmad/metrics/`, los datos de trazabilidad (`/project:trace`), el historial de gates y las sesiones QA recette (si existen).
87
+ 2. **Calcular**: las cinco categorías y las tendencias respecto al sprint anterior (sube / baja / igual).
88
+ 3. **Panel** (una línea por métrica con iconos de estado, umbrales como arriba):
89
+
90
+ ```
91
+ PANEL DE MÉTRICAS DEL PROYECTO — Sprint-3 | 2026-02-19
92
+ VELOCIDAD Actual 18/21 pts (86%) | Media 19 pts/sprint | Compromiso 86% OK | Arrastre 3 pts
93
+ COBERTURA Requisitos 12/15 (80%) WARN | Historias con código 8/10 | AC con tests 24/28 (86%) OK | Cadenas completas 7/10 (70%) WARN
94
+ QUALITY GATES PRD 1/1 | DoD historia 6/8 (75%) WARN | Sprint ready 1/1 | A la primera 70% WARN
95
+ SALUD SPRINT Historias 6/8 | Tareas 22/28 | Bloqueadas 1 (US-015) WARN | Cumplimiento TDD 100%
96
+ REGRESIÓN Bugs encontrados 4 | corregidos 3 | Regresiones 0 | Escape 0%
97
+ TENDENCIAS Velocidad +2 pts | Cobertura +10% | A la primera -5% | Bloqueadas igual
98
+ ```
99
+
100
+ 4. **Almacenar** la instantánea en `.bmad/metrics/sprint-{id}.json`, con las claves `sprint_id`, `date`, `velocity` (`completed`, `committed`, `ratio`), `coverage` (`requirements`, `stories`, `tests`, `traceability`), `gates` (`prd_pass_rate`, `story_pass_rate`, `sprint_ready_rate`, `first_pass_rate`), `health` (`stories_done`, `stories_total`, `tasks_done`, `tasks_total`, `blocked`, `tdd_compliance`), `regression` (`bugs_found`, `bugs_fixed`, `regressions`, `escape_rate`).
101
+
102
+ `--format=json` o `markdown` genera los mismos datos en ese formato.
103
+
104
+ ## deps
105
+
106
+ Requisitos: historias de `project-management/backlog/` con campos `Depends on:`; opcionalmente `.bmad/sprint-status.yaml` (colores de estado) y `project-management/prd.md` (agrupación por epic).
107
+
108
+ 1. **Cargar**: recorrer `project-management/backlog/`, filtrar con `--sprint` si se indica, leer `Depends on:` en la sección Traceability de cada historia y construir la lista de adyacencia. El estado proviene de `.bmad/sprint-status.yaml`.
109
+ 2. **Validar**: dependencias circulares (A -> B -> C -> A), referencias a historias inexistentes, autorreferencias. Informar de cada problema.
110
+ 3. **Grafo** (Mermaid `graph TD`, por defecto): un `subgraph` por epic (`EPIC-001: Authentication`), nodos `US-001[US-001: Login Page]`, aristas `US-002 --> US-001` (depende de) y colores `classDef` según el estado: `done` #90EE90, `inProgress` #FFD700, `blocked` #FF6B6B, `ready` #87CEEB. `--format=table|json` para otras salidas.
111
+ 4. **Analizar**: historias cuello de botella (bloquean 3 o más), historias independientes, cadena de dependencias más larga, grupos paralelos.
112
+ 5. **Informe**:
113
+
114
+ ```
115
+ GRAFO DE DEPENDENCIAS — Sprint-3 | Historias: 8 | Dependencias: 5
116
+ Cuellos de botella: US-001 Login Page (bloquea 4 historias)
117
+ Independientes: US-006, US-007
118
+ Cadena más larga (3 pasos): US-001 -> US-002 -> US-003
119
+ Grupos paralelos: [US-006, US-007] | [US-004, US-005] (tras US-001)
120
+ Problemas: sin dependencias circulares, sin referencias faltantes
121
+ ```
122
+
123
+ ### deps --critical
124
+
125
+ Requiere además story points. La ruta crítica es la secuencia más larga de historias dependientes; fija la duración mínima sea cual sea el tamaño del equipo.
126
+
127
+ 1. **Construir el DAG** a partir del grafo anterior (detenerse si hay un ciclo).
128
+ 2. **Calcular**: orden topológico, inicio/fin más temprano y más tardío por historia, historias con holgura cero = ruta crítica, puntos acumulados a lo largo de la ruta.
129
+ 3. **Holgura**: holgura total de las historias no críticas, rutas casi críticas (holgura < 2 pts), historias que podrían volverse críticas si se retrasan.
130
+ 4. **Calendario** (usar `--velocity` para repartir las fases en sprints):
131
+
132
+ ```
133
+ ANÁLISIS DE RUTA CRÍTICA — Sprint-3 | Velocidad: 21 pts/sprint
134
+ Ruta crítica (13 pts): US-001 (5) -> US-002 (3) -> US-005 (5)
135
+ Casi crítica: US-001 (5) -> US-004 (3) [holgura: 2pts]
136
+ Fase 1: US-001 + US-006 + US-007 (8pts) | Fase 2: US-002 + US-004 (6pts) | Fase 3: US-003 + US-005 (7pts)
137
+ Holgura: US-003 5pts | US-004 2pts (vigilar) | US-006, US-007 8pts
138
+ ```
139
+
140
+ 5. **Recomendaciones**: orden de ejecución óptimo, paralelización, riesgos en las historias críticas (p. ej. asignar al desarrollador más sólido a US-001), formas de acortar la ruta (dividir historias).
141
+
142
+ ## Ejemplo
143
+
144
+ ```
145
+ User: /project:report deps --critical --sprint=Sprint-3 --velocity=21
146
+
147
+ Claude: Ruta crítica: US-001 -> US-002 -> US-005 (13 pts), cabe en 1 sprint.
148
+ Riesgo: un retraso de 2 o más días en US-001 pone en peligro todo el sprint.
149
+ ```
150
+
151
+ ## Comandos relacionados
152
+
153
+ - `/project:trace` — Matriz de trazabilidad y cobertura
154
+ - `/workflow:status` — Resumen del estado del sprint
155
+ - `/project:backlog next story` — Siguiente historia (considera las dependencias)
156
+ - `/workflow:retro` — Retrospectiva del sprint (usa las métricas)