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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/Dev/i18n/base/Common/commands/aliases.md +7 -13
  2. package/Dev/i18n/base/Common/commands/init.md +89 -1
  3. package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
  4. package/Dev/i18n/base/Common/commands/search.md +2 -2
  5. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  6. package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
  7. package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
  8. package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
  9. package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
  10. package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
  11. package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
  12. package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
  13. package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
  14. package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
  15. package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
  16. package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
  17. package/Dev/i18n/de/QA/commands/fix.md +8 -8
  18. package/Dev/i18n/de/QA/commands/recette.md +7 -8
  19. package/Dev/i18n/de/QA/commands/regression.md +11 -11
  20. package/Dev/i18n/de/QA/commands/report.md +5 -162
  21. package/Dev/i18n/de/QA/commands/status.md +140 -13
  22. package/Dev/i18n/de/QA/commands/tdd.md +1 -1
  23. package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
  24. package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
  25. package/Dev/i18n/de/Workflow/commands/design.md +151 -209
  26. package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
  27. package/Dev/i18n/de/Workflow/commands/init.md +42 -14
  28. package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
  29. package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
  30. package/Dev/i18n/de/Workflow/commands/review.md +1 -1
  31. package/Dev/i18n/de/Workflow/commands/start.md +115 -25
  32. package/Dev/i18n/de/Workflow/commands/status.md +275 -201
  33. package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
  34. package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
  35. package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
  36. package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
  37. package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
  38. package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
  39. package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
  40. package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
  41. package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
  42. package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
  43. package/Dev/i18n/en/QA/commands/fix.md +8 -8
  44. package/Dev/i18n/en/QA/commands/recette.md +7 -8
  45. package/Dev/i18n/en/QA/commands/regression.md +11 -11
  46. package/Dev/i18n/en/QA/commands/report.md +5 -221
  47. package/Dev/i18n/en/QA/commands/status.md +140 -13
  48. package/Dev/i18n/en/QA/commands/tdd.md +1 -1
  49. package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
  50. package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
  51. package/Dev/i18n/en/Workflow/commands/design.md +143 -200
  52. package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
  53. package/Dev/i18n/en/Workflow/commands/init.md +42 -14
  54. package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
  55. package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
  56. package/Dev/i18n/en/Workflow/commands/review.md +1 -1
  57. package/Dev/i18n/en/Workflow/commands/start.md +107 -17
  58. package/Dev/i18n/en/Workflow/commands/status.md +265 -191
  59. package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
  60. package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
  61. package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
  62. package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
  63. package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
  64. package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
  65. package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
  66. package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
  67. package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
  68. package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
  69. package/Dev/i18n/es/QA/commands/fix.md +8 -8
  70. package/Dev/i18n/es/QA/commands/recette.md +7 -8
  71. package/Dev/i18n/es/QA/commands/regression.md +11 -11
  72. package/Dev/i18n/es/QA/commands/report.md +5 -162
  73. package/Dev/i18n/es/QA/commands/status.md +140 -13
  74. package/Dev/i18n/es/QA/commands/tdd.md +1 -1
  75. package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
  76. package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
  77. package/Dev/i18n/es/Workflow/commands/design.md +158 -218
  78. package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
  79. package/Dev/i18n/es/Workflow/commands/init.md +42 -14
  80. package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
  81. package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
  82. package/Dev/i18n/es/Workflow/commands/review.md +1 -1
  83. package/Dev/i18n/es/Workflow/commands/start.md +113 -23
  84. package/Dev/i18n/es/Workflow/commands/status.md +284 -210
  85. package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
  86. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
  87. package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
  88. package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
  89. package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
  90. package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
  91. package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
  92. package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
  93. package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
  94. package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
  95. package/Dev/i18n/fr/QA/commands/fix.md +8 -8
  96. package/Dev/i18n/fr/QA/commands/recette.md +7 -8
  97. package/Dev/i18n/fr/QA/commands/regression.md +11 -11
  98. package/Dev/i18n/fr/QA/commands/report.md +5 -163
  99. package/Dev/i18n/fr/QA/commands/status.md +140 -13
  100. package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
  101. package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
  102. package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
  103. package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
  104. package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
  105. package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
  106. package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
  107. package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
  108. package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
  109. package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
  110. package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
  111. package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
  112. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
  113. package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
  114. package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
  115. package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
  116. package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
  117. package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
  118. package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
  119. package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
  120. package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
  121. package/Dev/i18n/pt/QA/commands/fix.md +8 -8
  122. package/Dev/i18n/pt/QA/commands/recette.md +7 -8
  123. package/Dev/i18n/pt/QA/commands/regression.md +11 -11
  124. package/Dev/i18n/pt/QA/commands/report.md +5 -162
  125. package/Dev/i18n/pt/QA/commands/status.md +140 -13
  126. package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
  127. package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
  128. package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
  129. package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
  130. package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
  131. package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
  132. package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
  133. package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
  134. package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
  135. package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
  136. package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
  137. package/Dev/scripts/install-common-rules.sh +7 -10
  138. package/Dev/scripts/prune-removed-commands.sh +22 -0
  139. package/Project/i18n/de/Gate/commands/check.md +392 -0
  140. package/Project/i18n/de/Gate/commands/report.md +5 -230
  141. package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
  142. package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
  143. package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
  144. package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
  145. package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
  146. package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
  147. package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
  148. package/Project/i18n/de/Sprint/commands/dev.md +5 -443
  149. package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
  150. package/Project/i18n/de/Sprint/commands/status.md +5 -173
  151. package/Project/i18n/de/Sprint/commands/transition.md +5 -259
  152. package/Project/i18n/de/agents/product-owner.md +5 -5
  153. package/Project/i18n/de/agents/tech-lead.md +8 -8
  154. package/Project/i18n/de/commands/add-epic.md +5 -88
  155. package/Project/i18n/de/commands/add-story.md +5 -112
  156. package/Project/i18n/de/commands/add-task.md +5 -127
  157. package/Project/i18n/de/commands/analyze-backlog.md +5 -110
  158. package/Project/i18n/de/commands/backlog.md +653 -0
  159. package/Project/i18n/de/commands/batch-status.md +5 -209
  160. package/Project/i18n/de/commands/board.md +5 -130
  161. package/Project/i18n/de/commands/burndown.md +5 -120
  162. package/Project/i18n/de/commands/checkpoint.md +5 -239
  163. package/Project/i18n/de/commands/coverage-map.md +5 -217
  164. package/Project/i18n/de/commands/critical-path.md +5 -123
  165. package/Project/i18n/de/commands/decompose-tasks.md +5 -600
  166. package/Project/i18n/de/commands/dependencies.md +5 -139
  167. package/Project/i18n/de/commands/gap-analysis.md +5 -290
  168. package/Project/i18n/de/commands/generate-backlog.md +5 -378
  169. package/Project/i18n/de/commands/generate-constitution.md +5 -223
  170. package/Project/i18n/de/commands/generate-prd.md +5 -210
  171. package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
  172. package/Project/i18n/de/commands/list-epics.md +5 -91
  173. package/Project/i18n/de/commands/list-stories.md +5 -116
  174. package/Project/i18n/de/commands/list-tasks.md +5 -128
  175. package/Project/i18n/de/commands/metrics.md +5 -223
  176. package/Project/i18n/de/commands/migrate-backlog.md +5 -144
  177. package/Project/i18n/de/commands/migrate.md +158 -0
  178. package/Project/i18n/de/commands/move-task.md +5 -200
  179. package/Project/i18n/de/commands/report.md +156 -0
  180. package/Project/i18n/de/commands/reverse-prd.md +5 -284
  181. package/Project/i18n/de/commands/reverse-stories.md +5 -301
  182. package/Project/i18n/de/commands/reverse.md +249 -0
  183. package/Project/i18n/de/commands/run-epic.md +5 -187
  184. package/Project/i18n/de/commands/run-queue.md +5 -250
  185. package/Project/i18n/de/commands/run-sprint.md +5 -262
  186. package/Project/i18n/de/commands/scan.md +5 -267
  187. package/Project/i18n/de/commands/sync-backlog.md +5 -161
  188. package/Project/i18n/de/commands/trace.md +126 -174
  189. package/Project/i18n/de/commands/update-epic.md +5 -101
  190. package/Project/i18n/de/commands/update-stories.md +5 -190
  191. package/Project/i18n/de/commands/update-story.md +5 -146
  192. package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
  193. package/Project/i18n/de/scaffold/project-management__README.md +7 -7
  194. package/Project/i18n/de/templates/board.md +22 -9
  195. package/Project/i18n/de/templates/epic.md +4 -4
  196. package/Project/i18n/de/templates/prd.md +1 -1
  197. package/Project/i18n/de/templates/sprint-status.md +60 -0
  198. package/Project/i18n/de/templates/task.md +1 -1
  199. package/Project/i18n/de/templates/user-story.md +8 -6
  200. package/Project/i18n/en/Gate/commands/check.md +392 -0
  201. package/Project/i18n/en/Gate/commands/report.md +5 -261
  202. package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
  203. package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
  204. package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
  205. package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
  206. package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
  207. package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
  208. package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
  209. package/Project/i18n/en/Sprint/commands/dev.md +5 -441
  210. package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
  211. package/Project/i18n/en/Sprint/commands/status.md +5 -214
  212. package/Project/i18n/en/Sprint/commands/transition.md +5 -259
  213. package/Project/i18n/en/agents/product-owner.md +5 -5
  214. package/Project/i18n/en/agents/tech-lead.md +8 -8
  215. package/Project/i18n/en/commands/add-epic.md +5 -88
  216. package/Project/i18n/en/commands/add-story.md +5 -112
  217. package/Project/i18n/en/commands/add-task.md +5 -127
  218. package/Project/i18n/en/commands/analyze-backlog.md +5 -133
  219. package/Project/i18n/en/commands/backlog.md +653 -0
  220. package/Project/i18n/en/commands/batch-status.md +5 -209
  221. package/Project/i18n/en/commands/board.md +5 -130
  222. package/Project/i18n/en/commands/burndown.md +5 -120
  223. package/Project/i18n/en/commands/checkpoint.md +5 -239
  224. package/Project/i18n/en/commands/coverage-map.md +5 -217
  225. package/Project/i18n/en/commands/critical-path.md +5 -123
  226. package/Project/i18n/en/commands/decompose-tasks.md +5 -600
  227. package/Project/i18n/en/commands/dependencies.md +5 -139
  228. package/Project/i18n/en/commands/gap-analysis.md +5 -290
  229. package/Project/i18n/en/commands/generate-backlog.md +5 -378
  230. package/Project/i18n/en/commands/generate-constitution.md +5 -223
  231. package/Project/i18n/en/commands/generate-prd.md +5 -210
  232. package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
  233. package/Project/i18n/en/commands/list-epics.md +5 -91
  234. package/Project/i18n/en/commands/list-stories.md +5 -116
  235. package/Project/i18n/en/commands/list-tasks.md +5 -128
  236. package/Project/i18n/en/commands/metrics.md +5 -223
  237. package/Project/i18n/en/commands/migrate-backlog.md +5 -186
  238. package/Project/i18n/en/commands/migrate.md +158 -0
  239. package/Project/i18n/en/commands/move-task.md +5 -200
  240. package/Project/i18n/en/commands/report.md +156 -0
  241. package/Project/i18n/en/commands/reverse-prd.md +5 -284
  242. package/Project/i18n/en/commands/reverse-stories.md +5 -301
  243. package/Project/i18n/en/commands/reverse.md +249 -0
  244. package/Project/i18n/en/commands/run-epic.md +5 -187
  245. package/Project/i18n/en/commands/run-queue.md +5 -250
  246. package/Project/i18n/en/commands/run-sprint.md +5 -262
  247. package/Project/i18n/en/commands/scan.md +5 -267
  248. package/Project/i18n/en/commands/sync-backlog.md +5 -161
  249. package/Project/i18n/en/commands/trace.md +119 -167
  250. package/Project/i18n/en/commands/update-epic.md +5 -101
  251. package/Project/i18n/en/commands/update-stories.md +5 -190
  252. package/Project/i18n/en/commands/update-story.md +5 -146
  253. package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
  254. package/Project/i18n/en/scaffold/project-management__README.md +7 -7
  255. package/Project/i18n/en/templates/board.md +22 -9
  256. package/Project/i18n/en/templates/epic.md +4 -4
  257. package/Project/i18n/en/templates/prd.md +1 -1
  258. package/Project/i18n/en/templates/sprint-status.md +60 -0
  259. package/Project/i18n/en/templates/task.md +1 -1
  260. package/Project/i18n/en/templates/user-story.md +7 -5
  261. package/Project/i18n/es/Gate/commands/check.md +392 -0
  262. package/Project/i18n/es/Gate/commands/report.md +5 -229
  263. package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
  264. package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
  265. package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
  266. package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
  267. package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
  268. package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
  269. package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
  270. package/Project/i18n/es/Sprint/commands/dev.md +5 -441
  271. package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
  272. package/Project/i18n/es/Sprint/commands/status.md +5 -172
  273. package/Project/i18n/es/Sprint/commands/transition.md +5 -259
  274. package/Project/i18n/es/agents/product-owner.md +5 -5
  275. package/Project/i18n/es/agents/tech-lead.md +8 -8
  276. package/Project/i18n/es/commands/add-epic.md +5 -88
  277. package/Project/i18n/es/commands/add-story.md +5 -112
  278. package/Project/i18n/es/commands/add-task.md +5 -127
  279. package/Project/i18n/es/commands/analyze-backlog.md +5 -110
  280. package/Project/i18n/es/commands/backlog.md +653 -0
  281. package/Project/i18n/es/commands/batch-status.md +5 -209
  282. package/Project/i18n/es/commands/board.md +5 -130
  283. package/Project/i18n/es/commands/burndown.md +5 -120
  284. package/Project/i18n/es/commands/checkpoint.md +5 -239
  285. package/Project/i18n/es/commands/coverage-map.md +5 -217
  286. package/Project/i18n/es/commands/critical-path.md +5 -123
  287. package/Project/i18n/es/commands/decompose-tasks.md +5 -600
  288. package/Project/i18n/es/commands/dependencies.md +5 -139
  289. package/Project/i18n/es/commands/gap-analysis.md +5 -290
  290. package/Project/i18n/es/commands/generate-backlog.md +5 -378
  291. package/Project/i18n/es/commands/generate-constitution.md +5 -223
  292. package/Project/i18n/es/commands/generate-prd.md +5 -210
  293. package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
  294. package/Project/i18n/es/commands/list-epics.md +5 -91
  295. package/Project/i18n/es/commands/list-stories.md +5 -116
  296. package/Project/i18n/es/commands/list-tasks.md +5 -128
  297. package/Project/i18n/es/commands/metrics.md +5 -223
  298. package/Project/i18n/es/commands/migrate-backlog.md +5 -144
  299. package/Project/i18n/es/commands/migrate.md +158 -0
  300. package/Project/i18n/es/commands/move-task.md +5 -200
  301. package/Project/i18n/es/commands/report.md +156 -0
  302. package/Project/i18n/es/commands/reverse-prd.md +5 -284
  303. package/Project/i18n/es/commands/reverse-stories.md +5 -301
  304. package/Project/i18n/es/commands/reverse.md +249 -0
  305. package/Project/i18n/es/commands/run-epic.md +5 -187
  306. package/Project/i18n/es/commands/run-queue.md +5 -250
  307. package/Project/i18n/es/commands/run-sprint.md +5 -262
  308. package/Project/i18n/es/commands/scan.md +5 -267
  309. package/Project/i18n/es/commands/sync-backlog.md +5 -161
  310. package/Project/i18n/es/commands/trace.md +126 -174
  311. package/Project/i18n/es/commands/update-epic.md +5 -101
  312. package/Project/i18n/es/commands/update-stories.md +5 -190
  313. package/Project/i18n/es/commands/update-story.md +5 -146
  314. package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
  315. package/Project/i18n/es/scaffold/project-management__README.md +7 -7
  316. package/Project/i18n/es/templates/board.md +22 -9
  317. package/Project/i18n/es/templates/epic.md +4 -4
  318. package/Project/i18n/es/templates/prd.md +1 -1
  319. package/Project/i18n/es/templates/sprint-status.md +60 -0
  320. package/Project/i18n/es/templates/task.md +1 -1
  321. package/Project/i18n/es/templates/user-story.md +8 -6
  322. package/Project/i18n/fr/Gate/commands/check.md +392 -0
  323. package/Project/i18n/fr/Gate/commands/report.md +5 -196
  324. package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
  325. package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
  326. package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
  327. package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
  328. package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
  329. package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
  330. package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
  331. package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
  332. package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
  333. package/Project/i18n/fr/Sprint/commands/status.md +5 -172
  334. package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
  335. package/Project/i18n/fr/agents/product-owner.md +5 -5
  336. package/Project/i18n/fr/agents/tech-lead.md +8 -8
  337. package/Project/i18n/fr/commands/add-epic.md +5 -88
  338. package/Project/i18n/fr/commands/add-story.md +5 -112
  339. package/Project/i18n/fr/commands/add-task.md +5 -127
  340. package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
  341. package/Project/i18n/fr/commands/backlog.md +653 -0
  342. package/Project/i18n/fr/commands/batch-status.md +5 -209
  343. package/Project/i18n/fr/commands/board.md +5 -130
  344. package/Project/i18n/fr/commands/burndown.md +5 -120
  345. package/Project/i18n/fr/commands/checkpoint.md +5 -239
  346. package/Project/i18n/fr/commands/coverage-map.md +5 -217
  347. package/Project/i18n/fr/commands/critical-path.md +5 -123
  348. package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
  349. package/Project/i18n/fr/commands/dependencies.md +5 -139
  350. package/Project/i18n/fr/commands/gap-analysis.md +5 -290
  351. package/Project/i18n/fr/commands/generate-backlog.md +5 -378
  352. package/Project/i18n/fr/commands/generate-constitution.md +5 -223
  353. package/Project/i18n/fr/commands/generate-prd.md +5 -210
  354. package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
  355. package/Project/i18n/fr/commands/list-epics.md +5 -91
  356. package/Project/i18n/fr/commands/list-stories.md +5 -116
  357. package/Project/i18n/fr/commands/list-tasks.md +5 -128
  358. package/Project/i18n/fr/commands/metrics.md +5 -223
  359. package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
  360. package/Project/i18n/fr/commands/migrate.md +158 -0
  361. package/Project/i18n/fr/commands/move-task.md +5 -200
  362. package/Project/i18n/fr/commands/report.md +156 -0
  363. package/Project/i18n/fr/commands/reverse-prd.md +5 -284
  364. package/Project/i18n/fr/commands/reverse-stories.md +5 -301
  365. package/Project/i18n/fr/commands/reverse.md +249 -0
  366. package/Project/i18n/fr/commands/run-epic.md +5 -187
  367. package/Project/i18n/fr/commands/run-queue.md +5 -250
  368. package/Project/i18n/fr/commands/run-sprint.md +5 -262
  369. package/Project/i18n/fr/commands/scan.md +5 -267
  370. package/Project/i18n/fr/commands/sync-backlog.md +5 -161
  371. package/Project/i18n/fr/commands/trace.md +125 -173
  372. package/Project/i18n/fr/commands/update-epic.md +5 -101
  373. package/Project/i18n/fr/commands/update-stories.md +5 -190
  374. package/Project/i18n/fr/commands/update-story.md +5 -146
  375. package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
  376. package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
  377. package/Project/i18n/fr/templates/board.md +22 -9
  378. package/Project/i18n/fr/templates/epic.md +4 -4
  379. package/Project/i18n/fr/templates/prd.md +1 -1
  380. package/Project/i18n/fr/templates/sprint-status.md +60 -0
  381. package/Project/i18n/fr/templates/task.md +1 -1
  382. package/Project/i18n/fr/templates/user-story.md +8 -6
  383. package/Project/i18n/pt/Gate/commands/check.md +392 -0
  384. package/Project/i18n/pt/Gate/commands/report.md +5 -229
  385. package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
  386. package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
  387. package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
  388. package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
  389. package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
  390. package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
  391. package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
  392. package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
  393. package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
  394. package/Project/i18n/pt/Sprint/commands/status.md +5 -172
  395. package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
  396. package/Project/i18n/pt/agents/product-owner.md +5 -5
  397. package/Project/i18n/pt/agents/tech-lead.md +8 -8
  398. package/Project/i18n/pt/commands/add-epic.md +5 -88
  399. package/Project/i18n/pt/commands/add-story.md +5 -112
  400. package/Project/i18n/pt/commands/add-task.md +5 -127
  401. package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
  402. package/Project/i18n/pt/commands/backlog.md +653 -0
  403. package/Project/i18n/pt/commands/batch-status.md +5 -209
  404. package/Project/i18n/pt/commands/board.md +5 -130
  405. package/Project/i18n/pt/commands/burndown.md +5 -120
  406. package/Project/i18n/pt/commands/checkpoint.md +5 -239
  407. package/Project/i18n/pt/commands/coverage-map.md +5 -217
  408. package/Project/i18n/pt/commands/critical-path.md +5 -123
  409. package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
  410. package/Project/i18n/pt/commands/dependencies.md +5 -139
  411. package/Project/i18n/pt/commands/gap-analysis.md +5 -290
  412. package/Project/i18n/pt/commands/generate-backlog.md +5 -378
  413. package/Project/i18n/pt/commands/generate-constitution.md +5 -223
  414. package/Project/i18n/pt/commands/generate-prd.md +5 -210
  415. package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
  416. package/Project/i18n/pt/commands/list-epics.md +5 -91
  417. package/Project/i18n/pt/commands/list-stories.md +5 -116
  418. package/Project/i18n/pt/commands/list-tasks.md +5 -128
  419. package/Project/i18n/pt/commands/metrics.md +5 -223
  420. package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
  421. package/Project/i18n/pt/commands/migrate.md +158 -0
  422. package/Project/i18n/pt/commands/move-task.md +5 -200
  423. package/Project/i18n/pt/commands/report.md +156 -0
  424. package/Project/i18n/pt/commands/reverse-prd.md +5 -284
  425. package/Project/i18n/pt/commands/reverse-stories.md +5 -301
  426. package/Project/i18n/pt/commands/reverse.md +249 -0
  427. package/Project/i18n/pt/commands/run-epic.md +5 -187
  428. package/Project/i18n/pt/commands/run-queue.md +5 -250
  429. package/Project/i18n/pt/commands/run-sprint.md +5 -262
  430. package/Project/i18n/pt/commands/scan.md +5 -267
  431. package/Project/i18n/pt/commands/sync-backlog.md +5 -161
  432. package/Project/i18n/pt/commands/trace.md +126 -174
  433. package/Project/i18n/pt/commands/update-epic.md +5 -101
  434. package/Project/i18n/pt/commands/update-stories.md +5 -190
  435. package/Project/i18n/pt/commands/update-story.md +5 -146
  436. package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
  437. package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
  438. package/Project/i18n/pt/templates/board.md +22 -9
  439. package/Project/i18n/pt/templates/epic.md +4 -4
  440. package/Project/i18n/pt/templates/prd.md +1 -1
  441. package/Project/i18n/pt/templates/sprint-status.md +60 -0
  442. package/Project/i18n/pt/templates/task.md +1 -1
  443. package/Project/i18n/pt/templates/user-story.md +8 -6
  444. package/Project/install-project-commands.sh +33 -52
  445. package/README.md +22 -5
  446. package/Tools/Ralph/README.md +9 -9
  447. package/bundles/cursor/.cursorrules +2 -2
  448. package/bundles/windsurf/.windsurfrules +2 -2
  449. package/cli/kanban/server/app.js +9 -4
  450. package/cli/kanban/server/services/repository.js +35 -8
  451. package/cli/kanban/server/services/sprint-cache.js +45 -1
  452. package/cli/kanban/shared/schemas.js +2 -0
  453. package/cli/lib/update.js +15 -0
  454. package/config/removed-commands.yaml +14 -0
  455. package/package.json +4 -2
  456. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
  457. package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
  458. package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
  459. package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
  460. package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
  461. package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
  462. package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
  463. package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
  464. package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
  465. package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
  466. package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
