@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,7 +1,11 @@
1
1
  ---
2
2
  name: workflow-design
3
- description: Execute the Design (Solutioning) phase - technical specification and architecture
3
+ description: "Execute the Design (Solutioning) phase - generate the technical specification (default) or the project constitution (--constitution)"
4
+ argument-hint: "[--constitution] [--continue]"
4
5
  arguments:
6
+ - name: constitution
7
+ description: Generate the project constitution (project-management/constitution.md) instead of the tech spec
8
+ required: false
5
9
  - name: continue
6
10
  description: Continue from where left off
7
11
  required: false
@@ -11,245 +15,168 @@ arguments:
11
15
 
12
16
  ## Mission
13
17
 
14
- Execute the Design (Solutioning) phase of the development workflow. This phase focuses on creating the Technical Specification, designing the architecture, and documenting key technical decisions.
18
+ Execute the Design (Solutioning) phase: turn the PRD into a Technical Specification, architecture diagrams, data model, API design and ADRs. With `--constitution`, capture the immutable project decisions in a Project Constitution instead.
19
+
20
+ ## Usage
21
+
22
+ | Invocation | What it does | Replaces |
23
+ |------------|--------------|----------|
24
+ | `/workflow:design` | Reads `project-management/prd.md`, writes `project-management/tech-spec.md` + architecture files + ADRs | `/workflow:design` |
25
+ | `/workflow:design --constitution` | Writes `project-management/constitution.md` (immutable decisions, used by `/gate:check alignment`) | `/workflow:design --constitution` |
26
+ | `/workflow:design --continue` | Resumes an interrupted design session | - |
27
+
28
+ Canonical document order: PRD → tech spec → backlog → sprint.
15
29
 
16
30
  ## When to Use
17
31
 
18
32
  - **Standard** and **Enterprise** tracks
19
- - After `/workflow:plan` is complete
20
- - When PRD and backlog are ready
33
+ - After `/workflow:plan --only=prd` is complete
34
+ - `--constitution`: at project start (or any time decisions must be locked)
21
35
 
22
36
  ## Prerequisites
23
37
 
24
- - PRD exists at `project-management/prd.md`
25
- - Backlog exists at `project-management/backlog/`
38
+ - PRD exists at `project-management/prd.md` (`--constitution`: only optional sources, see below)
39
+ - Technology stack identified (asked interactively for new projects)
26
40
 
27
41
  ## Plan Mode
28
42
 
29
- > **Plan mode is recommended.** Claude activates plan mode to structure the approach, identify dependencies, and present a generation strategy before creating artifacts.
43
+ > **Plan mode is mandatory.** Claude activates plan mode to analyze impacted code, propose a generation strategy and wait for your validation before creating artifacts.
30
44
 
31
- ## Workflow
45
+ ## Workflow: Tech Spec (default)
32
46
 
33
- ### Step 1: Design Setup
47
+ ### Step 1: PRD Analysis
34
48
 
35
49
  ```
36
50
  ╔══════════════════════════════════════════════════════════╗
37
51
  ║ DESIGN PHASE - STARTING ║
38
- ╠══════════════════════════════════════════════════════════╣
39
- ║ Track: Standard ║
40
- ║ Phase: 3 of 4 - Design (Solutioning) ║
41
- ║ ║
42
- ║ Objectives: ║
43
- ║ • Create Technical Specification from PRD ║
44
- ║ • Design system architecture (C4 diagrams) ║
45
- ║ • Define data model and API design ║
46
- ║ • Document Architecture Decision Records (ADRs) ║
47
- ║ • Plan testing strategy ║
48
- ╚══════════════════════════════════════════════════════════╝
49
- ```
50
-
51
- ### Step 2: Load Planning Artifacts
52
-
53
- ```
54
- ╔══════════════════════════════════════════════════════════╗
55
- ║ LOADING PLANNING ARTIFACTS ║
56
- ╠══════════════════════════════════════════════════════════╣
57
- ║ ║
58
- ║ PRD Analysis: ║
59
- ║ ├── ✅ prd.md loaded ║
52
+ ║ Track: Standard | Phase: 3 of 4 - Design (Solutioning) ║
53
+ ║ Loading project-management/prd.md ... ║
60
54
  ║ ├── Functional requirements: 12 ║
61
55
  ║ ├── Non-functional requirements: 8 ║
62
56
  ║ └── Integrations required: 2 ║
63
- ║ ║
64
- ║ Backlog Summary: ║
65
- ║ ├── ✅ backlog/ loaded ║
66
- ║ ├── EPICs: 4 ║
67
- ║ ├── User Stories: 18 ║
68
- ║ └── Total Story Points: 89 ║
69
- ║ ║
70
- ║ Constraints (if Enterprise): ║
71
- ║ └── ✅ analysis/constraints.md loaded ║
72
- ║ ║
73
57
  ╚══════════════════════════════════════════════════════════╝
74
58
  ```
