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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (466) hide show
  1. package/Dev/i18n/base/Common/commands/aliases.md +7 -13
  2. package/Dev/i18n/base/Common/commands/init.md +89 -1
  3. package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
  4. package/Dev/i18n/base/Common/commands/search.md +2 -2
  5. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  6. package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
  7. package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
  8. package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
  9. package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
  10. package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
  11. package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
  12. package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
  13. package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
  14. package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
  15. package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
  16. package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
  17. package/Dev/i18n/de/QA/commands/fix.md +8 -8
  18. package/Dev/i18n/de/QA/commands/recette.md +7 -8
  19. package/Dev/i18n/de/QA/commands/regression.md +11 -11
  20. package/Dev/i18n/de/QA/commands/report.md +5 -162
  21. package/Dev/i18n/de/QA/commands/status.md +140 -13
  22. package/Dev/i18n/de/QA/commands/tdd.md +1 -1
  23. package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
  24. package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
  25. package/Dev/i18n/de/Workflow/commands/design.md +151 -209
  26. package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
  27. package/Dev/i18n/de/Workflow/commands/init.md +42 -14
  28. package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
  29. package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
  30. package/Dev/i18n/de/Workflow/commands/review.md +1 -1
  31. package/Dev/i18n/de/Workflow/commands/start.md +115 -25
  32. package/Dev/i18n/de/Workflow/commands/status.md +275 -201
  33. package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
  34. package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
  35. package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
  36. package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
  37. package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
  38. package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
  39. package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
  40. package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
  41. package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
  42. package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
  43. package/Dev/i18n/en/QA/commands/fix.md +8 -8
  44. package/Dev/i18n/en/QA/commands/recette.md +7 -8
  45. package/Dev/i18n/en/QA/commands/regression.md +11 -11
  46. package/Dev/i18n/en/QA/commands/report.md +5 -221
  47. package/Dev/i18n/en/QA/commands/status.md +140 -13
  48. package/Dev/i18n/en/QA/commands/tdd.md +1 -1
  49. package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
  50. package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
  51. package/Dev/i18n/en/Workflow/commands/design.md +143 -200
  52. package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
  53. package/Dev/i18n/en/Workflow/commands/init.md +42 -14
  54. package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
  55. package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
  56. package/Dev/i18n/en/Workflow/commands/review.md +1 -1
  57. package/Dev/i18n/en/Workflow/commands/start.md +107 -17
  58. package/Dev/i18n/en/Workflow/commands/status.md +265 -191
  59. package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
  60. package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
  61. package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
  62. package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
  63. package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
  64. package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
  65. package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
  66. package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
  67. package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
  68. package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
  69. package/Dev/i18n/es/QA/commands/fix.md +8 -8
  70. package/Dev/i18n/es/QA/commands/recette.md +7 -8
  71. package/Dev/i18n/es/QA/commands/regression.md +11 -11
  72. package/Dev/i18n/es/QA/commands/report.md +5 -162
  73. package/Dev/i18n/es/QA/commands/status.md +140 -13
  74. package/Dev/i18n/es/QA/commands/tdd.md +1 -1
  75. package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
  76. package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
  77. package/Dev/i18n/es/Workflow/commands/design.md +158 -218
  78. package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
  79. package/Dev/i18n/es/Workflow/commands/init.md +42 -14
  80. package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
  81. package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
  82. package/Dev/i18n/es/Workflow/commands/review.md +1 -1
  83. package/Dev/i18n/es/Workflow/commands/start.md +113 -23
  84. package/Dev/i18n/es/Workflow/commands/status.md +284 -210
  85. package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
  86. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
  87. package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
  88. package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
  89. package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
  90. package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
  91. package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
  92. package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
  93. package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
  94. package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
  95. package/Dev/i18n/fr/QA/commands/fix.md +8 -8
  96. package/Dev/i18n/fr/QA/commands/recette.md +7 -8
  97. package/Dev/i18n/fr/QA/commands/regression.md +11 -11
  98. package/Dev/i18n/fr/QA/commands/report.md +5 -163
  99. package/Dev/i18n/fr/QA/commands/status.md +140 -13
  100. package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
  101. package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
  102. package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
  103. package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
  104. package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
  105. package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
  106. package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
  107. package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
  108. package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
  109. package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
  110. package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
  111. package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
  112. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
  113. package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
  114. package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
  115. package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
  116. package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
  117. package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
  118. package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
  119. package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
  120. package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
  121. package/Dev/i18n/pt/QA/commands/fix.md +8 -8
  122. package/Dev/i18n/pt/QA/commands/recette.md +7 -8
  123. package/Dev/i18n/pt/QA/commands/regression.md +11 -11
  124. package/Dev/i18n/pt/QA/commands/report.md +5 -162
  125. package/Dev/i18n/pt/QA/commands/status.md +140 -13
  126. package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
  127. package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
  128. package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
  129. package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
  130. package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
  131. package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
  132. package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
  133. package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
  134. package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
  135. package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
  136. package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
  137. package/Dev/scripts/install-common-rules.sh +7 -10
  138. package/Dev/scripts/prune-removed-commands.sh +22 -0
  139. package/Project/i18n/de/Gate/commands/check.md +392 -0
  140. package/Project/i18n/de/Gate/commands/report.md +5 -230
  141. package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
  142. package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
  143. package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
  144. package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
  145. package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
  146. package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
  147. package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
  148. package/Project/i18n/de/Sprint/commands/dev.md +5 -443
  149. package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
  150. package/Project/i18n/de/Sprint/commands/status.md +5 -173
  151. package/Project/i18n/de/Sprint/commands/transition.md +5 -259
  152. package/Project/i18n/de/agents/product-owner.md +5 -5
  153. package/Project/i18n/de/agents/tech-lead.md +8 -8
  154. package/Project/i18n/de/commands/add-epic.md +5 -88
  155. package/Project/i18n/de/commands/add-story.md +5 -112
  156. package/Project/i18n/de/commands/add-task.md +5 -127
  157. package/Project/i18n/de/commands/analyze-backlog.md +5 -110
  158. package/Project/i18n/de/commands/backlog.md +653 -0
  159. package/Project/i18n/de/commands/batch-status.md +5 -209
  160. package/Project/i18n/de/commands/board.md +5 -130
  161. package/Project/i18n/de/commands/burndown.md +5 -120
  162. package/Project/i18n/de/commands/checkpoint.md +5 -239
  163. package/Project/i18n/de/commands/coverage-map.md +5 -217
  164. package/Project/i18n/de/commands/critical-path.md +5 -123
  165. package/Project/i18n/de/commands/decompose-tasks.md +5 -600
  166. package/Project/i18n/de/commands/dependencies.md +5 -139
  167. package/Project/i18n/de/commands/gap-analysis.md +5 -290
  168. package/Project/i18n/de/commands/generate-backlog.md +5 -378
  169. package/Project/i18n/de/commands/generate-constitution.md +5 -223
  170. package/Project/i18n/de/commands/generate-prd.md +5 -210
  171. package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
  172. package/Project/i18n/de/commands/list-epics.md +5 -91
  173. package/Project/i18n/de/commands/list-stories.md +5 -116
  174. package/Project/i18n/de/commands/list-tasks.md +5 -128
  175. package/Project/i18n/de/commands/metrics.md +5 -223
  176. package/Project/i18n/de/commands/migrate-backlog.md +5 -144
  177. package/Project/i18n/de/commands/migrate.md +158 -0
  178. package/Project/i18n/de/commands/move-task.md +5 -200
  179. package/Project/i18n/de/commands/report.md +156 -0
  180. package/Project/i18n/de/commands/reverse-prd.md +5 -284
  181. package/Project/i18n/de/commands/reverse-stories.md +5 -301
  182. package/Project/i18n/de/commands/reverse.md +249 -0
  183. package/Project/i18n/de/commands/run-epic.md +5 -187
  184. package/Project/i18n/de/commands/run-queue.md +5 -250
  185. package/Project/i18n/de/commands/run-sprint.md +5 -262
  186. package/Project/i18n/de/commands/scan.md +5 -267
  187. package/Project/i18n/de/commands/sync-backlog.md +5 -161
  188. package/Project/i18n/de/commands/trace.md +126 -174
  189. package/Project/i18n/de/commands/update-epic.md +5 -101
  190. package/Project/i18n/de/commands/update-stories.md +5 -190
  191. package/Project/i18n/de/commands/update-story.md +5 -146
  192. package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
  193. package/Project/i18n/de/scaffold/project-management__README.md +7 -7
  194. package/Project/i18n/de/templates/board.md +22 -9
  195. package/Project/i18n/de/templates/epic.md +4 -4
  196. package/Project/i18n/de/templates/prd.md +1 -1
  197. package/Project/i18n/de/templates/sprint-status.md +60 -0
  198. package/Project/i18n/de/templates/task.md +1 -1
  199. package/Project/i18n/de/templates/user-story.md +8 -6
  200. package/Project/i18n/en/Gate/commands/check.md +392 -0
  201. package/Project/i18n/en/Gate/commands/report.md +5 -261
  202. package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
  203. package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
  204. package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
  205. package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
  206. package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
  207. package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
  208. package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
  209. package/Project/i18n/en/Sprint/commands/dev.md +5 -441
  210. package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
  211. package/Project/i18n/en/Sprint/commands/status.md +5 -214
  212. package/Project/i18n/en/Sprint/commands/transition.md +5 -259
  213. package/Project/i18n/en/agents/product-owner.md +5 -5
  214. package/Project/i18n/en/agents/tech-lead.md +8 -8
  215. package/Project/i18n/en/commands/add-epic.md +5 -88
  216. package/Project/i18n/en/commands/add-story.md +5 -112
  217. package/Project/i18n/en/commands/add-task.md +5 -127
  218. package/Project/i18n/en/commands/analyze-backlog.md +5 -133
  219. package/Project/i18n/en/commands/backlog.md +653 -0
  220. package/Project/i18n/en/commands/batch-status.md +5 -209
  221. package/Project/i18n/en/commands/board.md +5 -130
  222. package/Project/i18n/en/commands/burndown.md +5 -120
  223. package/Project/i18n/en/commands/checkpoint.md +5 -239
  224. package/Project/i18n/en/commands/coverage-map.md +5 -217
  225. package/Project/i18n/en/commands/critical-path.md +5 -123
  226. package/Project/i18n/en/commands/decompose-tasks.md +5 -600
  227. package/Project/i18n/en/commands/dependencies.md +5 -139
  228. package/Project/i18n/en/commands/gap-analysis.md +5 -290
  229. package/Project/i18n/en/commands/generate-backlog.md +5 -378
  230. package/Project/i18n/en/commands/generate-constitution.md +5 -223
  231. package/Project/i18n/en/commands/generate-prd.md +5 -210
  232. package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
  233. package/Project/i18n/en/commands/list-epics.md +5 -91
  234. package/Project/i18n/en/commands/list-stories.md +5 -116
  235. package/Project/i18n/en/commands/list-tasks.md +5 -128
  236. package/Project/i18n/en/commands/metrics.md +5 -223
  237. package/Project/i18n/en/commands/migrate-backlog.md +5 -186
  238. package/Project/i18n/en/commands/migrate.md +158 -0
  239. package/Project/i18n/en/commands/move-task.md +5 -200
  240. package/Project/i18n/en/commands/report.md +156 -0
  241. package/Project/i18n/en/commands/reverse-prd.md +5 -284
  242. package/Project/i18n/en/commands/reverse-stories.md +5 -301
  243. package/Project/i18n/en/commands/reverse.md +249 -0
  244. package/Project/i18n/en/commands/run-epic.md +5 -187
  245. package/Project/i18n/en/commands/run-queue.md +5 -250
  246. package/Project/i18n/en/commands/run-sprint.md +5 -262
  247. package/Project/i18n/en/commands/scan.md +5 -267
  248. package/Project/i18n/en/commands/sync-backlog.md +5 -161
  249. package/Project/i18n/en/commands/trace.md +119 -167
  250. package/Project/i18n/en/commands/update-epic.md +5 -101
  251. package/Project/i18n/en/commands/update-stories.md +5 -190
  252. package/Project/i18n/en/commands/update-story.md +5 -146
  253. package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
  254. package/Project/i18n/en/scaffold/project-management__README.md +7 -7
  255. package/Project/i18n/en/templates/board.md +22 -9
  256. package/Project/i18n/en/templates/epic.md +4 -4
  257. package/Project/i18n/en/templates/prd.md +1 -1
  258. package/Project/i18n/en/templates/sprint-status.md +60 -0
  259. package/Project/i18n/en/templates/task.md +1 -1
  260. package/Project/i18n/en/templates/user-story.md +7 -5
  261. package/Project/i18n/es/Gate/commands/check.md +392 -0
  262. package/Project/i18n/es/Gate/commands/report.md +5 -229
  263. package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
  264. package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
  265. package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
  266. package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
  267. package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
  268. package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
  269. package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
  270. package/Project/i18n/es/Sprint/commands/dev.md +5 -441
  271. package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
  272. package/Project/i18n/es/Sprint/commands/status.md +5 -172
  273. package/Project/i18n/es/Sprint/commands/transition.md +5 -259
  274. package/Project/i18n/es/agents/product-owner.md +5 -5
  275. package/Project/i18n/es/agents/tech-lead.md +8 -8
  276. package/Project/i18n/es/commands/add-epic.md +5 -88
  277. package/Project/i18n/es/commands/add-story.md +5 -112
  278. package/Project/i18n/es/commands/add-task.md +5 -127
  279. package/Project/i18n/es/commands/analyze-backlog.md +5 -110
  280. package/Project/i18n/es/commands/backlog.md +653 -0
  281. package/Project/i18n/es/commands/batch-status.md +5 -209
  282. package/Project/i18n/es/commands/board.md +5 -130
  283. package/Project/i18n/es/commands/burndown.md +5 -120
  284. package/Project/i18n/es/commands/checkpoint.md +5 -239
  285. package/Project/i18n/es/commands/coverage-map.md +5 -217
  286. package/Project/i18n/es/commands/critical-path.md +5 -123
  287. package/Project/i18n/es/commands/decompose-tasks.md +5 -600
  288. package/Project/i18n/es/commands/dependencies.md +5 -139
  289. package/Project/i18n/es/commands/gap-analysis.md +5 -290
  290. package/Project/i18n/es/commands/generate-backlog.md +5 -378
  291. package/Project/i18n/es/commands/generate-constitution.md +5 -223
  292. package/Project/i18n/es/commands/generate-prd.md +5 -210
  293. package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
  294. package/Project/i18n/es/commands/list-epics.md +5 -91
  295. package/Project/i18n/es/commands/list-stories.md +5 -116
  296. package/Project/i18n/es/commands/list-tasks.md +5 -128
  297. package/Project/i18n/es/commands/metrics.md +5 -223
  298. package/Project/i18n/es/commands/migrate-backlog.md +5 -144
  299. package/Project/i18n/es/commands/migrate.md +158 -0
  300. package/Project/i18n/es/commands/move-task.md +5 -200
  301. package/Project/i18n/es/commands/report.md +156 -0
  302. package/Project/i18n/es/commands/reverse-prd.md +5 -284
  303. package/Project/i18n/es/commands/reverse-stories.md +5 -301
  304. package/Project/i18n/es/commands/reverse.md +249 -0
  305. package/Project/i18n/es/commands/run-epic.md +5 -187
  306. package/Project/i18n/es/commands/run-queue.md +5 -250
  307. package/Project/i18n/es/commands/run-sprint.md +5 -262
  308. package/Project/i18n/es/commands/scan.md +5 -267
  309. package/Project/i18n/es/commands/sync-backlog.md +5 -161
  310. package/Project/i18n/es/commands/trace.md +126 -174
  311. package/Project/i18n/es/commands/update-epic.md +5 -101
  312. package/Project/i18n/es/commands/update-stories.md +5 -190
  313. package/Project/i18n/es/commands/update-story.md +5 -146
  314. package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
  315. package/Project/i18n/es/scaffold/project-management__README.md +7 -7
  316. package/Project/i18n/es/templates/board.md +22 -9
  317. package/Project/i18n/es/templates/epic.md +4 -4
  318. package/Project/i18n/es/templates/prd.md +1 -1
  319. package/Project/i18n/es/templates/sprint-status.md +60 -0
  320. package/Project/i18n/es/templates/task.md +1 -1
  321. package/Project/i18n/es/templates/user-story.md +8 -6
  322. package/Project/i18n/fr/Gate/commands/check.md +392 -0
  323. package/Project/i18n/fr/Gate/commands/report.md +5 -196
  324. package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
  325. package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
  326. package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
  327. package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
  328. package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
  329. package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
  330. package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
  331. package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
  332. package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
  333. package/Project/i18n/fr/Sprint/commands/status.md +5 -172
  334. package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
  335. package/Project/i18n/fr/agents/product-owner.md +5 -5
  336. package/Project/i18n/fr/agents/tech-lead.md +8 -8
  337. package/Project/i18n/fr/commands/add-epic.md +5 -88
  338. package/Project/i18n/fr/commands/add-story.md +5 -112
  339. package/Project/i18n/fr/commands/add-task.md +5 -127
  340. package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
  341. package/Project/i18n/fr/commands/backlog.md +653 -0
  342. package/Project/i18n/fr/commands/batch-status.md +5 -209
  343. package/Project/i18n/fr/commands/board.md +5 -130
  344. package/Project/i18n/fr/commands/burndown.md +5 -120
  345. package/Project/i18n/fr/commands/checkpoint.md +5 -239
  346. package/Project/i18n/fr/commands/coverage-map.md +5 -217
  347. package/Project/i18n/fr/commands/critical-path.md +5 -123
  348. package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
  349. package/Project/i18n/fr/commands/dependencies.md +5 -139
  350. package/Project/i18n/fr/commands/gap-analysis.md +5 -290
  351. package/Project/i18n/fr/commands/generate-backlog.md +5 -378
  352. package/Project/i18n/fr/commands/generate-constitution.md +5 -223
  353. package/Project/i18n/fr/commands/generate-prd.md +5 -210
  354. package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
  355. package/Project/i18n/fr/commands/list-epics.md +5 -91
  356. package/Project/i18n/fr/commands/list-stories.md +5 -116
  357. package/Project/i18n/fr/commands/list-tasks.md +5 -128
  358. package/Project/i18n/fr/commands/metrics.md +5 -223
  359. package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
  360. package/Project/i18n/fr/commands/migrate.md +158 -0
  361. package/Project/i18n/fr/commands/move-task.md +5 -200
  362. package/Project/i18n/fr/commands/report.md +156 -0
  363. package/Project/i18n/fr/commands/reverse-prd.md +5 -284
  364. package/Project/i18n/fr/commands/reverse-stories.md +5 -301
  365. package/Project/i18n/fr/commands/reverse.md +249 -0
  366. package/Project/i18n/fr/commands/run-epic.md +5 -187
  367. package/Project/i18n/fr/commands/run-queue.md +5 -250
  368. package/Project/i18n/fr/commands/run-sprint.md +5 -262
  369. package/Project/i18n/fr/commands/scan.md +5 -267
  370. package/Project/i18n/fr/commands/sync-backlog.md +5 -161
  371. package/Project/i18n/fr/commands/trace.md +125 -173
  372. package/Project/i18n/fr/commands/update-epic.md +5 -101
  373. package/Project/i18n/fr/commands/update-stories.md +5 -190
  374. package/Project/i18n/fr/commands/update-story.md +5 -146
  375. package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
  376. package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
  377. package/Project/i18n/fr/templates/board.md +22 -9
  378. package/Project/i18n/fr/templates/epic.md +4 -4
  379. package/Project/i18n/fr/templates/prd.md +1 -1
  380. package/Project/i18n/fr/templates/sprint-status.md +60 -0
  381. package/Project/i18n/fr/templates/task.md +1 -1
  382. package/Project/i18n/fr/templates/user-story.md +8 -6
  383. package/Project/i18n/pt/Gate/commands/check.md +392 -0
  384. package/Project/i18n/pt/Gate/commands/report.md +5 -229
  385. package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
  386. package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
  387. package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
  388. package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
  389. package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
  390. package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
  391. package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
  392. package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
  393. package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
  394. package/Project/i18n/pt/Sprint/commands/status.md +5 -172
  395. package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
  396. package/Project/i18n/pt/agents/product-owner.md +5 -5
  397. package/Project/i18n/pt/agents/tech-lead.md +8 -8
  398. package/Project/i18n/pt/commands/add-epic.md +5 -88
  399. package/Project/i18n/pt/commands/add-story.md +5 -112
  400. package/Project/i18n/pt/commands/add-task.md +5 -127
  401. package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
  402. package/Project/i18n/pt/commands/backlog.md +653 -0
  403. package/Project/i18n/pt/commands/batch-status.md +5 -209
  404. package/Project/i18n/pt/commands/board.md +5 -130
  405. package/Project/i18n/pt/commands/burndown.md +5 -120
  406. package/Project/i18n/pt/commands/checkpoint.md +5 -239
  407. package/Project/i18n/pt/commands/coverage-map.md +5 -217
  408. package/Project/i18n/pt/commands/critical-path.md +5 -123
  409. package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
  410. package/Project/i18n/pt/commands/dependencies.md +5 -139
  411. package/Project/i18n/pt/commands/gap-analysis.md +5 -290
  412. package/Project/i18n/pt/commands/generate-backlog.md +5 -378
  413. package/Project/i18n/pt/commands/generate-constitution.md +5 -223
  414. package/Project/i18n/pt/commands/generate-prd.md +5 -210
  415. package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
  416. package/Project/i18n/pt/commands/list-epics.md +5 -91
  417. package/Project/i18n/pt/commands/list-stories.md +5 -116
  418. package/Project/i18n/pt/commands/list-tasks.md +5 -128
  419. package/Project/i18n/pt/commands/metrics.md +5 -223
  420. package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
  421. package/Project/i18n/pt/commands/migrate.md +158 -0
  422. package/Project/i18n/pt/commands/move-task.md +5 -200
  423. package/Project/i18n/pt/commands/report.md +156 -0
  424. package/Project/i18n/pt/commands/reverse-prd.md +5 -284
  425. package/Project/i18n/pt/commands/reverse-stories.md +5 -301
  426. package/Project/i18n/pt/commands/reverse.md +249 -0
  427. package/Project/i18n/pt/commands/run-epic.md +5 -187
  428. package/Project/i18n/pt/commands/run-queue.md +5 -250
  429. package/Project/i18n/pt/commands/run-sprint.md +5 -262
  430. package/Project/i18n/pt/commands/scan.md +5 -267
  431. package/Project/i18n/pt/commands/sync-backlog.md +5 -161
  432. package/Project/i18n/pt/commands/trace.md +126 -174
  433. package/Project/i18n/pt/commands/update-epic.md +5 -101
  434. package/Project/i18n/pt/commands/update-stories.md +5 -190
  435. package/Project/i18n/pt/commands/update-story.md +5 -146
  436. package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
  437. package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
  438. package/Project/i18n/pt/templates/board.md +22 -9
  439. package/Project/i18n/pt/templates/epic.md +4 -4
  440. package/Project/i18n/pt/templates/prd.md +1 -1
  441. package/Project/i18n/pt/templates/sprint-status.md +60 -0
  442. package/Project/i18n/pt/templates/task.md +1 -1
  443. package/Project/i18n/pt/templates/user-story.md +8 -6
  444. package/Project/install-project-commands.sh +33 -52
  445. package/README.md +22 -5
  446. package/Tools/Ralph/README.md +9 -9
  447. package/bundles/cursor/.cursorrules +2 -2
  448. package/bundles/windsurf/.windsurfrules +2 -2
  449. package/cli/kanban/server/app.js +9 -4
  450. package/cli/kanban/server/services/repository.js +35 -8
  451. package/cli/kanban/server/services/sprint-cache.js +45 -1
  452. package/cli/kanban/shared/schemas.js +2 -0
  453. package/cli/lib/update.js +15 -0
  454. package/config/removed-commands.yaml +14 -0
  455. package/package.json +4 -2
  456. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
  457. package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
  458. package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
  459. package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
  460. package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
  461. package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
  462. package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
  463. package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
  464. package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
  465. package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
  466. package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  description: Orquestador de sprint de extremo a extremo (inicio -> descomposición -> validación -> implementación -> PR -> CI -> revisión -> retro -> merge)
