@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,60 @@
1
+ # Sprint-Status-Schema (`.bmad/sprint-status.yaml`)
2
+
3
+ `.bmad/sprint-status.yaml` ist die **einzige Quelle der Wahrheit für den STATUS von Stories und Aufgaben**. Markdown-Dateien (`US-*.md`, `EPIC-*.md`, `TASK-*.md`, `board.md`) enthalten **nur Inhalt**: kein Statusfeld, kein Status-Emoji. Der Epic-Status wird aus den Status seiner Stories **abgeleitet** (nie gespeichert).
4
+
5
+ - Story-Status: `backlog | ready-for-dev | in-progress | review | done | blocked`
6
+ - Aufgabenstatus: `to-do | in-progress | done | blocked`
7
+ - Story-Übergänge folgen der BMAD-Zustandsmaschine (siehe `/project:backlog move story`).
8
+
9
+ ```yaml
10
+ # .bmad/sprint-status.yaml
11
+ version: "1.0"
12
+ metadata:
13
+ sprint_id: "sprint-2"
14
+ name: "Benutzerverwaltung"
15
+ start_date: "2026-11-02"
16
+ end_date: "2026-11-13"
17
+ goal: "Benutzer können sich registrieren, anmelden und ihr Profil bearbeiten"
18
+ capacity_points: 21
19
+ stories:
20
+ US-010:
21
+ title: "Benutzerregistrierung"
22
+ status: "in-progress"
23
+ previous_status: "ready-for-dev"
24
+ tdd_phase: "green"
25
+ story_points: 5
26
+ epic_id: "EPIC-002"
27
+ priority: "must"
28
+ dependencies: ["US-001"]
29
+ tasks:
30
+ total: 2
31
+ completed: 1
32
+ list: ["TASK-001", "TASK-002"]
33
+ status:
34
+ TASK-001: "done"
35
+ TASK-002: "in-progress"
36
+ history:
37
+ - timestamp: "2026-11-02T09:00:00Z"
38
+ from: "ready-for-dev"
39
+ to: "in-progress"
40
+ by: "dev"
41
+ reason: "Implementierung gestartet"
42
+ archived_sprints:
43
+ sprint-1:
44
+ stories:
45
+ US-001: { status: "done", points: 5 }
46
+ routing:
47
+ auto_transitions:
48
+ enabled: true
49
+ run_on_session_start: false
50
+ run_on_task_complete: true
51
+ rules: []
52
+ ```
53
+
54
+ ## Regeln
55
+
56
+ - Inhalt (Titel, Beschreibung, Abnahmekriterien, Aufgabendetails) wird in den Markdown-Dateien geschrieben; der Status wird ausschließlich in dieser Datei geschrieben.
57
+ - `tasks.completed` ist die Anzahl der Aufgaben mit dem Status `done`; `tasks.total` ist die Länge von `tasks.list`.
58
+ - Jeder Story-Übergang aktualisiert `status` und `previous_status` und hängt einen `history`-Eintrag an (`timestamp`, `from`, `to`, `by`, `reason`).
59
+ - Der Epic-Status wird aus seinen Stories berechnet (alle `backlog` = nicht gestartet, alle anderen nicht-`done` = in Arbeit, alle `done` = erledigt); er wird nirgends geschrieben.
60
+ - Fehlt die Datei, wird sie vor dem Schreiben aus dem Skelett von `/workflow:init` erstellt.
@@ -4,7 +4,7 @@
4
4
  - **ID**: TASK-{ID}
5
5
  - **US**: {US_ID}
6
6
  - **Typ**: {TYPE}
7
- - **Status**: 🔴 To Do
7
+ - **Status**: wird in .bmad/sprint-status.yaml verfolgt
8
8
  - **Schätzung**: {ESTIMATION}h
9
9
  - **Aufgewendete Zeit**: 0h
10
10
  - **Erstellt am**: {DATE}
@@ -4,14 +4,14 @@
4
4
  - **ID**: US-{ID}
5
5
  - **EPIC**: {EPIC_ID}
6
6
  - **Sprint**: {SPRINT}
7
- - **Status**: 🔴 To Do
7
+ - **Status**: wird in .bmad/sprint-status.yaml verfolgt
8
8
  - **Punkte**: {POINTS}
9
9
  - **Persona**: {PERSONA_ID}
10
10
  - **Erstellt am**: {DATE}
11
11
  - **Aktualisiert**: {DATE}
12
12
 
13
13
  ## Rückverfolgbarkeit
14
- - **Implementiert**: {FR-001, FR-003} <!-- PRD-Anforderungs-IDs, die diese Story implementiert -->
14
+ - **Implements**: {FR-001, FR-003} <!-- PRD-Anforderungs-IDs, die diese Story implementiert -->
15
15
  - **Hängt ab von**: {US-xxx} <!-- Stories, die zuerst abgeschlossen werden müssen -->