75
59
 
76
- ### Step 3: Design Tasks
60
+ Extract from the PRD: functional requirements (`FR-xxx`), non-functional requirements (performance, security, scalability), personas and journeys, constraints and assumptions, integrations. If `project-management/analysis/constraints.md` exists (Enterprise), load it too.
61
+
62
+ ### Step 2: Codebase Analysis
77
63
 
78
- Execute design tasks in order:
64
+ Existing codebase: detect stack (backend, frontend, database, cache, infrastructure) and existing patterns (architecture, API style, auth, testing) and stay consistent with them.
65
+
66
+ New project: ask the technology questions.
79
67
 
80
68
  ```
81
- ╔══════════════════════════════════════════════════════════╗
82
- ║ DESIGN TASKS ║
83
- ╠══════════════════════════════════════════════════════════╣
84
- ║ ║
85
- ║ □ Task 1: Generate Tech Spec ║
86
- ║ Command: /project:generate-tech-spec ║
87
- ║ Output: project-management/tech-spec.md ║
88
- ║ ║
89
- ║ □ Task 2: Architecture Design ║
90
- ║ Create C4 diagrams (context, container, component) ║
91
- ║ Output: project-management/architecture/ ║
92
- ║ ║
93
- ║ □ Task 3: Data Model Design ║
94
- ║ ERD and database schema ║
95
- ║ Output: project-management/architecture/erd.md ║
96
- ║ ║
97
- ║ □ Task 4: API Design ║
98
- ║ Endpoints, payloads, authentication ║
99
- ║ Output: project-management/architecture/api.md ║
100
- ║ ║
101
- ║ □ Task 5: Create ADRs ║
102
- ║ Document key technical decisions ║
103
- ║ Output: docs/adr/ ║
104
- ║ ║
105
- ║ □ Task 6: Security Review ║
106
- ║ OWASP checklist, auth strategy ║
107
- ║ Output: project-management/architecture/security.md ║
108
- ║ ║
109
- ╚══════════════════════════════════════════════════════════╝
69
+ ┌─────────────────────────────────────────────────────────┐
70
+ │ QUESTIONS - Technology Stack │
71
+ ├─────────────────────────────────────────────────────────┤
72
+ │ 1. Preferred backend framework? (Symfony/Laravel/Node) │
73
+ │ 2. Frontend framework? (React/Vue/Angular/None) │
74
+ │ 3. Database preference? (PostgreSQL/MySQL/MongoDB) │
75
+ │ 4. Deployment target? (Docker/K8s/Serverless/VPS) │
76
+ │ 5. Any existing integrations to consider? │
77
+ └─────────────────────────────────────────────────────────┘
110
78
  ```
111
79
 
112
- ### Step 4: Execute Tech Spec Generation
80
+ ### Step 3: Architecture Questions
113
81
 
114
82
  ```
115
- Starting /project:generate-tech-spec...
116
-
117
- Analyzing PRD requirements...
118
- Detecting existing codebase patterns...
83
+ ┌─────────────────────────────────────────────────────────┐
84
+ │ QUESTIONS - Architecture Decisions │
85
+ ├─────────────────────────────────────────────────────────┤
86
+ │ 1. Monolith or Microservices? │
87
+ │ 2. API style preference? (REST/GraphQL/gRPC) │
88
+ │ 3. Expected scale? (users, requests/sec) │
89
+ │ 4. Real-time features needed? (WebSockets/SSE) │
90
+ │ 5. File storage requirements? (S3/local/CDN) │
91
+ │ 6. Background job processing needs? │
92
+ │ 7. Third-party integrations? (payments, email, etc.) │
93
+ └─────────────────────────────────────────────────────────┘
94
+ ```
119
95
 
120
- [Tech Spec generation workflow runs with interactive Q&A]
96
+ ### Step 4: Design Tasks
121
97
 