@@ -0,0 +1,249 @@
1
+ ---
2
+ description: "Pipeline de ingeniería inversa brownfield: escanear el código y derivar un PRD borrador, historias de usuario y un análisis de brechas spec vs código"
3
+ argument-hint: "[scan|prd|stories|gaps|all] [--scope=<scope>] [--module=<name>] [--output=<path>]"
4
+ ---
5
+
6
+ # /project:reverse
7
+
8
+ ## Misión
9
+
10
+ Reconstruir especificaciones a partir de un código existente (proyectos brownfield). Un único comando cubre todo el pipeline: inventariar el código (`scan`), inferir un PRD borrador (`prd`), inferir historias de usuario (`stories`) y comparar las especificaciones con el código (`gaps`). `all` ejecuta los cuatro en orden.
11
+
12
+ ## Uso
13
+
14
+ | Comando | Qué hace | Reemplaza |
15
+ |---------|----------|-----------|
16
+ | `/project:reverse scan` | Inventario de módulos, endpoints, modelos, servicios, tests, infraestructura | `/project:reverse scan` |
17
+ | `/project:reverse prd` | PRD BORRADOR inferido del código | `/project:reverse prd` |
18
+ | `/project:reverse stories` | Historias de usuario BORRADOR inferidas del código y los tests | `/project:reverse stories` |
19
+ | `/project:reverse gaps` | Análisis de brechas spec vs código, clasificado por severidad | `/project:reverse gaps` |
20
+ | `/project:reverse all` | `scan` -> `prd` -> `stories` -> `gaps`, en este orden | los cuatro |
21
+
22
+ ## Argumentos
23
+
24
+ Analizar `$ARGUMENTS`: primer token = subcomando (`scan`, `prd`, `stories`, `gaps`, `all`). Sin subcomando, preguntar cuál (recomendar `all` en la primera ejecución). Flags:
25
+
26
+ | Flag | Se aplica a | Descripción |
27
+ |------|------------|-------------|
28
+ | `--scope=<scope>` | `scan`: all, backend, frontend, api, tests / `stories`: all, module, endpoint / `gaps`: full, requirements, stories, code | Limita el análisis |
29
+ | `--module=<name>` | `stories` | Genera las historias de un solo módulo |
30
+ | `--output=<path>` | `scan`, `prd` | Ruta de salida (valores por defecto más abajo) |
31
+
32
+ ## Reglas comunes
33
+
34
+ **El modo plan es obligatorio.** Antes de ejecutar, activar el modo plan, proponer el plan y esperar la validación antes de modificar cualquier archivo. Con `all`, un único plan cubre los cuatro pasos.
35
+
36
+ **Reglas de inferencia de personas (usadas por `prd` y `stories`):**
37
+
38
+ | Patrón de autenticación | Persona inferida |
39
+ |-------------------------|------------------|
40
+ | `ROLE_ADMIN` + rutas de administración | Administrador |
41
+ | `ROLE_USER` + rutas autenticadas | Usuario registrado |
42
+ | `ROLE_MANAGER` + rutas de gestión | Gerente / supervisor |
43
+ | Endpoints públicos (sin auth) | Visitante / anónimo |
44
+ | Autenticación por clave de API | Sistema externo |
45
+
46
+ **Todo lo inferido es un BORRADOR.** El código muestra lo que el sistema hace, no lo que debería hacer. Marcar cada artefacto inferido como `INFERRED` y exigir validación humana antes de tratarlo como autoritativo. Marcador a insertar en cada sección o historia inferida:
47
+
48
+ ```
49
+ > INFERRED -- Generado analizando el código existente.
50
+ > Se requiere validación humana antes de tratarlo como autoritativo.
51
+ ```
52
+
53
+ **Regla de estado:** `.bmad/sprint-status.yaml` es la única fuente de verdad del ESTADO de historias/tareas. Las historias generadas contienen solo contenido (sin campo de estado); registrarlas en `.bmad/sprint-status.yaml` (esquema: `.claude/templates/project/sprint-status.md`) una vez validadas.
54
+
55
+ **Rutas por defecto:**
56
+
57
+ ```
58
+ project-management/
59
+ +-- scan-report.md # scan
60
+ +-- prd.md # prd (BORRADOR)
61
+ +-- backlog/user-stories/US-*.md # stories
62
+ +-- analysis/
63
+ +-- reverse-engineering.md # prd: notas de análisis y niveles de confianza
64
+ +-- gap-analysis.md # gaps
65
+ ```
66
+
67
+ **Requisitos previos:** código fuente accesible; `README.md`, `docker-compose.yml`, `./docs/` opcionales. `prd`, `stories` y `gaps` necesitan `project-management/scan-report.md` -- si falta, ejecutar `scan` primero (automático con `all`). `gaps` también necesita un PRD (`project-management/prd.md`, de `/workflow:plan --only=prd` o de `prd`); `stories` y `gaps` lo usan para la trazabilidad FR-xxx cuando existe.
68
+
69
+ **Convención de salida:** cada paso muestra un banner de progreso enmarcado, termina con un breve resumen y propone los siguientes pasos (validar de forma interactiva, ejecutar el siguiente subcomando). Con `all`, hacer una pausa de validación humana tras `prd` y `stories` antes de continuar con `gaps`.
70
+
71
+ ## scan
72
+
73
+ Punto de entrada del pipeline: un inventario estructurado del código.
74
+
75
+ **1. Detección del stack.** Examinar la raíz en busca de marcadores de framework, leer el manifiesto (`composer.json`, `package.json`, `pubspec.yaml`, `*.csproj`, `pyproject.toml`), identificar la versión del framework y las dependencias clave, detectar la infraestructura (Docker, CI/CD, Redis, colas) y elegir el agente reviewer adecuado (`@symfony-reviewer`, `@react-reviewer`...).
76
+
77
+ | Patrón de archivo | Stack |
78
+ |-------------------|-------|
79
+ | `*.php` + `symfony.lock` | Symfony |
80
+ | `*.php` + `artisan` | Laravel |
81
+ | `*.php` + `composer.json` | PHP (genérico) |
82
+ | `*.dart` + `pubspec.yaml` | Flutter |
83
+ | `*.tsx` / `*.jsx` + `next.config.*` | React (Next.js) |
84
+ | `*.tsx` / `*.jsx` + `package.json` | React |
85
+ | `*.vue` + `package.json` | Vue.js |
86
+ | `angular.json` | Angular |
87
+ | `*.cs` + `*.csproj` | .NET / C# |
88
+ | `*.py` + `pyproject.toml` | Python |
89
+ | `Dockerfile` / `docker-compose.yml` | Docker (infra) |
90
+
91
+ **2. Escaneo de la estructura.** Clasificar los archivos en:
92
+ 1. Módulos / dominios (bounded contexts, módulos compartidos, namespaces)
93
+ 2. Endpoints (rutas, controladores, métodos HTTP, rutas de acceso, middlewares/guards)
94
+ 3. Modelos / entidades (campos, tipos, relaciones, migraciones)
95
+ 4. Servicios (servicios, casos de uso, handlers de comandos/consultas, listeners, subscribers)
96
+ 5. Tests (unitarios / integración / E2E, correspondencia test-fuente, frameworks)
97
+ 6. Infraestructura (Docker, CI/CD, configuración de entorno, integraciones de terceros)
98
+
99
+ **3. Análisis del código.** Estimar las LOC por módulo; identificar el patrón de arquitectura (MVC, Clean Architecture, DDD...); detectar las herramientas de calidad (linting, análisis estático); mapear el grafo de dependencias entre módulos; señalar marcadores de deuda técnica; usar el reviewer específico del stack para obtener información especializada.
100
+
101
+ **4. Informe** en `project-management/scan-report.md`, con las secciones: cabecera (proyecto, stack, tamaño, módulos), Technology Stack, Modules / Bounded Contexts (archivos, LOC, tests, cobertura), Endpoints (método, ruta, controlador, auth), Models / Entities (campos, relaciones, migraciones), Services (dependencias, tipo), Tests (tipo, cantidad, framework), Infrastructure (componente, archivo de config, notas) y un Complexity Summary.
102
+
103
+ ```
104
+ | Module | Files | LOC | Tests | Coverage |
105
+ | User | 24 | 1,800 | 12 | ~65% |
106
+ | Method | Path | Controller | Auth |
107
+ | GET | /api/users | UserController | JWT |
108
+ ```
109
+
110
+ Métricas del Complexity Summary: LOC total, total de archivos, bounded contexts, endpoints de API, entidades de base de datos, archivos de test, cobertura de tests estimada, patrón de arquitectura.
111
+
112
+ ## prd
113
+
114
+ Contraparte brownfield de `/workflow:plan --only=prd`: un PRD BORRADOR inferido del código.
115
+
116
+ **1. Cargar** el informe de escaneo (y `./docs/`, `README.md`); analizar stack, módulos, endpoints, entidades, servicios.
117
+
118
+ **2. Análisis de la lógica de negocio**, para cada módulo: eventos de dominio (payloads, listeners, workflows), casos de uso / comandos / consultas, reglas de validación (entidad, petición, aserciones de negocio), máquinas de estados (enums de estado, configuración de workflow, guards), integraciones externas (pagos, correo, almacenamiento, API de terceros).
119
+
120
+ **3. Inferencia de requisitos.**
121
+
122
+ | Patrón de código | Requisito inferido |
123
+ |------------------|--------------------|
124
+ | Middleware de auth / JWT | Autenticación de usuario requerida |
125
+ | Guards por rol | Autorización con roles |
126
+ | Controladores CRUD | Funcionalidades de gestión de datos |
127
+ | Handlers de subida de archivos | Gestión de documentos/medios |
128
+ | Servicios de correo | Sistema de notificaciones |
129
+ | Pasarela de pago | Procesamiento de pagos |
130
+ | Endpoints de exportación | Funcionalidades de reporting/exportación |
131
+ | Lógica de búsqueda/filtro | Búsqueda y filtrado |
132
+ | Paginación | Manejo de grandes volúmenes de datos |
133
+ | Capas de caché | Requisitos de rendimiento |
134
+ | Workers de colas | Requisitos de procesamiento asíncrono |
135
+ | Rate limiting | Requisitos de protección de la API |
136
+
137
+ | Infraestructura | NFR inferido |
138
+ |-----------------|--------------|
139
+ | Docker / Kubernetes | Escalabilidad, contenerización |
140
+ | Redis / Memcached | Caché de rendimiento |
141
+ | Sistema de colas (RabbitMQ...) | Procesamiento asíncrono, fiabilidad |
142
+ | Pipelines CI/CD | Automatización del despliegue |
143
+ | Config de balanceador de carga | Alta disponibilidad |
144
+ | Configuración SSL/TLS | Seguridad |
145
+ | Stack de logs (ELK...) | Monitorización |
146
+
147
+ Las personas provienen de la tabla común anterior.
148
+
149
+ **4. Generar** `project-management/prd.md` con ocho secciones: Executive Summary (INFERRED), Problem Statement (INFERRED), Goals & Metrics (**PLACEHOLDER** -- no se puede inferir, requiere aportación humana), Target Users / Personas (INFERRED, cada una en borrador), Functional Requirements (INFERRED, uno por grupo de funcionalidades/endpoints, priorizado por complejidad y uso, etiquetado con el módulo de origen), Non-Functional Requirements (INFERRED), Scope & Constraints (INFERRED), Risks & Mitigations (INFERRED: deuda, zonas sin tests, riesgos de dependencias). Escribir las notas de análisis y la confianza por sección (HIGH / MEDIUM / LOW) en `project-management/analysis/reverse-engineering.md`; la cabecera del PRD muestra `Status: DRAFT - Requires human validation` y la tabla de confianza.
150
+
151
+ **5. Validación humana.** Mostrar un resumen de las secciones inferidas, destacar las de baja confianza y las que no pudieron inferirse (Goals, Metrics), pedir al usuario que valide / corrija / amplíe cada una, e iterar hasta que quede satisfecho.
152
+
153
+ ## stories
154
+
155
+ Historias de usuario BORRADOR inferidas de endpoints, servicios, entidades y tests.
156
+
157
+ **1. Cargar** el informe de escaneo y el PRD si existe (para la trazabilidad FR-xxx); determinar el alcance (all, un `--module`, un endpoint).
158
+
159
+ **2. Extracción de funcionalidades**, por endpoint/funcionalidad: controlador/handler (método, ruta, validación de la petición, respuesta y códigos de estado, autorización), servicio/caso de uso (flujo de negocio, efectos secundarios, llamadas externas, rutas de error), entidad/modelo (campos y restricciones, relaciones, transiciones de estado, soft delete/timestamps), tests (nombres de métodos, aserciones, fixtures, casos límite).
160
+
161
+ **3. Generación de historias.**
162
+
163
+ | Ruta | Acción inferida |
164
+ |------|-----------------|
165
+ | `POST /api/resources` | crear un recurso |
166
+ | `GET /api/resources` | listar recursos |
167
+ | `GET /api/resources/{id}` | consultar un recurso |
168
+ | `PUT /api/resources/{id}` | actualizar un recurso |
169
+ | `DELETE /api/resources/{id}` | eliminar un recurso |
170
+ | acción personalizada | según el nombre del método y la lógica de negocio |
171
+
172
+ Inferencia del beneficio: CRUD -> «para poder gestionar los datos de {resource}»; búsqueda/filtro -> «encontrar rápidamente los {resources} relevantes»; exportación -> «usar los datos de {resource} externamente»; notificaciones -> «estar informado de {event}»; auth -> «que mis datos estén seguros y solo yo pueda acceder a ellos». Los criterios de aceptación provienen de los tests: fixtures -> Given, acciones -> When, resultados esperados -> Then.
173
+
174
+ ```markdown
175
+ # US-XXX: [Título inferido]
176
+
177
+ > INFERRED -- generada analizando el código. Se requiere validación humana.
178
+
179
+ ## Source
180
+ - Módulo / Endpoint ({method} {path}) / Controlador / Implements: FR-XXX (si hay PRD)
181
+
182
+ ## User Story
183
+ As [persona inferida] I want [acción inferida] So that [beneficio inferido]
184
+ Conversation: [ ] persona [ ] la acción coincide con la intención [ ] el beneficio coincide con los objetivos de negocio
185
+ INVEST: [ ] Independent / Negotiable / Valuable / Estimable / Sized / Testable
186
+
187
+ ## Acceptance Criteria (Gherkin)
188
+ Scenario: nominal (desde el caso feliz) Given / When / Then
189
+ Scenario: error (desde la validación) Given / When / Then
190
+
191
+ ## Technical Notes
192
+ Entidad, reglas de validación, requisitos de auth, eventos despachados
193
+
194
+ ## Estimation
195
+ Story Points (según complejidad), MoSCoW (según patrones de uso)
196
+ ```
197
+
198
+ **4. Trazabilidad** (si existe `project-management/prd.md`): asociar cada historia a una FR-xxx (añadir `implements: FR-xxx`), listar las historias sin requisito (código sin spec) y los requisitos sin historia (spec sin código).
199
+
200
+ **5. Salida y validación.** Guardar en `project-management/backlog/user-stories/US-001-create-user.md`, `US-002-...`, generar un índice resumen agrupado por módulo (título, puntos, MoSCoW, número de historias vinculadas al PRD, número de no vinculadas), y pedir al usuario que valide, corrija o rechace cada historia.
201
+
202
+ ## gaps
203
+
204
+ Comparar las especificaciones (PRD, historias, spec técnica) con el código real.
205
+
206
+ **1. Cargar las specs:** `project-management/prd.md`, `project-management/backlog/user-stories/`, `project-management/tech-spec.md` (si existe), el informe de escaneo (refrescarlo ejecutando `scan` si falta o está desactualizado). Analizar FR-xxx, NFR-xxx y US-xxx.
207
+
208
+ **2. Escanear el código:** catalogar endpoints, lógica de negocio, modelos de datos, tests e infraestructura en un inventario de funcionalidades indexado por módulo.
209
+
210
+ **3. Comparación a cuatro bandas:**
211
+
212
+ | Categoría | Verificaciones |
213
+ |-----------|----------------|
214
+ | **Spec sin código** (no implementado) | FR-xxx sin endpoint correspondiente; US-xxx sin funcionalidad correspondiente; NFR-xxx sin configuración correspondiente |
215
+ | **Código sin spec** (sin documentar) | Endpoints sin referencia FR; servicios sin referencia US; entidades no cubiertas por las specs |
216
+ | **Discrepancia spec-código** (inconsistente) | Diferencias de campos, flujo de estados, auth, validación y formato de respuesta |
217
+ | **Brechas de tests** (sin probar) | Funcionalidades sin tests unitarios / de integración; criterios de aceptación sin tests E2E; rutas de error sin tests |
218
+
219
+ **4. Clasificar por severidad:**
220
+
221
+ | Severidad | Criterios | Acción |
222
+ |-----------|-----------|--------|
223
+ | **Critical** | Funcionalidad central ausente o rota; vulnerabilidad de seguridad; riesgo de integridad de datos | Corrección inmediata |
224
+ | **Major** | Brecha de funcionalidad importante; discrepancia significativa; faltan tests críticos | Sprint actual |
225
+ | **Minor** | Brecha de documentación; discrepancia no crítica; faltan tests de casos límite | Próximo sprint |
226
+ | **Info** | Inconsistencia de estilo; funcionalidad opcional; mejora | Backlog |
227
+
228
+ Reglas: spec sin código + P0 = Critical, + P1 = Major, + P2 = Minor; código sin spec + auth = Major, + CRUD = Minor; discrepancia + integridad de datos = Critical, + UI/UX = Minor; brecha de tests + lógica de negocio = Major, + caso límite = Minor.
229
+
230
+ **5. Informe** en `project-management/analysis/gap-analysis.md`: cabecera (proyecto, fecha, alcance), porcentajes de cobertura de spec / código / tests, número de brechas por severidad, las cuatro tablas por categoría con evidencias (rutas de archivos, referencias de línea) y una lista de remediación ordenada por prioridad con esfuerzo (S < 2h, M 2-8h, L > 8h).
231
+
232
+ ```
233
+ | # | Action | Severity | Effort |
234
+ | 1 | Implement FR-005 (password reset) | Critical | M |
235
+ | 2 | Add integration tests for payment | Critical | S |
236
+ ```
237
+
238
+ Después, ofrecer: crear historias para las funcionalidades ausentes, generar tareas para los elementos de remediación, o centrarse en una categoría de brechas.
239
+
240
+ ## all
241
+
242
+ Ejecutar `scan` -> `prd` -> `stories` -> `gaps` en orden, reutilizando cada salida como entrada del siguiente paso (sin volver a escanear). Hacer una pausa de validación humana tras `prd` y `stories`. Terminar con un resumen: archivos escritos, número de personas / requisitos / historias inferidos, número de brechas por severidad y las 3 acciones principales.
243
+
244
+ ## Comandos relacionados
245
+
246
+ - `/workflow:plan --only=prd` - Generar un PRD de forma interactiva (greenfield)
247
+ - `/workflow:plan --only=backlog` - Crear un backlog SCRUM a partir del PRD
248
+ - `/workflow:design` - Generar una especificación técnica
249
+ - `/project:backlog` - Gestionar epics, historias y tareas
@@ -1,191 +1,9 @@
1
1
  ---