3
- argument-hint: "<N> [--auto-merge] [--max-fix-attempts=2] [--max-workers=3] [--base=main] [--dry-run] [--overnight]"
3
+ argument-hint: "<N> [--from-prd] [--auto-merge] [--max-fix-attempts=2] [--max-workers=3] [--base=main] [--dry-run] [--overnight]"
4
4
  ---
5
5
 
6
6
  # Auto Sprint — Orquestador de Sprint de Extremo a Extremo
@@ -14,8 +14,8 @@ que `/team:sprint`) para evitar el anidamiento de Agent Teams.
14
14
  Esto automatiza lo que antes eran seis comandos manuales con un `/clear` de por medio:
15
15
 
16
16
  ```
17
- /workflow:start N -> /project:decompose-tasks 00N -> /gate:validate-sprint 00N
18
- -> /team:sprint "sprint-00N" -> /workflow:review N -> /workflow:retro N
17
+ /workflow:start N -> /workflow:start N --tasks-only -> /gate:check sprint 00N
18
+ -> /workflow:implement N -> /workflow:review N -> /workflow:retro N
19
19
  ```
20
20
 
21
21
  …y añade: rama, commit, Pull Request, vigilancia de CI y merge.
@@ -25,6 +25,7 @@ Esto automatiza lo que antes eran seis comandos manuales con un `/clear` de por
25
25
  $ARGUMENTS