122
- ✅ Tech Spec created: project-management/tech-spec.md
123
- ```
98
+ Execute in order:
124
99
 
125
- ### Step 5: Architecture Diagrams
100
+ | # | Task | Output |
101
+ |---|------|--------|
102
+ | 1 | Tech Spec (template `.claude/templates/project/tech-spec.md`) | `project-management/tech-spec.md` |
103
+ | 2 | C4 diagrams (context, container, component) | `project-management/architecture/c4-*.md` |
104
+ | 3 | Data model: ERD (Mermaid `erDiagram`) + schemas; validate relationships, missing entities, indexing | `project-management/architecture/erd.md` |
105
+ | 4 | API design: endpoints derived from FR-xxx and personas, payloads, errors, auth | `project-management/architecture/api.md` |
106
+ | 5 | Security and performance: OWASP mitigations, authN/authZ, encryption, rate limiting, GDPR gaps | `project-management/architecture/security.md` |
107
+ | 6 | ADRs for key decisions (database, API style, authentication) | `docs/adr/ADR-00x-*.md` |
108
+ | 7 | Testing strategy (coverage target 80%), CI/CD and deployment, monitoring | in `tech-spec.md` |
126
109
 
127
- Generate C4 architecture diagrams:
110
+ Security checklist example:
128
111
 
129
112
  ```
130
- ╔══════════════════════════════════════════════════════════╗
131
- ║ ARCHITECTURE DIAGRAMS ║
132
- ╠══════════════════════════════════════════════════════════╣
133
- ║ ║
134
- ║ C4 Level 1 - System Context: ║
135
- ║ ┌─────────────────────────────────────────────────────┐ ║
136
- ║ │ │ ║
137
- ║ │ [User] ──────► [Our System] ──────► [Stripe] │ ║
138
- ║ │ │ │ ║
139
- ║ │ ▼ │ ║
140
- ║ │ [SendGrid] │ ║
141
- ║ │ │ ║
142
- ║ └─────────────────────────────────────────────────────┘ ║
143
- ║ ║
144
- ║ C4 Level 2 - Container: ║
145
- ║ ┌─────────────────────────────────────────────────────┐ ║
146
- ║ │ │ ║
147
- ║ │ [React SPA] ──► [Symfony API] ──► [PostgreSQL] │ ║
148
- ║ │ │ │ ║
149
- ║ │ ▼ │ ║
150
- ║ │ [Redis] │ ║
151
- ║ │ │ ║
152
- ║ └─────────────────────────────────────────────────────┘ ║
153
- ║ ║
154
- ║ Files created: ║
155
- ║ ├── architecture/c4-context.md ║
156
- ║ ├── architecture/c4-container.md ║
157
- ║ └── architecture/c4-component.md ║
158
- ║ ║
159
- ╚══════════════════════════════════════════════════════════╝
113
+ ✅ Authentication: JWT with HttpOnly cookies
114
+ ✅ Authorization: RBAC with policies
115
+ ✅ Data encryption: AES-256 at rest, TLS 1.3 in transit
116
+ ✅ Input validation: DTO validation + sanitization
117
+ ✅ Rate limiting: 100 req/min per user
118
+ ⚠️ GDPR compliance: needs data retention policy
160
119
  ```
161
120
 
162
- ### Step 6: ADR Creation
121
+ ### Step 5: Design Review Gate
163
122
 
164
- Document key architecture decisions:
123
+ - Tech Spec covers all PRD requirements (every `FR-xxx` traceable)
124
+ - Architecture supports the NFRs (performance, security)
125
+ - Data model handles all entities; API design covers all user stories
126
+ - Security, testing strategy and deployment approach documented
127
+ - ADRs complete and justified
165
128
 
166
- ```
167
- ╔══════════════════════════════════════════════════════════╗
168
- ║ ARCHITECTURE DECISION RECORDS (ADRs) ║
169
- ╠══════════════════════════════════════════════════════════╣
170
- ║ ║
171
- ║ ADRs Created: ║
172
- ║ ║
173
- ║ ┌─────────────────────────────────────────────────────┐ ║
174
- ║ │ ADR-001: Database Choice │ ║
175
- ║ │ Decision: PostgreSQL │ ║
176
- ║ │ Rationale: ACID compliance, JSON support, existing │ ║
177
- ║ └─────────────────────────────────────────────────────┘ ║
178
- ║ ║
179
- ║ ┌─────────────────────────────────────────────────────┐ ║
180
- ║ │ ADR-002: API Style │ ║
181
- ║ │ Decision: REST with JSON:API │ ║
182
- ║ │ Rationale: Team expertise, caching, simplicity │ ║
183
- ║ └─────────────────────────────────────────────────────┘ ║
184
- ║ ║
185
- ║ ┌─────────────────────────────────────────────────────┐ ║
186
- ║ │ ADR-003: Authentication │ ║
187
- ║ │ Decision: JWT with refresh tokens │ ║
188
- ║ │ Rationale: Stateless, mobile-friendly, standard │ ║
189
- ║ └─────────────────────────────────────────────────────┘ ║
190
- ║ ║
191
- ║ Files: docs/adr/ADR-001.md, ADR-002.md, ADR-003.md ║
192
- ║ ║
193
- ╚══════════════════════════════════════════════════════════╝
194
- ```
129
+ Offer iterations: caching strategy, expanded API documentation, deployment pipeline.
195
130
 
196
- ### Step 7: Design Review Gate
131
+ ### Step 6: Completion
197
132
 
198
133
  ```
