bmad-method 6.10.1-next.9 → 6.11.0
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/.claude-plugin/marketplace.json +30 -57
- package/README.md +49 -82
- package/README_CN.md +10 -10
- package/README_VN.md +11 -11
- package/bmad-modules.yaml +43 -39
- package/package.json +7 -3
- package/removals.txt +17 -0
- package/src/bmm-skills/{1-analysis → agents}/bmad-agent-analyst/SKILL.md +1 -1
- package/src/bmm-skills/{1-analysis → agents}/bmad-agent-analyst/customize.toml +22 -7
- package/src/bmm-skills/{3-solutioning → agents}/bmad-agent-architect/SKILL.md +1 -1
- package/src/bmm-skills/{3-solutioning → agents}/bmad-agent-architect/customize.toml +2 -2
- package/src/bmm-skills/{4-implementation → agents}/bmad-agent-dev/SKILL.md +1 -1
- package/src/bmm-skills/{4-implementation → agents}/bmad-agent-dev/customize.toml +7 -14
- package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-pm/SKILL.md +1 -1
- package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-pm/customize.toml +2 -2
- package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-ux-designer/SKILL.md +1 -1
- package/src/bmm-skills/module-help.csv +14 -26
- package/src/bmm-skills/module.yaml +5 -15
- package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/SKILL.md +3 -3
- package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/customize.toml +4 -2
- package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/SKILL.md +1 -1
- package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-04-final-validation.md +1 -1
- package/src/bmm-skills/plan/bmad-generate-project-context/SKILL.md +10 -0
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/SKILL.md +3 -1
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/prd-template.md +1 -1
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/customize.toml +5 -3
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/references/validate.md +3 -3
- package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/SKILL.md +1 -1
- package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/bmad-manifest.json +1 -1
- package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/verdict.md +1 -1
- package/src/bmm-skills/{1-analysis → plan}/bmad-product-brief/SKILL.md +1 -1
- package/src/bmm-skills/{1-analysis → plan}/bmad-product-brief/customize.toml +5 -3
- package/src/bmm-skills/plan/bmad-project-context/SKILL.md +110 -0
- package/src/bmm-skills/plan/bmad-project-context/customize.toml +24 -0
- package/src/bmm-skills/plan/bmad-project-context/references/best-practices.md +65 -0
- package/src/bmm-skills/plan/bmad-project-context/references/template.md +55 -0
- package/src/{core-skills → bmm-skills/plan}/bmad-spec/SKILL.md +1 -1
- package/src/{core-skills → bmm-skills/plan}/bmad-spec/assets/spec-template.md +1 -1
- package/src/{core-skills → bmm-skills/plan}/bmad-spec/customize.toml +3 -4
- package/src/bmm-skills/plan/bmad-sprint-planning/SKILL.md +62 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/references/fix-sprint-status.md +30 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/references/generate-tracking.md +25 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/references/readiness-gate.md +20 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/references/status-view.md +14 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/references/validate.md +10 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/__pycache__/sprint_plan.cpython-311.pyc +0 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/sprint_plan.py +697 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/__pycache__/test_sprint_plan.cpython-311-pytest-9.1.1.pyc +0 -0
- package/src/bmm-skills/plan/bmad-sprint-planning/scripts/tests/test_sprint_plan.py +524 -0
- package/src/bmm-skills/{4-implementation → plan}/bmad-sprint-planning/sprint-status-template.yaml +9 -7
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/SKILL.md +1 -1
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/color-themes.md +1 -1
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/customize.toml +4 -2
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/creative-tools.md +1 -1
- package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/validate.md +1 -1
- package/src/bmm-skills/ship/bmad-build/SKILL.md +13 -0
- package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/compile-epic-context.md +1 -1
- package/src/bmm-skills/ship/bmad-build/customize.toml +164 -0
- package/src/bmm-skills/ship/bmad-build/references/deletion-check.md +14 -0
- package/src/bmm-skills/ship/bmad-build/review-prompts/edge-case-hunter.md +88 -0
- package/src/bmm-skills/ship/bmad-build/review-prompts/verification-gap.md +113 -0
- package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-01-clarify-and-route.md +20 -19
- package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-02-plan.md +5 -9
- package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-03-implement.md +10 -6
- package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-04-review.md +9 -15
- package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/step-05-present.md +10 -13
- package/src/bmm-skills/ship/bmad-build/step-oneshot.md +77 -0
- package/src/bmm-skills/ship/bmad-build/sync-sprint-status.md +19 -0
- package/src/bmm-skills/ship/bmad-build/workflow.md +84 -0
- package/src/bmm-skills/ship/bmad-build-auto/SKILL.md +13 -0
- package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/compile-epic-context.md +1 -1
- package/src/bmm-skills/ship/bmad-build-auto/customize.toml +121 -0
- package/src/{core-skills/bmad-review-edge-case-hunter/SKILL.md → bmm-skills/ship/bmad-build-auto/review-prompts/edge-case-hunter.md} +21 -6
- package/src/{core-skills/bmad-review-verification-gap/SKILL.md → bmm-skills/ship/bmad-build-auto/review-prompts/verification-gap.md} +15 -8
- package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/spec-template.md +2 -1
- package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-01-clarify-and-route.md +16 -17
- package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-02-plan.md +5 -9
- package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-03-implement.md +6 -4
- package/src/bmm-skills/{4-implementation/bmad-dev-auto → ship/bmad-build-auto}/step-04-review.md +26 -25
- package/src/bmm-skills/{4-implementation/bmad-dev-auto/SKILL.md → ship/bmad-build-auto/workflow.md} +27 -46
- package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/SKILL.md +1 -1
- package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-05-wrapup.md +1 -1
- package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/SKILL.md +1 -1
- package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/customize.toml +37 -17
- package/src/bmm-skills/ship/bmad-code-review/references/deletion-check.md +14 -0
- package/src/bmm-skills/ship/bmad-code-review/review-prompts/edge-case-hunter.md +88 -0
- package/src/bmm-skills/ship/bmad-code-review/review-prompts/verification-gap.md +113 -0
- package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-01-gather-context.md +7 -4
- package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-02-review.md +1 -1
- package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-04-present.md +1 -1
- package/src/bmm-skills/{4-implementation → ship}/bmad-correct-course/SKILL.md +7 -8
- package/src/bmm-skills/{4-implementation → ship}/bmad-qa-generate-e2e-tests/SKILL.md +2 -2
- package/src/bmm-skills/ship/bmad-retrospective/SKILL.md +94 -0
- package/src/bmm-skills/{4-implementation → ship}/bmad-retrospective/customize.toml +2 -2
- package/src/bmm-skills/ship/bmad-retrospective/references/acceptance-verdict.md +55 -0
- package/src/bmm-skills/ship/bmad-retrospective/references/aggregate-views.md +17 -0
- package/src/bmm-skills/ship/bmad-retrospective/references/evidence-gathering.md +30 -0
- package/src/bmm-skills/ship/bmad-retrospective/references/retro-document.md +84 -0
- package/src/bmm-skills/ship/bmad-retrospective/references/team-discussion.md +22 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/__pycache__/sprint_status.cpython-311.pyc +0 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/git_evidence.py +304 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/sprint_status.py +746 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_git_evidence.cpython-311-pytest-9.1.1.pyc +0 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/__pycache__/test_sprint_status.cpython-311-pytest-9.1.1.pyc +0 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/fixtures/sprint-status-template.yaml +71 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_git_evidence.py +750 -0
- package/src/bmm-skills/ship/bmad-retrospective/scripts/tests/test_sprint_status.py +1579 -0
- package/src/bmm-skills/v6-shims/README.md +28 -0
- package/src/bmm-skills/{3-solutioning → v6-shims}/bmad-create-architecture/SKILL.md +2 -2
- package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-create-prd/SKILL.md +4 -4
- package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/SKILL.md +5 -3
- package/src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md +19 -0
- package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/SKILL.md +5 -3
- package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/customize.toml +3 -0
- package/src/bmm-skills/v6-shims/bmad-document-project/SKILL.md +14 -0
- package/src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md +14 -0
- package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-edit-prd/SKILL.md +4 -4
- package/src/bmm-skills/v6-shims/bmad-market-research/SKILL.md +14 -0
- package/src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md +19 -0
- package/src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md +26 -0
- package/src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md +14 -0
- package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-validate-prd/SKILL.md +4 -4
- package/src/core-skills/bmad-advanced-elicitation/SKILL.md +26 -103
- package/src/core-skills/bmad-advanced-elicitation/customize.toml +54 -0
- package/src/core-skills/bmad-advanced-elicitation/scripts/pick_methods.py +233 -0
- package/src/core-skills/bmad-advanced-elicitation/scripts/tests/test_pick_methods.py +228 -0
- package/src/core-skills/bmad-brainstorming/SKILL.md +3 -3
- package/src/core-skills/bmad-brainstorming/assets/brain-selector.html +2 -0
- package/src/core-skills/bmad-brainstorming/references/mode-autonomous.md +1 -1
- package/src/core-skills/bmad-brainstorming/scripts/brain.py +36 -6
- package/src/core-skills/bmad-brainstorming/scripts/tests/test_brain.py +22 -0
- package/src/core-skills/bmad-customize/SKILL.md +2 -2
- package/src/core-skills/bmad-deep-recon/SKILL.md +82 -0
- package/src/core-skills/bmad-deep-recon/assets/research.template.md +18 -0
- package/src/core-skills/bmad-deep-recon/customize.toml +212 -0
- package/src/core-skills/bmad-deep-recon/references/draft.md +8 -0
- package/src/core-skills/bmad-deep-recon/references/finalize.md +11 -0
- package/src/core-skills/bmad-deep-recon/references/html-briefing.md +16 -0
- package/src/core-skills/bmad-deep-recon/references/lifecycle.md +11 -0
- package/src/core-skills/bmad-deep-recon/references/process.md +10 -0
- package/src/core-skills/bmad-deep-recon/references/run.md +73 -0
- package/src/core-skills/bmad-deep-recon/references/selection.md +13 -0
- package/src/core-skills/bmad-deep-recon/references/synthesis.md +16 -0
- package/src/core-skills/bmad-deep-recon/references/verification.md +29 -0
- package/src/core-skills/bmad-deep-recon/scripts/recon_kit.py +322 -0
- package/src/core-skills/bmad-deep-recon/scripts/tests/test_recon_kit.py +144 -0
- package/src/core-skills/bmad-deep-recon/types/academic-lit.md +19 -0
- package/src/core-skills/bmad-deep-recon/types/competitive.md +19 -0
- package/src/core-skills/bmad-deep-recon/types/domain.md +19 -0
- package/src/core-skills/bmad-deep-recon/types/market.md +19 -0
- package/src/core-skills/bmad-deep-recon/types/technical.md +19 -0
- package/src/core-skills/bmad-deep-recon/types/user-voice.md +19 -0
- package/src/core-skills/bmad-forge-idea/SKILL.md +2 -2
- package/src/core-skills/bmad-forge-idea/scripts/resolve_personas.py +7 -2
- package/src/core-skills/bmad-help/SKILL.md +3 -3
- package/src/core-skills/bmad-party-mode/SKILL.md +2 -2
- package/src/core-skills/bmad-party-mode/customize.toml +1 -1
- package/src/core-skills/bmad-party-mode/scripts/resolve_party.py +14 -4
- package/src/core-skills/bmad-review/SKILL.md +49 -0
- package/src/core-skills/bmad-review/customize.toml +141 -0
- package/src/core-skills/bmad-review/references/editorial-common.md +56 -0
- package/src/core-skills/bmad-review/references/lens-adversarial.md +19 -0
- package/src/core-skills/bmad-review/references/lens-edge-case-hunter.md +54 -0
- package/src/core-skills/bmad-review/references/lens-prose.md +7 -0
- package/src/core-skills/bmad-review/references/lens-structure.md +9 -0
- package/src/core-skills/bmad-review/references/lens-verification-gap.md +92 -0
- package/src/core-skills/bmad-review/references/structure-models.md +44 -0
- package/src/core-skills/bmad-review/scripts/tests/test_word_metrics.py +62 -0
- package/src/core-skills/bmad-review/scripts/word_metrics.py +102 -0
- package/src/core-skills/module-help.csv +4 -8
- package/src/core-skills/module.yaml +5 -0
- package/src/core-skills/v6-shims/README.md +25 -0
- package/src/core-skills/v6-shims/bmad-editorial-review/SKILL.md +6 -0
- package/src/core-skills/v6-shims/bmad-editorial-review/customize.toml +31 -0
- package/src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md +6 -0
- package/src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md +6 -0
- package/src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md +6 -0
- package/src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md +6 -0
- package/src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md +6 -0
- package/src/scripts/__pycache__/config_utils.cpython-311.pyc +0 -0
- package/src/scripts/config_utils.py +119 -0
- package/src/scripts/render_skill.py +401 -0
- package/src/scripts/resolve_config.py +32 -136
- package/src/scripts/resolve_customization.py +43 -184
- package/src/scripts/tests/__pycache__/test_config_utils.cpython-311.pyc +0 -0
- package/src/scripts/tests/__pycache__/test_resolve_config.cpython-311.pyc +0 -0
- package/src/scripts/tests/__pycache__/test_resolve_customization.cpython-311.pyc +0 -0
- package/src/scripts/tests/test_config_utils.py +85 -0
- package/src/scripts/tests/test_resolve_config.py +89 -0
- package/src/scripts/tests/test_resolve_customization.py +27 -0
- package/tools/installer/cli-utils.js +6 -2
- package/tools/installer/core/installer.js +31 -9
- package/tools/installer/core/manifest-generator.js +1 -1
- package/tools/installer/core/uv-check.js +122 -24
- package/tools/installer/ide/_config-driven.js +1 -1
- package/tools/installer/ide/platform-codes.yaml +7 -0
- package/tools/installer/ide/shared/path-utils.js +2 -2
- package/tools/installer/install-messages.yaml +3 -2
- package/tools/installer/modules/custom-module-manager.js +12 -6
- package/tools/installer/modules/external-manager.js +12 -8
- package/tools/installer/modules/git-env.js +47 -0
- package/tools/installer/modules/official-modules.js +1 -1
- package/tools/installer/prompts.js +41 -102
- package/tools/installer/ui.js +99 -22
- package/tools/skill-validator.md +11 -1
- package/tools/validate-published-implementation-model.mjs +68 -0
- package/tools/validate-skills.js +33 -0
- package/web-bundles/prd-coach/prd-template.md +1 -1
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +0 -76
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/customize.toml +0 -81
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/explain-concept.md +0 -20
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/mermaid-gen.md +0 -20
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/validate-doc.md +0 -19
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/write-document.md +0 -20
- package/src/bmm-skills/1-analysis/bmad-document-project/SKILL.md +0 -62
- package/src/bmm-skills/1-analysis/bmad-document-project/checklist.md +0 -245
- package/src/bmm-skills/1-analysis/bmad-document-project/customize.toml +0 -41
- package/src/bmm-skills/1-analysis/bmad-document-project/documentation-requirements.csv +0 -12
- package/src/bmm-skills/1-analysis/bmad-document-project/instructions.md +0 -128
- package/src/bmm-skills/1-analysis/bmad-document-project/templates/deep-dive-template.md +0 -345
- package/src/bmm-skills/1-analysis/bmad-document-project/templates/index-template.md +0 -169
- package/src/bmm-skills/1-analysis/bmad-document-project/templates/project-overview-template.md +0 -103
- package/src/bmm-skills/1-analysis/bmad-document-project/templates/project-scan-report-schema.json +0 -160
- package/src/bmm-skills/1-analysis/bmad-document-project/templates/source-tree-template.md +0 -135
- package/src/bmm-skills/1-analysis/bmad-document-project/workflows/deep-dive-instructions.md +0 -300
- package/src/bmm-skills/1-analysis/bmad-document-project/workflows/deep-dive-workflow.md +0 -34
- package/src/bmm-skills/1-analysis/bmad-document-project/workflows/full-scan-instructions.md +0 -1108
- package/src/bmm-skills/1-analysis/bmad-document-project/workflows/full-scan-workflow.md +0 -34
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/SKILL.md +0 -96
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/customize.toml +0 -41
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-01-init.md +0 -137
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +0 -229
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +0 -238
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +0 -206
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +0 -234
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +0 -450
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/research.template.md +0 -29
- package/src/bmm-skills/1-analysis/research/bmad-market-research/SKILL.md +0 -96
- package/src/bmm-skills/1-analysis/research/bmad-market-research/customize.toml +0 -41
- package/src/bmm-skills/1-analysis/research/bmad-market-research/research.template.md +0 -29
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-01-init.md +0 -184
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +0 -239
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +0 -251
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +0 -261
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +0 -173
- package/src/bmm-skills/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +0 -484
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/SKILL.md +0 -96
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/customize.toml +0 -41
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/research.template.md +0 -29
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-01-init.md +0 -137
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +0 -239
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +0 -248
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +0 -202
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +0 -233
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +0 -493
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/SKILL.md +0 -91
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/customize.toml +0 -41
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +0 -179
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +0 -168
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +0 -169
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +0 -129
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +0 -241
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +0 -132
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/templates/readiness-report-template.md +0 -4
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/SKILL.md +0 -81
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/customize.toml +0 -41
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/project-context-template.md +0 -21
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-01-discover.md +0 -186
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-02-generate.md +0 -321
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-03-complete.md +0 -284
- package/src/bmm-skills/4-implementation/bmad-dev-auto/customize.toml +0 -108
- package/src/bmm-skills/4-implementation/bmad-quick-dev/SKILL.md +0 -115
- package/src/bmm-skills/4-implementation/bmad-quick-dev/customize.toml +0 -83
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md +0 -82
- package/src/bmm-skills/4-implementation/bmad-quick-dev/sync-sprint-status.md +0 -19
- package/src/bmm-skills/4-implementation/bmad-retrospective/SKILL.md +0 -1527
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/SKILL.md +0 -319
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/checklist.md +0 -34
- package/src/bmm-skills/4-implementation/bmad-sprint-status/SKILL.md +0 -311
- package/src/core-skills/bmad-brainstorming/analysis/catalog-analysis.md +0 -239
- package/src/core-skills/bmad-brainstorming/analysis/method-matrix.csv +0 -109
- package/src/core-skills/bmad-editorial-review-prose/SKILL.md +0 -86
- package/src/core-skills/bmad-editorial-review-structure/SKILL.md +0 -179
- package/src/core-skills/bmad-index-docs/SKILL.md +0 -66
- package/src/core-skills/bmad-review-adversarial-general/SKILL.md +0 -37
- package/src/core-skills/bmad-shard-doc/SKILL.md +0 -105
- /package/src/bmm-skills/{2-plan-workflows → agents}/bmad-agent-ux-designer/customize.toml +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/assets/spine-template.md +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/references/headless.md +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/references/reviewer-gate.md +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/scripts/lint_spine.py +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-architecture/scripts/tests/test_lint_spine.py +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/customize.toml +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-02-design-epics.md +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/steps/step-03-create-stories.md +0 -0
- /package/src/bmm-skills/{3-solutioning → plan}/bmad-create-epics-and-stories/templates/epics-template.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/headless-schemas.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/prd-validation-checklist.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/assets/validation-report-template.html +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-prd/references/headless.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/agents/artifact-analyzer.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/agents/web-researcher.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/assets/prfaq-template.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/customize.toml +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/customer-faq.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/internal-faq.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-prfaq/references/press-release.md +0 -0
- /package/src/bmm-skills/{1-analysis → plan}/bmad-product-brief/assets/brief-template.md +0 -0
- /package/src/{core-skills → bmm-skills/plan}/bmad-spec/assets/headless-schemas.md +0 -0
- /package/src/{core-skills → bmm-skills/plan}/bmad-spec/assets/stories-schema.md +0 -0
- /package/src/bmm-skills/{4-implementation → plan}/bmad-sprint-planning/customize.toml +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-directions.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-example-editorial.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-example-mobile.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/design-example-shadcn.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/excalidraw-wireframe.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/experience-example-mobile.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/experience-example-shadcn.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/headless-schemas.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/key-screens.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/assets/validation-report-template.html +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/design-md-spec.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → plan}/bmad-ux/references/headless.md +0 -0
- /package/src/bmm-skills/{4-implementation/bmad-quick-dev → ship/bmad-build}/spec-template.md +0 -0
- /package/src/{core-skills/bmad-review-edge-case-hunter → bmm-skills/ship/bmad-build-auto}/references/deletion-check.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/customize.toml +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/generate-trail.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-01-orientation.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-02-walkthrough.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-03-detail-pass.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-checkpoint-preview/step-04-testing.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-code-review/steps/step-03-triage.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-correct-course/checklist.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-correct-course/customize.toml +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-qa-generate-e2e-tests/checklist.md +0 -0
- /package/src/bmm-skills/{4-implementation → ship}/bmad-qa-generate-e2e-tests/customize.toml +0 -0
- /package/src/bmm-skills/{3-solutioning → v6-shims}/bmad-create-architecture/customize.toml +0 -0
- /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-create-prd/customize.toml +0 -0
- /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/checklist.md +0 -0
- /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/customize.toml +0 -0
- /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/discover-inputs.md +0 -0
- /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-create-story/template.md +0 -0
- /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-dev-story/checklist.md +0 -0
- /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-edit-prd/customize.toml +0 -0
- /package/src/bmm-skills/{4-implementation → v6-shims}/bmad-sprint-status/customize.toml +0 -0
- /package/src/bmm-skills/{2-plan-workflows → v6-shims}/bmad-validate-prd/customize.toml +0 -0
- /package/src/core-skills/bmad-advanced-elicitation/{methods.csv → assets/methods.csv} +0 -0
- /package/src/core-skills/bmad-party-mode/scripts/tests/{test-resolve_party.py → test_resolve_party.py} +0 -0
package/src/bmm-skills/3-solutioning/bmad-generate-project-context/steps/step-03-complete.md
DELETED
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
# Step 3: Context Completion & Finalization
|
|
2
|
-
|
|
3
|
-
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
4
|
-
|
|
5
|
-
- 🛑 NEVER generate content without user input
|
|
6
|
-
- ✅ ALWAYS treat this as collaborative completion between technical peers
|
|
7
|
-
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
8
|
-
- 💬 FOCUS on finalizing a lean, LLM-optimized project context
|
|
9
|
-
- 🎯 ENSURE all critical rules are captured and actionable
|
|
10
|
-
- ⚠️ ABSOLUTELY NO TIME ESTIMATES - AI development speed has fundamentally changed
|
|
11
|
-
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
12
|
-
|
|
13
|
-
## EXECUTION PROTOCOLS:
|
|
14
|
-
|
|
15
|
-
- 🎯 Show your analysis before taking any action
|
|
16
|
-
- 📝 Review and optimize content for LLM context efficiency
|
|
17
|
-
- 📖 Update frontmatter with completion status
|
|
18
|
-
- 🚫 NO MORE STEPS - this is the final step
|
|
19
|
-
|
|
20
|
-
## CONTEXT BOUNDARIES:
|
|
21
|
-
|
|
22
|
-
- All rule categories from step-2 are complete
|
|
23
|
-
- Technology stack and versions are documented
|
|
24
|
-
- Focus on final review, optimization, and completion
|
|
25
|
-
- Ensure the context file is ready for AI agent consumption
|
|
26
|
-
|
|
27
|
-
## YOUR TASK:
|
|
28
|
-
|
|
29
|
-
Complete the project context file, optimize it for LLM efficiency, and provide guidance for usage and maintenance.
|
|
30
|
-
|
|
31
|
-
## COMPLETION SEQUENCE:
|
|
32
|
-
|
|
33
|
-
### 1. Review Complete Context File
|
|
34
|
-
|
|
35
|
-
Read the entire project context file and analyze:
|
|
36
|
-
|
|
37
|
-
**Content Analysis:**
|
|
38
|
-
|
|
39
|
-
- Total length and readability for LLMs
|
|
40
|
-
- Clarity and specificity of rules
|
|
41
|
-
- Coverage of all critical areas
|
|
42
|
-
- Actionability of each rule
|
|
43
|
-
|
|
44
|
-
**Structure Analysis:**
|
|
45
|
-
|
|
46
|
-
- Logical organization of sections
|
|
47
|
-
- Consistency of formatting
|
|
48
|
-
- Absence of redundant or obvious information
|
|
49
|
-
- Optimization for quick scanning
|
|
50
|
-
|
|
51
|
-
### 2. Optimize for LLM Context
|
|
52
|
-
|
|
53
|
-
Ensure the file is lean and efficient:
|
|
54
|
-
|
|
55
|
-
**Content Optimization:**
|
|
56
|
-
|
|
57
|
-
- Remove any redundant rules or obvious information
|
|
58
|
-
- Combine related rules into concise bullet points
|
|
59
|
-
- Use specific, actionable language
|
|
60
|
-
- Ensure each rule provides unique value
|
|
61
|
-
|
|
62
|
-
**Formatting Optimization:**
|
|
63
|
-
|
|
64
|
-
- Use consistent markdown formatting
|
|
65
|
-
- Implement clear section hierarchy
|
|
66
|
-
- Ensure scannability with strategic use of bolding
|
|
67
|
-
- Maintain readability while maximizing information density
|
|
68
|
-
|
|
69
|
-
### 3. Final Content Structure
|
|
70
|
-
|
|
71
|
-
Ensure the final structure follows this optimized format:
|
|
72
|
-
|
|
73
|
-
```markdown
|
|
74
|
-
# Project Context for AI Agents
|
|
75
|
-
|
|
76
|
-
_This file contains critical rules and patterns that AI agents must follow when implementing code in this project. Focus on unobvious details that agents might otherwise miss._
|
|
77
|
-
|
|
78
|
-
---
|
|
79
|
-
|
|
80
|
-
## Technology Stack & Versions
|
|
81
|
-
|
|
82
|
-
{{concise_technology_list}}
|
|
83
|
-
|
|
84
|
-
## Critical Implementation Rules
|
|
85
|
-
|
|
86
|
-
### Language-Specific Rules
|
|
87
|
-
|
|
88
|
-
{{specific_language_rules}}
|
|
89
|
-
|
|
90
|
-
### Framework-Specific Rules
|
|
91
|
-
|
|
92
|
-
{{framework_patterns}}
|
|
93
|
-
|
|
94
|
-
### Testing Rules
|
|
95
|
-
|
|
96
|
-
{{testing_requirements}}
|
|
97
|
-
|
|
98
|
-
### Code Quality & Style Rules
|
|
99
|
-
|
|
100
|
-
{{style_and_quality_patterns}}
|
|
101
|
-
|
|
102
|
-
### Development Workflow Rules
|
|
103
|
-
|
|
104
|
-
{{workflow_patterns}}
|
|
105
|
-
|
|
106
|
-
### Critical Don't-Miss Rules
|
|
107
|
-
|
|
108
|
-
{{anti_patterns_and_edge_cases}}
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## Usage Guidelines
|
|
113
|
-
|
|
114
|
-
**For AI Agents:**
|
|
115
|
-
|
|
116
|
-
- Read this file before implementing any code
|
|
117
|
-
- Follow ALL rules exactly as documented
|
|
118
|
-
- When in doubt, prefer the more restrictive option
|
|
119
|
-
- Update this file if new patterns emerge
|
|
120
|
-
|
|
121
|
-
**For Humans:**
|
|
122
|
-
|
|
123
|
-
- Keep this file lean and focused on agent needs
|
|
124
|
-
- Update when technology stack changes
|
|
125
|
-
- Review quarterly for outdated rules
|
|
126
|
-
- Remove rules that become obvious over time
|
|
127
|
-
|
|
128
|
-
Last Updated: {{date}}
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### 4. Present Completion Summary
|
|
132
|
-
|
|
133
|
-
Based on user skill level, present the completion:
|
|
134
|
-
|
|
135
|
-
**Expert Mode:**
|
|
136
|
-
"Project context complete. Optimized for LLM consumption with {{rule_count}} critical rules across {{section_count}} sections.
|
|
137
|
-
|
|
138
|
-
File saved to: `{output_folder}/project-context.md`
|
|
139
|
-
|
|
140
|
-
Ready for AI agent integration."
|
|
141
|
-
|
|
142
|
-
**Intermediate Mode:**
|
|
143
|
-
"Your project context is complete and optimized for AI agents!
|
|
144
|
-
|
|
145
|
-
**What we created:**
|
|
146
|
-
|
|
147
|
-
- {{rule_count}} critical implementation rules
|
|
148
|
-
- Technology stack with exact versions
|
|
149
|
-
- Framework-specific patterns and conventions
|
|
150
|
-
- Testing and quality guidelines
|
|
151
|
-
- Workflow and anti-pattern rules
|
|
152
|
-
|
|
153
|
-
**Key benefits:**
|
|
154
|
-
|
|
155
|
-
- AI agents will implement consistently with your standards
|
|
156
|
-
- Reduced context switching and implementation errors
|
|
157
|
-
- Clear guidance for unobvious project requirements
|
|
158
|
-
|
|
159
|
-
**Next steps:**
|
|
160
|
-
|
|
161
|
-
- AI agents should read this file before implementing
|
|
162
|
-
- Update as your project evolves
|
|
163
|
-
- Review periodically for optimization"
|
|
164
|
-
|
|
165
|
-
**Beginner Mode:**
|
|
166
|
-
"Excellent! Your project context guide is ready! 🎉
|
|
167
|
-
|
|
168
|
-
**What this does:**
|
|
169
|
-
Think of this as a 'rules of the road' guide for AI agents working on your project. It ensures they all follow the same patterns and avoid common mistakes.
|
|
170
|
-
|
|
171
|
-
**What's included:**
|
|
172
|
-
|
|
173
|
-
- Exact technology versions to use
|
|
174
|
-
- Critical coding rules they might miss
|
|
175
|
-
- Testing and quality standards
|
|
176
|
-
- Workflow patterns to follow
|
|
177
|
-
|
|
178
|
-
**How AI agents use it:**
|
|
179
|
-
They read this file before writing any code, ensuring everything they create follows your project's standards perfectly.
|
|
180
|
-
|
|
181
|
-
Your project context is saved and ready to help agents implement consistently!"
|
|
182
|
-
|
|
183
|
-
### 5. Final File Updates
|
|
184
|
-
|
|
185
|
-
Update the project context file with completion information:
|
|
186
|
-
|
|
187
|
-
**Frontmatter Update:**
|
|
188
|
-
|
|
189
|
-
```yaml
|
|
190
|
-
---
|
|
191
|
-
project_name: '{{project_name}}'
|
|
192
|
-
user_name: '{{user_name}}'
|
|
193
|
-
date: '{{date}}'
|
|
194
|
-
sections_completed:
|
|
195
|
-
['technology_stack', 'language_rules', 'framework_rules', 'testing_rules', 'quality_rules', 'workflow_rules', 'anti_patterns']
|
|
196
|
-
status: 'complete'
|
|
197
|
-
rule_count: { { total_rules } }
|
|
198
|
-
optimized_for_llm: true
|
|
199
|
-
---
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
**Add Usage Section:**
|
|
203
|
-
Append the usage guidelines from step 3 to complete the document.
|
|
204
|
-
|
|
205
|
-
### 6. Completion Validation
|
|
206
|
-
|
|
207
|
-
Final checks before completion:
|
|
208
|
-
|
|
209
|
-
**Content Validation:**
|
|
210
|
-
✅ All critical technology versions documented
|
|
211
|
-
✅ Language-specific rules are specific and actionable
|
|
212
|
-
✅ Framework rules cover project conventions
|
|
213
|
-
✅ Testing rules ensure consistency
|
|
214
|
-
✅ Code quality rules maintain standards
|
|
215
|
-
✅ Workflow rules prevent conflicts
|
|
216
|
-
✅ Anti-pattern rules prevent common mistakes
|
|
217
|
-
|
|
218
|
-
**Format Validation:**
|
|
219
|
-
✅ Content is lean and optimized for LLMs
|
|
220
|
-
✅ Structure is logical and scannable
|
|
221
|
-
✅ No redundant or obvious information
|
|
222
|
-
✅ Consistent formatting throughout
|
|
223
|
-
|
|
224
|
-
### 7. Completion Message
|
|
225
|
-
|
|
226
|
-
Present final completion to user:
|
|
227
|
-
|
|
228
|
-
"✅ **Project Context Generation Complete!**
|
|
229
|
-
|
|
230
|
-
Your optimized project context file is ready at:
|
|
231
|
-
`{output_folder}/project-context.md`
|
|
232
|
-
|
|
233
|
-
**📊 Context Summary:**
|
|
234
|
-
|
|
235
|
-
- {{rule_count}} critical rules for AI agents
|
|
236
|
-
- {{section_count}} comprehensive sections
|
|
237
|
-
- Optimized for LLM context efficiency
|
|
238
|
-
- Ready for immediate agent integration
|
|
239
|
-
|
|
240
|
-
**🎯 Key Benefits:**
|
|
241
|
-
|
|
242
|
-
- Consistent implementation across all AI agents
|
|
243
|
-
- Reduced common mistakes and edge cases
|
|
244
|
-
- Clear guidance for project-specific patterns
|
|
245
|
-
- Minimal LLM context usage
|
|
246
|
-
|
|
247
|
-
**📋 Next Steps:**
|
|
248
|
-
|
|
249
|
-
1. AI agents will automatically read this file when implementing
|
|
250
|
-
2. Update this file when your technology stack or patterns evolve
|
|
251
|
-
3. Review quarterly to optimize and remove outdated rules
|
|
252
|
-
|
|
253
|
-
Your project context will help ensure high-quality, consistent implementation across all development work. Great work capturing your project's critical implementation requirements!"
|
|
254
|
-
|
|
255
|
-
## SUCCESS METRICS:
|
|
256
|
-
|
|
257
|
-
✅ Complete project context file with all critical rules
|
|
258
|
-
✅ Content optimized for LLM context efficiency
|
|
259
|
-
✅ All technology versions and patterns documented
|
|
260
|
-
✅ File structure is logical and scannable
|
|
261
|
-
✅ Usage guidelines included for agents and humans
|
|
262
|
-
✅ Frontmatter properly updated with completion status
|
|
263
|
-
✅ User provided with clear next steps and benefits
|
|
264
|
-
|
|
265
|
-
## FAILURE MODES:
|
|
266
|
-
|
|
267
|
-
❌ Final content is too verbose for LLM consumption
|
|
268
|
-
❌ Missing critical implementation rules or patterns
|
|
269
|
-
❌ Not optimizing content for agent readability
|
|
270
|
-
❌ Not providing clear usage guidelines
|
|
271
|
-
❌ Frontmatter not properly updated
|
|
272
|
-
❌ Not validating file completion before ending
|
|
273
|
-
|
|
274
|
-
## WORKFLOW COMPLETE:
|
|
275
|
-
|
|
276
|
-
This is the final step of the Generate Project Context workflow. The user now has a comprehensive, optimized project context file that will ensure consistent, high-quality implementation across all AI agents working on the project.
|
|
277
|
-
|
|
278
|
-
The project context file serves as the critical "rules of the road" that agents need to implement code consistently with the project's standards and patterns.
|
|
279
|
-
|
|
280
|
-
## On Complete
|
|
281
|
-
|
|
282
|
-
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
|
|
283
|
-
|
|
284
|
-
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
-
#
|
|
3
|
-
# Default customization values for bmad-dev-auto.
|
|
4
|
-
# Override in _bmad/custom/bmad-dev-auto.toml or
|
|
5
|
-
# _bmad/custom/bmad-dev-auto.user.toml.
|
|
6
|
-
#
|
|
7
|
-
# Merge rules:
|
|
8
|
-
# - Strings replace the default.
|
|
9
|
-
# - Lists append to the default list.
|
|
10
|
-
# - Tables merge key by key.
|
|
11
|
-
# - Arrays of tables merge by `id`: matching `id` replaces, new `id`s append.
|
|
12
|
-
|
|
13
|
-
[workflow]
|
|
14
|
-
|
|
15
|
-
# Extra instructions to run before config is loaded.
|
|
16
|
-
|
|
17
|
-
activation_steps_prepend = []
|
|
18
|
-
|
|
19
|
-
# Extra instructions to run after config is loaded and before step 01.
|
|
20
|
-
|
|
21
|
-
activation_steps_append = []
|
|
22
|
-
|
|
23
|
-
# Facts kept in context for the whole run.
|
|
24
|
-
# Entries are literal text or file references prefixed with "file:".
|
|
25
|
-
# File entries may use globs and are loaded during activation.
|
|
26
|
-
|
|
27
|
-
persistent_facts = [
|
|
28
|
-
"file:{project-root}/**/project-context.md",
|
|
29
|
-
]
|
|
30
|
-
|
|
31
|
-
# Instruction run by HALT after writing the terminal result.
|
|
32
|
-
# Empty means no extra terminal behavior.
|
|
33
|
-
|
|
34
|
-
on_complete = ""
|
|
35
|
-
|
|
36
|
-
# Handoff for the implementation subagent in step 03. The whole execution
|
|
37
|
-
# recipe — a subagent by default, but an override may run anything (e.g. an
|
|
38
|
-
# external coding tool via bash). {spec_file} is substituted at run time.
|
|
39
|
-
|
|
40
|
-
implementation_handoff = """
|
|
41
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
42
|
-
|
|
43
|
-
> Read {spec_file} fully and implement it. The spec is the sole source of truth for this change; its Spec Change Log entries are binding constraints, not history.
|
|
44
|
-
>
|
|
45
|
-
> Guardrails:
|
|
46
|
-
>
|
|
47
|
-
> - Work in the current project. Before starting, load every file listed in the spec frontmatter `context:`.
|
|
48
|
-
> - Do not edit the spec file itself.
|
|
49
|
-
> - Do not revert or overwrite changes unrelated to this spec.
|
|
50
|
-
> - Run the verification described in the spec, plus focused checks for the code you touched.
|
|
51
|
-
>
|
|
52
|
-
> When done, report: files changed with one line each, verification commands run and their outcomes, any files changed beyond the spec's tasks and why each was needed, anything you could not complete and why, and residual risks.
|
|
53
|
-
"""
|
|
54
|
-
|
|
55
|
-
# Review layers for the review step. `instruction` is the layer's whole
|
|
56
|
-
# execution recipe — subagents by default, but an override may run anything
|
|
57
|
-
# (e.g. an external reviewer via bash). {diff_output} is substituted at run
|
|
58
|
-
# time. `when` (optional) gates a layer; empty `instruction` disables it.
|
|
59
|
-
|
|
60
|
-
[[workflow.review_layers]]
|
|
61
|
-
id = "blind-hunter"
|
|
62
|
-
name = "Blind Hunter"
|
|
63
|
-
instruction = """
|
|
64
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
65
|
-
|
|
66
|
-
> Invoke the `bmad-review-adversarial-general` skill on this diff:
|
|
67
|
-
>
|
|
68
|
-
> {diff_output}
|
|
69
|
-
"""
|
|
70
|
-
|
|
71
|
-
[[workflow.review_layers]]
|
|
72
|
-
id = "edge-case-hunter"
|
|
73
|
-
name = "Edge Case Hunter"
|
|
74
|
-
instruction = """
|
|
75
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
76
|
-
|
|
77
|
-
> Invoke the `bmad-review-edge-case-hunter` skill on this diff:
|
|
78
|
-
>
|
|
79
|
-
> {diff_output}
|
|
80
|
-
"""
|
|
81
|
-
|
|
82
|
-
[[workflow.review_layers]]
|
|
83
|
-
id = "verification-gap"
|
|
84
|
-
name = "Verification Gap Reviewer"
|
|
85
|
-
instruction = """
|
|
86
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
87
|
-
|
|
88
|
-
> Invoke the `bmad-review-verification-gap` skill on this diff:
|
|
89
|
-
>
|
|
90
|
-
> {diff_output}
|
|
91
|
-
"""
|
|
92
|
-
|
|
93
|
-
[[workflow.review_layers]]
|
|
94
|
-
id = "intent-alignment"
|
|
95
|
-
name = "Intent Alignment Auditor"
|
|
96
|
-
instruction = """
|
|
97
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
98
|
-
|
|
99
|
-
> You are an intent-alignment auditor. You have no other context about how this change was produced. Here is the verbatim intent this work started from:
|
|
100
|
-
>
|
|
101
|
-
> {verbatim_intent}
|
|
102
|
-
>
|
|
103
|
-
> Here is the diff:
|
|
104
|
-
>
|
|
105
|
-
> {diff_output}
|
|
106
|
-
>
|
|
107
|
-
> Your task is strictly descriptive — do not prescribe additional work. Report: (1) the defensible readings of the intent, enumerated; (2) which reading this diff implements; (3) where the readings and the diff diverge — specifically, which surface the intent's expectations live at versus which surface the diff's changes and its tests exercise.
|
|
108
|
-
"""
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: bmad-quick-dev
|
|
3
|
-
description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Quick Dev New Preview Workflow
|
|
7
|
-
|
|
8
|
-
**Goal:** Turn user intent into a hardened, reviewable artifact.
|
|
9
|
-
|
|
10
|
-
**CRITICAL:** If a step says "read fully and follow step-XX", you read and follow step-XX. No exceptions.
|
|
11
|
-
|
|
12
|
-
Subagents, when the capability is available, are an important part of this workflow. Use them as directed by the workflow steps.
|
|
13
|
-
If you need an explicit user instruction to run them, ask once now for the whole workflow run.
|
|
14
|
-
|
|
15
|
-
## READY FOR DEVELOPMENT STANDARD
|
|
16
|
-
|
|
17
|
-
A specification is "Ready for Development" when:
|
|
18
|
-
|
|
19
|
-
- **Actionable**: Every task has a file path and specific action.
|
|
20
|
-
- **Logical**: Tasks ordered by dependency.
|
|
21
|
-
- **Testable**: All ACs use Given/When/Then.
|
|
22
|
-
- **Complete**: No placeholders or TBDs.
|
|
23
|
-
- **Sufficient**: No known requirement, acceptance, dependency, or implementation gaps remain unresolved.
|
|
24
|
-
- **Coherent**: No unresolved ambiguities or internal contradictions.
|
|
25
|
-
|
|
26
|
-
## SCOPE STANDARD
|
|
27
|
-
|
|
28
|
-
A specification should target a **single user-facing goal** within **900–1600 tokens**:
|
|
29
|
-
|
|
30
|
-
- **Single goal**: One cohesive feature, even if it spans multiple layers/files. Multi-goal means >=2 **top-level independent shippable deliverables** — each could be reviewed, tested, and merged as a separate PR without breaking the others. Never count surface verbs, "and" conjunctions, or noun phrases. Never split cross-layer implementation details inside one user goal.
|
|
31
|
-
- Split: "add dark mode toggle AND refactor auth to JWT AND build admin dashboard"
|
|
32
|
-
- Don't split: "add validation and display errors" / "support drag-and-drop AND paste AND retry"
|
|
33
|
-
- **900–1600 tokens**: Optimal range for LLM consumption. Below 900 risks ambiguity; above 1600 risks context-rot in implementation agents.
|
|
34
|
-
- **Neither limit is a gate.** Both are proposals with user override.
|
|
35
|
-
|
|
36
|
-
## Conventions
|
|
37
|
-
|
|
38
|
-
- Bare paths (e.g. `step-01-clarify-and-route.md`) resolve from the skill root.
|
|
39
|
-
- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
|
|
40
|
-
- `{project-root}`-prefixed paths resolve from the project working directory.
|
|
41
|
-
- `{skill-name}` resolves to the skill directory's basename.
|
|
42
|
-
|
|
43
|
-
## On Activation
|
|
44
|
-
|
|
45
|
-
### Step 1: Resolve the Workflow Block
|
|
46
|
-
|
|
47
|
-
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
|
|
48
|
-
|
|
49
|
-
**If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
|
|
50
|
-
|
|
51
|
-
1. `{skill-root}/customize.toml` — defaults
|
|
52
|
-
2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
|
|
53
|
-
3. `{project-root}/_bmad/custom/{skill-name}.user.toml` — personal overrides
|
|
54
|
-
|
|
55
|
-
Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
|
|
56
|
-
|
|
57
|
-
### Step 2: Execute Prepend Steps
|
|
58
|
-
|
|
59
|
-
Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
|
|
60
|
-
|
|
61
|
-
### Step 3: Load Persistent Facts
|
|
62
|
-
|
|
63
|
-
Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` -- load the referenced contents as facts. All other entries are facts verbatim.
|
|
64
|
-
|
|
65
|
-
### Step 4: Load Config
|
|
66
|
-
|
|
67
|
-
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
68
|
-
|
|
69
|
-
- `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
|
|
70
|
-
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
71
|
-
- `date` as system-generated current datetime
|
|
72
|
-
- `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
|
|
73
|
-
- `project_context` = `**/project-context.md` (load if exists)
|
|
74
|
-
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
75
|
-
- Language MUST be tailored to `{user_skill_level}`
|
|
76
|
-
- Generate all documents in `{document_output_language}`
|
|
77
|
-
|
|
78
|
-
### Step 5: Greet the User
|
|
79
|
-
|
|
80
|
-
Greet `{user_name}`, speaking in `{communication_language}`.
|
|
81
|
-
|
|
82
|
-
### Step 6: Execute Append Steps
|
|
83
|
-
|
|
84
|
-
Execute each entry in `{workflow.activation_steps_append}` in order.
|
|
85
|
-
|
|
86
|
-
Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
|
|
87
|
-
|
|
88
|
-
## WORKFLOW ARCHITECTURE
|
|
89
|
-
|
|
90
|
-
This uses **step-file architecture** for disciplined execution:
|
|
91
|
-
|
|
92
|
-
- **Micro-file Design**: Each step is self-contained and followed exactly
|
|
93
|
-
- **Just-In-Time Loading**: Only load the current step file
|
|
94
|
-
- **Sequential Enforcement**: Complete steps in order, no skipping
|
|
95
|
-
- **State Tracking**: Persist progress via spec frontmatter and in-memory variables
|
|
96
|
-
- **Append-Only Building**: Build artifacts incrementally
|
|
97
|
-
|
|
98
|
-
### Step Processing Rules
|
|
99
|
-
|
|
100
|
-
1. **READ COMPLETELY**: Read the entire step file before acting
|
|
101
|
-
2. **FOLLOW SEQUENCE**: Execute sections in order
|
|
102
|
-
3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
|
|
103
|
-
4. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
104
|
-
|
|
105
|
-
### Critical Rules (NO EXCEPTIONS)
|
|
106
|
-
|
|
107
|
-
- **NEVER** load multiple step files simultaneously
|
|
108
|
-
- **ALWAYS** read entire step file before execution
|
|
109
|
-
- **NEVER** skip steps or optimize the sequence
|
|
110
|
-
- **ALWAYS** follow the exact instructions in the step file
|
|
111
|
-
- **ALWAYS** halt at checkpoints and wait for human input
|
|
112
|
-
|
|
113
|
-
## FIRST STEP
|
|
114
|
-
|
|
115
|
-
Read fully and follow: `./step-01-clarify-and-route.md` to begin the workflow.
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# DO NOT EDIT -- overwritten on every update.
|
|
2
|
-
#
|
|
3
|
-
# Default customization values for bmad-quick-dev.
|
|
4
|
-
# Override in _bmad/custom/bmad-quick-dev.toml or
|
|
5
|
-
# _bmad/custom/bmad-quick-dev.user.toml.
|
|
6
|
-
#
|
|
7
|
-
# Merge rules:
|
|
8
|
-
# - Strings replace the default.
|
|
9
|
-
# - Lists append to the default list.
|
|
10
|
-
# - Tables merge key by key.
|
|
11
|
-
# - Arrays of tables merge by `id`: matching `id` replaces, new `id`s append.
|
|
12
|
-
|
|
13
|
-
[workflow]
|
|
14
|
-
|
|
15
|
-
# Extra instructions to run before config is loaded and before the user is greeted.
|
|
16
|
-
|
|
17
|
-
activation_steps_prepend = []
|
|
18
|
-
|
|
19
|
-
# Extra instructions to run after the greeting and before step 01.
|
|
20
|
-
|
|
21
|
-
activation_steps_append = []
|
|
22
|
-
|
|
23
|
-
# Facts kept in context for the whole run.
|
|
24
|
-
# Entries are literal text or file references prefixed with "file:".
|
|
25
|
-
# File entries may use globs and are loaded during activation.
|
|
26
|
-
|
|
27
|
-
persistent_facts = [
|
|
28
|
-
"file:{project-root}/**/project-context.md",
|
|
29
|
-
]
|
|
30
|
-
|
|
31
|
-
# Instruction run after Quick Dev completes.
|
|
32
|
-
# Empty means no extra completion behavior.
|
|
33
|
-
|
|
34
|
-
on_complete = ""
|
|
35
|
-
|
|
36
|
-
# Review layers for the review step. `instruction` is the layer's whole
|
|
37
|
-
# execution recipe — subagents by default, but an override may run anything
|
|
38
|
-
# (e.g. an external reviewer via bash). {diff_output} is substituted at run
|
|
39
|
-
# time. `when` (optional) gates a layer; empty `instruction` disables it.
|
|
40
|
-
|
|
41
|
-
[[workflow.review_layers]]
|
|
42
|
-
id = "blind-hunter"
|
|
43
|
-
name = "Blind Hunter"
|
|
44
|
-
instruction = """
|
|
45
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
46
|
-
|
|
47
|
-
> Invoke the `bmad-review-adversarial-general` skill on this diff:
|
|
48
|
-
>
|
|
49
|
-
> {diff_output}
|
|
50
|
-
"""
|
|
51
|
-
|
|
52
|
-
[[workflow.review_layers]]
|
|
53
|
-
id = "edge-case-hunter"
|
|
54
|
-
name = "Edge Case Hunter"
|
|
55
|
-
instruction = """
|
|
56
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
57
|
-
|
|
58
|
-
> Invoke the `bmad-review-edge-case-hunter` skill on this diff:
|
|
59
|
-
>
|
|
60
|
-
> {diff_output}
|
|
61
|
-
"""
|
|
62
|
-
|
|
63
|
-
[[workflow.review_layers]]
|
|
64
|
-
id = "verification-gap"
|
|
65
|
-
name = "Verification Gap Reviewer"
|
|
66
|
-
instruction = """
|
|
67
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
68
|
-
|
|
69
|
-
> Invoke the `bmad-review-verification-gap` skill on this diff:
|
|
70
|
-
>
|
|
71
|
-
> {diff_output}
|
|
72
|
-
"""
|
|
73
|
-
|
|
74
|
-
# Review layers for the one-shot route.
|
|
75
|
-
|
|
76
|
-
[[workflow.oneshot_review_layers]]
|
|
77
|
-
id = "blind-hunter"
|
|
78
|
-
name = "Blind Hunter"
|
|
79
|
-
instruction = """
|
|
80
|
-
Launch a subagent with no prior conversation context, with this prompt:
|
|
81
|
-
|
|
82
|
-
> Invoke the `bmad-review-adversarial-general` skill on the changed files.
|
|
83
|
-
"""
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
# Step One-Shot: Implement, Review, Present
|
|
6
|
-
|
|
7
|
-
## RULES
|
|
8
|
-
|
|
9
|
-
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
10
|
-
- NEVER auto-push.
|
|
11
|
-
- All review subagents must run at the same model capability as the current session.
|
|
12
|
-
- Run subagents synchronously: launch them together, then wait for all results before continuing.
|
|
13
|
-
|
|
14
|
-
## INSTRUCTIONS
|
|
15
|
-
|
|
16
|
-
### Implement
|
|
17
|
-
|
|
18
|
-
Follow `./sync-sprint-status.md` with `{target_status}` = `in-progress`.
|
|
19
|
-
|
|
20
|
-
Implement the clarified intent directly.
|
|
21
|
-
|
|
22
|
-
### Review
|
|
23
|
-
|
|
24
|
-
The review layers for this route are `{workflow.oneshot_review_layers}`, resolved during activation.
|
|
25
|
-
|
|
26
|
-
Skip every layer whose `instruction` is empty or missing, and every layer whose `when` condition (if present) does not hold. If no layers remain, HALT with status `blocked` and blocking condition `no active review layers`. Execute all remaining layers in parallel wherever their execution methods allow, following each layer's `instruction` verbatim after substituting any runtime placeholders.
|
|
27
|
-
|
|
28
|
-
If a layer's instruction requires subagents and none are available, generate one review prompt file per such layer in `{implementation_artifacts}` and HALT. Ask the human to run each in a separate session and paste back the findings.
|
|
29
|
-
|
|
30
|
-
### Classify
|
|
31
|
-
|
|
32
|
-
Deduplicate all review findings. Three categories only:
|
|
33
|
-
|
|
34
|
-
- **patch** — trivially fixable. Auto-fix immediately.
|
|
35
|
-
- **defer** — pre-existing issue not caused by this change. Append one new entry to `{deferred_work_file}` using this format. Do not modify existing entries or look for duplicates.
|
|
36
|
-
```markdown
|
|
37
|
-
- source_spec: `{spec_file}`
|
|
38
|
-
summary: <one sentence>
|
|
39
|
-
evidence: <why this is real>
|
|
40
|
-
```
|
|
41
|
-
- **reject** — noise. Drop silently.
|
|
42
|
-
|
|
43
|
-
If a finding is caused by this change but too significant for a trivial patch, HALT and present it to the human for decision before proceeding.
|
|
44
|
-
|
|
45
|
-
### Generate Spec Trace
|
|
46
|
-
|
|
47
|
-
Set `{title}` = a concise title derived from the clarified intent.
|
|
48
|
-
|
|
49
|
-
Write `{spec_file}` using `./spec-template.md`. Fill only these sections — delete all others:
|
|
50
|
-
|
|
51
|
-
1. **Frontmatter** — set `title: '{title}'`, `type`, `created`, `status: 'done'`. Add `route: 'one-shot'`.
|
|
52
|
-
2. **Title and Intent** — `# {title}` heading and `## Intent` with **Problem** and **Approach** lines. Reuse the summary you already generated for the terminal.
|
|
53
|
-
3. **Suggested Review Order** — append after Intent. Build using the same convention as `./step-05-present.md` § "Generate Suggested Review Order" (spec-file-relative links, concern-based ordering, ultra-concise framing).
|
|
54
|
-
|
|
55
|
-
Follow `./sync-sprint-status.md` with `{target_status}` = `review`.
|
|
56
|
-
|
|
57
|
-
### Commit
|
|
58
|
-
|
|
59
|
-
If version control is available and the tree is dirty, create a local commit with a conventional message derived from the intent. If VCS is unavailable, skip.
|
|
60
|
-
|
|
61
|
-
### Present
|
|
62
|
-
|
|
63
|
-
1. Open the spec in the user's editor so they can click through the Suggested Review Order:
|
|
64
|
-
- Resolve two absolute paths: (1) the repository root (`git rev-parse --show-toplevel` — returns the worktree root when in a worktree, project root otherwise; if this fails, fall back to the current working directory), (2) `{spec_file}`. Run `code -r "{absolute-root}" "{absolute-spec-file}"` — the root first so VS Code opens in the right context, then the spec file. Always double-quote paths to handle spaces and special characters.
|
|
65
|
-
- If `code` is not available (command fails), skip gracefully and tell the user the spec file path instead.
|
|
66
|
-
2. Display a summary in conversation output, including:
|
|
67
|
-
- The commit hash (if one was created).
|
|
68
|
-
- List of files changed with one-line descriptions. Any file paths shown in conversation/terminal output must use CWD-relative format (no leading `/`) with `:line` notation (e.g., `src/path/file.ts:42`) for terminal clickability — this differs from spec-file links which use spec-file-relative paths.
|
|
69
|
-
- Review findings breakdown: patches applied, items deferred, items rejected. If all findings were rejected, say so.
|
|
70
|
-
- A note that the spec is open in their editor (or the file path if it couldn't be opened). Mention that `{spec_file}` now contains a Suggested Review Order.
|
|
71
|
-
- **Navigation tip:** "Ctrl+click (Cmd+click on macOS) the links in the Suggested Review Order to jump to each stop."
|
|
72
|
-
3. Offer to push and/or create a pull request.
|
|
73
|
-
|
|
74
|
-
HALT and wait for human input.
|
|
75
|
-
|
|
76
|
-
Workflow complete.
|
|
77
|
-
|
|
78
|
-
## On Complete
|
|
79
|
-
|
|
80
|
-
Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
|
|
81
|
-
|
|
82
|
-
If the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# Sync Sprint Status
|
|
2
|
-
|
|
3
|
-
Shared sub-step for updating `sprint-status.yaml` during quick-dev. Called from any route (plan-code-review, one-shot, future routes) with a `{target_status}` parameter.
|
|
4
|
-
|
|
5
|
-
## Preconditions
|
|
6
|
-
|
|
7
|
-
Skip this entire file (return to caller) if ANY of:
|
|
8
|
-
- `{story_key}` is unset
|
|
9
|
-
- `{sprint_status}` does not exist on disk
|
|
10
|
-
|
|
11
|
-
## Instructions
|
|
12
|
-
|
|
13
|
-
1. Load the FULL `{sprint_status}` file.
|
|
14
|
-
2. Find the `development_status` entry matching `{story_key}`. If not found, warn the user once (`"{story_key} not found in sprint-status; skipping sprint sync"`) and return to caller.
|
|
15
|
-
3. **Idempotency check.** If `development_status[{story_key}]` is already at `{target_status}` or a later state (`review` is later than `in-progress`; `done` is later than both), return to caller — no write needed. Never regress a story's status.
|
|
16
|
-
4. Set `development_status[{story_key}]` to `{target_status}`.
|
|
17
|
-
5. **Epic lift (only when `{target_status}` = `in-progress`).** Derive the parent epic key as `epic-{N}` from the leading numeric segment of `{story_key}` (e.g., `3-2-digest-delivery` → `epic-3`). If that entry exists and is `backlog`, set it to `in-progress`. Leave it alone otherwise. Skip this sub-step entirely when `{target_status}` is not `in-progress`.
|
|
18
|
-
6. Refresh `last_updated` to the current date.
|
|
19
|
-
7. Save the file, preserving ALL comments and structure including STATUS DEFINITIONS and WORKFLOW NOTES.
|