26
26
 
27
27
  - `<N>` : Número de sprint (p. ej. `5`). **Obligatorio.**
28
+ - `--from-prd` : Antes de la Fase 1, ejecuta `/workflow:plan --only=backlog` (sub-agente) para generar el backlog a partir de `project-management/prd.md` y luego continúa con el pipeline normal.
28
29
  - `--auto-merge` : Realiza el merge automáticamente una vez que la CI esté en verde y el DoD se haya aprobado. **Por defecto: DESACTIVADO** — el
29
30
  comando hace una pausa y espera una confirmación humana explícita antes de hacer el merge (respeta la "revisión obligatoria",
30
31
  regla 09, y el principio Karpathy de "no auto-merge sin revisión humana").
@@ -52,7 +53,7 @@ la forma correcta a cada fase:
52
53
  | Fase | Formato esperado |
53
54
  |------|-----------------|
54
55
  | `start`, `review`, `retro` | `N` simple (p. ej. `5`) |
55
- | `decompose-tasks` | `00N` con ceros iniciales (p. ej. `005`) |
56
+ | `start --tasks-only` | `N` simple (p. ej. `5`) |
56
57
  | `team:sprint` (implementación) | nombre libre de sprint resuelto desde la carpeta / archivo de estado |
57
58
 
58
59
  Resolver la carpeta del sprint mediante un glob `project-management/sprints/sprint-{N}-*/` y leer