199
134
  ╔══════════════════════════════════════════════════════════╗
200
- ║ DESIGN REVIEW GATE ║
201
- ╠══════════════════════════════════════════════════════════╣
202
- ║ ║
203
- ║ Checklist: ║
204
- ║ ✅ Tech Spec covers all PRD requirements ║
205
- ║ ✅ Architecture supports NFRs (performance, security) ║
206
- ║ ✅ Data model handles all entities ║
207
- ║ ✅ API design covers all user stories ║
208
- ║ ✅ Security considerations documented ║
209
- ║ ✅ Testing strategy defined ║
210
- ║ ✅ Deployment approach documented ║
211
- ║ ║
212
- ║ Review Questions: ║
213
- ║ 1. Is the architecture appropriate for the scale? ║
214
- ║ 2. Are there any missing integrations? ║
215
- ║ 3. Is the security approach sufficient? ║
216
- ║ 4. Are ADRs complete and justified? ║
135
+ ║ DESIGN PHASE COMPLETE ║
136
+ ║ ✅ project-management/tech-spec.md ║
137
+ ║ ✅ project-management/architecture/ (c4, erd, api, sec.) ║
138
+ ║ ✅ docs/adr/ (3 ADRs) ║
139
+ ║ • 24 API endpoints • 8 entities • 3 integrations ║
217
140
  ║ ║
141
+ ║ NEXT: /workflow:plan --only=backlog ║
142
+ ║ THEN: /workflow:start 1 ║
218
143
  ╚══════════════════════════════════════════════════════════╝