2
- description: Ejecutar todas las stories de un epic en batch
3
- argument-hint: <epic-id> [--dry-run]
2
+ description: "Obsoleto (se elimina en 9.0): usa /workflow:implement --epic"
3
+ deprecated: true
4
+ replaced-by: /workflow:implement
4
5
  ---
5
6
 
6
- # Run Epic
7
+ > ⚠️ `/project:run-epic` está obsoleto y se eliminará en 9.0. Usa `/workflow:implement --epic`.
7
8
 
8
- Poner en cola y procesar todas las stories de un epic en modo batch.
9
-
10
- ## Argumentos
11
-
12
- $ARGUMENTS (format: <epic-id> [--dry-run])
13
- - **epic-id** (requerido): Identificador del epic (ej: EPIC-001)
14
- - **--dry-run** (opcional): Previsualizar sin ejecutar
15
-
16
- ## Modo Plan
17
-
18
- > **El modo plan es recomendado.** Claude activa el modo plan para estructurar el enfoque, identificar dependencias y presentar una estrategia de generación antes de crear artefactos.
19
-
20
- ## Proceso
21
-
22
- ### Paso 1: Identificar las stories del epic
23
-
24
- 1. Leer `.bmad/sprint-status.yaml`
25
- 2. Encontrar todas las stories con `epic_id` correspondiente al argumento
26
- 3. Ordenar por prioridad o ID
27
-
28
- ### Paso 2: Verificar la preparacion de las stories
29
-
30
- Para cada story, verificar:
31
- - La story existe y tiene los campos requeridos
32
- - No esta ya terminada
33
- - No esta bloqueada (o senalar para revision)
34
-
35
- ### Paso 3: Construir la cola de ejecucion
36
-
37
- Crear una cola priorizada:
38
- 1. Stories sin dependencias primero
39
- 2. ID mas bajo = prioridad mas alta
40
- 3. Respetar la prioridad explicita si esta definida
41
-
42
- ### Paso 4: Agregar a la cola batch
43
-
44
- Actualizar `.bmad/batch-queue.yaml`:
45
- ```yaml
46
- queue:
47
- - story_id: "US-001"
48
- priority: 1
49
- status: "pending"
50
- dependencies: []
51
- - story_id: "US-002"
52
- priority: 2
53
- dependencies: ["US-001"]
54
- ```
55
-
56
- ### Paso 5: Ejecutar (excepto --dry-run)
57
-
58
- Para cada story en orden:
59
- 1. Transicionar a in-progress
60
- 2. Ejecutar el workflow de desarrollo
61
- 3. Ejecutar los quality gates
62
- 4. Transicionar a traves de los estados
63
- 5. Checkpoint despues de cada una
64
-
65
- ## Formato de salida
66
-
67
- ### Dry Run
68
-
69
- ```
70
- ═══════════════════════════════════════════════════════
71
- Run Epic: EPIC-002 (DRY RUN)
72
- ═══════════════════════════════════════════════════════
73
-
74
- Epic: EPIC-002 - Gestion de Usuarios
75
- Stories: 5
76
-
77
- Plan de ejecucion:
78
- ──────────────────────────────────────────────────────
79
- [1] US-010: Registro de usuario (5 pts)
80
- Estado: ready-for-dev → in-progress → review → done
81
- Dependencias: ninguna
82
-
83
- [2] US-011: Inicio de sesion de usuario (5 pts)
84
- Estado: ready-for-dev → in-progress → review → done
85
- Dependencias: US-010
86
-
87
- [3] US-012: Pagina de perfil (5 pts)
88
- Estado: ready-for-dev → in-progress → review → done
89
- Dependencias: US-010
90
-
91
- [4] US-013: Restablecimiento de contrasena (3 pts)
92
- Estado: ready-for-dev → in-progress → review → done
93
- Dependencias: US-010, US-011
94
-
95
- [5] US-014: Verificacion de email (3 pts)
96
- Estado: ready-for-dev → in-progress → review → done
97
- Dependencias: US-010
98
-
99
- Total Puntos: 21
100
-
101
- Orden de ejecucion (respetando dependencias):
102
- 1. US-010 (sin deps)
103
- 2. US-011, US-012, US-014 (paralelo despues de US-010)
104
- 3. US-013 (despues de US-010, US-011)
105
-
106
- Workflow estimado por story:
107
- * Transicion a in-progress
108
- * Ciclos TDD (red → green → refactor)
109
- * Code review
110
- * Validacion quality gate
111
- * Transicion a done
112
-
113
- ⚠️ DRY RUN - Ninguna modificacion efectuada
114
-
115
- Ejecutar sin --dry-run para lanzar.
116
- ═══════════════════════════════════════════════════════
117
- ```
118
-
119
- ### Ejecucion
120
-
121
- ```
122
- ═══════════════════════════════════════════════════════
123
- Run Epic: EPIC-002
124
- ═══════════════════════════════════════════════════════
125
-
126
- Epic: EPIC-002 - Gestion de Usuarios
127
- Modo: Secuencial
128
- Stories: 5
129
-
130
- Poniendo stories en cola...
131
- ──────────────────────────────────────────────────────
132
- ✅ Agregado US-010 (prioridad 1)
133
- ✅ Agregado US-011 (prioridad 2, depende de US-010)
134
- ✅ Agregado US-012 (prioridad 3, depende de US-010)
135
- ✅ Agregado US-013 (prioridad 4, depende de US-010, US-011)
136
- ✅ Agregado US-014 (prioridad 5, depende de US-010)
137
-
138
- Estado de la cola:
139
- ──────────────────────────────────────────────────────
140
- ⏳ En espera: 5
141
- 🔄 En proceso: 0
142
- ✅ Completado: 0
143
- ❌ Fallido: 0
144
-
145
- Proximos pasos:
146
- ──────────────────────────────────────────────────────
147
- Ejecutar la cola:
148
- /project:run-queue
149
-
150
- O procesar automaticamente:
151
- /project:run-queue --auto
152
-
153
- Monitorear el progreso:
154
- /project:batch-status
155
- ═══════════════════════════════════════════════════════
156
- ```
157
-
158
- ## Ejemplo
159
-
160
- ```
161
- /project:run-epic EPIC-002 --dry-run
162
- /project:run-epic EPIC-002
163
- ```
164
-
165
- ## Ejecucion paralela
166
-
167
- Para las stories independientes, activar el modo paralelo:
168
- ```
169
- /project:run-queue --parallel 3
170
- ```
171
-
172
- Esto procesa hasta 3 stories simultaneamente cuando no tienen dependencias.
173
-
174
- ## Reanudacion
175
-
176
- Si la ejecucion se interrumpe:
177
- ```
178
- /project:run-queue --resume
179
- ```
180
-
181
- Continua desde el ultimo checkpoint.
182
-
183
- ## Integracion con Ralph
184
-
185
- Si Ralph esta configurado, la ejecucion batch se integra:
186
- ```yaml
187
- # ralph.yml
188
- bmad_integration:
189
- enabled: true
190
- batch_queue_file: ".bmad/batch-queue.yaml"
191
- ```
9
+ Ejecuta `/workflow:implement --epic $ARGUMENTS`: lee `.claude/commands/workflow/implement.md` y síguelo con estos argumentos.