@@ -64,12 +65,16 @@ Resolver la carpeta del sprint mediante un glob `project-management/sprints/spri
64
65
 
65
66
  1. Parsear `<N>` y los flags. Derivar `N`, `00N`, el slug del sprint y el nombre del sprint.
66
67
  2. Resolver `project-management/sprints/sprint-{N}-*/` y `.bmad/sprint-status.yaml`.
67
- **Abortar** si ninguno existe (no hay nada que orquestar).
68
+ Si ninguno existe, el sprint es nuevo: la Fase 1 crea ambos (sin abortar).
68
69
  3. Verificar que el árbol de trabajo esté limpio y que `--base` esté actualizado. **Abortar** si está sucio.
69
70
  4. Crear / hacer checkout de la rama de feature `feature/sprint-{N}-<slug>` desde `--base`
70
71
  (regla 09: `main` siempre desplegable — nunca trabajar directamente sobre la rama base).
71
72
  5. Si `--dry-run`: mostrar el contexto resuelto + las 9 fases planificadas y **detenerse aquí**.
72
73
 
74
+ ### Fase 0b — Backlog desde el PRD (sub-agente, solo con `--from-prd`)
75
+
76
+ > "Lee `.claude/commands/workflow/plan.md` y ejecuta `/workflow:plan --only=backlog` (entrada: `project-management/prd.md`). Devuelve un resumen conciso y los archivos creados."
77
+
73
78
  ### Fase 1 — Inicio (sub-agente)
74
79
 
75
80
  Lanzar un sub-agente aislado:
@@ -80,13 +85,13 @@ Lanzar un sub-agente aislado:
80
85
 
81
86
  ### Fase 2 — Descomposición (sub-agente)
82
87
 
83
- > "Lee `.claude/commands/project/decompose-tasks.md` y ejecútalo para el sprint **00N**.
84
- > Genera los archivos de tareas por historia de usuario, `task-board.md` y el grafo de dependencias.
88
+ > "Lee `.claude/commands/workflow/start.md` (`/workflow:start {N} --tasks-only`) y ejecútalo para el sprint **N**.
89
+ > Genera los archivos `tasks/TASK-*.md`, `board.md` y el grafo de dependencias.
85
90
  > Devuelve un resumen breve y los archivos creados."
86
91
 
87
92
  ### Fase 3 — Validación de gate (sub-agente + bucle de corrección automática)
88
93
 
89
- > "Lee `.claude/commands/gate/validate-sprint.md` y ejecútalo para el sprint **00N**.
94
+ > "Lee `.claude/commands/gate/check.md` (gate `sprint`) y ejecútalo para el sprint **00N**.
90
95
  > Devuelve PASS/FAIL, la puntuación y la lista de criterios fallidos."
91
96
 
92
97
  **En caso de FAIL → bucle de corrección automática** (hasta `--max-fix-attempts`):
@@ -97,6 +102,8 @@ Lanzar un sub-agente aislado:
97
102
 
98
103
  ### Fase 4 — Implementación (tú = conductor)
99
104
 
105
+ > Equivalente a `/workflow:implement --parallel N` (que delega en `/team:sprint`).
106
+
100
107
  Asumir directamente el **rol de conductor de `/team:sprint`** (**no** lanzar un Agent Team anidado):
101
108
 
102
109
  1. Leer `.bmad/sprint-status.yaml`; filtrar historias en estado `ready-for-dev`.
@@ -195,3 +202,4 @@ Fase | Estado | Notas
195
202
  - **El auto-merge es opt-in** e intencionalmente requiere pasar un flag explícito.
196
203
  - **Docker es obligatorio** para los tests (CLAUDE.md del proyecto).
197
204
  - El aislamiento de sub-agentes es lo que reemplaza el `/clear` — mantener cada informe de sub-agente breve.
205
+ - Para la variante paralela con Agent Teams que además redacta las historias con revisión cruzada, usa `/team:delivery`.
@@ -1,282 +1,222 @@
1
1
  ---
2
2
  name: workflow-design
3
- description: Ejecutar la fase de Diseno (Solucion) - especificacion tecnica y arquitectura
3
+ description: "Ejecutar la fase de Diseño (Solutioning) - generar la especificación técnica (por defecto) o la constitución del proyecto (--constitution)"
4
+ argument-hint: "[--constitution] [--continue]"
4
5
  arguments:
6
+ - name: constitution
7
+ description: Generar la constitución del proyecto (project-management/constitution.md) en lugar de la especificación técnica
8
+ required: false
5
9
  - name: continue
6
- description: Continuar desde donde se dejo
10
+ description: Continuar donde se quedó
7
11
  required: false
8
12
  ---
9
13
 
10
14
  # /workflow:design
11
15
 
12
- ## Mision
16
+ ## Misión
13
17
 
14
- Ejecutar la fase de Diseno (Solucion) del flujo de trabajo de desarrollo. Esta fase se centra en crear la Especificacion Tecnica, disenar la arquitectura y documentar las decisiones tecnicas clave.
18
+ Ejecutar la fase de Diseño (Solutioning): convertir el PRD en una Especificación Técnica, diagramas de arquitectura, modelo de datos, diseño de API y ADR. Con `--constitution`, registrar en su lugar las decisiones inmutables del proyecto en una Constitución del proyecto.
15
19
 
16
- ## Modo Plan
20
+ ## Uso
17
21
 
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.
22
+ | Invocación | Qué hace | Reemplaza |
23
+ |------------|----------|-----------|
24
+ | `/workflow:design` | Lee `project-management/prd.md`, escribe `project-management/tech-spec.md` + archivos de arquitectura + ADR | `/workflow:design` |
25
+ | `/workflow:design --constitution` | Escribe `project-management/constitution.md` (decisiones inmutables, usada por `/gate:check alignment`) | `/workflow:design --constitution` |
26
+ | `/workflow:design --continue` | Reanuda una sesión de diseño interrumpida | - |
19
27
 
20
- ## Cuando usar
28
+ Orden canónico de los documentos: PRD → spec técnica → backlog → sprint.
21
29
 
22
- - Flujos **Standard** y **Enterprise**
23
- - Despues de completar `/workflow:plan`
24
- - Cuando el PRD y el backlog estan listos
30
+ ## Cuándo usarlo
25
31
 
26
- ## Prerequisitos
32
+ - Tracks **Standard** y **Enterprise**
33
+ - Después de `/workflow:plan --only=prd`
34
+ - `--constitution`: al inicio del proyecto (o cuando haya que fijar decisiones)
27
35
 
28
- - El PRD existe en `project-management/prd.md`
29
- - El backlog existe en `project-management/backlog/`
36
+ ## Requisitos previos
30
37
 
31
- ## Flujo de trabajo
38
+ - El PRD existe en `project-management/prd.md` (`--constitution`: solo fuentes opcionales, ver más abajo)
39
+ - Stack tecnológico identificado (se pregunta de forma interactiva en proyectos nuevos)
32
40
 
33
- ### Paso 1: Configuracion del diseno
41
+ ## Plan Mode
34
42
 
35
- ```
36
- ╔══════════════════════════════════════════════════════════╗
37
- ║ FASE DE DISENO - INICIANDO ║
38
- ╠══════════════════════════════════════════════════════════╣
39
- ║ Track: Standard ║
40
- ║ Fase: 3 de 4 - Diseno (Solucion) ║
41
- ║ ║
42
- ║ Objetivos: ║
43
- ║ • Crear Especificacion Tecnica desde el PRD ║
44
- ║ • Disenar arquitectura del sistema (diagramas C4) ║
45
- ║ • Definir modelo de datos y diseno de API ║
46
- ║ • Documentar Architecture Decision Records (ADRs) ║
47
- ║ • Planificar estrategia de testing ║
48
- ╚══════════════════════════════════════════════════════════╝
49
- ```
43
+ > **El plan mode es obligatorio.** Claude activa el plan mode para analizar el código afectado, proponer una estrategia de generación y esperar su validación antes de crear artefactos.
44
+
45
+ ## Workflow: Spec técnica (por defecto)
50
46
 
51
- ### Paso 2: Cargar artefactos de planificacion
47
+ ### Paso 1: Análisis del PRD
52
48
 
53
49
  ```
