@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.
- package/Dev/i18n/base/Common/commands/aliases.md +7 -13
- package/Dev/i18n/base/Common/commands/init.md +89 -1
- package/Dev/i18n/base/Common/commands/pack-repo.md +1 -1
- package/Dev/i18n/base/Common/commands/search.md +2 -2
- package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
- package/Dev/i18n/{en/Common/commands/sub-agents-patterns.md → base/Common/skills/sub-agents-patterns/SKILL.md} +6 -1
- package/Dev/i18n/de/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/de/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/de/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/de/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/de/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/de/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/de/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/de/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/de/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/de/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/de/QA/commands/fix.md +8 -8
- package/Dev/i18n/de/QA/commands/recette.md +7 -8
- package/Dev/i18n/de/QA/commands/regression.md +11 -11
- package/Dev/i18n/de/QA/commands/report.md +5 -162
- package/Dev/i18n/de/QA/commands/status.md +140 -13
- package/Dev/i18n/de/QA/commands/tdd.md +1 -1
- package/Dev/i18n/de/Workflow/commands/analyze.md +5 -205
- package/Dev/i18n/de/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/de/Workflow/commands/design.md +151 -209
- package/Dev/i18n/de/Workflow/commands/implement.md +310 -209
- package/Dev/i18n/de/Workflow/commands/init.md +42 -14
- package/Dev/i18n/de/Workflow/commands/plan.md +156 -169
- package/Dev/i18n/de/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/de/Workflow/commands/review.md +1 -1
- package/Dev/i18n/de/Workflow/commands/start.md +115 -25
- package/Dev/i18n/de/Workflow/commands/status.md +275 -201
- package/Dev/i18n/en/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/en/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/en/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/en/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/en/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/en/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/en/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/en/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/en/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/en/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/en/QA/commands/fix.md +8 -8
- package/Dev/i18n/en/QA/commands/recette.md +7 -8
- package/Dev/i18n/en/QA/commands/regression.md +11 -11
- package/Dev/i18n/en/QA/commands/report.md +5 -221
- package/Dev/i18n/en/QA/commands/status.md +140 -13
- package/Dev/i18n/en/QA/commands/tdd.md +1 -1
- package/Dev/i18n/en/Workflow/commands/analyze.md +5 -204
- package/Dev/i18n/en/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/en/Workflow/commands/design.md +143 -200
- package/Dev/i18n/en/Workflow/commands/implement.md +307 -206
- package/Dev/i18n/en/Workflow/commands/init.md +42 -14
- package/Dev/i18n/en/Workflow/commands/plan.md +153 -165
- package/Dev/i18n/en/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/en/Workflow/commands/review.md +1 -1
- package/Dev/i18n/en/Workflow/commands/start.md +107 -17
- package/Dev/i18n/en/Workflow/commands/status.md +265 -191
- package/Dev/i18n/es/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/es/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/es/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/es/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/es/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/es/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/es/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/es/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/es/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/es/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/es/QA/commands/fix.md +8 -8
- package/Dev/i18n/es/QA/commands/recette.md +7 -8
- package/Dev/i18n/es/QA/commands/regression.md +11 -11
- package/Dev/i18n/es/QA/commands/report.md +5 -162
- package/Dev/i18n/es/QA/commands/status.md +140 -13
- package/Dev/i18n/es/QA/commands/tdd.md +1 -1
- package/Dev/i18n/es/Workflow/commands/analyze.md +5 -205
- package/Dev/i18n/es/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/es/Workflow/commands/design.md +158 -218
- package/Dev/i18n/es/Workflow/commands/implement.md +323 -222
- package/Dev/i18n/es/Workflow/commands/init.md +42 -14
- package/Dev/i18n/es/Workflow/commands/plan.md +160 -175
- package/Dev/i18n/es/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/es/Workflow/commands/review.md +1 -1
- package/Dev/i18n/es/Workflow/commands/start.md +113 -23
- package/Dev/i18n/es/Workflow/commands/status.md +284 -210
- package/Dev/i18n/fr/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/fr/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/fr/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/fr/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/fr/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/fr/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/fr/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/fr/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/fr/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/fr/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/fr/QA/commands/fix.md +8 -8
- package/Dev/i18n/fr/QA/commands/recette.md +7 -8
- package/Dev/i18n/fr/QA/commands/regression.md +11 -11
- package/Dev/i18n/fr/QA/commands/report.md +5 -163
- package/Dev/i18n/fr/QA/commands/status.md +140 -13
- package/Dev/i18n/fr/QA/commands/tdd.md +1 -1
- package/Dev/i18n/fr/Workflow/commands/analyze.md +5 -204
- package/Dev/i18n/fr/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/fr/Workflow/commands/design.md +153 -214
- package/Dev/i18n/fr/Workflow/commands/implement.md +312 -213
- package/Dev/i18n/fr/Workflow/commands/init.md +42 -15
- package/Dev/i18n/fr/Workflow/commands/plan.md +155 -169
- package/Dev/i18n/fr/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/fr/Workflow/commands/review.md +1 -1
- package/Dev/i18n/fr/Workflow/commands/start.md +109 -19
- package/Dev/i18n/fr/Workflow/commands/status.md +274 -200
- package/Dev/i18n/pt/Common/agents/data-analyst.md +1 -1
- package/Dev/i18n/pt/Common/agents/ralph-conductor.md +1 -1
- package/Dev/i18n/pt/Common/commands/daily-standup.md +5 -212
- package/Dev/i18n/pt/Common/commands/getting-started.md +3 -2
- package/Dev/i18n/pt/Common/commands/pre-commit-check.md +5 -201
- package/Dev/i18n/pt/Common/commands/pre-merge-check.md +5 -233
- package/Dev/i18n/pt/Common/commands/ralph-run.md +47 -1
- package/Dev/i18n/pt/Common/commands/release-checklist.md +5 -241
- package/Dev/i18n/pt/Common/commands/setup-project-context.md +5 -286
- package/Dev/i18n/pt/Common/rules/12-context-management.md +1 -1
- package/Dev/i18n/pt/QA/commands/fix.md +8 -8
- package/Dev/i18n/pt/QA/commands/recette.md +7 -8
- package/Dev/i18n/pt/QA/commands/regression.md +11 -11
- package/Dev/i18n/pt/QA/commands/report.md +5 -162
- package/Dev/i18n/pt/QA/commands/status.md +140 -13
- package/Dev/i18n/pt/QA/commands/tdd.md +1 -1
- package/Dev/i18n/pt/Workflow/commands/analyze.md +5 -205
- package/Dev/i18n/pt/Workflow/commands/auto-sprint.md +16 -8
- package/Dev/i18n/pt/Workflow/commands/design.md +161 -219
- package/Dev/i18n/pt/Workflow/commands/implement.md +323 -222
- package/Dev/i18n/pt/Workflow/commands/init.md +42 -14
- package/Dev/i18n/pt/Workflow/commands/plan.md +160 -172
- package/Dev/i18n/pt/Workflow/commands/retro.md +1 -1
- package/Dev/i18n/pt/Workflow/commands/review.md +1 -1
- package/Dev/i18n/pt/Workflow/commands/start.md +112 -22
- package/Dev/i18n/pt/Workflow/commands/status.md +294 -220
- package/Dev/scripts/install-common-rules.sh +7 -10
- package/Dev/scripts/prune-removed-commands.sh +22 -0
- package/Project/i18n/de/Gate/commands/check.md +392 -0
- package/Project/i18n/de/Gate/commands/report.md +5 -230
- package/Project/i18n/de/Gate/commands/validate-alignment.md +5 -119
- package/Project/i18n/de/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/de/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/de/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/de/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/de/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/de/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/de/Sprint/commands/dev.md +5 -443
- package/Project/i18n/de/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/de/Sprint/commands/status.md +5 -173
- package/Project/i18n/de/Sprint/commands/transition.md +5 -259
- package/Project/i18n/de/agents/product-owner.md +5 -5
- package/Project/i18n/de/agents/tech-lead.md +8 -8
- package/Project/i18n/de/commands/add-epic.md +5 -88
- package/Project/i18n/de/commands/add-story.md +5 -112
- package/Project/i18n/de/commands/add-task.md +5 -127
- package/Project/i18n/de/commands/analyze-backlog.md +5 -110
- package/Project/i18n/de/commands/backlog.md +653 -0
- package/Project/i18n/de/commands/batch-status.md +5 -209
- package/Project/i18n/de/commands/board.md +5 -130
- package/Project/i18n/de/commands/burndown.md +5 -120
- package/Project/i18n/de/commands/checkpoint.md +5 -239
- package/Project/i18n/de/commands/coverage-map.md +5 -217
- package/Project/i18n/de/commands/critical-path.md +5 -123
- package/Project/i18n/de/commands/decompose-tasks.md +5 -600
- package/Project/i18n/de/commands/dependencies.md +5 -139
- package/Project/i18n/de/commands/gap-analysis.md +5 -290
- package/Project/i18n/de/commands/generate-backlog.md +5 -378
- package/Project/i18n/de/commands/generate-constitution.md +5 -223
- package/Project/i18n/de/commands/generate-prd.md +5 -210
- package/Project/i18n/de/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/de/commands/list-epics.md +5 -91
- package/Project/i18n/de/commands/list-stories.md +5 -116
- package/Project/i18n/de/commands/list-tasks.md +5 -128
- package/Project/i18n/de/commands/metrics.md +5 -223
- package/Project/i18n/de/commands/migrate-backlog.md +5 -144
- package/Project/i18n/de/commands/migrate.md +158 -0
- package/Project/i18n/de/commands/move-task.md +5 -200
- package/Project/i18n/de/commands/report.md +156 -0
- package/Project/i18n/de/commands/reverse-prd.md +5 -284
- package/Project/i18n/de/commands/reverse-stories.md +5 -301
- package/Project/i18n/de/commands/reverse.md +249 -0
- package/Project/i18n/de/commands/run-epic.md +5 -187
- package/Project/i18n/de/commands/run-queue.md +5 -250
- package/Project/i18n/de/commands/run-sprint.md +5 -262
- package/Project/i18n/de/commands/scan.md +5 -267
- package/Project/i18n/de/commands/sync-backlog.md +5 -161
- package/Project/i18n/de/commands/trace.md +126 -174
- package/Project/i18n/de/commands/update-epic.md +5 -101
- package/Project/i18n/de/commands/update-stories.md +5 -190
- package/Project/i18n/de/commands/update-story.md +5 -146
- package/Project/i18n/de/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/de/scaffold/project-management__README.md +7 -7
- package/Project/i18n/de/templates/board.md +22 -9
- package/Project/i18n/de/templates/epic.md +4 -4
- package/Project/i18n/de/templates/prd.md +1 -1
- package/Project/i18n/de/templates/sprint-status.md +60 -0
- package/Project/i18n/de/templates/task.md +1 -1
- package/Project/i18n/de/templates/user-story.md +8 -6
- package/Project/i18n/en/Gate/commands/check.md +392 -0
- package/Project/i18n/en/Gate/commands/report.md +5 -261
- package/Project/i18n/en/Gate/commands/validate-alignment.md +5 -119
- package/Project/i18n/en/Gate/commands/validate-backlog.md +5 -236
- package/Project/i18n/en/Gate/commands/validate-prd.md +5 -168
- package/Project/i18n/en/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/en/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/en/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/en/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/en/Sprint/commands/dev.md +5 -441
- package/Project/i18n/en/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/en/Sprint/commands/status.md +5 -214
- package/Project/i18n/en/Sprint/commands/transition.md +5 -259
- package/Project/i18n/en/agents/product-owner.md +5 -5
- package/Project/i18n/en/agents/tech-lead.md +8 -8
- package/Project/i18n/en/commands/add-epic.md +5 -88
- package/Project/i18n/en/commands/add-story.md +5 -112
- package/Project/i18n/en/commands/add-task.md +5 -127
- package/Project/i18n/en/commands/analyze-backlog.md +5 -133
- package/Project/i18n/en/commands/backlog.md +653 -0
- package/Project/i18n/en/commands/batch-status.md +5 -209
- package/Project/i18n/en/commands/board.md +5 -130
- package/Project/i18n/en/commands/burndown.md +5 -120
- package/Project/i18n/en/commands/checkpoint.md +5 -239
- package/Project/i18n/en/commands/coverage-map.md +5 -217
- package/Project/i18n/en/commands/critical-path.md +5 -123
- package/Project/i18n/en/commands/decompose-tasks.md +5 -600
- package/Project/i18n/en/commands/dependencies.md +5 -139
- package/Project/i18n/en/commands/gap-analysis.md +5 -290
- package/Project/i18n/en/commands/generate-backlog.md +5 -378
- package/Project/i18n/en/commands/generate-constitution.md +5 -223
- package/Project/i18n/en/commands/generate-prd.md +5 -210
- package/Project/i18n/en/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/en/commands/list-epics.md +5 -91
- package/Project/i18n/en/commands/list-stories.md +5 -116
- package/Project/i18n/en/commands/list-tasks.md +5 -128
- package/Project/i18n/en/commands/metrics.md +5 -223
- package/Project/i18n/en/commands/migrate-backlog.md +5 -186
- package/Project/i18n/en/commands/migrate.md +158 -0
- package/Project/i18n/en/commands/move-task.md +5 -200
- package/Project/i18n/en/commands/report.md +156 -0
- package/Project/i18n/en/commands/reverse-prd.md +5 -284
- package/Project/i18n/en/commands/reverse-stories.md +5 -301
- package/Project/i18n/en/commands/reverse.md +249 -0
- package/Project/i18n/en/commands/run-epic.md +5 -187
- package/Project/i18n/en/commands/run-queue.md +5 -250
- package/Project/i18n/en/commands/run-sprint.md +5 -262
- package/Project/i18n/en/commands/scan.md +5 -267
- package/Project/i18n/en/commands/sync-backlog.md +5 -161
- package/Project/i18n/en/commands/trace.md +119 -167
- package/Project/i18n/en/commands/update-epic.md +5 -101
- package/Project/i18n/en/commands/update-stories.md +5 -190
- package/Project/i18n/en/commands/update-story.md +5 -146
- package/Project/i18n/en/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/en/scaffold/project-management__README.md +7 -7
- package/Project/i18n/en/templates/board.md +22 -9
- package/Project/i18n/en/templates/epic.md +4 -4
- package/Project/i18n/en/templates/prd.md +1 -1
- package/Project/i18n/en/templates/sprint-status.md +60 -0
- package/Project/i18n/en/templates/task.md +1 -1
- package/Project/i18n/en/templates/user-story.md +7 -5
- package/Project/i18n/es/Gate/commands/check.md +392 -0
- package/Project/i18n/es/Gate/commands/report.md +5 -229
- package/Project/i18n/es/Gate/commands/validate-alignment.md +5 -119
- package/Project/i18n/es/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/es/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/es/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/es/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/es/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/es/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/es/Sprint/commands/dev.md +5 -441
- package/Project/i18n/es/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/es/Sprint/commands/status.md +5 -172
- package/Project/i18n/es/Sprint/commands/transition.md +5 -259
- package/Project/i18n/es/agents/product-owner.md +5 -5
- package/Project/i18n/es/agents/tech-lead.md +8 -8
- package/Project/i18n/es/commands/add-epic.md +5 -88
- package/Project/i18n/es/commands/add-story.md +5 -112
- package/Project/i18n/es/commands/add-task.md +5 -127
- package/Project/i18n/es/commands/analyze-backlog.md +5 -110
- package/Project/i18n/es/commands/backlog.md +653 -0
- package/Project/i18n/es/commands/batch-status.md +5 -209
- package/Project/i18n/es/commands/board.md +5 -130
- package/Project/i18n/es/commands/burndown.md +5 -120
- package/Project/i18n/es/commands/checkpoint.md +5 -239
- package/Project/i18n/es/commands/coverage-map.md +5 -217
- package/Project/i18n/es/commands/critical-path.md +5 -123
- package/Project/i18n/es/commands/decompose-tasks.md +5 -600
- package/Project/i18n/es/commands/dependencies.md +5 -139
- package/Project/i18n/es/commands/gap-analysis.md +5 -290
- package/Project/i18n/es/commands/generate-backlog.md +5 -378
- package/Project/i18n/es/commands/generate-constitution.md +5 -223
- package/Project/i18n/es/commands/generate-prd.md +5 -210
- package/Project/i18n/es/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/es/commands/list-epics.md +5 -91
- package/Project/i18n/es/commands/list-stories.md +5 -116
- package/Project/i18n/es/commands/list-tasks.md +5 -128
- package/Project/i18n/es/commands/metrics.md +5 -223
- package/Project/i18n/es/commands/migrate-backlog.md +5 -144
- package/Project/i18n/es/commands/migrate.md +158 -0
- package/Project/i18n/es/commands/move-task.md +5 -200
- package/Project/i18n/es/commands/report.md +156 -0
- package/Project/i18n/es/commands/reverse-prd.md +5 -284
- package/Project/i18n/es/commands/reverse-stories.md +5 -301
- package/Project/i18n/es/commands/reverse.md +249 -0
- package/Project/i18n/es/commands/run-epic.md +5 -187
- package/Project/i18n/es/commands/run-queue.md +5 -250
- package/Project/i18n/es/commands/run-sprint.md +5 -262
- package/Project/i18n/es/commands/scan.md +5 -267
- package/Project/i18n/es/commands/sync-backlog.md +5 -161
- package/Project/i18n/es/commands/trace.md +126 -174
- package/Project/i18n/es/commands/update-epic.md +5 -101
- package/Project/i18n/es/commands/update-stories.md +5 -190
- package/Project/i18n/es/commands/update-story.md +5 -146
- package/Project/i18n/es/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/es/scaffold/project-management__README.md +7 -7
- package/Project/i18n/es/templates/board.md +22 -9
- package/Project/i18n/es/templates/epic.md +4 -4
- package/Project/i18n/es/templates/prd.md +1 -1
- package/Project/i18n/es/templates/sprint-status.md +60 -0
- package/Project/i18n/es/templates/task.md +1 -1
- package/Project/i18n/es/templates/user-story.md +8 -6
- package/Project/i18n/fr/Gate/commands/check.md +392 -0
- package/Project/i18n/fr/Gate/commands/report.md +5 -196
- package/Project/i18n/fr/Gate/commands/validate-alignment.md +5 -121
- package/Project/i18n/fr/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/fr/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/fr/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/fr/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/fr/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/fr/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/fr/Sprint/commands/dev.md +5 -441
- package/Project/i18n/fr/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/fr/Sprint/commands/status.md +5 -172
- package/Project/i18n/fr/Sprint/commands/transition.md +5 -259
- package/Project/i18n/fr/agents/product-owner.md +5 -5
- package/Project/i18n/fr/agents/tech-lead.md +8 -8
- package/Project/i18n/fr/commands/add-epic.md +5 -88
- package/Project/i18n/fr/commands/add-story.md +5 -112
- package/Project/i18n/fr/commands/add-task.md +5 -127
- package/Project/i18n/fr/commands/analyze-backlog.md +5 -110
- package/Project/i18n/fr/commands/backlog.md +653 -0
- package/Project/i18n/fr/commands/batch-status.md +5 -209
- package/Project/i18n/fr/commands/board.md +5 -130
- package/Project/i18n/fr/commands/burndown.md +5 -120
- package/Project/i18n/fr/commands/checkpoint.md +5 -239
- package/Project/i18n/fr/commands/coverage-map.md +5 -217
- package/Project/i18n/fr/commands/critical-path.md +5 -123
- package/Project/i18n/fr/commands/decompose-tasks.md +5 -600
- package/Project/i18n/fr/commands/dependencies.md +5 -139
- package/Project/i18n/fr/commands/gap-analysis.md +5 -290
- package/Project/i18n/fr/commands/generate-backlog.md +5 -378
- package/Project/i18n/fr/commands/generate-constitution.md +5 -223
- package/Project/i18n/fr/commands/generate-prd.md +5 -210
- package/Project/i18n/fr/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/fr/commands/list-epics.md +5 -91
- package/Project/i18n/fr/commands/list-stories.md +5 -116
- package/Project/i18n/fr/commands/list-tasks.md +5 -128
- package/Project/i18n/fr/commands/metrics.md +5 -223
- package/Project/i18n/fr/commands/migrate-backlog.md +5 -144
- package/Project/i18n/fr/commands/migrate.md +158 -0
- package/Project/i18n/fr/commands/move-task.md +5 -200
- package/Project/i18n/fr/commands/report.md +156 -0
- package/Project/i18n/fr/commands/reverse-prd.md +5 -284
- package/Project/i18n/fr/commands/reverse-stories.md +5 -301
- package/Project/i18n/fr/commands/reverse.md +249 -0
- package/Project/i18n/fr/commands/run-epic.md +5 -187
- package/Project/i18n/fr/commands/run-queue.md +5 -250
- package/Project/i18n/fr/commands/run-sprint.md +5 -262
- package/Project/i18n/fr/commands/scan.md +5 -267
- package/Project/i18n/fr/commands/sync-backlog.md +5 -161
- package/Project/i18n/fr/commands/trace.md +125 -173
- package/Project/i18n/fr/commands/update-epic.md +5 -101
- package/Project/i18n/fr/commands/update-stories.md +5 -190
- package/Project/i18n/fr/commands/update-story.md +5 -146
- package/Project/i18n/fr/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/fr/scaffold/project-management__README.md +7 -7
- package/Project/i18n/fr/templates/board.md +22 -9
- package/Project/i18n/fr/templates/epic.md +4 -4
- package/Project/i18n/fr/templates/prd.md +1 -1
- package/Project/i18n/fr/templates/sprint-status.md +60 -0
- package/Project/i18n/fr/templates/task.md +1 -1
- package/Project/i18n/fr/templates/user-story.md +8 -6
- package/Project/i18n/pt/Gate/commands/check.md +392 -0
- package/Project/i18n/pt/Gate/commands/report.md +5 -229
- package/Project/i18n/pt/Gate/commands/validate-alignment.md +5 -120
- package/Project/i18n/pt/Gate/commands/validate-backlog.md +5 -231
- package/Project/i18n/pt/Gate/commands/validate-prd.md +5 -121
- package/Project/i18n/pt/Gate/commands/validate-sprint.md +5 -220
- package/Project/i18n/pt/Gate/commands/validate-story.md +5 -200
- package/Project/i18n/pt/Gate/commands/validate-techspec.md +5 -199
- package/Project/i18n/pt/Sprint/commands/auto-route.md +5 -229
- package/Project/i18n/pt/Sprint/commands/dev.md +5 -441
- package/Project/i18n/pt/Sprint/commands/next-story.md +5 -153
- package/Project/i18n/pt/Sprint/commands/status.md +5 -172
- package/Project/i18n/pt/Sprint/commands/transition.md +5 -259
- package/Project/i18n/pt/agents/product-owner.md +5 -5
- package/Project/i18n/pt/agents/tech-lead.md +8 -8
- package/Project/i18n/pt/commands/add-epic.md +5 -88
- package/Project/i18n/pt/commands/add-story.md +5 -112
- package/Project/i18n/pt/commands/add-task.md +5 -127
- package/Project/i18n/pt/commands/analyze-backlog.md +5 -110
- package/Project/i18n/pt/commands/backlog.md +653 -0
- package/Project/i18n/pt/commands/batch-status.md +5 -209
- package/Project/i18n/pt/commands/board.md +5 -130
- package/Project/i18n/pt/commands/burndown.md +5 -120
- package/Project/i18n/pt/commands/checkpoint.md +5 -239
- package/Project/i18n/pt/commands/coverage-map.md +5 -217
- package/Project/i18n/pt/commands/critical-path.md +5 -123
- package/Project/i18n/pt/commands/decompose-tasks.md +5 -600
- package/Project/i18n/pt/commands/dependencies.md +5 -139
- package/Project/i18n/pt/commands/gap-analysis.md +5 -290
- package/Project/i18n/pt/commands/generate-backlog.md +5 -378
- package/Project/i18n/pt/commands/generate-constitution.md +5 -223
- package/Project/i18n/pt/commands/generate-prd.md +5 -210
- package/Project/i18n/pt/commands/generate-tech-spec.md +5 -285
- package/Project/i18n/pt/commands/list-epics.md +5 -91
- package/Project/i18n/pt/commands/list-stories.md +5 -116
- package/Project/i18n/pt/commands/list-tasks.md +5 -128
- package/Project/i18n/pt/commands/metrics.md +5 -223
- package/Project/i18n/pt/commands/migrate-backlog.md +5 -144
- package/Project/i18n/pt/commands/migrate.md +158 -0
- package/Project/i18n/pt/commands/move-task.md +5 -200
- package/Project/i18n/pt/commands/report.md +156 -0
- package/Project/i18n/pt/commands/reverse-prd.md +5 -284
- package/Project/i18n/pt/commands/reverse-stories.md +5 -301
- package/Project/i18n/pt/commands/reverse.md +249 -0
- package/Project/i18n/pt/commands/run-epic.md +5 -187
- package/Project/i18n/pt/commands/run-queue.md +5 -250
- package/Project/i18n/pt/commands/run-sprint.md +5 -262
- package/Project/i18n/pt/commands/scan.md +5 -267
- package/Project/i18n/pt/commands/sync-backlog.md +5 -161
- package/Project/i18n/pt/commands/trace.md +126 -174
- package/Project/i18n/pt/commands/update-epic.md +5 -101
- package/Project/i18n/pt/commands/update-stories.md +5 -190
- package/Project/i18n/pt/commands/update-story.md +5 -146
- package/Project/i18n/pt/scaffold/CLAUDE.md +47 -47
- package/Project/i18n/pt/scaffold/project-management__README.md +7 -7
- package/Project/i18n/pt/templates/board.md +22 -9
- package/Project/i18n/pt/templates/epic.md +4 -4
- package/Project/i18n/pt/templates/prd.md +1 -1
- package/Project/i18n/pt/templates/sprint-status.md +60 -0
- package/Project/i18n/pt/templates/task.md +1 -1
- package/Project/i18n/pt/templates/user-story.md +8 -6
- package/Project/install-project-commands.sh +33 -52
- package/README.md +22 -5
- package/Tools/Ralph/README.md +9 -9
- package/bundles/cursor/.cursorrules +2 -2
- package/bundles/windsurf/.windsurfrules +2 -2
- package/cli/kanban/server/app.js +9 -4
- package/cli/kanban/server/services/repository.js +35 -8
- package/cli/kanban/server/services/sprint-cache.js +45 -1
- package/cli/kanban/shared/schemas.js +2 -0
- package/cli/lib/update.js +15 -0
- package/config/removed-commands.yaml +14 -0
- package/package.json +4 -2
- package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +0 -201
- package/Dev/i18n/base/Common/commands/audit-freshness.md +0 -176
- package/Dev/i18n/de/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/de/Common/commands/sub-agents-patterns.md +0 -167
- package/Dev/i18n/en/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/es/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/es/Common/commands/sub-agents-patterns.md +0 -200
- package/Dev/i18n/fr/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/fr/Common/commands/sub-agents-patterns.md +0 -167
- package/Dev/i18n/pt/Common/commands/add-technology.md +0 -297
- package/Dev/i18n/pt/Common/commands/sub-agents-patterns.md +0 -167
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Brownfield reverse-engineering pipeline: scan the codebase, then derive a draft PRD, user stories and a spec-vs-code gap analysis"
|
|
3
|
+
argument-hint: "[scan|prd|stories|gaps|all] [--scope=<scope>] [--module=<name>] [--output=<path>]"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /project:reverse
|
|
7
|
+
|
|
8
|
+
## Mission
|
|
9
|
+
|
|
10
|
+
Reverse-engineer specifications from an existing codebase (brownfield projects). One command covers the whole pipeline: inventory the code (`scan`), infer a draft PRD (`prd`), infer user stories (`stories`) and compare specs against code (`gaps`). `all` runs the four in order.
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
| Command | What it does | Replaces |
|
|
15
|
+
|---------|--------------|----------|
|
|
16
|
+
| `/project:reverse scan` | Inventory of modules, endpoints, models, services, tests, infrastructure | `/project:reverse scan` |
|
|
17
|
+
| `/project:reverse prd` | DRAFT PRD inferred from code | `/project:reverse prd` |
|
|
18
|
+
| `/project:reverse stories` | DRAFT user stories inferred from code and tests | `/project:reverse stories` |
|
|
19
|
+
| `/project:reverse gaps` | Spec vs code gap analysis, severity-ranked | `/project:reverse gaps` |
|
|
20
|
+
| `/project:reverse all` | `scan` -> `prd` -> `stories` -> `gaps`, in this order | all four |
|
|
21
|
+
|
|
22
|
+
## Arguments
|
|
23
|
+
|
|
24
|
+
Parse `$ARGUMENTS`: first token = subcommand (`scan`, `prd`, `stories`, `gaps`, `all`). With no subcommand, ask which one (recommend `all` on a first run). Flags:
|
|
25
|
+
|
|
26
|
+
| Flag | Applies to | Description |
|
|
27
|
+
|------|-----------|-------------|
|
|
28
|
+
| `--scope=<scope>` | `scan`: all, backend, frontend, api, tests / `stories`: all, module, endpoint / `gaps`: full, requirements, stories, code | Limits the analysis |
|
|
29
|
+
| `--module=<name>` | `stories` | Generate stories for one module only |
|
|
30
|
+
| `--output=<path>` | `scan`, `prd` | Output path (defaults below) |
|
|
31
|
+
|
|
32
|
+
## Shared rules
|
|
33
|
+
|
|
34
|
+
**Plan mode is mandatory.** Before executing, activate plan mode, propose the plan, and wait for validation before changing any file. With `all`, one plan covers the four steps.
|
|
35
|
+
|
|
36
|
+
**Persona and inference rules (used by `prd` and `stories`):**
|
|
37
|
+
|
|
38
|
+
| Auth pattern | Inferred persona |
|
|
39
|
+
|--------------|------------------|
|
|
40
|
+
| `ROLE_ADMIN` + admin routes | Administrator |
|
|
41
|
+
| `ROLE_USER` + authenticated routes | Registered user |
|
|
42
|
+
| `ROLE_MANAGER` + management routes | Manager / supervisor |
|
|
43
|
+
| Public endpoints (no auth) | Visitor / anonymous |
|
|
44
|
+
| API key auth | External system |
|
|
45
|
+
|
|
46
|
+
**Everything inferred is a DRAFT.** Code shows what the system does, not what it should do. Mark every inferred artifact `INFERRED` and require human validation before it is treated as authoritative. Marker to insert in each inferred section or story:
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
> INFERRED -- This was generated by analyzing the existing codebase.
|
|
50
|
+
> Human validation is required before treating this as authoritative.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
**Status rule:** `.bmad/sprint-status.yaml` is the single source of truth for story/task STATUS. Generated stories contain content only (no status field); register them in `.bmad/sprint-status.yaml` (schema: `.claude/templates/project/sprint-status.md`) once validated.
|
|
54
|
+
|
|
55
|
+
**Default paths:**
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
project-management/
|
|
59
|
+
+-- scan-report.md # scan
|
|
60
|
+
+-- prd.md # prd (DRAFT)
|
|
61
|
+
+-- backlog/user-stories/US-*.md # stories
|
|
62
|
+
+-- analysis/
|
|
63
|
+
+-- reverse-engineering.md # prd: analysis notes and confidence levels
|
|
64
|
+
+-- gap-analysis.md # gaps
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Prerequisites:** source code accessible; optional `README.md`, `docker-compose.yml`, `./docs/`. `prd`, `stories` and `gaps` need `project-management/scan-report.md` -- if missing, run `scan` first (automatic under `all`). `gaps` also needs a PRD (`project-management/prd.md`, from `/workflow:plan --only=prd` or `prd`); `stories` and `gaps` use it for FR-xxx traceability when present.
|
|
68
|
+
|
|
69
|
+
**Output convention:** each step prints a boxed progress banner, ends with a short summary and offers next steps (validate interactively, run the next subcommand). Under `all`, pause for human validation after `prd` and `stories` before continuing to `gaps`.
|
|
70
|
+
|
|
71
|
+
## scan
|
|
72
|
+
|
|
73
|
+
Entry point of the pipeline: a structured inventory of the codebase.
|
|
74
|
+
|
|
75
|
+
**1. Stack detection.** Scan the root for framework markers, read the manifest (`composer.json`, `package.json`, `pubspec.yaml`, `*.csproj`, `pyproject.toml`), identify framework version and key dependencies, detect infrastructure (Docker, CI/CD, Redis, queues) and pick the matching reviewer agent (`@symfony-reviewer`, `@react-reviewer`...).
|
|
76
|
+
|
|
77
|
+
| File pattern | Stack |
|
|
78
|
+
|--------------|-------|
|
|
79
|
+
| `*.php` + `symfony.lock` | Symfony |
|
|
80
|
+
| `*.php` + `artisan` | Laravel |
|
|
81
|
+
| `*.php` + `composer.json` | PHP (generic) |
|
|
82
|
+
| `*.dart` + `pubspec.yaml` | Flutter |
|
|
83
|
+
| `*.tsx` / `*.jsx` + `next.config.*` | React (Next.js) |
|
|
84
|
+
| `*.tsx` / `*.jsx` + `package.json` | React |
|
|
85
|
+
| `*.vue` + `package.json` | Vue.js |
|
|
86
|
+
| `angular.json` | Angular |
|
|
87
|
+
| `*.cs` + `*.csproj` | .NET / C# |
|
|
88
|
+
| `*.py` + `pyproject.toml` | Python |
|
|
89
|
+
| `Dockerfile` / `docker-compose.yml` | Docker (infra) |
|
|
90
|
+
|
|
91
|
+
**2. Structure scan.** Categorize files into:
|
|
92
|
+
1. Modules / domains (bounded contexts, shared modules, namespaces)
|
|
93
|
+
2. Endpoints (routes, controllers, HTTP methods, paths, middleware/guards)
|
|
94
|
+
3. Models / entities (fields, types, relationships, migrations)
|
|
95
|
+
4. Services (services, use cases, command/query handlers, listeners, subscribers)
|
|
96
|
+
5. Tests (unit / integration / E2E, test-to-source mapping, frameworks)
|
|
97
|
+
6. Infrastructure (Docker, CI/CD, environment config, third-party integrations)
|
|
98
|
+
|
|
99
|
+
**3. Code analysis.** Estimate LOC per module; identify the architecture pattern (MVC, Clean Architecture, DDD...); detect quality tooling (linting, static analysis); map the module dependency graph; flag technical-debt markers; use the tech-specific reviewer for stack insights.
|
|
100
|
+
|
|
101
|
+
**4. Report** at `project-management/scan-report.md`, with these sections: header (project, stack, size, modules), Technology Stack, Modules / Bounded Contexts (files, LOC, tests, coverage), Endpoints (method, path, controller, auth), Models / Entities (fields, relationships, migrations), Services (dependencies, type), Tests (type, count, framework), Infrastructure (component, config file, notes) and a Complexity Summary.
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
| Module | Files | LOC | Tests | Coverage |
|
|
105
|
+
| User | 24 | 1,800 | 12 | ~65% |
|
|
106
|
+
| Method | Path | Controller | Auth |
|
|
107
|
+
| GET | /api/users | UserController | JWT |
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Complexity Summary metrics: total LOC, total files, bounded contexts, API endpoints, database entities, test files, estimated test coverage, architecture pattern.
|
|
111
|
+
|
|
112
|
+
## prd
|
|
113
|
+
|
|
114
|
+
Brownfield counterpart of `/workflow:plan --only=prd`: a DRAFT PRD inferred from code.
|
|
115
|
+
|
|
116
|
+
**1. Load** the scan report (and `./docs/`, `README.md`); parse stack, modules, endpoints, entities, services.
|
|
117
|
+
|
|
118
|
+
**2. Business logic analysis**, for each module: domain events (payloads, listeners, workflows), use cases / commands / queries, validation rules (entity, request, business assertions), state machines (status enums, workflow config, guards), external integrations (payment, email, storage, third-party APIs).
|
|
119
|
+
|
|
120
|
+
**3. Requirement inference.**
|
|
121
|
+
|
|
122
|
+
| Code pattern | Inferred requirement |
|
|
123
|
+
|--------------|---------------------|
|
|
124
|
+
| Auth middleware / JWT | User authentication required |
|
|
125
|
+
| Role-based guards | Authorization with roles |
|
|
126
|
+
| CRUD controllers | Data management features |
|
|
127
|
+
| File upload handlers | Document/media management |
|
|
128
|
+
| Email services | Notification system |
|
|
129
|
+
| Payment gateway | Payment processing |
|
|
130
|
+
| Export endpoints | Reporting/export features |
|
|
131
|
+
| Search/filter logic | Search and filtering |
|
|
132
|
+
| Pagination | Large dataset handling |
|
|
133
|
+
| Cache layers | Performance requirements |
|
|
134
|
+
| Queue workers | Async processing requirements |
|
|
135
|
+
| Rate limiting | API protection requirements |
|
|
136
|
+
|
|
137
|
+
| Infrastructure | Inferred NFR |
|
|
138
|
+
|----------------|--------------|
|
|
139
|
+
| Docker / Kubernetes | Scalability, containerization |
|
|
140
|
+
| Redis / Memcached | Performance caching |
|
|
141
|
+
| Queue system (RabbitMQ...) | Async processing, reliability |
|
|
142
|
+
| CI/CD pipelines | Deployment automation |
|
|
143
|
+
| Load balancer config | High availability |
|
|
144
|
+
| SSL/TLS configuration | Security |
|
|
145
|
+
| Logging stack (ELK...) | Monitoring |
|
|
146
|
+
|
|
147
|
+
Personas come from the shared persona table above.
|
|
148
|
+
|
|
149
|
+
**4. Generate** `project-management/prd.md` with eight sections: Executive Summary (INFERRED), Problem Statement (INFERRED), Goals & Metrics (**PLACEHOLDER** -- cannot be inferred, needs human input), Target Users / Personas (INFERRED, each a draft), Functional Requirements (INFERRED, one per feature/endpoint group, prioritized by complexity and usage, tagged with source module), Non-Functional Requirements (INFERRED), Scope & Constraints (INFERRED), Risks & Mitigations (INFERRED: debt, untested areas, dependency risks). Write analysis notes and per-section confidence (HIGH / MEDIUM / LOW) to `project-management/analysis/reverse-engineering.md`; the PRD header shows `Status: DRAFT - Requires human validation` and the confidence table.
|
|
150
|
+
|
|
151
|
+
**5. Human validation.** Show a summary of inferred sections, highlight low-confidence ones and those that could not be inferred (Goals, Metrics), ask the user to validate / correct / expand each, iterate until satisfied.
|
|
152
|
+
|
|
153
|
+
## stories
|
|
154
|
+
|
|
155
|
+
DRAFT user stories inferred from endpoints, services, entities and tests.
|
|
156
|
+
|
|
157
|
+
**1. Load** the scan report and the PRD if present (for FR-xxx traceability); determine scope (all, a `--module`, an endpoint).
|
|
158
|
+
|
|
159
|
+
**2. Feature extraction**, per endpoint/feature: controller/handler (method, route, request validation, response and status codes, authorization), service/use case (business flow, side effects, external calls, error paths), entity/model (fields and constraints, relationships, state transitions, soft delete/timestamps), tests (method names, assertions, fixtures, edge cases).
|
|
160
|
+
|
|
161
|
+
**3. Story generation.**
|
|
162
|
+
|
|
163
|
+
| Route | Inferred action |
|
|
164
|
+
|-------|-----------------|
|
|
165
|
+
| `POST /api/resources` | create a resource |
|
|
166
|
+
| `GET /api/resources` | list resources |
|
|
167
|
+
| `GET /api/resources/{id}` | view a resource |
|
|
168
|
+
| `PUT /api/resources/{id}` | update a resource |
|
|
169
|
+
| `DELETE /api/resources/{id}` | delete a resource |
|
|
170
|
+
| custom action | from method name and business logic |
|
|
171
|
+
|
|
172
|
+
Benefit inference: CRUD -> "so that I can manage {resource} data"; search/filter -> "find relevant {resources} quickly"; export -> "use {resource} data externally"; notifications -> "be informed about {event}"; auth -> "my data is secure and accessible only to me". Acceptance criteria come from tests: fixtures -> Given, actions -> When, expectations -> Then.
|
|
173
|
+
|
|
174
|
+
```markdown
|
|
175
|
+
# US-XXX: [Inferred Title]
|
|
176
|
+
|
|
177
|
+
> INFERRED -- generated from codebase analysis. Human validation required.
|
|
178
|
+
|
|
179
|
+
## Source
|
|
180
|
+
- Module / Endpoint ({method} {path}) / Controller / Implements: FR-XXX (if PRD exists)
|
|
181
|
+
|
|
182
|
+
## User Story
|
|
183
|
+
As [inferred persona] I want [inferred action] So that [inferred benefit]
|
|
184
|
+
Conversation: [ ] persona [ ] action matches intent [ ] benefit matches business goals
|
|
185
|
+
INVEST: [ ] Independent / Negotiable / Valuable / Estimable / Sized / Testable
|
|
186
|
+
|
|
187
|
+
## Acceptance Criteria (Gherkin)
|
|
188
|
+
Scenario: nominal (from happy path) Given / When / Then
|
|
189
|
+
Scenario: error (from validation) Given / When / Then
|
|
190
|
+
|
|
191
|
+
## Technical Notes
|
|
192
|
+
Entity, validation rules, auth requirements, dispatched events
|
|
193
|
+
|
|
194
|
+
## Estimation
|
|
195
|
+
Story Points (from complexity), MoSCoW (from usage patterns)
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**4. Traceability** (if `project-management/prd.md` exists): map each story to an FR-xxx (add `implements: FR-xxx`), list stories without a requirement (code without spec) and requirements without a story (spec without code).
|
|
199
|
+
|
|
200
|
+
**5. Output and validation.** Save to `project-management/backlog/user-stories/US-001-create-user.md`, `US-002-...`, generate a summary index grouped by module (title, points, MoSCoW, mapped-to-PRD count, unmapped count), then ask the user to validate, correct or reject each story.
|
|
201
|
+
|
|
202
|
+
## gaps
|
|
203
|
+
|
|
204
|
+
Compare specifications (PRD, stories, tech spec) with the actual code.
|
|
205
|
+
|
|
206
|
+
**1. Load specs:** `project-management/prd.md`, `project-management/backlog/user-stories/`, `project-management/tech-spec.md` (if any), the scan report (refresh it by running `scan` if missing or outdated). Parse FR-xxx, NFR-xxx and US-xxx.
|
|
207
|
+
|
|
208
|
+
**2. Scan code:** catalog endpoints, business logic, data models, tests, infrastructure into a feature inventory indexed by module.
|
|
209
|
+
|
|
210
|
+
**3. Four-way comparison:**
|
|
211
|
+
|
|
212
|
+
| Category | Checks |
|
|
213
|
+
|----------|--------|
|
|
214
|
+
| **Spec without code** (not implemented) | FR-xxx without matching endpoint; US-xxx without matching feature; NFR-xxx without matching config |
|
|
215
|
+
| **Code without spec** (undocumented) | Endpoints without FR reference; services without US reference; entities without spec coverage |
|
|
216
|
+
| **Spec-code mismatch** (inconsistent) | Field, status-flow, auth, validation and response-format differences |
|
|
217
|
+
| **Test gaps** (untested) | Features without unit / integration tests; acceptance criteria without E2E tests; error paths without tests |
|
|
218
|
+
|
|
219
|
+
**4. Classify by severity:**
|
|
220
|
+
|
|
221
|
+
| Severity | Criteria | Action |
|
|
222
|
+
|----------|----------|--------|
|
|
223
|
+
| **Critical** | Core feature missing or broken; security vulnerability; data integrity risk | Immediate fix |
|
|
224
|
+
| **Major** | Important feature gap; significant mismatch; missing critical tests | Current sprint |
|
|
225
|
+
| **Minor** | Documentation gap; non-critical mismatch; missing edge-case tests | Next sprint |
|
|
226
|
+
| **Info** | Style inconsistency; optional feature; enhancement | Backlog |
|
|
227
|
+
|
|
228
|
+
Rules: spec without code + P0 = Critical, + P1 = Major, + P2 = Minor; code without spec + auth = Major, + CRUD = Minor; mismatch + data integrity = Critical, + UI/UX = Minor; test gap + business logic = Major, + edge case = Minor.
|
|
229
|
+
|
|
230
|
+
**5. Report** at `project-management/analysis/gap-analysis.md`: header (project, date, scope), spec / code / test coverage percentages, gap counts per severity, the four category tables with evidence (file paths, line references), and a priority-ranked remediation list with effort (S < 2h, M 2-8h, L > 8h).
|
|
231
|
+
|
|
232
|
+
```
|
|
233
|
+
| # | Action | Severity | Effort |
|
|
234
|
+
| 1 | Implement FR-005 (password reset) | Critical | M |
|
|
235
|
+
| 2 | Add integration tests for payment | Critical | S |
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
Then offer: create stories for the missing features, generate tasks for remediation items, or focus on one gap category.
|
|
239
|
+
|
|
240
|
+
## all
|
|
241
|
+
|
|
242
|
+
Run `scan` -> `prd` -> `stories` -> `gaps` in order, reusing each output as the next input (no re-scan). Pause for human validation after `prd` and `stories`. End with a recap: files written, number of inferred personas / requirements / stories, gap counts per severity and the top 3 actions.
|
|
243
|
+
|
|
244
|
+
## Related Commands
|
|
245
|
+
|
|
246
|
+
- `/workflow:plan --only=prd` - Generate a PRD interactively (greenfield)
|
|
247
|
+
- `/workflow:plan --only=backlog` - Create a SCRUM backlog from the PRD
|
|
248
|
+
- `/workflow:design` - Generate a technical specification
|
|
249
|
+
- `/project:backlog` - Manage epics, stories and tasks
|
|
@@ -1,191 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
3
|
-
|
|
2
|
+
description: "Deprecated (removed in 9.0): use /workflow:implement --epic"
|
|
3
|
+
deprecated: true
|
|
4
|
+
replaced-by: /workflow:implement
|
|
4
5
|
---
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
> ⚠️ `/project:run-epic` is deprecated and will be removed in 9.0. Use `/workflow:implement --epic`.
|
|
7
8
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## Arguments
|
|
11
|
-
|
|
12
|
-
$ARGUMENTS (format: <epic-id> [--dry-run])
|
|
13
|
-
- **epic-id** (required): Epic identifier (e.g., EPIC-001)
|
|
14
|
-
- **--dry-run** (optional): Preview without executing
|
|
15
|
-
|
|
16
|
-
## Plan Mode
|
|
17
|
-
|
|
18
|
-
> **Plan mode is recommended.** Claude activates plan mode to structure the approach, identify dependencies, and present a generation strategy before creating artifacts.
|
|
19
|
-
|
|
20
|
-
## Process
|
|
21
|
-
|
|
22
|
-
### Step 1: Identify epic stories
|
|
23
|
-
|
|
24
|
-
1. Read `.bmad/sprint-status.yaml`
|
|
25
|
-
2. Find all stories with `epic_id` matching argument
|
|
26
|
-
3. Sort by priority or ID
|
|
27
|
-
|
|
28
|
-
### Step 2: Check story readiness
|
|
29
|
-
|
|
30
|
-
For each story, verify:
|
|
31
|
-
- Story exists and has required fields
|
|
32
|
-
- Not already completed
|
|
33
|
-
- Not blocked (or flag for review)
|
|
34
|
-
|
|
35
|
-
### Step 3: Build execution queue
|
|
36
|
-
|
|
37
|
-
Create prioritized queue:
|
|
38
|
-
1. Stories with no dependencies first
|
|
39
|
-
2. Lower ID = higher priority
|
|
40
|
-
3. Respect explicit priority if set
|
|
41
|
-
|
|
42
|
-
### Step 4: Add to batch queue
|
|
43
|
-
|
|
44
|
-
Update `.bmad/batch-queue.yaml`:
|
|
45
|
-
```yaml
|
|
46
|
-
queue:
|
|
47
|
-
- story_id: "US-001"
|
|
48
|
-
priority: 1
|
|
49
|
-
status: "pending"
|
|
50
|
-
dependencies: []
|
|
51
|
-
- story_id: "US-002"
|
|
52
|
-
priority: 2
|
|
53
|
-
dependencies: ["US-001"]
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
### Step 5: Execute (unless --dry-run)
|
|
57
|
-
|
|
58
|
-
For each story in order:
|
|
59
|
-
1. Transition to in-progress
|
|
60
|
-
2. Execute development workflow
|
|
61
|
-
3. Run quality gates
|
|
62
|
-
4. Transition through states
|
|
63
|
-
5. Checkpoint after each
|
|
64
|
-
|
|
65
|
-
## Output Format
|
|
66
|
-
|
|
67
|
-
### Dry Run
|
|
68
|
-
|
|
69
|
-
```
|
|
70
|
-
═══════════════════════════════════════════════════════
|
|
71
|
-
Run Epic: EPIC-002 (DRY RUN)
|
|
72
|
-
═══════════════════════════════════════════════════════
|
|
73
|
-
|
|
74
|
-
Epic: EPIC-002 - User Management
|
|
75
|
-
Stories: 5
|
|
76
|
-
|
|
77
|
-
Execution Plan:
|
|
78
|
-
──────────────────────────────────────────────────────
|
|
79
|
-
[1] US-010: User registration (5 pts)
|
|
80
|
-
Status: ready-for-dev → in-progress → review → done
|
|
81
|
-
Dependencies: none
|
|
82
|
-
|
|
83
|
-
[2] US-011: User login (5 pts)
|
|
84
|
-
Status: ready-for-dev → in-progress → review → done
|
|
85
|
-
Dependencies: US-010
|
|
86
|
-
|
|
87
|
-
[3] US-012: Profile page (5 pts)
|
|
88
|
-
Status: ready-for-dev → in-progress → review → done
|
|
89
|
-
Dependencies: US-010
|
|
90
|
-
|
|
91
|
-
[4] US-013: Password reset (3 pts)
|
|
92
|
-
Status: ready-for-dev → in-progress → review → done
|
|
93
|
-
Dependencies: US-010, US-011
|
|
94
|
-
|
|
95
|
-
[5] US-014: Email verification (3 pts)
|
|
96
|
-
Status: ready-for-dev → in-progress → review → done
|
|
97
|
-
Dependencies: US-010
|
|
98
|
-
|
|
99
|
-
Total Points: 21
|
|
100
|
-
|
|
101
|
-
Execution Order (respecting dependencies):
|
|
102
|
-
1. US-010 (no deps)
|
|
103
|
-
2. US-011, US-012, US-014 (parallel after US-010)
|
|
104
|
-
3. US-013 (after US-010, US-011)
|
|
105
|
-
|
|
106
|
-
Estimated workflow per story:
|
|
107
|
-
• Transition to in-progress
|
|
108
|
-
• TDD cycles (red → green → refactor)
|
|
109
|
-
• Code review
|
|
110
|
-
• Quality gate validation
|
|
111
|
-
• Transition to done
|
|
112
|
-
|
|
113
|
-
⚠️ DRY RUN - No changes made
|
|
114
|
-
|
|
115
|
-
Run without --dry-run to execute.
|
|
116
|
-
═══════════════════════════════════════════════════════
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
### Execution
|
|
120
|
-
|
|
121
|
-
```
|
|
122
|
-
═══════════════════════════════════════════════════════
|
|
123
|
-
Run Epic: EPIC-002
|
|
124
|
-
═══════════════════════════════════════════════════════
|
|
125
|
-
|
|
126
|
-
Epic: EPIC-002 - User Management
|
|
127
|
-
Mode: Sequential
|
|
128
|
-
Stories: 5
|
|
129
|
-
|
|
130
|
-
Queuing stories...
|
|
131
|
-
──────────────────────────────────────────────────────
|
|
132
|
-
✅ Added US-010 (priority 1)
|
|
133
|
-
✅ Added US-011 (priority 2, depends on US-010)
|
|
134
|
-
✅ Added US-012 (priority 3, depends on US-010)
|
|
135
|
-
✅ Added US-013 (priority 4, depends on US-010, US-011)
|
|
136
|
-
✅ Added US-014 (priority 5, depends on US-010)
|
|
137
|
-
|
|
138
|
-
Queue Status:
|
|
139
|
-
──────────────────────────────────────────────────────
|
|
140
|
-
⏳ Pending: 5
|
|
141
|
-
🔄 Running: 0
|
|
142
|
-
✅ Completed: 0
|
|
143
|
-
❌ Failed: 0
|
|
144
|
-
|
|
145
|
-
Next Steps:
|
|
146
|
-
──────────────────────────────────────────────────────
|
|
147
|
-
Run the queue:
|
|
148
|
-
/project:run-queue
|
|
149
|
-
|
|
150
|
-
Or process automatically:
|
|
151
|
-
/project:run-queue --auto
|
|
152
|
-
|
|
153
|
-
Monitor progress:
|
|
154
|
-
/project:batch-status
|
|
155
|
-
═══════════════════════════════════════════════════════
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
## Example
|
|
159
|
-
|
|
160
|
-
```
|
|
161
|
-
/project:run-epic EPIC-002 --dry-run
|
|
162
|
-
/project:run-epic EPIC-002
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
## Parallel Execution
|
|
166
|
-
|
|
167
|
-
For independent stories, enable parallel mode:
|
|
168
|
-
```
|
|
169
|
-
/project:run-queue --parallel 3
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
This processes up to 3 stories simultaneously when they have no dependencies.
|
|
173
|
-
|
|
174
|
-
## Resuming
|
|
175
|
-
|
|
176
|
-
If execution is interrupted:
|
|
177
|
-
```
|
|
178
|
-
/project:run-queue --resume
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
Continues from last checkpoint.
|
|
182
|
-
|
|
183
|
-
## Integration with Ralph
|
|
184
|
-
|
|
185
|
-
If Ralph is configured, batch execution integrates:
|
|
186
|
-
```yaml
|
|
187
|
-
# ralph.yml
|
|
188
|
-
bmad_integration:
|
|
189
|
-
enabled: true
|
|
190
|
-
batch_queue_file: ".bmad/batch-queue.yaml"
|
|
191
|
-
```
|
|
9
|
+
Run `/workflow:implement --epic $ARGUMENTS`: read `.claude/commands/workflow/implement.md` and follow it with these arguments.
|