219
144
  ```
220
145
 
221
- ### Step 8: Phase Completion
146
+ The backlog reads `project-management/prd.md` and, once it exists, `project-management/tech-spec.md`. After design, recommend `/workflow:plan --only=backlog` then `/workflow:start 1`.
222
147
 
223
- ```
224
- ╔══════════════════════════════════════════════════════════╗
225
- ║ DESIGN PHASE COMPLETE ║
226
- ╠══════════════════════════════════════════════════════════╣
227
- ║ ║
228
- ║ Artifacts Created: ║
229
- ║ ✅ tech-spec.md Technical Specification ║
230
- ║ ✅ architecture/ ║
231
- ║ ├── c4-context.md System context diagram ║
232
- ║ ├── c4-container.md Container diagram ║
233
- ║ ├── c4-component.md Component diagram ║
234
- ║ ├── erd.md Entity Relationship Diagram ║
235
- ║ ├── api.md API design ║
236
- ║ └── security.md Security considerations ║
237
- ║ ✅ docs/adr/ 3 Architecture Decision Records║
238
- ║ ║
239
- ║ Summary: ║
240
- ║ • 24 API endpoints designed ║
241
- ║ • 8 database entities defined ║
242
- ║ • 3 external integrations specified ║
243
- ║ • 80% test coverage target set ║
244
- ║ ║
245
- ║ ─────────────────────────────────────────────────────────║
246
- ║ NEXT PHASE: Implementation ║
247
- ║ Command: /workflow:implement ║
248
- ║ ─────────────────────────────────────────────────────────║
249
- ║ ║
250
- ║ Ready to start Sprint 1 development! ║
251
- ╚══════════════════════════════════════════════════════════╝
252
- ```
148
+ ## Workflow: Constitution (`--constitution`)
149
+
150
+ ### Phase 1: Context Discovery
151
+
152
+ Automatic analysis of: `README.md`, `project-management/prd.md`, `project-management/tech-spec.md`, codebase structure (patterns, conventions) and `.claude/` configuration. List which sources were found.
153
+
154
+ ### Phase 2: Interactive Clarification
155
+
156
+ Ask the user, by theme, to fill the gaps:
157
+
158
+ | Theme | Questions |
159
+ |-------|-----------|
160
+ | Vision & Mission | Vision in one sentence; what, for whom, why; non-negotiable objectives; what would make the project a failure |
161
+ | Technical Constraints | Locked technologies; mandatory architecture pattern; infrastructure constraints; mandatory third-party integrations |
162
+ | Design Principles | Mandatory patterns; forbidden patterns/practices; code standards; required testing strategy |
163
+ | Non-Functional Requirements | Performance targets (latency, load); security; compliance (GDPR, SOC2); availability/uptime |
164
+ | Boundaries | Out of scope; external systems; team boundaries and ownership; who may amend the constitution |
165
+
166
+ ### Phase 3: Generation
167
+
168
+ 1. Load template `.claude/templates/project/constitution.md`
169
+ 2. Fill vision, mission and non-negotiable objectives
170
+ 3. Lock the tech stack (technologies and versions)
171
+ 4. Capture mandatory and forbidden patterns
172
+ 5. Record performance, security and compliance targets
173
+ 6. Document exclusions, integration boundaries and the amendment process
174
+
175
+ ### Phase 4: Review & Ratification
176
+
177
+ Output: `project-management/constitution.md` with sections Vision & Mission, Technical Constraints, Design Principles, Non-Functional Requirements, Boundaries, Amendment Process. Offer to adjust locked decisions, add constraints or refine boundaries. Optional discovery notes go to `project-management/analysis/discovery-notes.md`.
178
+
179
+ The constitution is the reference used by `/gate:check alignment`. Next steps: `/workflow:plan --only=prd` if no PRD yet, otherwise run the default `/workflow:design`.
253
180
 
254
181
  ## Agents Involved
255
182
 
@@ -263,17 +190,33 @@ Document key architecture decisions:
263
190
 
264
191
  | File | Purpose |
265
192
  |------|---------|
266
- | `tech-spec.md` | Complete Technical Specification |
267
- | `architecture/c4-*.md` | C4 architecture diagrams |
268
- | `architecture/erd.md` | Entity Relationship Diagram |
269
- | `architecture/api.md` | API endpoint documentation |
270
- | `architecture/security.md` | Security design |
193
+ | `project-management/tech-spec.md` | Complete Technical Specification |
194
+ | `project-management/constitution.md` | Project Constitution (`--constitution`) |
195
+ | `project-management/architecture/c4-*.md` | C4 architecture diagrams |
196
+ | `project-management/architecture/erd.md` | Entity Relationship Diagram |
197
+ | `project-management/architecture/api.md` | API endpoint documentation |
198
+ | `project-management/architecture/security.md` | Security design |
271
199
  | `docs/adr/*.md` | Architecture Decision Records |
272
200
 
201
+ ## Example Session
202
+
203
+ ```
204
+ User: /workflow:design
205
+
206
+ Claude: Loading project-management/prd.md: 12 FR, 8 NFR.
207
+ Detected: Symfony + React + PostgreSQL.
208
+ ❓ Current API is REST. Keep REST or migrate to GraphQL?
209
+ > Keep REST
210
+ [... interactive Q&A ...]
211
+ ✅ Tech Spec generated: project-management/tech-spec.md
212
+ Next: /workflow:plan --only=backlog, then /workflow:start 1
213
+ ```
214
+
273
215
  ## Related Commands
274
216
 
275
- - `/workflow:plan` - Previous phase
276
- - `/workflow:implement` - Next phase
217
+ - `/workflow:plan` - Previous phase (`--only=prd`, `--only=backlog`)
218
+ - `/workflow:start` - Start the first sprint
219
+ - `/workflow:implement` - Implementation phase
277
220
  - `/workflow:status` - Check progress
278
- - `/project:generate-tech-spec` - Direct tech spec generation
221
+ - `/gate:check` - Quality gates (`alignment` uses the constitution)
279
222
  - `/common:architecture-decision` - Create individual ADRs