54
50
  ╔══════════════════════════════════════════════════════════╗
55
- ║ CARGANDO ARTEFACTOS DE PLANIFICACION ║
56
- ╠══════════════════════════════════════════════════════════╣
57
- ║ ║
58
- ║ Analisis del PRD: ║
59
- ║ ├── ✅ prd.md cargado ║
51
+ ║ FASE DE DISEÑO - INICIO ║
52
+ ║ Track: Standard | Fase: 3 de 4 - Design (Solutioning) ║
53
+ ║ Cargando project-management/prd.md ... ║
60
54
  ║ ├── Requisitos funcionales: 12 ║
61
55
  ║ ├── Requisitos no funcionales: 8 ║
62
56
  ║ └── Integraciones requeridas: 2 ║
63
- ║ ║
64
- ║ Resumen del backlog: ║
65
- ║ ├── ✅ backlog/ cargado ║
66
- ║ ├── EPICs: 4 ║
67
- ║ ├── User Stories: 18 ║
68
- ║ └── Story Points totales: 89 ║
69
- ║ ║
70
- ║ Restricciones (si Enterprise): ║
71
- ║ └── ✅ analysis/constraints.md disponible ║
72
- ║ ║
73
57
  ╚══════════════════════════════════════════════════════════╝
74
58
  ```
75
59
 
76
- ### Paso 3: Tareas de diseno
60
+ Extraer del PRD: requisitos funcionales (`FR-xxx`), requisitos no funcionales (rendimiento, seguridad, escalabilidad), personas y recorridos, restricciones y supuestos, integraciones. Si existe `project-management/analysis/constraints.md` (Enterprise), cargarlo también.
61
+
62
+ ### Paso 2: Análisis del código base
63
+
64
+ Código base existente: detectar el stack (backend, frontend, base de datos, caché, infraestructura) y los patrones existentes (arquitectura, estilo de API, auth, tests) y mantener la coherencia con ellos.
77
65
 
78
- Ejecutar las tareas de diseno en orden:
66
+ Proyecto nuevo: hacer las preguntas tecnológicas.
79
67
 
80
68
  ```
