@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,216 +1,9 @@
1
1
  ---
2
- description: Génération Résumé Daily Stand-up
3
- argument-hint: [arguments]
2
+ description: "Obsolète (retirée en 9.0) : utilisez /workflow:status --standup"
3
+ deprecated: true
4
+ replaced-by: /workflow:status
4
5
  ---
5
6
 
6
- # Génération Résumé Daily Stand-up
7
+ > ⚠️ `/common:daily-standup` est obsolète et sera retirée en 9.0. Utilisez `/workflow:status --standup`.
7
8
 
8
- Tu es un assistant Scrum. Tu dois générer un résumé des activités de développement pour faciliter le daily stand-up.
9
-
10
- ## Arguments
11
- $ARGUMENTS
12
-
13
- Arguments :
14
- - (Optionnel) Période (défaut: depuis hier)
15
-
16
- Exemple : `/common:daily-standup` ou `/common:daily-standup "2024-01-15"`
17
-
18
- ## MISSION
19
-
20
- ### Étape 1 : Collecter les Données
21
-
22
- ```bash
23
- # Commits depuis hier
24
- git log --since="yesterday" --oneline --all
25
-
26
- # Branches actives
27
- git branch -a --sort=-committerdate | head -10
28
-
29
- # PRs ouvertes
30
- gh pr list --state open
31
-
32
- # Issues en cours
33
- gh issue list --assignee @me --state open
34
-
35
- # Fichiers modifiés localement
36
- git status --short
37
- ```
38
-
39
- ### Étape 2 : Générer le Résumé
40
-
41
- ```
42
- ══════════════════════════════════════════════════════════════
43
- 📅 DAILY STAND-UP - {YYYY-MM-DD}
44
- ══════════════════════════════════════════════════════════════
45
-
46
- ──────────────────────────────────────────────────────────────
47
- 📊 RÉSUMÉ SPRINT
48
- ──────────────────────────────────────────────────────────────
49
-
50
- Sprint : {N}
51
- Jour : {X}/10
52
- Points restants : {Y}
53
- Burndown : 📉 On track / 📈 En avance / 📊 En retard
54
-
55
- ──────────────────────────────────────────────────────────────
56
- ✅ CE QUI A ÉTÉ FAIT (HIER)
57
- ──────────────────────────────────────────────────────────────
58
-
59
- ### Commits
60
- - {hash} {message} (@author)
61
- - {hash} {message} (@author)
62
-
63
- ### PRs Mergées
64
- - PR #123: {title} (@author)
65
-
66
- ### Issues Fermées
67
- - Issue #456: {title}
68
-
69
- ──────────────────────────────────────────────────────────────
70
- 🎯 CE QUI EST PRÉVU (AUJOURD'HUI)
71
- ──────────────────────────────────────────────────────────────
72
-
73
- ### En cours
74
- | Branche | Issue | Assigné | Status |
75
- |---------|-------|---------|--------|
76
- | feature/auth | #45 | @dev1 | 🟡 70% |
77
- | fix/login | #48 | @dev2 | 🟢 90% |
78
-
79
- ### À commencer
80
- - Issue #50: {title} (non assignée)
81
-
82
- ──────────────────────────────────────────────────────────────
83
- 🚧 BLOQUEURS / RISQUES
84
- ──────────────────────────────────────────────────────────────
85
-
86
- | Bloqueur | Impact | Action requise |
87
- |----------|--------|----------------|
88
- | API externe down | PR #123 bloquée | Contacter support |
89
- | Review en attente | PR #125 depuis 2j | @dev3 dispo ? |
90
-
91
- ──────────────────────────────────────────────────────────────
92
- 📈 PULL REQUESTS ACTIVES
93
- ──────────────────────────────────────────────────────────────
94
-
95
- | PR | Titre | Auteur | Age | Reviews |
96
- |----|-------|--------|-----|---------|
97
- | #125 | Add OAuth login | @dev1 | 2j | 1/2 ✅ |
98
- | #127 | Fix user profile | @dev2 | 1j | 0/2 ⏳ |
99
- | #128 | Update deps | @bot | 3j | 0/1 ⏳ |
100
-
101
- ──────────────────────────────────────────────────────────────
102
- 💡 NOTES / RAPPELS
103
- ──────────────────────────────────────────────────────────────
104
-
105
- - 🗓️ Backlog refinement demain 14h
106
- - ⚠️ Deadline feature X : vendredi
107
- - 📣 Sprint Review : {date}
108
- ```
109
-
110
- ### Étape 3 : Format Court (pour Slack/Teams)
111
-
112
- ```markdown
113
- **📅 Daily - {YYYY-MM-DD}**
114
-
115
- **Hier :**
116
- • PR #123 mergée (OAuth Google)
117
- • 5 commits sur feature/auth
118
-
119
- **Aujourd'hui :**
120
- • Finir PR #125 (OAuth GitHub)
121
- • Commencer Issue #50 (Reset password)
122
-
123
- **Bloqueurs :**
124
- • ⚠️ Review en attente PR #125 (@dev3)
125
-
126
- **PRs à review :**
127
- • PR #127 - Fix user profile (0/2)
128
- ```
129
-
130
- ### Étape 4 : Métriques Équipe
131
-
132
- ```
133
- ══════════════════════════════════════════════════════════════
134
- 👥 ACTIVITÉ ÉQUIPE (7 derniers jours)
135
- ══════════════════════════════════════════════════════════════
136
-
137
- | Membre | Commits | PRs | Reviews | Issues |
138
- |--------|---------|-----|---------|--------|
139
- | @dev1 | 12 | 3 | 5 | 4 |
140
- | @dev2 | 8 | 2 | 3 | 3 |
141
- | @dev3 | 15 | 4 | 8 | 5 |
142
-
143
- ──────────────────────────────────────────────────────────────
144
- 📊 VÉLOCITÉ ACTUELLE
145
- ──────────────────────────────────────────────────────────────
146
-
147
- | Jour | Points livrés | Cumulé | Idéal |
148
- |------|---------------|--------|-------|
149
- | J1 | 3 | 3 | 2.1 |
150
- | J2 | 5 | 8 | 4.2 |
151
- | J3 | 2 | 10 | 6.3 |
152
- | J4 | 0 | 10 | 8.4 |
153
- | J5 | ... | ... | 10.5 |
154
-
155
- Status : 📈 En avance de 1.6 points
156
- ```
157
-
158
- ## Conseils Daily Stand-up
159
-
160
- ### Les 3 Questions Classiques
161
- 1. Qu'ai-je fait hier ?
162
- 2. Que vais-je faire aujourd'hui ?
163
- 3. Y a-t-il des obstacles ?
164
-
165
- ### Bonnes Pratiques
166
- - **15 minutes max** pour toute l'équipe
167
- - **Debout** (encourage la brièveté)
168
- - **Même heure** chaque jour
169
- - **Pas de résolution de problème** (parking lot)
170
- - **Focus sur le Sprint Goal**
171
-
172
- ### Anti-Patterns à Éviter
173
- - ❌ Rapport au Scrum Master (parler à l'équipe)
174
- - ❌ Discussions techniques longues
175
- - ❌ Attendre son tour sans écouter
176
- - ❌ "J'ai travaillé sur X" (trop vague)
177
-
178
- ### Format Alternatif : Walk the Board
179
- 1. Partir de la colonne "Done"
180
- 2. Remonter vers "In Progress"
181
- 3. Puis "To Do"
182
- 4. Focus sur ce qui bloque l'avancement
183
-
184
- ## Automatisation
185
-
186
- ### GitHub Action pour Daily Digest
187
-
188
- ```yaml
189
- name: Daily Digest
190
- on:
191
- schedule:
192
- - cron: '0 7 * * 1-5' # 7h du lundi au vendredi
193
- workflow_dispatch:
194
-
195
- jobs:
196
- digest:
197
- runs-on: ubuntu-latest
198
- steps:
199
- - uses: actions/checkout@v4
200
-
201
- - name: Generate Digest
202
- run: |
203
- echo "# Daily Digest - $(date +%Y-%m-%d)" > digest.md
204
- echo "" >> digest.md
205
- echo "## Commits (24h)" >> digest.md
206
- git log --since="24 hours ago" --oneline >> digest.md
207
- echo "" >> digest.md
208
- echo "## Open PRs" >> digest.md
209
- gh pr list --state open --json number,title,author >> digest.md
210
-
211
- - name: Post to Slack
212
- uses: slackapi/slack-github-action@v1
213
- with:
214
- channel-id: 'daily-standup'
215
- payload-file-path: digest.md
216
- ```
9
+ Exécutez `/workflow:status --standup $ARGUMENTS` : lisez `.claude/commands/workflow/status.md` et suivez-le avec ces arguments.
@@ -95,8 +95,7 @@ Basé sur la stack détectée, recommander 3 commandes contextualisées qui appo
95
95
  - `/php:check-security` — Bonnes pratiques de sécurité
96
96
 
97
97
  **Inconnu/Multi-stack :**
98
- - `/common:audit-freshness` — Vérifier mises à jour de dépendances et sécurité
99
- - `/common:pre-commit-check` — Portes qualité avant commits
98
+ - `/gate:check commit` — Portes qualité avant commits
100
99
  - `/team:audit` — Audit projet complet (architecture, sécurité, performance)
101
100
 
102
101
  ### Format de Sortie
@@ -344,3 +343,5 @@ L'utilisateur devrait :
344
343
  - ✓ Se sentir confiant pour explorer davantage
345
344
 
346
345
  Time to First Value (TTFV) : **< 10 minutes total**
346
+
347
+ > Vous hésitez sur le chemin à suivre ? Consultez la page de décision : https://github.com/TheBeardedBearSAS/claude-craft/blob/main/docs/guides/fr/11-which-path.md
@@ -1,205 +1,9 @@
1
1
  ---
2
- description: Vérification Pre-Commit
3
- argument-hint: [arguments]
2
+ description: "Obsolète (retirée en 9.0) : utilisez /gate:check commit"
3
+ deprecated: true
4
+ replaced-by: /gate:check
4
5
  ---
5
6
 
6
- # Vérification Pre-Commit
7
+ > ⚠️ `/common:pre-commit-check` est obsolète et sera retirée en 9.0. Utilisez `/gate:check commit`.
7
8
 
8
- Tu es un assistant de qualité code. Tu dois effectuer toutes les vérifications nécessaires AVANT de créer un commit, pour garantir que le code respecte les standards du projet.
9
-
10
- ## Arguments
11
- $ARGUMENTS
12
-
13
- Options :
14
- - `--fix` : Corriger automatiquement les problèmes corrigeables
15
- - `--staged` : Vérifier uniquement les fichiers stagés
16
-
17
- ## MISSION
18
-
19
- ### Étape 1 : Identifier les Fichiers Modifiés
20
-
21
- ```bash
22
- # Fichiers stagés
23
- git diff --cached --name-only
24
-
25
- # Fichiers modifiés (non stagés)
26
- git diff --name-only
27
- ```
28
-
29
- ### Étape 2 : Détecter la Technologie par Fichier
30
-
31
- | Extension | Technologie | Outils |
32
- |-----------|-------------|--------|
33
- | `.php` | PHP/Symfony | php-cs-fixer, phpstan |
34
- | `.dart` | Flutter | dart format, dart analyze |
35
- | `.py` | Python | ruff, mypy |
36
- | `.ts`, `.tsx` | React/RN | eslint, prettier |
37
- | `.js`, `.jsx` | React/RN | eslint, prettier |
38
-
39
- ### Étape 3 : Exécuter les Vérifications
40
-
41
- #### Pour les fichiers PHP
42
- ```bash
43
- # Formatage
44
- docker compose exec php vendor/bin/php-cs-fixer fix --dry-run --diff [fichiers]
45
-
46
- # Analyse statique
47
- docker compose exec php vendor/bin/phpstan analyse [fichiers]
48
-
49
- # Syntaxe Twig (si modifiés)
50
- docker compose exec php php bin/console lint:twig templates/
51
-
52
- # Container Symfony
53
- docker compose exec php php bin/console lint:container
54
- ```
55
-
56
- #### Pour les fichiers Dart/Flutter
57
- ```bash
58
- # Formatage
59
- docker run --rm -v $(pwd):/app -w /app dart dart format --set-exit-if-changed [fichiers]
60
-
61
- # Analyse
62
- docker run --rm -v $(pwd):/app -w /app dart dart analyze [fichiers]
63
-
64
- # Tests affectés
65
- docker run --rm -v $(pwd):/app -w /app dart flutter test --coverage
66
- ```
67
-
68
- #### Pour les fichiers Python
69
- ```bash
70
- # Linting + formatage
71
- docker compose exec app ruff check [fichiers]
72
- docker compose exec app ruff format --check [fichiers]
73
-
74
- # Types
75
- docker compose exec app mypy [fichiers]
76
- ```
77
-
78
- #### Pour les fichiers JS/TS
79
- ```bash
80
- # Linting
81
- docker compose exec node npx eslint [fichiers]
82
-
83
- # Formatage
84
- docker compose exec node npx prettier --check [fichiers]
85
-
86
- # Types (si TypeScript)
87
- docker compose exec node npx tsc --noEmit
88
- ```
89
-
90
- ### Étape 4 : Vérifications Globales
91
-
92
- #### Secrets
93
- ```bash
94
- # Rechercher des patterns de secrets
95
- grep -rE "(password|secret|api_key|token)\s*[:=]\s*['\"][^'\"]+['\"]" --include="*.{php,py,ts,js,dart}" .
96
- grep -rE "sk_live_|pk_live_|ghp_|gho_|AKIA" .
97
- ```
98
-
99
- #### Fichiers interdits
100
- ```bash
101
- # Vérifier qu'il n'y a pas de fichiers sensibles
102
- git diff --cached --name-only | grep -E "\.(env|pem|key|p12)$"
103
- ```
104
-
105
- #### Taille des fichiers
106
- ```bash
107
- # Fichiers > 1MB
108
- find . -type f -size +1M -name "*.{php,py,ts,js,dart}"
109
- ```
110
-
111
- ### Étape 5 : Générer le Rapport
112
-
113
- ```
114
- ══════════════════════════════════════════════════════════════
115
- 🔍 PRE-COMMIT CHECK
116
- ══════════════════════════════════════════════════════════════
117
-
118
- 📁 Fichiers vérifiés : X
119
- 📅 Date : YYYY-MM-DD HH:MM
120
-
121
- ──────────────────────────────────────────────────────────────
122
- ✅ VÉRIFICATIONS RÉUSSIES
123
- ──────────────────────────────────────────────────────────────
124
-
125
- ✅ Formatage PHP (php-cs-fixer)
126
- ✅ Analyse statique PHP (phpstan)
127
- ✅ Formatage TypeScript (prettier)
128
- ✅ Linting TypeScript (eslint)
129
- ✅ Pas de secrets détectés
130
-
131
- ──────────────────────────────────────────────────────────────
132
- ⚠️ PROBLÈMES DÉTECTÉS
133
- ──────────────────────────────────────────────────────────────
134
-
135
- ❌ [PHP] src/Controller/UserController.php:45
136
- PHPStan: Parameter $id of method __construct() has no type hint
137
-
138
- ⚠️ [TS] src/components/Button.tsx:12
139
- ESLint: 'unused' is defined but never used (no-unused-vars)
140
-
141
- ──────────────────────────────────────────────────────────────
142
- 📋 RÉSUMÉ
143
- ──────────────────────────────────────────────────────────────
144
-
145
- | Catégorie | Status |
146
- |-----------|--------|
147
- | Formatage | ✅ OK |
148
- | Linting | ⚠️ 1 warning |
149
- | Types | ❌ 1 erreur |
150
- | Secrets | ✅ OK |
151
-
152
- ──────────────────────────────────────────────────────────────
153
- 🎯 ACTIONS REQUISES
154
- ──────────────────────────────────────────────────────────────
155
-
156
- 1. Corriger l'erreur PHPStan dans UserController.php
157
- 2. (Optionnel) Corriger le warning ESLint
158
-
159
- Commit autorisé : ❌ NON (1 erreur bloquante)
160
- ```
161
-
162
- ### Option --fix
163
-
164
- Si `--fix` est passé en argument :
165
-
166
- ```bash
167
- # PHP
168
- docker compose exec php vendor/bin/php-cs-fixer fix [fichiers]
169
-
170
- # Dart
171
- docker run --rm -v $(pwd):/app -w /app dart dart format [fichiers]
172
-
173
- # Python
174
- docker compose exec app ruff check --fix [fichiers]
175
- docker compose exec app ruff format [fichiers]
176
-
177
- # JS/TS
178
- docker compose exec node npx eslint --fix [fichiers]
179
- docker compose exec node npx prettier --write [fichiers]
180
- ```
181
-
182
- ## Règles de Blocage
183
-
184
- ### Bloquant (commit interdit)
185
- - ❌ Erreurs de syntaxe
186
- - ❌ Erreurs PHPStan/mypy/tsc
187
- - ❌ Secrets détectés
188
- - ❌ Fichiers .env commités
189
- - ❌ Clés privées/certificats
190
-
191
- ### Non-bloquant (warning)
192
- - ⚠️ Problèmes de formatage
193
- - ⚠️ Warnings ESLint
194
- - ⚠️ Couverture de tests diminuée
195
- - ⚠️ TODO/FIXME ajoutés
196
-
197
- ## Conseil
198
-
199
- Pour automatiser, configurer un hook pre-commit :
200
-
201
- ```bash
202
- # .git/hooks/pre-commit
203
- #!/bin/sh
204
- claude-code "/common:pre-commit-check --staged"
205
- ```
9
+ Exécutez `/gate:check commit $ARGUMENTS` : lisez `.claude/commands/gate/check.md` et suivez-le avec ces arguments. Si ce fichier manque, réinstallez claude-craft avec la gestion de projet.
@@ -1,237 +1,9 @@
1
1
  ---
2
- description: Vérification Pre-Merge
3
- argument-hint: [arguments]
2
+ description: "Obsolète (retirée en 9.0) : utilisez /gate:check merge"
3
+ deprecated: true
4
+ replaced-by: /gate:check
4
5
  ---
5
6
 
6
- # Vérification Pre-Merge
7
+ > ⚠️ `/common:pre-merge-check` est obsolète et sera retirée en 9.0. Utilisez `/gate:check merge`.
7
8
 
8
- Tu es un assistant de qualité code. Tu dois effectuer toutes les vérifications nécessaires AVANT de merger une branche, pour garantir la qualité et éviter les régressions.
9
-
10
- ## Arguments
11
- $ARGUMENTS
12
-
13
- Arguments attendus :
14
- - Branche source (défaut: branche courante)
15
- - Branche cible (défaut: main ou master)
16
-
17
- Exemple : `/common:pre-merge-check feature/auth main`
18
-
19
- ## MISSION
20
-
21
- ### Étape 1 : Analyser le Diff
22
-
23
- ```bash
24
- # Identifier les branches
25
- SOURCE_BRANCH=$(git branch --show-current)
26
- TARGET_BRANCH=${2:-main}
27
-
28
- # Commits à merger
29
- git log $TARGET_BRANCH..$SOURCE_BRANCH --oneline
30
-
31
- # Fichiers modifiés
32
- git diff $TARGET_BRANCH...$SOURCE_BRANCH --stat
33
-
34
- # Lignes ajoutées/supprimées
35
- git diff $TARGET_BRANCH...$SOURCE_BRANCH --shortstat
36
- ```
37
-
38
- ### Étape 2 : Vérifications de Qualité
39
-
40
- #### 2.1 Tests Complets
41
- ```bash
42
- # Exécuter TOUS les tests
43
- # Symfony
44
- docker compose exec php vendor/bin/phpunit --coverage-text
45
-
46
- # Flutter
47
- docker run --rm -v $(pwd):/app -w /app dart flutter test --coverage
48
-
49
- # Python
50
- docker compose exec app pytest --cov --cov-report=term
51
-
52
- # React/RN
53
- docker compose exec node npm run test -- --coverage
54
- ```
55
-
56
- #### 2.2 Analyse Statique Complète
57
- ```bash
58
- # PHPStan (niveau max)
59
- docker compose exec php vendor/bin/phpstan analyse -l max
60
-
61
- # Dart Analyzer
62
- docker run --rm -v $(pwd):/app -w /app dart dart analyze --fatal-infos
63
-
64
- # Mypy (strict)
65
- docker compose exec app mypy --strict .
66
-
67
- # TypeScript
68
- docker compose exec node npx tsc --noEmit
69
- ```
70
-
71
- #### 2.3 Vérification Dépendances
72
- ```bash
73
- # Audit sécurité
74
- # PHP
75
- docker compose exec php composer audit
76
-
77
- # Python
78
- docker compose exec app pip-audit
79
-
80
- # Node
81
- docker compose exec node npm audit
82
-
83
- # Flutter
84
- docker run --rm -v $(pwd):/app -w /app dart dart pub outdated
85
- ```
86
-
87
- ### Étape 3 : Vérifications Spécifiques
88
-
89
- #### Migrations DB (si présentes)
90
- ```bash
91
- # Vérifier les migrations Doctrine
92
- git diff $TARGET_BRANCH...$SOURCE_BRANCH -- migrations/
93
-
94
- # Si migrations présentes
95
- docker compose exec php php bin/console doctrine:migrations:diff --no-interaction
96
- docker compose exec php php bin/console doctrine:schema:validate
97
- ```
98
-
99
- #### Breaking Changes API
100
- ```bash
101
- # Comparer les specs OpenAPI
102
- git diff $TARGET_BRANCH...$SOURCE_BRANCH -- openapi.yaml docs/api/
103
- ```
104
-
105
- #### Changements Configuration
106
- ```bash
107
- # Fichiers de config modifiés
108
- git diff $TARGET_BRANCH...$SOURCE_BRANCH -- config/ .env.example docker-compose*.yml
109
- ```
110
-
111
- ### Étape 4 : Analyse des Commits
112
-
113
- ```bash
114
- # Vérifier les messages de commit
115
- git log $TARGET_BRANCH..$SOURCE_BRANCH --pretty=format:"%s" | while read msg; do
116
- # Pattern conventionnel : type(scope): description
117
- if ! echo "$msg" | grep -qE "^(feat|fix|docs|style|refactor|test|chore)(\(.+\))?: .+"; then
118
- echo "⚠️ Message non conventionnel: $msg"
119
- fi
120
- done
121
- ```
122
-
123
- ### Étape 5 : Vérification Couverture
124
-
125
- ```bash
126
- # Comparer la couverture avant/après
127
- # La couverture ne doit pas diminuer
128
- ```
129
-
130
- ### Étape 6 : Générer le Rapport
131
-
132
- ```
133
- ══════════════════════════════════════════════════════════════
134
- 🔀 PRE-MERGE CHECK
135
- ══════════════════════════════════════════════════════════════
136
-
137
- 📌 Source : feature/user-auth
138
- 📌 Cible : main
139
- 📅 Date : YYYY-MM-DD HH:MM
140
-
141
- ──────────────────────────────────────────────────────────────
142
- 📊 STATISTIQUES
143
- ──────────────────────────────────────────────────────────────
144
-
145
- Commits : 12
146
- Fichiers modifiés : 45
147
- Lignes ajoutées : +1,234
148
- Lignes supprimées : -567
149
-
150
- ──────────────────────────────────────────────────────────────
151
- 🧪 TESTS
152
- ──────────────────────────────────────────────────────────────
153
-
154
- | Suite | Tests | Passés | Échoués | Skipped |
155
- |-------|-------|--------|---------|---------|
156
- | Unit | 234 | 234 | 0 | 0 |
157
- | Integ | 45 | 45 | 0 | 0 |
158
- | E2E | 12 | 12 | 0 | 0 |
159
-
160
- Couverture : 85.2% (précédent: 84.8%) ✅ +0.4%
161
-
162
- ──────────────────────────────────────────────────────────────
163
- 🔍 ANALYSE STATIQUE
164
- ──────────────────────────────────────────────────────────────
165
-
166
- | Outil | Erreurs | Warnings | Status |
167
- |-------|---------|----------|--------|
168
- | PHPStan | 0 | 2 | ✅ |
169
- | ESLint | 0 | 5 | ⚠️ |
170
- | Mypy | 0 | 0 | ✅ |
171
-
172
- ──────────────────────────────────────────────────────────────
173
- 🔒 SÉCURITÉ
174
- ──────────────────────────────────────────────────────────────
175
-
176
- Audit dépendances : ✅ Pas de vulnérabilité
177
- Secrets détectés : ✅ Aucun
178
- Fichiers sensibles : ✅ Aucun
179
-
180
- ──────────────────────────────────────────────────────────────
181
- 📦 MIGRATIONS
182
- ──────────────────────────────────────────────────────────────
183
-
184
- Nouvelles migrations : 2
185
- - Version20240115_AddUserRoles.php
186
- - Version20240116_CreateAuditLog.php
187
-
188
- Schema validation : ✅ OK
189
- Rollback possible : ✅ Oui
190
-
191
- ──────────────────────────────────────────────────────────────
192
- ⚠️ POINTS D'ATTENTION
193
- ──────────────────────────────────────────────────────────────
194
-
195
- 1. [MEDIUM] 5 warnings ESLint à corriger
196
- 2. [LOW] 2 TODO ajoutés dans le code
197
- 3. [INFO] 2 nouvelles migrations - vérifier en staging d'abord
198
-
199
- ──────────────────────────────────────────────────────────────
200
- 📋 CHECKLIST FINALE
201
- ──────────────────────────────────────────────────────────────
202
-
203
- - [x] Tous les tests passent
204
- - [x] Couverture maintenue ou améliorée
205
- - [x] Pas d'erreurs d'analyse statique
206
- - [x] Pas de vulnérabilités de sécurité
207
- - [x] Pas de secrets commités
208
- - [ ] Code review approuvée (à vérifier manuellement)
209
- - [ ] Testé en staging (à vérifier manuellement)
210
-
211
- ──────────────────────────────────────────────────────────────
212
- 🎯 VERDICT
213
- ──────────────────────────────────────────────────────────────
214
-
215
- Merge autorisé : ✅ OUI
216
-
217
- Recommandations avant merge :
218
- 1. Résoudre les 5 warnings ESLint
219
- 2. Tester les migrations en staging
220
- 3. Obtenir l'approbation de la code review
221
- ```
222
-
223
- ## Règles de Blocage
224
-
225
- ### Bloquant (merge interdit)
226
- - ❌ Tests qui échouent
227
- - ❌ Couverture en baisse significative (> 2%)
228
- - ❌ Erreurs d'analyse statique
229
- - ❌ Vulnérabilités critiques/hautes
230
- - ❌ Secrets dans le code
231
- - ❌ Migrations non réversibles
232
-
233
- ### Non-bloquant (warning)
234
- - ⚠️ Warnings d'analyse statique
235
- - ⚠️ TODO/FIXME ajoutés
236
- - ⚠️ Vulnérabilités basses/moyennes
237
- - ⚠️ Couverture légèrement diminuée (< 2%)
9
+ Exécutez `/gate:check merge $ARGUMENTS` : lisez `.claude/commands/gate/check.md` et suivez-le avec ces arguments. Si ce fichier manque, réinstallez claude-craft avec la gestion de projet.