@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
|
@@ -1,288 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
- name: scan-report
|
|
6
|
-
description: Path to scan report (default project-management/scan-report.md)
|
|
7
|
-
required: false
|
|
8
|
-
- name: output
|
|
9
|
-
description: Output path (default project-management/prd.md)
|
|
10
|
-
required: false
|
|
2
|
+
description: "Deprecated (removed in 9.0): use /project:reverse prd"
|
|
3
|
+
deprecated: true
|
|
4
|
+
replaced-by: /project:reverse
|
|
11
5
|
---
|
|
12
6
|
|
|
13
|
-
|
|
7
|
+
> ⚠️ `/project:reverse-prd` is deprecated and will be removed in 9.0. Use `/project:reverse prd`.
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
Generate a DRAFT Product Requirements Document (PRD) from an existing codebase by analyzing implemented features, business logic, authentication patterns, and infrastructure. This is the brownfield counterpart to `/project:generate-prd` for projects that already have working code but lack formal specifications.
|
|
18
|
-
|
|
19
|
-
**IMPORTANT:** The output is always a DRAFT. All inferred sections are marked as requiring human validation. This command does NOT create authoritative specifications -- it creates a starting point for discussion and refinement.
|
|
20
|
-
|
|
21
|
-
## Prerequisites
|
|
22
|
-
|
|
23
|
-
- Scan report exists at `project-management/scan-report.md` (or run `/project:scan` first)
|
|
24
|
-
- Codebase is accessible for analysis
|
|
25
|
-
- Optional: Existing documentation in `./docs/`
|
|
26
|
-
- Optional: `README.md` with project description
|
|
27
|
-
|
|
28
|
-
## Plan Mode
|
|
29
|
-
|
|
30
|
-
> **Plan mode is mandatory.** Before executing, Claude activates plan mode to analyze impacted code, propose an implementation plan, and wait for your validation before making any changes.
|
|
31
|
-
|
|
32
|
-
## Workflow
|
|
33
|
-
|
|
34
|
-
### Step 1: Load Scan Report
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
+--------------------------------------------------------------+
|
|
38
|
-
| REVERSE PRD - LOADING SCAN |
|
|
39
|
-
+--------------------------------------------------------------+
|
|
40
|
-
| Loading scan report... |
|
|
41
|
-
+--------------------------------------------------------------+
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
**Actions:**
|
|
45
|
-
1. Load `project-management/scan-report.md`
|
|
46
|
-
2. If scan report does not exist, prompt user to run `/project:scan` first
|
|
47
|
-
3. Parse technology stack, modules, endpoints, entities, and services
|
|
48
|
-
4. Load any existing documentation from `./docs/` and `README.md`
|
|
49
|
-
|
|
50
|
-
### Step 2: Business Logic Analysis
|
|
51
|
-
|
|
52
|
-
```
|
|
53
|
-
+--------------------------------------------------------------+
|
|
54
|
-
| REVERSE PRD - BUSINESS ANALYSIS |
|
|
55
|
-
+--------------------------------------------------------------+
|
|
56
|
-
| Analyzing business logic from code... |
|
|
57
|
-
+--------------------------------------------------------------+
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**For each module/bounded context, analyze:**
|
|
61
|
-
|
|
62
|
-
1. **Domain Events**: What business events are dispatched?
|
|
63
|
-
- Event classes and their payloads
|
|
64
|
-
- Event listeners and subscribers
|
|
65
|
-
- Event-driven workflows
|
|
66
|
-
|
|
67
|
-
2. **Use Cases / Commands / Queries**: What operations exist?
|
|
68
|
-
- Command handlers (write operations)
|
|
69
|
-
- Query handlers (read operations)
|
|
70
|
-
- Service methods with business logic
|
|
71
|
-
|
|
72
|
-
3. **Validation Rules**: What constraints exist?
|
|
73
|
-
- Entity validation (annotations, attributes)
|
|
74
|
-
- Form/request validation
|
|
75
|
-
- Business rule assertions
|
|
76
|
-
|
|
77
|
-
4. **State Machines**: What status transitions exist?
|
|
78
|
-
- Enum types for statuses
|
|
79
|
-
- Workflow/state machine configurations
|
|
80
|
-
- Guard conditions
|
|
81
|
-
|
|
82
|
-
5. **External Integrations**: What third-party services are used?
|
|
83
|
-
- Payment gateways
|
|
84
|
-
- Email/notification services
|
|
85
|
-
- Storage providers
|
|
86
|
-
- External APIs
|
|
87
|
-
|
|
88
|
-
### Step 3: Requirement Inference
|
|
89
|
-
|
|
90
|
-
```
|
|
91
|
-
+--------------------------------------------------------------+
|
|
92
|
-
| REVERSE PRD - INFERENCE |
|
|
93
|
-
+--------------------------------------------------------------+
|
|
94
|
-
| Inferring requirements from code... |
|
|
95
|
-
+--------------------------------------------------------------+
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**Inference Rules:**
|
|
99
|
-
|
|
100
|
-
| Code Pattern | Inferred Requirement |
|
|
101
|
-
|-------------|---------------------|
|
|
102
|
-
| Auth middleware / JWT | User authentication required |
|
|
103
|
-
| Role-based guards | Authorization with roles |
|
|
104
|
-
| CRUD controllers | Data management features |
|
|
105
|
-
| File upload handlers | Document/media management |
|
|
106
|
-
| Email services | Notification system |
|
|
107
|
-
| Payment gateway | Payment processing |
|
|
108
|
-
| Export endpoints | Reporting/export features |
|
|
109
|
-
| Search/filter logic | Search and filtering |
|
|
110
|
-
| Pagination | Large dataset handling |
|
|
111
|
-
| Cache layers | Performance requirements |
|
|
112
|
-
| Queue workers | Async processing requirements |
|
|
113
|
-
| Rate limiting | API protection requirements |
|
|
114
|
-
|
|
115
|
-
**Persona Inference from Auth Patterns:**
|
|
116
|
-
|
|
117
|
-
| Auth Pattern | Inferred Persona |
|
|
118
|
-
|-------------|-----------------|
|
|
119
|
-
| `ROLE_ADMIN` | Administrator persona |
|
|
120
|
-
| `ROLE_USER` | Standard user persona |
|
|
121
|
-
| `ROLE_MANAGER` | Manager/supervisor persona |
|
|
122
|
-
| Public endpoints (no auth) | Anonymous/visitor persona |
|
|
123
|
-
| API key auth | External system/integration persona |
|
|
124
|
-
|
|
125
|
-
**NFR Inference from Infrastructure:**
|
|
126
|
-
|
|
127
|
-
| Infrastructure | Inferred NFR |
|
|
128
|
-
|---------------|-------------|
|
|
129
|
-
| Docker / Kubernetes | Scalability, containerization |
|
|
130
|
-
| Redis / Memcached | Performance caching requirements |
|
|
131
|
-
| Queue system (RabbitMQ, etc.) | Async processing, reliability |
|
|
132
|
-
| CI/CD pipelines | Deployment automation |
|
|
133
|
-
| Load balancer config | High availability |
|
|
134
|
-
| SSL/TLS configuration | Security requirements |
|
|
135
|
-
| Logging stack (ELK, etc.) | Monitoring requirements |
|
|
136
|
-
|
|
137
|
-
### Step 4: PRD Generation
|
|
138
|
-
|
|
139
|
-
```
|
|
140
|
-
+--------------------------------------------------------------+
|
|
141
|
-
| REVERSE PRD - GENERATION |
|
|
142
|
-
+--------------------------------------------------------------+
|
|
143
|
-
| Generating DRAFT PRD... |
|
|
144
|
-
+--------------------------------------------------------------+
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
**Generate the PRD with the following sections:**
|
|
148
|
-
|
|
149
|
-
1. **Executive Summary** -- `INFERRED`
|
|
150
|
-
- Project name and description from README/code
|
|
151
|
-
- Technology stack summary
|
|
152
|
-
- Estimated scope and complexity
|
|
153
|
-
|
|
154
|
-
2. **Problem Statement** -- `INFERRED`
|
|
155
|
-
- Inferred from domain model and business logic
|
|
156
|
-
- Marked for human validation
|
|
157
|
-
|
|
158
|
-
3. **Goals & Metrics** -- `PLACEHOLDER`
|
|
159
|
-
- Cannot be reliably inferred from code
|
|
160
|
-
- Placeholder section requiring human input
|
|
161
|
-
|
|
162
|
-
4. **Target Users / Personas** -- `INFERRED`
|
|
163
|
-
- Generated from authentication and authorization patterns
|
|
164
|
-
- Each persona marked as draft
|
|
165
|
-
|
|
166
|
-
5. **Functional Requirements** -- `INFERRED`
|
|
167
|
-
- One requirement per feature/endpoint group
|
|
168
|
-
- Prioritized by code complexity and usage patterns
|
|
169
|
-
- Each tagged with source module
|
|
170
|
-
|
|
171
|
-
6. **Non-Functional Requirements** -- `INFERRED`
|
|
172
|
-
- Inferred from infrastructure and configuration
|
|
173
|
-
- Performance, security, scalability sections
|
|
174
|
-
|
|
175
|
-
7. **Scope & Constraints** -- `INFERRED`
|
|
176
|
-
- Current scope from implemented features
|
|
177
|
-
- Technical constraints from stack choices
|
|
178
|
-
|
|
179
|
-
8. **Risks & Mitigations** -- `INFERRED`
|
|
180
|
-
- Technical debt indicators
|
|
181
|
-
- Missing test coverage areas
|
|
182
|
-
- Dependency risks
|
|
183
|
-
|
|
184
|
-
**Every inferred section includes the marker:**
|
|
185
|
-
```
|
|
186
|
-
> INFERRED -- This section was generated by analyzing the existing codebase.
|
|
187
|
-
> Human validation is required before treating this as an authoritative requirement.
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
### Step 5: Human Validation
|
|
191
|
-
|
|
192
|
-
```
|
|
193
|
-
+--------------------------------------------------------------+
|
|
194
|
-
| REVERSE PRD - VALIDATION |
|
|
195
|
-
+--------------------------------------------------------------+
|
|
196
|
-
| DRAFT PRD generated. Human validation required. |
|
|
197
|
-
+--------------------------------------------------------------+
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
**Present the draft to the user for validation:**
|
|
201
|
-
1. Display a summary of all inferred sections
|
|
202
|
-
2. Highlight sections with low confidence
|
|
203
|
-
3. Identify sections that could not be inferred (Goals, Metrics)
|
|
204
|
-
4. Ask the user to validate, correct, or expand each section
|
|
205
|
-
5. Iterate until the user is satisfied
|
|
206
|
-
|
|
207
|
-
## Output Format
|
|
208
|
-
|
|
209
|
-
```
|
|
210
|
-
project-management/
|
|
211
|
-
+-- prd.md # Generated DRAFT PRD
|
|
212
|
-
+-- analysis/
|
|
213
|
-
+-- reverse-engineering.md # Analysis notes and confidence levels
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
**PRD Header:**
|
|
217
|
-
|
|
218
|
-
```
|
|
219
|
-
+==============================================================+
|
|
220
|
-
| REVERSE-ENGINEERED PRD (DRAFT) |
|
|
221
|
-
+==============================================================+
|
|
222
|
-
| Project: {name} |
|
|
223
|
-
| Source: Codebase analysis |
|
|
224
|
-
| Status: DRAFT - Requires human validation |
|
|
225
|
-
| Generated: {date} |
|
|
226
|
-
+==============================================================+
|
|
227
|
-
| Confidence Levels: |
|
|
228
|
-
| - Executive Summary: HIGH |
|
|
229
|
-
| - Problem Statement: MEDIUM |
|
|
230
|
-
| - Goals & Metrics: LOW (placeholder) |
|
|
231
|
-
| - Personas: MEDIUM |
|
|
232
|
-
| - Functional Requirements: HIGH |
|
|
233
|
-
| - Non-Functional Reqs: MEDIUM |
|
|
234
|
-
| - Scope & Constraints: HIGH |
|
|
235
|
-
| - Risks: MEDIUM |
|
|
236
|
-
+==============================================================+
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
## Example Session
|
|
240
|
-
|
|
241
|
-
```
|
|
242
|
-
User: /project:reverse-prd
|
|
243
|
-
|
|
244
|
-
Claude: Starting reverse PRD generation...
|
|
245
|
-
|
|
246
|
-
[Loading Scan]
|
|
247
|
-
Loaded scan report: project-management/scan-report.md
|
|
248
|
-
Stack: Symfony 7.2 / PHP 8.4
|
|
249
|
-
Modules: 5 bounded contexts, 23 endpoints, 8 entities
|
|
250
|
-
|
|
251
|
-
[Business Analysis]
|
|
252
|
-
Analyzing domain events... Found 12 event types
|
|
253
|
-
Analyzing use cases... Found 18 command/query handlers
|
|
254
|
-
Analyzing validation rules... Found 35 constraint annotations
|
|
255
|
-
Analyzing auth patterns... Found 3 role types (ADMIN, MANAGER, USER)
|
|
256
|
-
|
|
257
|
-
[Inference]
|
|
258
|
-
Inferred 3 personas from auth patterns
|
|
259
|
-
Inferred 14 functional requirements from endpoints
|
|
260
|
-
Inferred 6 non-functional requirements from infrastructure
|
|
261
|
-
|
|
262
|
-
[Generation]
|
|
263
|
-
DRAFT PRD generated: project-management/prd.md
|
|
264
|
-
|
|
265
|
-
Summary:
|
|
266
|
-
- 3 personas (Admin, Manager, User) -- INFERRED
|
|
267
|
-
- 14 functional requirements across 5 modules -- INFERRED
|
|
268
|
-
- 6 non-functional requirements -- INFERRED
|
|
269
|
-
- Goals & Metrics -- PLACEHOLDER (needs human input)
|
|
270
|
-
|
|
271
|
-
Sections requiring your attention:
|
|
272
|
-
1. Goals & Metrics (could not be inferred)
|
|
273
|
-
2. Problem Statement (low confidence)
|
|
274
|
-
3. Persona details (names, demographics)
|
|
275
|
-
|
|
276
|
-
Would you like to:
|
|
277
|
-
1. Review and validate each section interactively?
|
|
278
|
-
2. Focus on a specific section first?
|
|
279
|
-
3. Export the draft as-is and refine later?
|
|
280
|
-
```
|
|
281
|
-
|
|
282
|
-
## Related Commands
|
|
283
|
-
|
|
284
|
-
- `/project:scan` - Scan codebase (prerequisite)
|
|
285
|
-
- `/project:reverse-stories` - Generate user stories from codebase
|
|
286
|
-
- `/project:gap-analysis` - Compare spec vs code
|
|
287
|
-
- `/project:generate-prd` - Generate PRD interactively (greenfield)
|
|
288
|
-
- `/project:generate-backlog` - Create SCRUM backlog from PRD
|
|
9
|
+
Run `/project:reverse prd $ARGUMENTS`: read `.claude/commands/project/reverse.md` and follow it with these arguments.
|
|
@@ -1,305 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
- name: scan-report
|
|
6
|
-
description: Path to scan report (default project-management/scan-report.md)
|
|
7
|
-
required: false
|
|
8
|
-
- name: scope
|
|
9
|
-
description: Scope to generate stories for (all, module, endpoint)
|
|
10
|
-
required: false
|
|
11
|
-
- name: module
|
|
12
|
-
description: Specific module to generate stories for
|
|
13
|
-
required: false
|
|
2
|
+
description: "Deprecated (removed in 9.0): use /project:reverse stories"
|
|
3
|
+
deprecated: true
|
|
4
|
+
replaced-by: /project:reverse
|
|
14
5
|
---
|
|
15
6
|
|
|
16
|
-
|
|
7
|
+
> ⚠️ `/project:reverse-stories` is deprecated and will be removed in 9.0. Use `/project:reverse stories`.
|
|
17
8
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Generate user stories from an existing codebase by analyzing implemented features, endpoints, and test assertions. Each story is inferred from actual code behavior and marked as a DRAFT requiring human validation. This command bridges the gap between working code and formal product documentation.
|
|
21
|
-
|
|
22
|
-
**IMPORTANT:** All generated stories are marked as `INFERRED`. They represent what the code currently does, not necessarily what it should do. Human validation is mandatory before treating these as authoritative requirements.
|
|
23
|
-
|
|
24
|
-
## Prerequisites
|
|
25
|
-
|
|
26
|
-
- Scan report exists at `project-management/scan-report.md` (or run `/project:scan` first)
|
|
27
|
-
- Optional: PRD exists at `project-management/prd.md` (from `/project:reverse-prd`)
|
|
28
|
-
- Codebase is accessible for analysis
|
|
29
|
-
- Optional: Existing test files for acceptance criteria extraction
|
|
30
|
-
|
|
31
|
-
## Plan Mode
|
|
32
|
-
|
|
33
|
-
> **Plan mode is mandatory.** Before executing, Claude activates plan mode to analyze impacted code, propose an implementation plan, and wait for your validation before making any changes.
|
|
34
|
-
|
|
35
|
-
## Workflow
|
|
36
|
-
|
|
37
|
-
### Step 1: Load Context
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
+--------------------------------------------------------------+
|
|
41
|
-
| REVERSE STORIES - LOADING CONTEXT |
|
|
42
|
-
+--------------------------------------------------------------+
|
|
43
|
-
| Loading scan report and PRD... |
|
|
44
|
-
+--------------------------------------------------------------+
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
**Actions:**
|
|
48
|
-
1. Load `project-management/scan-report.md`
|
|
49
|
-
2. If scan report does not exist, prompt user to run `/project:scan` first
|
|
50
|
-
3. Load `project-management/prd.md` if available (for FR-xxx traceability)
|
|
51
|
-
4. Parse modules, endpoints, entities, services, and test files
|
|
52
|
-
5. Determine scope (all modules, specific module, or specific endpoint)
|
|
53
|
-
|
|
54
|
-
### Step 2: Feature Extraction
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
+--------------------------------------------------------------+
|
|
58
|
-
| REVERSE STORIES - FEATURE EXTRACTION |
|
|
59
|
-
+--------------------------------------------------------------+
|
|
60
|
-
| Extracting features from code... |
|
|
61
|
-
+--------------------------------------------------------------+
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
**For each endpoint/feature, extract:**
|
|
65
|
-
|
|
66
|
-
1. **Controller/Handler Analysis**
|
|
67
|
-
- HTTP method and route path
|
|
68
|
-
- Request validation rules (DTO, form requests)
|
|
69
|
-
- Response structure and status codes
|
|
70
|
-
- Authorization requirements (roles, voters, policies)
|
|
71
|
-
|
|
72
|
-
2. **Service/Use Case Analysis**
|
|
73
|
-
- Business logic flow
|
|
74
|
-
- Side effects (events dispatched, notifications sent)
|
|
75
|
-
- External service calls
|
|
76
|
-
- Error handling paths
|
|
77
|
-
|
|
78
|
-
3. **Entity/Model Analysis**
|
|
79
|
-
- Fields and their constraints
|
|
80
|
-
- Relationships and cascading behavior
|
|
81
|
-
- State transitions (status fields, workflows)
|
|
82
|
-
- Soft delete, timestamps, versioning
|
|
83
|
-
|
|
84
|
-
4. **Test Analysis**
|
|
85
|
-
- Test method names (often describe behavior)
|
|
86
|
-
- Assertions (define expected outcomes)
|
|
87
|
-
- Test data fixtures (define valid/invalid inputs)
|
|
88
|
-
- Edge cases covered
|
|
89
|
-
|
|
90
|
-
### Step 3: Story Generation
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
+--------------------------------------------------------------+
|
|
94
|
-
| REVERSE STORIES - GENERATION |
|
|
95
|
-
+--------------------------------------------------------------+
|
|
96
|
-
| Generating user stories... |
|
|
97
|
-
+--------------------------------------------------------------+
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
**For each feature, generate a user story:**
|
|
101
|
-
|
|
102
|
-
#### Persona Inference
|
|
103
|
-
- `ROLE_ADMIN` + admin routes -> "As an administrator"
|
|
104
|
-
- `ROLE_USER` + authenticated routes -> "As a registered user"
|
|
105
|
-
- `ROLE_MANAGER` + management routes -> "As a manager"
|
|
106
|
-
- Public routes (no auth) -> "As a visitor"
|
|
107
|
-
- API key routes -> "As an external system"
|
|
108
|
-
|
|
109
|
-
#### Action Inference
|
|
110
|
-
- `POST /api/resources` -> "I want to create a resource"
|
|
111
|
-
- `GET /api/resources` -> "I want to list resources"
|
|
112
|
-
- `GET /api/resources/{id}` -> "I want to view a resource"
|
|
113
|
-
- `PUT /api/resources/{id}` -> "I want to update a resource"
|
|
114
|
-
- `DELETE /api/resources/{id}` -> "I want to delete a resource"
|
|
115
|
-
- Custom actions -> Inferred from method name and business logic
|
|
116
|
-
|
|
117
|
-
#### Benefit Inference
|
|
118
|
-
- CRUD operations -> "So that I can manage {resource} data"
|
|
119
|
-
- Search/filter -> "So that I can find relevant {resources} quickly"
|
|
120
|
-
- Export -> "So that I can use {resource} data externally"
|
|
121
|
-
- Notifications -> "So that I am informed about {event}"
|
|
122
|
-
- Auth -> "So that my data is secure and accessible only to me"
|
|
123
|
-
|
|
124
|
-
#### Acceptance Criteria from Tests
|
|
125
|
-
- Test assertions become Gherkin scenarios
|
|
126
|
-
- Test fixtures define Given conditions
|
|
127
|
-
- Test actions define When conditions
|
|
128
|
-
- Test expectations define Then conditions
|
|
129
|
-
|
|
130
|
-
**Story Template:**
|
|
131
|
-
|
|
132
|
-
```markdown
|
|
133
|
-
# US-XXX: [Inferred Title]
|
|
134
|
-
|
|
135
|
-
> INFERRED -- This story was generated from codebase analysis.
|
|
136
|
-
> Human validation is required.
|
|
137
|
-
|
|
138
|
-
## Source
|
|
139
|
-
- **Module**: {module_name}
|
|
140
|
-
- **Endpoint**: {method} {path}
|
|
141
|
-
- **Controller**: {controller_class}
|
|
142
|
-
- **Implements**: FR-XXX (if PRD exists)
|
|
143
|
-
|
|
144
|
-
## User Story
|
|
145
|
-
|
|
146
|
-
### Card
|
|
147
|
-
**As** [inferred persona]
|
|
148
|
-
**I want** [inferred action]
|
|
149
|
-
**So that** [inferred benefit]
|
|
150
|
-
|
|
151
|
-
### Conversation
|
|
152
|
-
- [ ] Validate persona assignment
|
|
153
|
-
- [ ] Confirm action description matches intent
|
|
154
|
-
- [ ] Verify benefit aligns with business goals
|
|
155
|
-
|
|
156
|
-
### INVEST Validation
|
|
157
|
-
- [ ] Independent / Negotiable / Valuable / Estimable / Sized / Testable
|
|
158
|
-
|
|
159
|
-
## Acceptance Criteria (Gherkin)
|
|
160
|
-
|
|
161
|
-
### Nominal Scenario (from code behavior)
|
|
162
|
-
Scenario: [Inferred from happy path]
|
|
163
|
-
Given [initial state from test fixtures]
|
|
164
|
-
When [action from controller/handler]
|
|
165
|
-
Then [expected result from assertions]
|
|
166
|
-
|
|
167
|
-
### Error Scenarios (from validation rules)
|
|
168
|
-
Scenario: [Inferred from validation]
|
|
169
|
-
Given [context]
|
|
170
|
-
When [invalid action]
|
|
171
|
-
Then [error response from code]
|
|
172
|
-
|
|
173
|
-
## Technical Notes
|
|
174
|
-
- Entity: {entity_name}
|
|
175
|
-
- Validation: {validation_rules}
|
|
176
|
-
- Auth: {auth_requirements}
|
|
177
|
-
- Events: {dispatched_events}
|
|
178
|
-
|
|
179
|
-
## Estimation
|
|
180
|
-
- **Story Points**: [estimated from complexity]
|
|
181
|
-
- **MoSCoW**: [inferred from usage patterns]
|
|
182
|
-
```
|
|
183
|
-
|
|
184
|
-
### Step 4: Traceability Mapping
|
|
185
|
-
|
|
186
|
-
```
|
|
187
|
-
+--------------------------------------------------------------+
|
|
188
|
-
| REVERSE STORIES - TRACEABILITY |
|
|
189
|
-
+--------------------------------------------------------------+
|
|
190
|
-
| Mapping stories to requirements... |
|
|
191
|
-
+--------------------------------------------------------------+
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
**If a PRD exists (`project-management/prd.md`):**
|
|
195
|
-
1. Map each story to a functional requirement (FR-xxx)
|
|
196
|
-
2. Identify stories without matching requirements (code without spec)
|
|
197
|
-
3. Identify requirements without matching stories (spec without code)
|
|
198
|
-
4. Add `implements: FR-xxx` reference to each mapped story
|
|
199
|
-
|
|
200
|
-
### Step 5: Output and Validation
|
|
201
|
-
|
|
202
|
-
```
|
|
203
|
-
+--------------------------------------------------------------+
|
|
204
|
-
| REVERSE STORIES - COMPLETE |
|
|
205
|
-
+--------------------------------------------------------------+
|
|
206
|
-
| Stories generated. Human validation required. |
|
|
207
|
-
+--------------------------------------------------------------+
|
|
208
|
-
```
|
|
209
|
-
|
|
210
|
-
**Actions:**
|
|
211
|
-
1. Save stories to `project-management/backlog/user-stories/`
|
|
212
|
-
2. Generate a summary index of all stories
|
|
213
|
-
3. Present stories grouped by module for user review
|
|
214
|
-
4. Ask user to validate, correct, or reject each story
|
|
215
|
-
|
|
216
|
-
## Output Format
|
|
217
|
-
|
|
218
|
-
```
|
|
219
|
-
project-management/
|
|
220
|
-
+-- backlog/
|
|
221
|
-
+-- user-stories/
|
|
222
|
-
+-- US-001-create-user.md
|
|
223
|
-
+-- US-002-list-users.md
|
|
224
|
-
+-- US-003-update-user.md
|
|
225
|
-
+-- US-004-create-order.md
|
|
226
|
-
+-- ...
|
|
227
|
-
```
|
|
228
|
-
|
|
229
|
-
**Summary Output:**
|
|
230
|
-
|
|
231
|
-
```
|
|
232
|
-
+==============================================================+
|
|
233
|
-
| REVERSE-ENGINEERED USER STORIES |
|
|
234
|
-
+==============================================================+
|
|
235
|
-
| Total Stories: 18 |
|
|
236
|
-
| Status: DRAFT - Requires human validation |
|
|
237
|
-
+==============================================================+
|
|
238
|
-
| Module: User |
|
|
239
|
-
| US-001: Create user account [3 pts] [Must] |
|
|
240
|
-
| US-002: List users with pagination [2 pts] [Must] |
|
|
241
|
-
| US-003: Update user profile [2 pts] [Must] |
|
|
242
|
-
| US-004: Deactivate user account [2 pts] [Should] |
|
|
243
|
-
+--------------------------------------------------------------+
|
|
244
|
-
| Module: Order |
|
|
245
|
-
| US-005: Create new order [5 pts] [Must] |
|
|
246
|
-
| US-006: List orders with filters [3 pts] [Must] |
|
|
247
|
-
| US-007: Update order status [3 pts] [Must] |
|
|
248
|
-
| US-008: Cancel order [3 pts] [Should] |
|
|
249
|
-
+--------------------------------------------------------------+
|
|
250
|
-
| Module: Payment |
|
|
251
|
-
| US-009: Process payment [5 pts] [Must] |
|
|
252
|
-
| US-010: Refund payment [5 pts] [Should] |
|
|
253
|
-
+--------------------------------------------------------------+
|
|
254
|
-
| Traceability: |
|
|
255
|
-
| Mapped to PRD: 14/18 stories |
|
|
256
|
-
| Unmapped (code without spec): 4 stories |
|
|
257
|
-
+==============================================================+
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
## Example Session
|
|
261
|
-
|
|
262
|
-
```
|
|
263
|
-
User: /project:reverse-stories --module=Order
|
|
264
|
-
|
|
265
|
-
Claude: Starting reverse story generation for module: Order
|
|
266
|
-
|
|
267
|
-
[Loading Context]
|
|
268
|
-
Loaded scan report: 5 modules, 23 endpoints
|
|
269
|
-
Loaded PRD: 14 functional requirements
|
|
270
|
-
Focusing on module: Order (7 endpoints, 3 entities)
|
|
271
|
-
|
|
272
|
-
[Feature Extraction]
|
|
273
|
-
Analyzing OrderController... 5 endpoints found
|
|
274
|
-
Analyzing CreateOrderHandler... 3 dependencies, 2 events
|
|
275
|
-
Analyzing Order entity... 15 fields, 4 status transitions
|
|
276
|
-
Analyzing OrderTest... 12 test methods
|
|
277
|
-
|
|
278
|
-
[Story Generation]
|
|
279
|
-
Generated 6 user stories from Order module:
|
|
280
|
-
- US-005: Create new order (POST /api/orders)
|
|
281
|
-
- US-006: List orders with filters (GET /api/orders)
|
|
282
|
-
- US-007: View order details (GET /api/orders/{id})
|
|
283
|
-
- US-008: Update order status (PATCH /api/orders/{id}/status)
|
|
284
|
-
- US-009: Cancel order (POST /api/orders/{id}/cancel)
|
|
285
|
-
- US-010: Export orders to CSV (GET /api/orders/export)
|
|
286
|
-
|
|
287
|
-
[Traceability]
|
|
288
|
-
5/6 stories mapped to PRD requirements
|
|
289
|
-
1 story unmapped: US-010 (Export) - no matching FR in PRD
|
|
290
|
-
|
|
291
|
-
Stories saved to: project-management/backlog/user-stories/
|
|
292
|
-
|
|
293
|
-
Would you like to:
|
|
294
|
-
1. Review each story for validation?
|
|
295
|
-
2. Generate stories for another module?
|
|
296
|
-
3. Run /project:gap-analysis to find all gaps?
|
|
297
|
-
```
|
|
298
|
-
|
|
299
|
-
## Related Commands
|
|
300
|
-
|
|
301
|
-
- `/project:scan` - Scan codebase (prerequisite)
|
|
302
|
-
- `/project:reverse-prd` - Generate PRD from codebase
|
|
303
|
-
- `/project:gap-analysis` - Compare spec vs code
|
|
304
|
-
- `/project:generate-backlog` - Create SCRUM backlog from PRD (greenfield)
|
|
305
|
-
- `/project:update-stories` - Update existing stories
|
|
9
|
+
Run `/project:reverse stories $ARGUMENTS`: read `.claude/commands/project/reverse.md` and follow it with these arguments.
|