81
- ╔══════════════════════════════════════════════════════════╗
82
- ║ TAREAS DE DISENO ║
83
- ╠══════════════════════════════════════════════════════════╣
84
- ║ ║
85
- ║ □ Tarea 1: Generar Tech Spec ║
86
- ║ Comando: /project:generate-tech-spec ║
87
- ║ Salida: project-management/tech-spec.md ║
88
- ║ ║
89
- ║ □ Tarea 2: Diseno de arquitectura ║
90
- ║ Crear diagramas C4 (contexto, contenedor, componente) ║
91
- ║ Salida: project-management/architecture/ ║
92
- ║ ║
93
- ║ □ Tarea 3: Diseno del modelo de datos ║
94
- ║ ERD y esquema de base de datos ║
95
- ║ Salida: project-management/architecture/erd.md ║
96
- ║ ║
97
- ║ □ Tarea 4: Diseno de API ║
98
- ║ Endpoints, payloads, autenticacion ║
99
- ║ Salida: project-management/architecture/api.md ║
100
- ║ ║
101
- ║ □ Tarea 5: Crear ADRs ║
102
- ║ Documentar decisiones tecnicas clave ║
103
- ║ Salida: docs/adr/ ║
104
- ║ ║
105
- ║ □ Tarea 6: Revision de seguridad ║
106
- ║ Checklist OWASP, estrategia de autenticacion ║
107
- ║ Salida: project-management/architecture/security.md ║
108
- ║ ║
109
- ╚══════════════════════════════════════════════════════════╝
69
+ ┌─────────────────────────────────────────────────────────┐
70
+ │ PREGUNTAS - Stack tecnológico │
71
+ ├─────────────────────────────────────────────────────────┤
72
+ │ 1. ¿Framework backend preferido? (Symfony/Laravel/Node) │
73
+ │ 2. ¿Framework frontend? (React/Vue/Angular/Ninguno) │
74
+ │ 3. ¿Base de datos preferida? (PostgreSQL/MySQL/MongoDB) │
75
+ │ 4. ¿Destino de despliegue? (Docker/K8s/Serverless/VPS) │
76
+ │ 5. ¿Integraciones existentes a considerar? │
77
+ └─────────────────────────────────────────────────────────┘
110
78
  ```
111
79
 
112
- ### Paso 4: Ejecutar generacion del Tech Spec
80
+ ### Paso 3: Preguntas de arquitectura
113
81
 
114
82
  ```
115
- Iniciando /project:generate-tech-spec...
116
-
117
- Analizando requisitos del PRD...
118
- Detectando patrones existentes en el codebase...
83
+ ┌─────────────────────────────────────────────────────────┐
84
+ │ PREGUNTAS - Decisiones de arquitectura │
85
+ ├─────────────────────────────────────────────────────────┤
86
+ │ 1. ¿Monolito o microservicios? │
87
+ │ 2. ¿Estilo de API preferido? (REST/GraphQL/gRPC) │
88
+ │ 3. ¿Escala esperada? (usuarios, peticiones/s) │
89
+ │ 4. ¿Funcionalidades en tiempo real? (WebSockets/SSE) │
90
+ │ 5. ¿Necesidades de almacenamiento? (S3/local/CDN) │
91
+ │ 6. ¿Necesidades de jobs en segundo plano? │
92
+ │ 7. ¿Integraciones de terceros? (pagos, email, etc.) │
93
+ └─────────────────────────────────────────────────────────┘
94
+ ```
119
95
 
120
- [Flujo de generacion del Tech Spec con Q&A interactivo]
96
+ ### Paso 4: Tareas de diseño
121
97
 
122
- ✅ Tech Spec creado: project-management/tech-spec.md
123
- ```
98
+ Ejecutar en orden:
124
99
 
125
- ### Paso 5: Diagramas de arquitectura
100
+ | # | Tarea | Salida |
101
+ |---|-------|--------|
102
+ | 1 | Spec técnica (plantilla `.claude/templates/project/tech-spec.md`) | `project-management/tech-spec.md` |
103
+ | 2 | Diagramas C4 (contexto, contenedor, componente) | `project-management/architecture/c4-*.md` |
104
+ | 3 | Modelo de datos: ERD (Mermaid `erDiagram`) + esquemas; validar relaciones, entidades que faltan, indexación | `project-management/architecture/erd.md` |
105
+ | 4 | Diseño de API: endpoints derivados de los FR-xxx y las personas, payloads, errores, auth | `project-management/architecture/api.md` |
106
+ | 5 | Seguridad y rendimiento: mitigaciones OWASP, authN/authZ, cifrado, rate limiting, brechas RGPD | `project-management/architecture/security.md` |
107
+ | 6 | ADR para las decisiones clave (base de datos, estilo de API, autenticación) | `docs/adr/ADR-00x-*.md` |
108
+ | 7 | Estrategia de tests (objetivo de cobertura 80 %), CI/CD y despliegue, monitorización | en `tech-spec.md` |
126
109
 