16
16
  - **Tech-Spec**: {section_reference} <!-- Referenz auf den Tech-Spec-Abschnitt -->
17
17
 
@@ -39,13 +39,15 @@ THEN {erwartetes Ergebnis}
39
39
 
40
40
  ## Aufgaben
41
41
 
42
- | ID | Typ | Beschreibung | Status | Schätzung |
43
- |----|------|-------------|--------|------------|
44
- | - | - | - | 🔴 | - |
42
+ | ID | Typ | Beschreibung | Schätzung |
43
+ |----|------|-------------|------------|
44
+ | - | - | - | - |
45
+
46
+ _Die Aufgabenstatus werden in `.bmad/sprint-status.yaml` verfolgt._
45
47
 
46
48
  ## Fortschritt
47
49
 
48
- 0/0 Aufgaben abgeschlossen (0%)
50
+ 0/0 Aufgaben abgeschlossen (0%) <!-- abgeleitet aus .bmad/sprint-status.yaml -->
49
51
 
50
52
  ## Definition of Done
51
53
 
@@ -0,0 +1,392 @@
1
+ ---
2
+ description: "Run any quality gate: document gates (PRD, tech spec, backlog, sprint, story, alignment), code gates (commit, merge, release), the full report or a phase checkpoint"
3
+ argument-hint: "<prd|spec|backlog|sprint|story|alignment|commit|merge|release|all> [--phase=pre-sprint|pre-impl|post-impl|pre-merge] [target]"
4
+ ---
5
+
6
+ # Quality Gate Check
7
+
8
+ Single entry point for every BMAD quality gate. Document gates score the planning artifacts (PRD, tech spec, backlog, sprint, story, spec-code alignment); code gates verify the repository before a commit, a merge or a release. `all` aggregates the document gates into one report, and `--phase` runs the checks that belong to a lifecycle phase.
9
+
10
+ ## Usage
11
+
12
+ | Invocation | What it does | Replaces |
13
+ |------------|--------------|----------|
14
+ | `/gate:check prd [file]` | PRD quality gate (threshold 80%) | `/gate:check prd` |
15
+ | `/gate:check spec [file]` | Tech Spec quality gate (threshold 90%) | `/gate:check spec` |
16
+ | `/gate:check backlog [story-id] [--no-gate]` | INVEST gate, 6/6 per story | `/gate:check backlog` |
17
+ | `/gate:check sprint [N] [--verbose]` | Sprint Ready gate (all required criteria) | `/gate:check sprint` |
18
+ | `/gate:check story <story-id>` | Definition of Done gate (100%) | `/gate:check story` |
19
+ | `/gate:check alignment [story-id]` | Spec-code alignment gate (threshold 85%) | `/gate:check alignment` |
20
+ | `/gate:check commit [--fix] [--staged]` | Pre-commit verification of the modified files | `/gate:check commit` |
21
+ | `/gate:check merge [source] [target]` | Pre-merge verification of a branch | `/gate:check merge` |
22
+ | `/gate:check release <version> [patch\|minor\|major]` | Release checklist | `/gate:check release` |
23
+ | `/gate:check all [--detailed]` | Report of all document gates | `/gate:check all` |
24
+ | `/gate:check --phase=<phase> [story-or-sprint]` | Checkpoint of a lifecycle phase: `pre-sprint`, `pre-impl`, `post-impl`, `pre-merge` | `/gate:check --phase` |
25
+
26
+ ## Arguments
27
+
28
+ $ARGUMENTS (format: `<gate> [target] [flags]` or `--phase=<phase> [target]`)
29
+
30
+ 1. The first positional word selects the gate: `prd`, `spec`, `backlog`, `sprint`, `story`, `alignment`, `commit`, `merge`, `release` or `all`.
31
+ 2. The remaining positional words are the gate's `target` (a file, a story ID, a sprint number, a branch or a version, see each section); the other flags are documented per gate.
32
+ 3. `--phase=<phase>` replaces the gate word: run the checkpoint of that phase (see `## --phase`). `pre-sprint` and `post-impl` take a sprint or a story, `pre-impl` takes a story.
33
+ 4. No argument: show the usage table above and stop. Unknown gate: list the valid gates.
34
+
35
+ ## Shared rules
36
+
37
+ - **Default paths**: PRD `project-management/prd.md`, tech spec `project-management/tech-spec.md`, stories `project-management/backlog/`, sprints `project-management/sprints/sprint-{N}-{slug}/`, constitution `project-management/constitution.md` (optional). Gate thresholds are configured in `.bmad/gates/*.yaml` (`prd-gate`, `techspec-gate`, `backlog-gate`, `sprint-ready-gate`, `story-gate`).
38
+ - **Status source of truth**: `.bmad/sprint-status.yaml` holds the story and task status (`backlog -> ready-for-dev -> in-progress -> review -> done`, any -> `blocked`). Gates read the status from it and never from the markdown files, which only hold content. Schema: `.claude/templates/project/sprint-status.md`.
39
+ - **Scoring**: weighted criteria; a passed criterion adds its weight to the score (final score = sum of passed weights). "Required" criteria must all pass for the gate to pass. Symbols: ✅ pass, ⚠️ partial, ❌ missing or failed, ⏳ skipped or not checked.
40
+ - **Report**: always list each criterion with what was found or what is missing, the score against the threshold, the verdict (`GATE PASSED` / `GATE FAILED (need X%, got Y%)`), then numbered "Required Actions" with a concrete example for each failure and the command to re-run (`/gate:check <gate>`).
41
+ - **Docker**: code gates run the project tools through Docker (`docker compose exec <service> ...` or `docker run --rm ...`), never on the local environment.
42
+
43
+ ## prd
44
+
45
+ Validates a PRD (argument: `[prd-file]`, default `project-management/prd.md`). Threshold: **80%**.
46
+
47
+ | Criterion | Weight | Required | Description |
48
+ |-----------|--------|----------|-------------|
49
+ | Problem Statement | 15% | Yes | Clear articulation of the problem |
50
+ | Target Users | 15% | Yes | Defined audience/personas |
51
+ | Goals/Objectives | 15% | Yes | Measurable goals |
52
+ | Success Metrics | 15% | Yes | KPIs and measurements |
53
+ | Scope/Boundaries | 10% | Yes | What is in/out of scope |
54
+ | User Stories Overview | 10% | Yes | High-level feature list |
55
+ | Assumptions | 10% | No | Documented assumptions |
56
+ | Risks | 10% | No | Risk identification (with mitigations) |
57
+
58
+ **Process**: locate and load the file (fail if missing); for each criterion check that the section exists with relevant keywords and a minimum content length; sum the weights of the passed criteria; report.
59
+
60
+ ```
61
+ PRD Quality Gate Validation
62
+ File: project-management/prd.md Threshold: 80%
63
+ ✅ Problem Statement (15%) Found: clear problem definition in "Overview"
64
+ ❌ Goals/Objectives (15%) Missing: no measurable goals found
65
+ ⚠️ Risks (10%) Partial: risks listed but no mitigations
66
+ Score: 90/100 (90%)
67
+ ✅ PRD GATE PASSED — Next: /workflow:design
68
+ ```
69
+
70
+ On failure, suggest an example per gap (e.g. goal "Reduce checkout time by 30%", KPI "Conversion rate > 5%", risk "API rate limits; Mitigation: caching"). The gate is also checked before `/workflow:design` and at the BMAD workflow transition.
71
+
72
+ ## spec
73
+
74
+ Validates a Tech Spec (argument: `[techspec-file]`, default `project-management/tech-spec.md`). Threshold: **90%**.
75
+
76
+ | Criterion | Weight | Required | Description |
77
+ |-----------|--------|----------|-------------|
78
+ | Architecture Overview | 12% | Yes | System design description |
79
+ | Architecture Diagram | 10% | Yes | Visual representation (mermaid, PNG, SVG) |
80
+ | Components | 12% | Yes | Module/service definitions |
81
+ | Data Model | 10% | Yes | Database/entity design |
82
+ | API Contracts | 10% | Yes | Endpoint specifications with schemas |
83
+ | Security | 12% | Yes | Auth and security measures |
84
+ | Performance | 8% | No | Performance requirements |
85
+ | Error Handling | 8% | No | Error strategy |
86
+ | Testing Strategy | 10% | Yes | Test approach |
87
+ | Deployment | 8% | No | CI/CD and release |
88
+
89
+ **Process**: locate and load the file; check sections and keywords, verify that diagrams exist and that the technical depth is sufficient; score; report.
90
+
91
+ ```
92
+ Tech Spec Quality Gate Validation
93
+ File: project-management/tech-spec.md Threshold: 90%
94
+ ❌ Architecture Diagram (10%) Missing: no diagram found (mermaid, PNG, SVG)
95
+ ⚠️ API Contracts (10%) Partial: endpoints listed but no schemas
96
+ Score: 68/100 (68%)
97
+ ❌ TECH SPEC GATE FAILED (need 90%, got 68%)
98
+ ```
99
+
100
+ Required actions give a template per gap: a mermaid diagram skeleton, the security strategy (authentication method, authorization model, encryption), request/response schemas with error formats and versioning, CI/CD stages with promotion and rollback. For significant decisions suggest an ADR: `/common:architecture-decision "JWT vs Session-based authentication"`. On pass: next step `/workflow:plan --only=backlog`, then `/gate:check backlog`.
101
+
102
+ ## backlog
103
+
104
+ Validates stories against INVEST (arguments: `[story-id] [--no-gate]`). Default: all stories. `--no-gate` runs the simple INVEST check only (no thresholds, no pass/fail verdict), useful during refinement. Threshold: **6/6 for each story**.
105
+
106
+ | Letter | Criterion | Check |
107
+ |--------|-----------|-------|
108
+ | **I** | Independent | `blocked_by` is empty |
109
+ | **N** | Negotiable | Has a description of reasonable length, not over-specified (task count) |
110
+ | **V** | Valuable | Has acceptance criteria and a benefit statement |
111
+ | **E** | Estimable | Story points > 0 |
112
+ | **S** | Small | Story points ≤ 8 |
113
+ | **T** | Testable | Acceptance criteria count > 0 (Gherkin) |
114
+
115
+ **Process**: read `.bmad/sprint-status.yaml` and load the requested story or all stories; evaluate the 6 criteria per story (0-6); report per story and in aggregate (passing 6/6, warnings 4-5/6, failing < 4/6). A criterion that cannot be evaluated (e.g. S without points) is shown with `?`.
116
+
117
+ ```
118
+ ✅ US-001: User login Score: 6/6 ✅
119
+ ⚠️ US-002: User registration [E] ✗ Estimable - No story points Score: 4/6 ⚠️
120
+ ❌ US-003: Rewrite of auth [I] ✗ blocked by US-001, US-002 [S] ✗ 13 > 8 points Score: 3/6 ❌
121
+ Summary: validated 8 | passing 6 | warnings 1 | failing 1
122
+ ❌ BACKLOG GATE FAILED
123
+ ```
124
+
125
+ Fixing common issues: story too large (S) → `/project:backlog edit story US-003` to reduce the scope and `/project:backlog add story` for the remainder; missing points (E) → `/project:backlog edit story US-002 --points 3`; missing acceptance criteria (V, T) → `/project:backlog edit story US-002 "Given... When... Then..."`. On pass: next `/gate:check sprint`.
126
+
127
+ ## sprint
128
+
129
+ Validates the sprint readiness (arguments: `[N] [--verbose]`). `N` is the sprint number and accepts `1`, `001` or `sprint-001`; default: `metadata.sprint_id` of `.bmad/sprint-status.yaml`, otherwise the most recent `project-management/sprints/sprint-*/` folder. `--verbose` shows the detailed story breakdown. Threshold: **all required criteria**.
130
+
131
+ | Criterion | Weight | Required | Description |
132
+ |-----------|--------|----------|-------------|
133
+ | Sprint Metadata | 20% | Yes | ID, name, dates defined |
134
+ | Sprint Goal | 15% | Yes | Clear goal statement (min 10 chars) |
135
+ | Stories Ready | 25% | Yes | At least 1 story in `ready-for-dev` (recommended: 3) |
136
+ | Stories Estimated | 20% | Yes | All stories have points |
137
+ | Capacity Check | 10% | No | Ready points ≤ `metadata.capacity_points` + 20% (skipped if undefined) |
138
+ | Dependencies Resolved | 10% | No | No blocked story in ready status |
139
+
140
+ **Process**
141
+ 1. Load the sprint status, in this order:
142
+ 1. `.bmad/sprint-status.yaml` if it exists and its `metadata.sprint_id` matches sprint `N`: extract the metadata and count stories by status.
143
+ 2. Otherwise, markdown fallback from `project-management/sprints/sprint-{N}-*/` (written by `/workflow:start`): metadata, goal and capacity from `sprint-goal.md` (start, end, capacity, goal); stories from the selected US table of `sprint-goal.md` and the `project-management/backlog/user-stories/US-*.md` files (points, status), a planned story not yet started counting as `ready-for-dev`; blocking dependencies from `sprint-dependencies.md`.
144
+ 3. Neither found: fail with "No sprint {N}: run `/workflow:start {N}`".
145
+ 2. Validate the metadata fields `sprint_id`, `name`, `start_date`, `end_date`, `goal`.
146
+ 3. Validate the stories (ready, estimated, none blocked) and the optional capacity.
147
+ 4. Report, starting with the source used: `Source: .bmad/sprint-status.yaml` or `Source: markdown (project-management/sprints/sprint-{N}-*/)`.
148
+
149
+ In fallback mode the gate is still evaluated, but the report adds a non-blocking warning: the `/sprint:*` commands need `.bmad/sprint-status.yaml`, run `/workflow:start {N}`, or `/project:migrate` to create `.bmad/sprint-status.yaml` from an existing backlog.
150
+
151
+ ```
152
+ Sprint Ready Gate Validation
153
+ Sprint: sprint-3 - User Management Period: 2026-01-29 → 2026-02-12 (14 days)
154
+ ✅ Sprint Metadata (20%) ✅ Sprint Goal (15%) ✅ Stories Ready (25%): 5 stories, 21 points
155
+ ✅ Stories Estimated (20%) ✅ Capacity Check (10%): 21/25 = 84% ✅ Dependencies Resolved (10%)
156
+ Score: 100/100 — ✅ SPRINT READY GATE PASSED
157
+ Commands: /workflow:start (start the sprint), /project:backlog next story (pick the first story)
158
+ ```
159
+
160
+ On failure, the required actions show the `metadata` block to add to `.bmad/sprint-status.yaml`:
161
+
162
+ ```yaml
163
+ metadata:
164
+ sprint_id: "sprint-3"
165
+ name: "User Management"
166
+ start_date: "2026-01-29"
167
+ end_date: "2026-02-12"
168
+ goal: "Implement core user management features"
169
+ capacity_points: 25 # Optional: team capacity
170
+ ```
171
+
172
+ then the missing estimates (`/project:backlog edit story US-010 --points 5`) and the blocked ready stories (remove from sprint, unblock the dependency, or re-order).
173
+
174
+ ## story
175
+
176
+ Validates a story against the Definition of Done (argument: `<story-id>`, required, e.g. `US-005`). Threshold: **100% (all required criteria)**.
177
+
178
+ | Criterion | Weight | Required | Check |
179
+ |-----------|--------|----------|-------|
180
+ | Tasks Complete | 20% | Yes | `tasks.completed == tasks.total` |
181
+ | Tests Passing | 20% | Yes | `tdd_phase in ['green', 'refactor', 'done']` |
182
+ | AC Validated | 20% | Yes | `acceptance_criteria.validated == acceptance_criteria.total` |
183
+ | Code Reviewed | 15% | Yes | `status == 'review'` or `review.approved == true` (PR approved) |
184
+ | No Blockers | 10% | Yes | `blocked_reason == null` |
185
+ | Documentation | 10% | No | Docs updated if needed |
186
+ | Security Review | 5% | No | Security implications checked |
187
+
188
+ **Process**: read `.bmad/sprint-status.yaml`, find the story by ID and load its fields; check each criterion; list the tasks and ACs with their state; report.
189
+
190
+ ```
191
+ Story DoD Gate: US-005 — Email verification Status: in-progress
192
+ ❌ Tasks Complete (20%) 2/4 done ✓ TASK-021 ✓ TASK-022 □ TASK-023 (in-progress) □ TASK-024 (pending)
193
+ ❌ Tests Passing (20%) TDD Phase: red
194
+ ⚠️ Acceptance Criteria 1/3 validated
195
+ ❌ Code Reviewed (15%) No PR created yet
196
+ Score: 25/100 — ❌ STORY DoD GATE FAILED. Resume work: /workflow:implement US-005
197
+ ```
198
+
199
+ On pass: the story can move to `done` with `/project:backlog move story US-005 done`. The gate is also checked by the Stop hook (`quality-gate.sh`) and before `/project:backlog move story <id> done`.
200
+
201
+ | TDD phase | Meaning | Next step |
202
+ |-----------|---------|-----------|
203
+ | red | Tests failing | Implement code |
204
+ | green | Tests passing | Refactor |
205
+ | refactor | Cleaning up | Complete or next task |
206
+ | done | Cycle complete | Move to review |
207
+
208
+ ## alignment
209
+
210
+ Validates that the implementation matches the specifications, i.e. no spec drift (argument: `[story-id]`, default: all stories of the current sprint). Threshold: **85%**.
211
+
212
+ | Criterion | Weight | Required | Description |
213
+ |-----------|--------|----------|-------------|
214
+ | Requirement coverage | 20% | Yes | All FR-xxx of the PRD are covered by stories |
215
+ | Story-code mapping | 20% | Yes | All stories have corresponding code references |
216
+ | AC-test mapping | 20% | Yes | All acceptance criteria have tests |
217
+ | Tech spec adherence | 15% | Yes | Implementation follows the tech spec design |
218
+ | Constitution compliance | 15% | Yes | Code respects the project constitution |
219
+ | Scope drift detection | 10% | No | No unreferenced code changes |
220
+
221
+ **Process**
222
+ 1. Load the PRD (FR-xxx IDs), the stories (`Implements:` references), the tech spec and, if present, `project-management/constitution.md`.
223
+ 2. Trace forward (spec → code): for each FR-xxx find the stories that implement it, for each story the code files tagged `// Story: US-xxx`, for each AC the matching test.
224
+ 3. Trace backward (code → spec): verify that each story reference exists in the backlog and belongs to the right sprint; flag code changes without story reference (scope drift).
225
+ 4. Validate the constitution: technical constraints, design principles, NFR targets.
226
+ 5. Score and report.
227
+
228
+ ```
229
+ SPEC-CODE ALIGNMENT GATE ❌ Story: US-012 | Score: 65%
230
+ ✅ Requirement coverage 3/3 FR-xxx covered
231
+ ❌ Story-code mapping 2 files missing references
232
+ ❌ AC-test mapping AC-2 has no test
233
+ ⚠️ Scope drift 3 unreferenced files
234
+ Actions: 1. Add // Story: US-012 to ProfileService.ts 2. Write test for AC-2 → Fix issues before merging
235
+ ```
236
+
237
+ Related: `/project:trace` (traceability matrix), `/project:trace --gaps` (requirement coverage).
238
+
239
+ ## commit
240
+
241
+ Verifies the code before a commit (flags: `--fix` fixes the fixable issues, `--staged` checks only staged files).
242
+
243
+ 1. **Identify the modified files**: `git diff --cached --name-only` (staged) and `git diff --name-only` (unstaged).
244
+ 2. **Detect the technology** by extension: `.php` → php-cs-fixer, phpstan; `.dart` → dart format, dart analyze; `.py` → ruff, mypy; `.ts/.tsx/.js/.jsx` → eslint, prettier (+ `tsc --noEmit`).
245
+ 3. **Run the checks in Docker**: PHP (`docker compose exec php vendor/bin/php-cs-fixer fix --dry-run --diff`, `vendor/bin/phpstan analyse`, `lint:twig`, `lint:container`), Dart (`dart format --set-exit-if-changed`, `dart analyze`, `flutter test --coverage`), Python (`ruff check`, `ruff format --check`, `mypy`), JS/TS (`npx eslint`, `npx prettier --check`, `npx tsc --noEmit`).
246
+ 4. **Global checks**: secret patterns (`password|secret|api_key|token` assignments, `sk_live_`, `pk_live_`, `ghp_`, `gho_`, `AKIA`), forbidden staged files (`.env`, `.pem`, `.key`, `.p12`), source files larger than 1 MB.
247
+ 5. **Report**: successful checks, issues (`file:line`, tool, message), summary table (formatting, linting, types, secrets), required actions and `Commit authorized: ✅ YES / ❌ NO`.
248
+ 6. **`--fix`**: run the fixers instead of the dry-run checks (`php-cs-fixer fix`, `dart format`, `ruff check --fix` + `ruff format`, `eslint --fix` + `prettier --write`).
249
+
250
+ | Blocking (commit forbidden) | Non-blocking (warning) |
251
+ |-----------------------------|------------------------|
252
+ | Syntax errors, PHPStan/mypy/tsc errors, secrets detected, `.env` files, private keys/certificates | Formatting issues, ESLint warnings, decreased test coverage, TODO/FIXME added |
253
+
254
+ To automate it, call it from a pre-commit hook: `claude-code "/gate:check commit --staged"`.
255
+
256
+ ## merge
257
+
258
+ Verifies a branch before merging (arguments: `[source] [target]`; source default: current branch, target default: `main` or `master`). Example: `/gate:check merge feature/auth main`.
259
+
260
+ 1. **Analyze the diff**: commits to merge (`git log target..source --oneline`), modified files (`--stat`), lines added/removed (`--shortstat`).
261
+ 2. **Quality checks** (in Docker): the complete test suite with coverage (phpunit, `flutter test --coverage`, `pytest --cov`, `npm run test -- --coverage`); complete static analysis (`phpstan analyse -l max`, `dart analyze --fatal-infos`, `mypy --strict .`, `tsc --noEmit`); dependency audit (`composer audit`, `pip-audit`, `npm audit`, `dart pub outdated`).
262
+ 3. **Specific checks**: DB migrations (`doctrine:migrations:diff`, `doctrine:schema:validate`, reversibility), API breaking changes (diff of `openapi.yaml` / `docs/api/`), configuration changes (`config/`, `.env.example`, `docker-compose*.yml`).
263
+ 4. **Commit analysis**: every message follows Conventional Commits `type(scope): description`, otherwise warn.
264
+ 5. **Coverage**: compare before/after; coverage must not decrease.
265
+ 6. **Spec checks**: run the `pre-merge` checkpoint (see `## --phase`).
266
+ 7. **Report**: statistics, tests table (suite, passed, failed, skipped, coverage delta), static analysis table, security (audit, secrets, sensitive files), migrations, attention points ranked HIGH/MEDIUM/LOW/INFO, final checklist (code review approved and staging tests are manual items) and `Merge authorized: ✅ YES / ❌ NO`.
267
+
268
+ | Blocking (merge forbidden) | Non-blocking (warning) |
269
+ |----------------------------|------------------------|
270
+ | Failing tests, coverage drop > 2%, static analysis errors, critical/high vulnerabilities, secrets in code, non-reversible migrations | Static analysis warnings, TODO/FIXME added, low/medium vulnerabilities, coverage drop < 2% |
271
+
272
+ ## release
273
+
274
+ Guides the team through a release (arguments: `<version> [patch|minor|major]`, e.g. `1.2.0 minor` or `2.0.0-beta.1`). Example: `/gate:check release 1.2.0 minor`.
275
+
276
+ 1. **Pre-release validation**: correct branch (`main`/`master` or `release/*`), no uncommitted changes, all tests pass; `CHANGELOG.md` up to date (changes since the last tag with `git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"- %s"`); version files updated (`composer.json`, `pyproject.toml`/`__version__.py`, `package.json`, `pubspec.yaml`, `Info.plist`, `build.gradle`).
277
+ 2. **Exhaustive tests**: unit, integration, E2E, performance, security.
278
+ 3. **Documentation**: README, generated API docs, migration guide if there are breaking changes.
279
+ 4. **Generate the interactive checklist** `RELEASE CHECKLIST - v{VERSION}` (type, date, branch) with the sections below, each item a `- [ ]` box:
280
+ - **Pre-release**: code quality (tests pass, coverage ≥ 80%, no static analysis errors, all PRs reviewed, no blocking TODO/FIXME), security (no critical CVEs, no secrets, OWASP tests, valid SSL certificates), documentation (CHANGELOG, README, API docs, migration guide, release notes), versioning (version incremented, tags prepared, release branches).
281
+ - **Build & package**: backend (production build, assets, migrations, environment variables documented), frontend (bundle optimized, CDN, service worker, sourcemaps not deployed), mobile if applicable (iOS/Android builds signed, store screenshots and metadata).
282
+ - **Staging validation**: deployment, migrations, smoke tests, regression tests, performance, monitoring, rollback tested.
283
+ - **Production deployment**: pre-deploy (maintenance mode, database backup, support communication, deployment window), deploy (launch, migrations, health checks), post-deploy (smoke tests, monitoring, performance, git tag pushed, GitHub/GitLab release).
284
+ - **Communication**: release notes, support, clients, public documentation, announcement.
285
+ - **Rollback plan**: identify the problem (logs, alerts), decision threshold (e.g. > 5% 5xx for 5 min) and decision maker, rollback command, DB rollback (migrations down), communication (team, incident, post-mortem).
286
+ - **Final validation**: all boxes checked, validated by, release date/time, notes.
287
+
288
+ Useful commands: `git tag -a v{VERSION} -m "Release v{VERSION}"` + `git push origin v{VERSION}`; `gh release create v{VERSION} --title "v{VERSION}" --notes-file RELEASE_NOTES.md`; `git-cliff --unreleased --tag v{VERSION} > CHANGELOG.md`.
289
+
290
+ | SemVer type | When | Example |
291
+ |-------------|------|---------|
292
+ | MAJOR | Breaking changes | 1.0.0 → 2.0.0 |
293
+ | MINOR | New feature | 1.0.0 → 1.1.0 |
294
+ | PATCH | Bug fix | 1.0.0 → 1.0.1 |
295
+
296
+ ## all
297
+
298
+ Aggregated report of the document gates (argument: `[--detailed]`, which includes the validation details of each gate).
299
+
300
+ 1. **Identify the applicable gates**: PRD gate if `project-management/prd.md` exists, Tech Spec gate if `project-management/tech-spec.md` exists, Backlog gate if stories exist in `.bmad/sprint-status.yaml`, Sprint Ready gate if the sprint metadata exists, Story gates for each `in-progress` / `review` story.
301
+ 2. **Run each applicable gate** (`prd`, `spec`, `backlog`, `sprint`, then `story` per story) and collect the scores.
302
+ 3. **Aggregate** into the summary, then **recommend** prioritized actions based on the failures.
303
+
304
+ ```
305
+ BMAD Quality Gates Report Project: claude-craft Sprint: sprint-3 - User Management
306
+ | Gate | Threshold | Score | Status |
307
+ | PRD | 80% | 90% | ✅ PASS |
308
+ | Tech Spec | 90% | 92% | ✅ PASS |
309
+ | Backlog | 6/6 | 5.8/6 avg | ⚠️ WARN |
310
+ | Sprint Ready | 100% | 100% | ✅ PASS |
311
+ | Story DoD | 100% | varies | 📊 |
312
+ Story DoD Status: US-010 in-progress 45% ⏳ | US-012 review 85% ⚠️ | US-013 done 100% ✅
313
+ Overall Health: 🟢 Good — 4/5 gates passing, 8/10 stories on track
314
+ Recommendations: 1. ⚠️ US-002 missing story points → /project:backlog edit story US-002 --points 3
315
+ ```
316
+
317
+ The `--detailed` report adds, per gate, the file, threshold, score, status and every criterion, the stories with issues (backlog), the DoD breakdown of each story, and the action items by priority (1 blocking, 2 should fix, 3 nice to have). The report can be generated on demand, included in the sprint retrospective, used for project health monitoring or exported for stakeholders. The code gates (`commit`, `merge`, `release`) and `alignment` are not part of it: run them separately.
318
+
319
+ ## --phase
320
+
321
+ Runs automated checkpoints at the critical phases of the lifecycle to ensure the specs are coherent, complete and aligned with the implementation.
322
+
323
+ **Prerequisites**: `project-management/prd.md` with FR-xxx IDs, `project-management/backlog/` with user stories, `.bmad/sprint-status.yaml` for the sprint context; optional `project-management/constitution.md`.
324
+
325
+ **Plan mode is mandatory**: before executing, analyze the impacted code, propose a plan and wait for validation before any change.
326
+
327
+ | Phase | When | Target |
328
+ |-------|------|--------|
329
+ | `pre-sprint` | Before starting a sprint (after `/workflow:start`) | sprint |
330
+ | `pre-impl` | Before coding a story (after `/project:backlog next story --claim`) | story |
331
+ | `post-impl` | After completing a story (before `/project:backlog move story US-xxx review`) | story |
332
+ | `pre-merge` | Before merging to main (called by `merge`) | story or sprint |
333
+
334
+ **pre-sprint**: load the stories assigned to the sprint.
335
+
336
+ | Check | Required |
337
+ |-------|----------|
338
+ | Story AC completeness: every story has Gherkin AC | Yes |
339
+ | Story estimation: all stories have points | Yes |
340
+ | PRD traceability: `Implements:` references valid FR-xxx IDs | Yes |
341
+ | Task decomposition: at least 1 task per story | Yes |
342
+ | Dependency check: no circular or unresolved `Depends on:` | Yes |
343
+ | Constitution alignment: no contradictions | No |
344
+
345
+ **pre-impl**: load the story and its tech spec sections (`Tech Spec:` reference).
346
+
347
+ | Check | Required |
348
+ |-------|----------|
349
+ | Tech spec coverage: every FR-xxx of the story is covered | Yes |
350
+ | AC testability: each AC has a GIVEN/WHEN/THEN structure | Yes |
351
+ | Dependencies resolved: all `Depends on` stories are `done` | Yes |
352
+ | Task clarity: tasks have clear descriptions | Yes |
353
+ | NFR alignment: respects the NFRs of the constitution | No |
354
+
355
+ **post-impl**: load the story and its tasks.
356
+
357
+ | Check | Required |
358
+ |-------|----------|
359
+ | Code traceability: code files reference `// Story: US-xxx` (or `# Story: US-xxx`) | Yes |
360
+ | Test coverage: tests exist for each AC | Yes |
361
+ | All tasks done | Yes |
362
+ | TDD phase: `refactor` or `done` | Yes |
363
+ | No regressions: the test suite still passes | Yes |
364
+ | Spec drift: implemented scope matches the spec (no scope creep) | No |
365
+
366
+ **pre-merge**: run all the previous checkpoints, then:
367
+
368
+ | Check | Required |
369
+ |-------|----------|
370
+ | AC validation: all acceptance criteria validated | Yes |
371
+ | Code review done | Yes |
372
+ | Test suite green (full suite) | Yes |
373
+ | Constitution respect | Yes |
374
+ | Traceability complete: FR → US → Code → Test, using `/project:trace` | Yes |
375
+ | Documentation updated | No |
376
+
377
+ ```
378
+ CHECKPOINT FAILED ❌ Phase: pre-impl Story: US-012 Score: 60% (3/5 checks passed)
379
+ ✅ AC testability 3/3 ✅ Dependencies resolved ✅ Task clarity 4/4
380
+ ❌ Tech spec coverage Missing FR-003 mapping ❌ NFR alignment Perf target undefined
381
+ Actions required: 1. Add FR-003 coverage to tech spec section 3.2 2. Define performance targets
382
+ → Fix issues before proceeding
383
+ ```
384
+
385
+ Example: `/gate:check --phase=pre-sprint Sprint-3` → "Score: 83% (5/6 passed) — WARNING: US-015 has no tasks yet". Integration: `/workflow:start` triggers `pre-sprint`, `/project:backlog next story` suggests `pre-impl`, `/project:backlog move story` triggers `post-impl`, and `merge` triggers `pre-merge`.
386
+
387
+ ## Related Commands
388
+
389
+ - `/project:trace` — traceability matrix and requirement coverage (`--gaps`)
390
+ - `/workflow:design`, `/workflow:plan --only=backlog` — produce the artifacts the gates validate
391
+ - `/workflow:start` — start the sprint (includes the pre-sprint checkpoint)
392
+ - `/project:backlog move story` — move a story to the next status