127
- Generar diagramas de arquitectura C4:
110
+ Ejemplo de checklist de seguridad:
128
111
 
129
112
  ```
130
- ╔══════════════════════════════════════════════════════════╗
131
- ║ DIAGRAMAS DE ARQUITECTURA ║
132
- ╠══════════════════════════════════════════════════════════╣
133
- ║ ║
134
- ║ C4 Nivel 1 - Contexto del sistema: ║
135
- ║ ┌─────────────────────────────────────────────────────┐ ║
136
- ║ │ │ ║
137
- ║ │ [Usuario] ─────► [Nuestro Sistema] ─────► [Stripe] │ ║
138
- ║ │ │ │ ║
139
- ║ │ ▼ │ ║
140
- ║ │ [SendGrid] │ ║
141
- ║ │ │ ║
142
- ║ └─────────────────────────────────────────────────────┘ ║
143
- ║ ║
144
- ║ C4 Nivel 2 - Contenedor: ║
145
- ║ ┌─────────────────────────────────────────────────────┐ ║
146
- ║ │ │ ║
147
- ║ │ [React SPA] ──► [Symfony API] ──► [PostgreSQL] │ ║
148
- ║ │ │ │ ║
149
- ║ │ ▼ │ ║
150
- ║ │ [Redis] │ ║
151
- ║ │ │ ║
152
- ║ └─────────────────────────────────────────────────────┘ ║
153
- ║ ║
154
- ║ Archivos creados: ║
155
- ║ ├── architecture/c4-context.md ║
156
- ║ ├── architecture/c4-container.md ║
157
- ║ └── architecture/c4-component.md ║
158
- ║ ║
159
- ╚══════════════════════════════════════════════════════════╝
113
+ ✅ Autenticación: JWT con cookies HttpOnly
114
+ ✅ Autorización: RBAC con policies
115
+ ✅ Cifrado de datos: AES-256 en reposo, TLS 1.3 en tránsito
116
+ ✅ Validación de entradas: validación DTO + sanitización
117
+ ✅ Rate limiting: 100 req/min por usuario
118
+ ⚠️ Cumplimiento RGPD: falta una política de retención de datos
160
119
  ```
161
120
 
162
- ### Paso 6: Creacion de ADRs
121
+ ### Paso 5: Gate de revisión del diseño
163
122
 
164
- Documentar decisiones clave de arquitectura:
123
+ - La spec técnica cubre todos los requisitos del PRD (cada `FR-xxx` es trazable)
124
+ - La arquitectura soporta los NFR (rendimiento, seguridad)
125
+ - El modelo de datos gestiona todas las entidades; el diseño de API cubre todas las user stories
126
+ - Seguridad, estrategia de tests y enfoque de despliegue documentados
127
+ - ADR completos y justificados
165
128
 
166
- ```
167
- ╔══════════════════════════════════════════════════════════╗
168
- ║ ARCHITECTURE DECISION RECORDS (ADRs) ║
169
- ╠══════════════════════════════════════════════════════════╣
170
- ║ ║
171
- ║ ADRs creados: ║
172
- ║ ║
173
- ║ ┌─────────────────────────────────────────────────────┐ ║
174
- ║ │ ADR-001: Eleccion de base de datos │ ║
175
- ║ │ Decision: PostgreSQL │ ║
176
- ║ │ Justificacion: Cumplimiento ACID, soporte JSON, │ ║
177
- ║ │ existente │ ║
178
- ║ └─────────────────────────────────────────────────────┘ ║
179
- ║ ║
180
- ║ ┌─────────────────────────────────────────────────────┐ ║
181
- ║ │ ADR-002: Estilo de API │ ║
182
- ║ │ Decision: REST con JSON:API │ ║
183
- ║ │ Justificacion: Experiencia del equipo, cache, │ ║
184
- ║ │ simplicidad │ ║
185
- ║ └─────────────────────────────────────────────────────┘ ║
186
- ║ ║
187
- ║ ┌─────────────────────────────────────────────────────┐ ║
188
- ║ │ ADR-003: Autenticacion │ ║
189
- ║ │ Decision: JWT con refresh tokens │ ║
190
- ║ │ Justificacion: Sin estado, compatible con movil, │ ║
191
- ║ │ estandar │ ║
192
- ║ └─────────────────────────────────────────────────────┘ ║
193
- ║ ║
194
- ║ Archivos: docs/adr/ADR-001.md, ADR-002.md, ADR-003.md ║
195
- ║ ║
196
- ╚══════════════════════════════════════════════════════════╝
197
- ```
129
+ Ofrecer iteraciones: estrategia de caché, documentación de API ampliada, pipeline de despliegue.
198
130
 
199
- ### Paso 7: Gate de revision de diseno
131
+ ### Paso 6: Finalización
200
132
 
201
133
  ```
202
134
  ╔══════════════════════════════════════════════════════════╗
203
- ║ GATE DE REVISION DE DISENO ║
204
- ╠══════════════════════════════════════════════════════════╣
205
- ║ ║
206
- ║ Checklist: ║
207
- ║ ✅ Tech Spec cubre todos los requisitos del PRD ║
208
- ║ ✅ Arquitectura soporta NFRs (rendimiento, seguridad) ║
209
- ║ ✅ Modelo de datos maneja todas las entidades ║
210
- ║ ✅ Diseno de API cubre todas las user stories ║
211
- ║ ✅ Consideraciones de seguridad documentadas ║
212
- ║ ✅ Estrategia de testing definida ║
213
- ║ ✅ Enfoque de despliegue documentado ║
214
- ║ ║
215
- ║ Preguntas de revision: ║
216
- ║ 1. Es la arquitectura apropiada para la escala? ║
217
- ║ 2. Faltan integraciones? ║
218
- ║ 3. Es suficiente el enfoque de seguridad? ║
219
- ║ 4. Estan los ADRs completos y justificados? ║
220
- ║ ║
135
+ ║ FASE DE DISEÑO COMPLETADA ║
136
+ ║ ✅ project-management/tech-spec.md ║
137
+ ║ ✅ project-management/architecture/ (c4, erd, api, sec.) ║
138
+ ║ ✅ docs/adr/ (3 ADR) ║
139
+ ║ • 24 endpoints de API • 8 entidades • 3 integraciones ║
140
+ ║ ║
141
+ ║ SIGUIENTE: /workflow:plan --only=backlog ║
142
+ ║ LUEGO: /workflow:start 1 ║
221
143
  ╚══════════════════════════════════════════════════════════╝
222
144
  ```
223
145
 
224
- ### Paso 8: Finalizacion de la fase
146
+ El backlog lee `project-management/prd.md` y, una vez creada, `project-management/tech-spec.md`. Tras el diseño, recomendar `/workflow:plan --only=backlog` y después `/workflow:start 1`.
225
147
 
226
- ```
227
- ╔══════════════════════════════════════════════════════════╗
228
- ║ FASE DE DISENO COMPLETADA ║
229
- ╠══════════════════════════════════════════════════════════╣
230
- ║ ║
231
- ║ Artefactos creados: ║
232
- ║ ✅ tech-spec.md Especificacion Tecnica ║
233
- ║ ✅ architecture/ ║
234
- ║ ├── c4-context.md Diagrama de contexto ║
235
- ║ ├── c4-container.md Diagrama de contenedores ║
236
- ║ ├── c4-component.md Diagrama de componentes ║
237
- ║ ├── erd.md Diagrama Entidad-Relacion ║
238
- ║ ├── api.md Diseno de API ║
239
- ║ └── security.md Consideraciones de seguridad ║
240
- ║ ✅ docs/adr/ 3 Architecture Decision Records║
241
- ║ ║
242
- ║ Resumen: ║
243
- ║ • 24 endpoints de API disenados ║
244
- ║ • 8 entidades de base de datos definidas ║
245
- ║ • 3 integraciones externas especificadas ║
246
- ║ • Objetivo de cobertura de tests del 80% ║
247
- ║ ║
248
- ║ ─────────────────────────────────────────────────────────║
249
- ║ SIGUIENTE FASE: Implementacion ║
250
- ║ Comando: /workflow:implement ║
251
- ║ ─────────────────────────────────────────────────────────║
252
- ║ ║
253
- ║ Listo para comenzar el desarrollo del Sprint 1! ║
254
- ╚══════════════════════════════════════════════════════════╝
255
- ```
148
+ ## Workflow: Constitución (`--constitution`)
149
+
150
+ ### Fase 1: Descubrimiento del contexto
151
+
152
+ Análisis automático de: `README.md`, `project-management/prd.md`, `project-management/tech-spec.md`, estructura del código base (patrones, convenciones) y configuración `.claude/`. Listar las fuentes encontradas.
153
+
154
+ ### Fase 2: Aclaración interactiva
155
+
156
+ Preguntar al usuario, por tema, para cubrir las lagunas:
157
+
158
+ | Tema | Preguntas |
159
+ |------|-----------|
160
+ | Visión y Misión | Visión en una frase; qué, para quién, por qué; objetivos no negociables; qué haría fracasar el proyecto |
161
+ | Restricciones técnicas | Tecnologías bloqueadas; patrón de arquitectura obligatorio; restricciones de infraestructura; integraciones de terceros obligatorias |
162
+ | Principios de diseño | Patrones obligatorios; patrones/prácticas prohibidos; estándares de código; estrategia de tests requerida |
163
+ | Requisitos no funcionales | Objetivos de rendimiento (latencia, carga); seguridad; cumplimiento (RGPD, SOC2); disponibilidad/uptime |
164
+ | Límites | Fuera de alcance; sistemas externos; límites de equipo y responsabilidades; quién puede enmendar la constitución |
165
+
166
+ ### Fase 3: Generación
167
+
168
+ 1. Cargar la plantilla `.claude/templates/project/constitution.md`
169
+ 2. Completar visión, misión y objetivos no negociables
170
+ 3. Bloquear el stack técnico (tecnologías y versiones)
171
+ 4. Registrar los patrones obligatorios y prohibidos
172
+ 5. Anotar los objetivos de rendimiento, seguridad y cumplimiento
173
+ 6. Documentar exclusiones, límites de integración y el proceso de enmienda
256
174
 
257
- ## Agentes involucrados
175
+ ### Fase 4: Revisión y ratificación
258
176
 
259
- - **tech-lead**: Diseno tecnico general y creacion de ADRs
260
- - **api-designer**: Diseno de API REST/GraphQL
261
- - **database-architect**: Modelo de datos y diseno de esquema
262
- - **ui-designer**: Arquitectura frontend (si aplica)
263
- - **devops-engineer**: Diseno de despliegue e infraestructura
177
+ Salida: `project-management/constitution.md` con las secciones Visión y Misión, Restricciones técnicas, Principios de diseño, Requisitos no funcionales, Límites, Proceso de enmienda. Ofrecer ajustar las decisiones bloqueadas, añadir restricciones o afinar los límites. Las notas de descubrimiento opcionales van a `project-management/analysis/discovery-notes.md`.
178
+
179
+ La constitución es la referencia que usa `/gate:check alignment`. Siguientes pasos: `/workflow:plan --only=prd` si aún no hay PRD; si no, ejecutar el `/workflow:design` por defecto.
180
+
181
+ ## Agentes implicados
182
+
183
+ - **tech-lead**: diseño técnico global y creación de ADR
184
+ - **api-designer**: diseño de API REST/GraphQL
185
+ - **database-architect**: modelo de datos y diseño del esquema
186
+ - **ui-designer**: arquitectura frontend (si aplica)
187
+ - **devops-engineer**: diseño del despliegue y la infraestructura
264
188
 
265
189
  ## Archivos de salida
266
190
 
267
- | Archivo | Proposito |
191
+ | Archivo | Propósito |
268
192
  |---------|-----------|
269
- | `tech-spec.md` | Especificacion Tecnica completa |
270
- | `architecture/c4-*.md` | Diagramas de arquitectura C4 |
271
- | `architecture/erd.md` | Diagrama Entidad-Relacion |
272
- | `architecture/api.md` | Documentacion de endpoints API |
273
- | `architecture/security.md` | Diseno de seguridad |
193
+ | `project-management/tech-spec.md` | Especificación técnica completa |
194
+ | `project-management/constitution.md` | Constitución del proyecto (`--constitution`) |
195
+ | `project-management/architecture/c4-*.md` | Diagramas de arquitectura C4 |
196
+ | `project-management/architecture/erd.md` | Diagrama entidad-relación |
197
+ | `project-management/architecture/api.md` | Documentación de los endpoints de API |
198
+ | `project-management/architecture/security.md` | Diseño de seguridad |
274
199
  | `docs/adr/*.md` | Architecture Decision Records |
275
200
 
201
+ ## Ejemplo de sesión
202
+
203
+ ```
204
+ User: /workflow:design
205
+
206
+ Claude: Cargando project-management/prd.md: 12 FR, 8 NFR.
207
+ Detectado: Symfony + React + PostgreSQL.
208
+ ❓ La API actual es REST. ¿Mantener REST o migrar a GraphQL?
209
+ > Mantener REST
210
+ [... Q&A interactivo ...]
211
+ ✅ Spec técnica generada: project-management/tech-spec.md
212
+ Siguiente: /workflow:plan --only=backlog, luego /workflow:start 1
213
+ ```
214
+
276
215
  ## Comandos relacionados
277
216
 
278
- - `/workflow:plan` - Fase anterior
279
- - `/workflow:implement` - Siguiente fase
280
- - `/workflow:status` - Verificar progreso
281
- - `/project:generate-tech-spec` - Generacion directa del tech spec
282
- - `/common:architecture-decision` - Crear ADRs individuales
217
+ - `/workflow:plan` - Fase anterior (`--only=prd`, `--only=backlog`)
218
+ - `/workflow:start` - Iniciar el primer sprint
219
+ - `/workflow:implement` - Fase de implementación
220
+ - `/workflow:status` - Comprobar el progreso
221
+ - `/gate:check` - Quality gates (`alignment` usa la constitución)
222
+ - `/common:architecture-decision` - Crear ADR individuales