bmad-method 6.0.0-alpha.13 → 6.0.0-alpha.15
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/.coderabbit.yaml +36 -0
- package/.github/CODE_OF_CONDUCT.md +128 -0
- package/.github/ISSUE_TEMPLATE/idea_submission.md +1 -1
- package/.github/scripts/discord-helpers.sh +15 -0
- package/.github/workflows/discord.yaml +278 -8
- package/.github/workflows/quality.yaml +19 -0
- package/.markdownlint-cli2.yaml +42 -0
- package/.prettierignore +3 -0
- package/CHANGELOG.md +183 -360
- package/README.md +4 -1
- package/docs/agent-customization-guide.md +2 -2
- package/docs/custom-content-installation.md +245 -0
- package/docs/document-sharding-guide.md +1 -1
- package/docs/index.md +2 -2
- package/docs/installers-bundlers/installers-modules-platforms-reference.md +6 -5
- package/docs/web-bundles-gemini-gpt-guide.md +1 -1
- package/eslint.config.mjs +14 -0
- package/example-custom-content/README.md +8 -0
- package/{custom/src → example-custom-content}/agents/commit-poet/commit-poet.agent.yaml +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/instructions.md +5 -5
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/docs.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/installers.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/modules.md +2 -2
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/memories.md +1 -1
- package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith.agent.yaml +18 -17
- package/example-custom-content/module.yaml +4 -0
- package/example-custom-content/workflows/quiz-master/steps/step-01-init.md +168 -0
- package/example-custom-content/workflows/quiz-master/steps/step-02-q1.md +155 -0
- package/example-custom-content/workflows/quiz-master/steps/step-03-q2.md +89 -0
- package/example-custom-content/workflows/quiz-master/steps/step-04-q3.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-05-q4.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-06-q5.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-07-q6.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-08-q7.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-09-q8.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-10-q9.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-11-q10.md +36 -0
- package/example-custom-content/workflows/quiz-master/steps/step-12-results.md +150 -0
- package/example-custom-content/workflows/quiz-master/templates/csv-headers.template +1 -0
- package/example-custom-content/workflows/quiz-master/workflow.md +54 -0
- package/example-custom-content/workflows/wassup/workflow.md +26 -0
- package/example-custom-module/mwm/README.md +9 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/cognitive-distortions.md +47 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach-sidecar/thought-records.md +17 -0
- package/example-custom-module/mwm/agents/cbt-coach/cbt-coach.agent.yaml +151 -0
- package/example-custom-module/mwm/agents/crisis-navigator.agent.yaml +138 -0
- package/example-custom-module/mwm/agents/meditation-guide.agent.yaml +138 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/insights.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/instructions.md +30 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/memories.md +13 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion-sidecar/patterns.md +17 -0
- package/example-custom-module/mwm/agents/wellness-companion/wellness-companion.agent.yaml +125 -0
- package/example-custom-module/mwm/module.yaml +28 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/README.md +31 -0
- package/example-custom-module/mwm/workflows/cbt-thought-record/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/crisis-support/README.md +31 -0
- package/example-custom-module/mwm/workflows/crisis-support/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/daily-checkin/README.md +32 -0
- package/example-custom-module/mwm/workflows/daily-checkin/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/guided-meditation/README.md +31 -0
- package/example-custom-module/mwm/workflows/guided-meditation/workflow.md +45 -0
- package/example-custom-module/mwm/workflows/wellness-journal/README.md +31 -0
- package/example-custom-module/mwm/workflows/wellness-journal/workflow.md +45 -0
- package/package.json +9 -4
- package/src/core/_module-installer/installer.js +1 -1
- package/src/core/{_module-installer/install-config.yaml → module.yaml} +5 -1
- package/src/core/resources/excalidraw/library-loader.md +2 -2
- package/src/core/workflows/brainstorming/steps/step-01-session-setup.md +1 -1
- package/src/core/workflows/brainstorming/workflow.md +1 -1
- package/src/core/workflows/party-mode/steps/step-03-graceful-exit.md +0 -1
- package/src/core/workflows/party-mode/workflow.md +2 -3
- package/src/modules/bmb/README.md +1 -1
- package/src/modules/bmb/_module-installer/installer.js +76 -0
- package/src/modules/bmb/agents/bmad-builder.agent.yaml +32 -9
- package/src/modules/bmb/docs/agents/agent-menu-patterns.md +5 -5
- package/src/modules/bmb/docs/agents/expert-agent-architecture.md +20 -20
- package/src/modules/bmb/docs/agents/index.md +1 -1
- package/src/modules/bmb/docs/agents/module-agent-architecture.md +45 -45
- package/src/modules/bmb/docs/agents/simple-agent-architecture.md +7 -3
- package/src/modules/bmb/docs/workflows/architecture.md +1 -1
- package/src/modules/bmb/docs/workflows/templates/step-01-init-continuable-template.md +241 -0
- package/src/modules/bmb/docs/workflows/templates/step-1b-template.md +223 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/step-file.md +4 -4
- package/src/modules/bmb/docs/workflows/{step-template.md → templates/step-template.md} +40 -33
- package/src/modules/bmb/docs/workflows/templates/workflow-template.md +104 -0
- package/src/modules/bmb/{workflows/create-workflow → docs/workflows}/templates/workflow.md +1 -1
- package/src/modules/bmb/{_module-installer/install-config.yaml → module.yaml} +4 -9
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +8 -8
- package/src/modules/bmb/reference/agents/module-examples/security-engineer.agent.yaml +6 -6
- package/src/modules/bmb/reference/agents/module-examples/trend-analyst.agent.yaml +7 -7
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01-init.md +2 -3
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-01b-continue.md +10 -40
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-02-profile.md +1 -1
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-03-assessment.md +1 -0
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-04-strategy.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/steps/step-06-prep-schedule.md +2 -2
- package/src/modules/bmb/reference/workflows/meal-prep-nutrition/workflow.md +2 -2
- package/src/modules/bmb/workflows/create-agent/data/info-and-installation-guide.md +16 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/README.md +4 -4
- package/src/modules/bmb/workflows/create-agent/data/reference/agents/expert-examples/journal-keeper/journal-keeper.agent.yaml +7 -7
- package/src/modules/bmb/workflows/create-agent/data/reference/workflows/meal-prep-nutrition/steps/step-05-shopping.md +1 -1
- package/src/modules/bmb/workflows/create-agent/data/validation-complete.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-01-brainstorm.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-02-discover.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-03-persona.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-04-commands.md +6 -6
- package/src/modules/bmb/workflows/create-agent/steps/step-05-name.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-06-build.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-07-validate.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-08-setup.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-09-customize.md +3 -3
- package/src/modules/bmb/workflows/create-agent/steps/step-10-build-tools.md +2 -2
- package/src/modules/bmb/workflows/create-agent/steps/step-11-celebrate.md +2 -2
- package/src/modules/bmb/workflows/create-agent/workflow.md +11 -11
- package/src/modules/bmb/workflows/create-module/steps/step-01-init.md +155 -0
- package/src/modules/bmb/workflows/create-module/steps/step-01b-continue.md +169 -0
- package/src/modules/bmb/workflows/create-module/steps/step-02-concept.md +217 -0
- package/src/modules/bmb/workflows/create-module/steps/step-03-components.md +267 -0
- package/src/modules/bmb/workflows/create-module/steps/step-04-structure.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-05-config.md +233 -0
- package/src/modules/bmb/workflows/create-module/steps/step-06-agents.md +296 -0
- package/src/modules/bmb/workflows/create-module/steps/step-07-workflows.md +228 -0
- package/src/modules/bmb/workflows/create-module/steps/step-08-installer.md +186 -0
- package/src/modules/bmb/workflows/create-module/steps/step-09-documentation.md +309 -0
- package/src/modules/bmb/workflows/create-module/steps/step-10-roadmap.md +337 -0
- package/src/modules/bmb/workflows/create-module/steps/step-11-validate.md +335 -0
- package/src/modules/bmb/workflows/create-module/templates/agent.template.md +317 -0
- package/src/modules/bmb/workflows/create-module/templates/installer.template.js +47 -0
- package/src/modules/bmb/workflows/create-module/templates/module-plan.template.md +5 -0
- package/src/modules/bmb/workflows/create-module/templates/module.template.yaml +53 -0
- package/src/modules/bmb/workflows/create-module/templates/workflow-plan-template.md +23 -0
- package/src/modules/bmb/workflows/create-module/validation.md +126 -0
- package/src/modules/bmb/workflows/create-module/workflow.md +55 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-01-init.md +45 -56
- package/src/modules/bmb/workflows/create-workflow/steps/step-02-gather.md +9 -31
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-configuration.md +250 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-plan-review.md +216 -0
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-output-format-design.md +289 -0
- package/src/modules/bmb/workflows/create-workflow/steps/{step-09-design.md → step-06-design.md} +76 -44
- package/src/modules/bmb/workflows/create-workflow/steps/{step-11-build.md → step-07-build.md} +71 -25
- package/src/modules/bmb/workflows/create-workflow/steps/{step-12-review.md → step-08-review.md} +30 -16
- package/src/modules/bmb/workflows/create-workflow/steps/step-09-complete.md +187 -0
- package/src/modules/bmb/workflows/create-workflow/workflow.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-01-discover-intent.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-02-analyze-agent.md +14 -14
- package/src/modules/bmb/workflows/edit-agent/steps/step-03-propose-changes.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/steps/step-04-apply-changes.md +2 -2
- package/src/modules/bmb/workflows/edit-agent/steps/step-05-validate.md +4 -4
- package/src/modules/bmb/workflows/edit-agent/workflow.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/steps/step-01-analyze.md +2 -6
- package/src/modules/bmb/workflows/edit-workflow/steps/step-03-improve.md +2 -2
- package/src/modules/bmb/workflows/edit-workflow/steps/step-04-validate.md +1 -1
- package/src/modules/bmb/workflows/edit-workflow/workflow.md +1 -1
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-01-validate-goal.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-02-workflow-validation.md +5 -5
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-03-step-validation.md +7 -7
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-04-file-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-05-intent-spectrum-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-06-web-subprocess-validation.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-07-holistic-analysis.md +3 -3
- package/src/modules/bmb/workflows/workflow-compliance-check/steps/step-08-generate-report.md +2 -2
- package/src/modules/bmb/workflows/workflow-compliance-check/workflow.md +1 -1
- package/src/modules/bmb/workflows-legacy/edit-module/checklist.md +0 -1
- package/src/modules/bmgd/README.md +2 -1
- package/src/modules/bmgd/workflows/3-technical/game-architecture/instructions.md +8 -8
- package/src/modules/bmm/_module-installer/installer.js +1 -1
- package/src/modules/bmm/_module-installer/platform-specifics/claude-code.js +1 -1
- package/src/modules/bmm/_module-installer/platform-specifics/windsurf.js +1 -1
- package/src/modules/bmm/agents/analyst.agent.yaml +11 -8
- package/src/modules/bmm/agents/architect.agent.yaml +1 -5
- package/src/modules/bmm/agents/pm.agent.yaml +5 -5
- package/src/modules/bmm/docs/README.md +23 -1
- package/src/modules/bmm/docs/agents-guide.md +16 -35
- package/src/modules/bmm/docs/brownfield-guide.md +17 -30
- package/src/modules/bmm/docs/enterprise-agentic-development.md +2 -2
- package/src/modules/bmm/docs/faq.md +6 -39
- package/src/modules/bmm/docs/glossary.md +11 -24
- package/src/modules/bmm/docs/images/README.md +37 -0
- package/src/modules/bmm/docs/images/workflow-method-greenfield.excalidraw +62 -202
- package/src/modules/bmm/docs/images/workflow-method-greenfield.svg +3 -1
- package/src/modules/bmm/docs/quick-spec-flow.md +652 -0
- package/src/modules/bmm/docs/quick-start.md +9 -25
- package/src/modules/bmm/docs/test-architecture.md +6 -6
- package/src/modules/bmm/docs/troubleshooting.md +680 -0
- package/src/modules/bmm/docs/workflow-document-project-reference.md +1 -1
- package/src/modules/bmm/docs/workflows-implementation.md +143 -3
- package/src/modules/bmm/docs/workflows-solutioning.md +2 -2
- package/src/modules/bmm/{_module-installer/install-config.yaml → module.yaml} +1 -1
- package/src/modules/bmm/tasks/daily-standup.xml +85 -0
- package/src/modules/bmm/testarch/knowledge/ci-burn-in.md +1 -1
- package/src/modules/bmm/testarch/knowledge/overview.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-02-vision.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-03-users.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-04-metrics.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/steps/step-05-scope.md +2 -2
- package/src/modules/bmm/workflows/1-analysis/product-brief/workflow.md +1 -1
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-02-domain-analysis.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-03-competitive-landscape.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-04-regulatory-focus.md +18 -18
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-05-technical-trends.md +17 -17
- package/src/modules/bmm/workflows/1-analysis/research/domain-steps/step-06-research-synthesis.md +35 -36
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +5 -6
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-02-customer-insights.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +16 -15
- package/src/modules/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +36 -37
- package/src/modules/bmm/workflows/1-analysis/research/research.template.md +0 -1
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-01-init.md +8 -8
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-02-technical-overview.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-03-integration-patterns.md +20 -19
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-04-architectural-patterns.md +21 -20
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-05-implementation-research.md +19 -18
- package/src/modules/bmm/workflows/1-analysis/research/technical-steps/step-06-research-synthesis.md +38 -39
- package/src/modules/bmm/workflows/1-analysis/research/workflow.md +14 -8
- package/src/modules/bmm/workflows/2-plan-workflows/create-ux-design/workflow.md +6 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/prd-template.md +7 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01-init.md +138 -56
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-01b-continue.md +93 -51
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-02-discovery.md +223 -78
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-03-success.md +20 -2
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-04-journeys.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-05-domain.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-06-innovation.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-07-project-type.md +21 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-08-scoping.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-09-functional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-10-nonfunctional.md +18 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/steps/step-11-complete.md +13 -0
- package/src/modules/bmm/workflows/2-plan-workflows/prd/workflow.md +2 -2
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-03-starter.md +14 -14
- package/src/modules/bmm/workflows/3-solutioning/architecture/steps/step-04-decisions.md +7 -7
- package/src/modules/bmm/workflows/3-solutioning/architecture/workflow.md +2 -1
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-01-validate-prerequisites.md +258 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-02-design-epics.md +232 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-03-create-stories.md +271 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/steps/step-04-final-validation.md +144 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/templates/epics-template.md +57 -0
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.md +58 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-01-document-discovery.md +189 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-02-prd-analysis.md +177 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-03-epic-coverage-validation.md +178 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-04-ux-alignment.md +138 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-05-epic-quality-review.md +251 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/steps/step-06-final-assessment.md +132 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/templates/readiness-report-template.md +4 -0
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.md +54 -0
- package/src/modules/{bmgd/workflows/4-production → bmm/workflows/4-implementation}/code-review/checklist.md +2 -1
- package/src/modules/bmm/workflows/4-implementation/code-review/instructions.xml +51 -3
- package/src/modules/bmm/workflows/4-implementation/code-review/workflow.yaml +1 -1
- package/src/modules/bmm/workflows/4-implementation/create-story/instructions.xml +32 -2
- package/src/modules/bmm/workflows/4-implementation/retrospective/instructions.md +3 -3
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/instructions.md +19 -21
- package/src/modules/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +10 -10
- package/src/modules/bmm/workflows/4-implementation/sprint-status/instructions.md +174 -0
- package/src/modules/bmm/workflows/4-implementation/sprint-status/workflow.yaml +35 -0
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/instructions.md +104 -7
- package/src/modules/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml +4 -0
- package/src/modules/bmm/workflows/document-project/instructions.md +1 -1
- package/src/modules/bmm/workflows/document-project/workflows/deep-dive-instructions.md +2 -2
- package/src/modules/bmm/workflows/generate-project-context/workflow.md +1 -1
- package/src/modules/bmm/workflows/testarch/atdd/atdd-checklist-template.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/checklist.md +1 -1
- package/src/modules/bmm/workflows/testarch/ci/github-actions-template.yaml +36 -3
- package/src/modules/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +25 -4
- package/src/modules/bmm/workflows/testarch/ci/instructions.md +2 -2
- package/src/modules/bmm/workflows/testarch/test-review/instructions.md +1 -1
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-brownfield.yaml +1 -6
- package/src/modules/bmm/workflows/workflow-status/paths/method-greenfield.yaml +1 -7
- package/src/modules/cis/_module-installer/installer.js +1 -1
- package/tools/cli/README.md +7 -7
- package/tools/cli/commands/build.js +9 -184
- package/tools/cli/commands/install.js +1 -6
- package/tools/cli/installers/lib/core/config-collector.js +80 -12
- package/tools/cli/installers/lib/core/custom-module-cache.js +239 -0
- package/tools/cli/installers/lib/core/detector.js +8 -4
- package/tools/cli/installers/lib/core/installer.js +933 -376
- package/tools/cli/installers/lib/core/manifest-generator.js +265 -41
- package/tools/cli/installers/lib/core/manifest.js +47 -0
- package/tools/cli/installers/lib/core/post-install-sidecar-replacement.js +79 -0
- package/tools/cli/installers/lib/custom/handler.js +396 -0
- package/tools/cli/installers/lib/ide/_base-ide.js +10 -0
- package/tools/cli/installers/lib/ide/auggie.js +19 -7
- package/tools/cli/installers/lib/ide/crush.js +19 -6
- package/tools/cli/installers/lib/ide/cursor.js +29 -13
- package/tools/cli/installers/lib/ide/gemini.js +49 -1
- package/tools/cli/installers/lib/ide/iflow.js +20 -1
- package/tools/cli/installers/lib/ide/kiro-cli.js +327 -0
- package/tools/cli/installers/lib/ide/opencode.js +3 -3
- package/tools/cli/installers/lib/ide/roo.js +120 -184
- package/tools/cli/installers/lib/ide/rovo-dev.js +1 -1
- package/tools/cli/installers/lib/ide/shared/agent-command-generator.js +8 -2
- package/tools/cli/installers/lib/ide/shared/bmad-artifacts.js +34 -19
- package/tools/cli/installers/lib/ide/shared/workflow-command-generator.js +18 -14
- package/tools/cli/installers/lib/ide/templates/agent-command-template.md +1 -1
- package/tools/cli/installers/lib/ide/templates/workflow-commander.md +5 -0
- package/tools/cli/installers/lib/modules/manager.js +535 -56
- package/tools/cli/lib/agent/compiler.js +57 -16
- package/tools/cli/lib/agent/installer.js +129 -28
- package/tools/cli/lib/cli-utils.js +21 -4
- package/tools/cli/lib/config.js +2 -1
- package/tools/cli/lib/ui.js +561 -12
- package/tools/cli/lib/yaml-xml-builder.js +0 -15
- package/tools/maintainer/review-pr-README.md +55 -0
- package/tools/maintainer/review-pr.md +242 -0
- package/tools/migrate-custom-module-paths.js +124 -0
- package/tools/schema/agent.js +149 -89
- package/tools/validate-svg-changes.sh +356 -0
- package/custom/src/agents/commit-poet/installation-guide.md +0 -36
- package/custom/src/agents/toolsmith/installation-guide.md +0 -36
- package/docs/custom-agent-installation.md +0 -183
- package/src/modules/bmb/docs/workflows/workflow-template.md +0 -152
- package/src/modules/bmb/workflows/create-workflow/steps/step-03-tools-overview.md +0 -127
- package/src/modules/bmb/workflows/create-workflow/steps/step-04-core-tools.md +0 -145
- package/src/modules/bmb/workflows/create-workflow/steps/step-05-memory-requirements.md +0 -136
- package/src/modules/bmb/workflows/create-workflow/steps/step-06-external-tools.md +0 -154
- package/src/modules/bmb/workflows/create-workflow/steps/step-07-installation-guidance.md +0 -159
- package/src/modules/bmb/workflows/create-workflow/steps/step-08-tools-summary.md +0 -167
- package/src/modules/bmb/workflows/create-workflow/steps/step-10-plan-review.md +0 -215
- package/src/modules/bmb/workflows/create-workflow/templates/build-summary.md +0 -36
- package/src/modules/bmb/workflows/create-workflow/templates/completion-section.md +0 -39
- package/src/modules/bmb/workflows/create-workflow/templates/content-template.md +0 -21
- package/src/modules/bmb/workflows/create-workflow/templates/design-section.md +0 -53
- package/src/modules/bmb/workflows/create-workflow/templates/project-info.md +0 -18
- package/src/modules/bmb/workflows/create-workflow/templates/requirements-section.md +0 -47
- package/src/modules/bmb/workflows/create-workflow/templates/review-section.md +0 -56
- package/src/modules/bmb/workflows/create-workflow/templates/workflow-plan.md +0 -54
- package/src/modules/bmb/workflows-legacy/create-module/README.md +0 -229
- package/src/modules/bmb/workflows-legacy/create-module/brainstorm-context.md +0 -137
- package/src/modules/bmb/workflows-legacy/create-module/checklist.md +0 -235
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/install-config.yaml +0 -92
- package/src/modules/bmb/workflows-legacy/create-module/installer-templates/installer.js +0 -231
- package/src/modules/bmb/workflows-legacy/create-module/instructions.md +0 -577
- package/src/modules/bmb/workflows-legacy/create-module/module-structure.md +0 -400
- package/src/modules/bmb/workflows-legacy/create-module/workflow.yaml +0 -52
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/epics-template.md +0 -80
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/instructions.md +0 -387
- package/src/modules/bmm/workflows/3-solutioning/create-epics-and-stories/workflow.yaml +0 -53
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +0 -169
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +0 -332
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/template.md +0 -146
- package/src/modules/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +0 -64
- package/tools/cli/commands/agent-install.js +0 -409
- package/tools/cli/commands/cleanup.js +0 -141
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/bundlers.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/deploy.md +0 -0
- /package/{custom/src → example-custom-content}/agents/toolsmith/toolsmith-sidecar/knowledge/tests.md +0 -0
- /package/src/modules/bmgd/{_module-installer/install-config.yaml → module.yaml} +0 -0
- /package/src/modules/cis/{_module-installer/install-config.yaml → module.yaml} +0 -0
|
@@ -1,43 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01-init'
|
|
3
|
+
description: 'Initialize the PRD workflow by detecting continuation state and setting up the document'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-01-init.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-02-discovery.md'
|
|
11
|
+
continueStepFile: '{workflow_path}/steps/step-01b-continue.md'
|
|
12
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
13
|
+
outputFile: '{output_folder}/prd.md'
|
|
14
|
+
|
|
15
|
+
# Template References
|
|
16
|
+
prdTemplate: '{workflow_path}/prd-template.md'
|
|
17
|
+
---
|
|
18
|
+
|
|
1
19
|
# Step 1: Workflow Initialization
|
|
2
20
|
|
|
3
|
-
**Progress: Step 1 of
|
|
21
|
+
**Progress: Step 1 of 11** - Next: Project Discovery
|
|
22
|
+
|
|
23
|
+
## STEP GOAL:
|
|
24
|
+
|
|
25
|
+
Initialize the PRD workflow by detecting continuation state, discovering input documents, and setting up the document structure for collaborative product requirement discovery.
|
|
4
26
|
|
|
5
27
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
6
28
|
|
|
7
|
-
|
|
29
|
+
### Universal Rules:
|
|
8
30
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
-
|
|
31
|
+
- 🛑 NEVER generate content without user input
|
|
32
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
33
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
12
34
|
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
13
|
-
|
|
14
|
-
|
|
35
|
+
|
|
36
|
+
### Role Reinforcement:
|
|
37
|
+
|
|
38
|
+
- ✅ You are a product-focused PM facilitator collaborating with an expert peer
|
|
39
|
+
- ✅ If you already have been given a name, communication_style and persona, continue to use those while playing this new role
|
|
40
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
41
|
+
- ✅ You bring structured thinking and facilitation skills, while the user brings domain expertise and product vision
|
|
42
|
+
|
|
43
|
+
### Step-Specific Rules:
|
|
44
|
+
|
|
45
|
+
- 🎯 Focus only on initialization and setup - no content generation yet
|
|
46
|
+
- 🚫 FORBIDDEN to look ahead to future steps or assume knowledge from them
|
|
47
|
+
- 💬 Approach: Systematic setup with clear reporting to user
|
|
48
|
+
- 🚪 Detect existing workflow state and handle continuation properly
|
|
15
49
|
|
|
16
50
|
## EXECUTION PROTOCOLS:
|
|
17
51
|
|
|
18
|
-
- 🎯 Show your analysis before taking any action
|
|
19
|
-
- 💾 Initialize document and update frontmatter
|
|
52
|
+
- 🎯 Show your analysis of current state before taking any action
|
|
53
|
+
- 💾 Initialize document structure and update frontmatter appropriately
|
|
20
54
|
- 📖 Set up frontmatter `stepsCompleted: [1]` before loading next step
|
|
21
|
-
- 🚫 FORBIDDEN to load next step until
|
|
55
|
+
- 🚫 FORBIDDEN to load next step until user selects 'C' (Continue)
|
|
22
56
|
|
|
23
57
|
## CONTEXT BOUNDARIES:
|
|
24
58
|
|
|
25
|
-
- Variables from workflow.md are available in memory
|
|
26
|
-
-
|
|
27
|
-
- Don't assume knowledge from other steps
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
## YOUR TASK:
|
|
59
|
+
- Available context: Variables from workflow.md are available in memory
|
|
60
|
+
- Focus: Workflow initialization and document setup only
|
|
61
|
+
- Limits: Don't assume knowledge from other steps or create content yet
|
|
62
|
+
- Dependencies: Configuration loaded from workflow.md initialization
|
|
31
63
|
|
|
32
|
-
|
|
64
|
+
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
33
65
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
### 1. Check for Existing Workflow
|
|
66
|
+
### 1. Check for Existing Workflow State
|
|
37
67
|
|
|
38
68
|
First, check if the output document already exists:
|
|
39
69
|
|
|
40
|
-
|
|
70
|
+
**Workflow State Detection:**
|
|
71
|
+
|
|
72
|
+
- Look for file at `{outputFile}`
|
|
41
73
|
- If exists, read the complete file including frontmatter
|
|
42
74
|
- If not exists, this is a fresh workflow
|
|
43
75
|
|
|
@@ -45,9 +77,12 @@ First, check if the output document already exists:
|
|
|
45
77
|
|
|
46
78
|
If the document exists and has frontmatter with `stepsCompleted`:
|
|
47
79
|
|
|
48
|
-
|
|
80
|
+
**Continuation Protocol:**
|
|
81
|
+
|
|
82
|
+
- **STOP immediately** and load `{continueStepFile}`
|
|
49
83
|
- Do not proceed with any initialization tasks
|
|
50
|
-
- Let step-01b handle
|
|
84
|
+
- Let step-01b handle all continuation logic
|
|
85
|
+
- This is an auto-proceed situation - no user choice needed
|
|
51
86
|
|
|
52
87
|
### 3. Fresh Workflow Setup (If No Document)
|
|
53
88
|
|
|
@@ -55,7 +90,18 @@ If no document exists or no `stepsCompleted` in frontmatter:
|
|
|
55
90
|
|
|
56
91
|
#### A. Input Document Discovery
|
|
57
92
|
|
|
58
|
-
Discover and load context documents using smart discovery
|
|
93
|
+
Discover and load context documents using smart discovery.
|
|
94
|
+
|
|
95
|
+
**IMPORTANT: Track document counts as you discover files.**
|
|
96
|
+
|
|
97
|
+
Initialize counters:
|
|
98
|
+
|
|
99
|
+
```
|
|
100
|
+
briefCount = 0
|
|
101
|
+
researchCount = 0
|
|
102
|
+
brainstormingCount = 0
|
|
103
|
+
projectDocsCount = 0
|
|
104
|
+
```
|
|
59
105
|
|
|
60
106
|
**Product Brief (Priority: Analysis → Main → Sharded → Whole):**
|
|
61
107
|
|
|
@@ -64,6 +110,7 @@ Discover and load context documents using smart discovery:
|
|
|
64
110
|
3. If no main files: Check for sharded brief folder: `{output_folder}/*brief*/**/*.md`
|
|
65
111
|
4. If sharded folder exists: Load EVERY file in that folder completely
|
|
66
112
|
5. Add discovered files to `inputDocuments` frontmatter
|
|
113
|
+
6. **Update briefCount with number of files found**
|
|
67
114
|
|
|
68
115
|
**Research Documents (Priority: Analysis → Main → Sharded → Whole):**
|
|
69
116
|
|
|
@@ -72,20 +119,23 @@ Discover and load context documents using smart discovery:
|
|
|
72
119
|
3. If no main files: Check for sharded research folder: `{output_folder}/*research*/**/*.md`
|
|
73
120
|
4. Load useful research files completely
|
|
74
121
|
5. Add discovered files to `inputDocuments` frontmatter
|
|
122
|
+
6. **Update researchCount with number of files found**
|
|
75
123
|
|
|
76
124
|
**Brainstorming Documents (Priority: Analysis → Main):**
|
|
77
125
|
|
|
78
126
|
1. Check analysis folder: `{output_folder}/analysis/brainstorming/*brainstorming*.md`
|
|
79
127
|
2. If no analysis files: Try main folder: `{output_folder}/*brainstorming*.md`
|
|
80
128
|
3. Add discovered files to `inputDocuments` frontmatter
|
|
129
|
+
4. **Update brainstormingCount with number of files found**
|
|
81
130
|
|
|
82
|
-
**Project Documentation (Existing Projects):**
|
|
131
|
+
**Project Documentation (Existing Projects - Brownfield):**
|
|
83
132
|
|
|
84
133
|
1. Look for index file: `{output_folder}/index.md`
|
|
85
134
|
2. CRITICAL: Load index.md to understand what project files are available
|
|
86
135
|
3. Read available files from index to understand existing project context
|
|
87
136
|
4. This provides essential context for extending existing project with new PRD
|
|
88
137
|
5. Add discovered files to `inputDocuments` frontmatter
|
|
138
|
+
6. **Update projectDocsCount with number of files found (including index.md)**
|
|
89
139
|
|
|
90
140
|
**Loading Rules:**
|
|
91
141
|
|
|
@@ -96,13 +146,20 @@ Discover and load context documents using smart discovery:
|
|
|
96
146
|
|
|
97
147
|
#### B. Create Initial Document
|
|
98
148
|
|
|
99
|
-
|
|
100
|
-
|
|
149
|
+
**Document Setup:**
|
|
150
|
+
|
|
151
|
+
- Copy the template from `{prdTemplate}` to `{outputFile}`
|
|
152
|
+
- Initialize frontmatter with proper structure including document counts:
|
|
101
153
|
|
|
102
154
|
```yaml
|
|
103
155
|
---
|
|
104
156
|
stepsCompleted: []
|
|
105
157
|
inputDocuments: []
|
|
158
|
+
documentCounts:
|
|
159
|
+
briefs: { { briefCount } }
|
|
160
|
+
research: { { researchCount } }
|
|
161
|
+
brainstorming: { { brainstormingCount } }
|
|
162
|
+
projectDocs: { { projectDocsCount } }
|
|
106
163
|
workflowType: 'prd'
|
|
107
164
|
lastStep: 0
|
|
108
165
|
project_name: '{{project_name}}'
|
|
@@ -111,51 +168,76 @@ date: '{{date}}'
|
|
|
111
168
|
---
|
|
112
169
|
```
|
|
113
170
|
|
|
114
|
-
#### C.
|
|
171
|
+
#### C. Present Initialization Results
|
|
115
172
|
|
|
116
|
-
|
|
173
|
+
**Setup Report to User:**
|
|
174
|
+
|
|
175
|
+
"Welcome {{user_name}}! I've set up your PRD workspace for {{project_name}}.
|
|
117
176
|
|
|
118
177
|
**Document Setup:**
|
|
119
178
|
|
|
120
|
-
- Created: `{
|
|
179
|
+
- Created: `{outputFile}` from template
|
|
121
180
|
- Initialized frontmatter with workflow state
|
|
122
181
|
|
|
123
182
|
**Input Documents Discovered:**
|
|
124
|
-
Report what was found:
|
|
125
|
-
"Welcome {{user_name}}! I've set up your PRD workspace for {{project_name}}.
|
|
126
183
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
131
|
-
- Project docs: {number of project files loaded or "None found"}
|
|
184
|
+
- Product briefs: {{briefCount}} files {if briefCount > 0}✓ loaded{else}(none found){/if}
|
|
185
|
+
- Research: {{researchCount}} files {if researchCount > 0}✓ loaded{else}(none found){/if}
|
|
186
|
+
- Brainstorming: {{brainstormingCount}} files {if brainstormingCount > 0}✓ loaded{else}(none found){/if}
|
|
187
|
+
- Project docs: {{projectDocsCount}} files {if projectDocsCount > 0}✓ loaded (brownfield project){else}(none found - greenfield project){/if}
|
|
132
188
|
|
|
133
189
|
**Files loaded:** {list of specific file names or "No additional documents found"}
|
|
134
190
|
|
|
135
|
-
|
|
191
|
+
{if projectDocsCount > 0}
|
|
192
|
+
📋 **Note:** This is a **brownfield project**. Your existing project documentation has been loaded. In the next step, I'll ask specifically about what new features or changes you want to add to your existing system.
|
|
193
|
+
{/if}
|
|
194
|
+
|
|
195
|
+
Do you have any other documents you'd like me to include, or shall we continue to the next step?"
|
|
136
196
|
|
|
137
|
-
|
|
197
|
+
### 4. Present MENU OPTIONS
|
|
138
198
|
|
|
139
|
-
|
|
199
|
+
Display menu after setup report:
|
|
200
|
+
|
|
201
|
+
"[C] Continue - Save this and move to Project Discovery (Step 2 of 11)"
|
|
202
|
+
|
|
203
|
+
#### Menu Handling Logic:
|
|
204
|
+
|
|
205
|
+
- IF C: Update frontmatter with `stepsCompleted: [1]`, then load, read entire file, then execute {nextStepFile}
|
|
206
|
+
- IF user provides additional files: Load them, update inputDocuments and documentCounts, redisplay report
|
|
207
|
+
- IF user asks questions: Answer and redisplay menu
|
|
208
|
+
|
|
209
|
+
#### EXECUTION RULES:
|
|
210
|
+
|
|
211
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
212
|
+
- ONLY proceed to next step when user selects 'C'
|
|
213
|
+
|
|
214
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
215
|
+
|
|
216
|
+
ONLY WHEN [C continue option] is selected and [frontmatter properly updated with stepsCompleted: [1] and documentCounts], will you then load and read fully `{nextStepFile}` to execute and begin project discovery.
|
|
217
|
+
|
|
218
|
+
---
|
|
140
219
|
|
|
141
|
-
|
|
142
|
-
✅ Fresh workflow initialized with template and frontmatter
|
|
143
|
-
✅ Input documents discovered and loaded using sharded-first logic
|
|
144
|
-
✅ All discovered files tracked in frontmatter `inputDocuments`
|
|
145
|
-
✅ User confirmed document setup and can proceed
|
|
220
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
146
221
|
|
|
147
|
-
|
|
222
|
+
### ✅ SUCCESS:
|
|
148
223
|
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
224
|
+
- Existing workflow detected and properly handed off to step-01b
|
|
225
|
+
- Fresh workflow initialized with template and proper frontmatter
|
|
226
|
+
- Input documents discovered and loaded using sharded-first logic
|
|
227
|
+
- All discovered files tracked in frontmatter `inputDocuments`
|
|
228
|
+
- **Document counts stored in frontmatter `documentCounts`**
|
|
229
|
+
- User clearly informed of brownfield vs greenfield status
|
|
230
|
+
- Menu presented and user input handled correctly
|
|
231
|
+
- Frontmatter updated with `stepsCompleted: [1]` before proceeding
|
|
154
232
|
|
|
155
|
-
❌
|
|
156
|
-
❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
|
|
157
|
-
❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
|
|
233
|
+
### ❌ SYSTEM FAILURE:
|
|
158
234
|
|
|
159
|
-
|
|
235
|
+
- Proceeding with fresh initialization when existing workflow exists
|
|
236
|
+
- Not updating frontmatter with discovered input documents
|
|
237
|
+
- **Not storing document counts in frontmatter**
|
|
238
|
+
- Creating document without proper template structure
|
|
239
|
+
- Not checking sharded folders first before whole files
|
|
240
|
+
- Not reporting discovered documents to user clearly
|
|
241
|
+
- Proceeding without user selecting 'C' (Continue)
|
|
160
242
|
|
|
161
|
-
|
|
243
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
@@ -1,56 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-01b-continue'
|
|
3
|
+
description: 'Resume an interrupted PRD workflow from the last completed step'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/{bmad_folder}/bmm/workflows/2-plan-workflows/prd'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
|
|
10
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
11
|
+
outputFile: '{output_folder}/prd.md'
|
|
12
|
+
---
|
|
13
|
+
|
|
1
14
|
# Step 1B: Workflow Continuation
|
|
2
15
|
|
|
16
|
+
## STEP GOAL:
|
|
17
|
+
|
|
18
|
+
Resume the PRD workflow from where it was left off, ensuring smooth continuation with full context restoration.
|
|
19
|
+
|
|
3
20
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
4
21
|
|
|
5
|
-
|
|
22
|
+
### Universal Rules:
|
|
6
23
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
24
|
+
- 🛑 NEVER generate content without user input
|
|
25
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
26
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
10
27
|
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
28
|
+
|
|
29
|
+
### Role Reinforcement:
|
|
30
|
+
|
|
31
|
+
- ✅ You are a product-focused PM facilitator collaborating with an expert peer
|
|
32
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
33
|
+
- ✅ Resume workflow from exact point where it was interrupted
|
|
34
|
+
|
|
35
|
+
### Step-Specific Rules:
|
|
36
|
+
|
|
11
37
|
- 💬 FOCUS on understanding where we left off and continuing appropriately
|
|
12
|
-
-
|
|
38
|
+
- 🚫 FORBIDDEN to modify content completed in previous steps
|
|
39
|
+
- 📖 Only reload documents that were already tracked in `inputDocuments`
|
|
13
40
|
|
|
14
41
|
## EXECUTION PROTOCOLS:
|
|
15
42
|
|
|
16
43
|
- 🎯 Show your analysis of current state before taking action
|
|
17
44
|
- 💾 Keep existing frontmatter `stepsCompleted` values
|
|
18
45
|
- 📖 Only load documents that were already tracked in `inputDocuments`
|
|
19
|
-
- 🚫 FORBIDDEN to
|
|
46
|
+
- 🚫 FORBIDDEN to discover new input documents during continuation
|
|
20
47
|
|
|
21
48
|
## CONTEXT BOUNDARIES:
|
|
22
49
|
|
|
23
|
-
- Current document and frontmatter are already loaded
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
## YOUR TASK:
|
|
29
|
-
|
|
30
|
-
Resume the PRD workflow from where it was left off, ensuring smooth continuation.
|
|
50
|
+
- Available context: Current document and frontmatter are already loaded
|
|
51
|
+
- Focus: Workflow state analysis and continuation logic only
|
|
52
|
+
- Limits: Don't assume knowledge beyond what's in the document
|
|
53
|
+
- Dependencies: Existing workflow state from previous session
|
|
31
54
|
|
|
32
|
-
##
|
|
55
|
+
## Sequence of Instructions (Do not deviate, skip, or optimize)
|
|
33
56
|
|
|
34
57
|
### 1. Analyze Current State
|
|
35
58
|
|
|
59
|
+
**State Assessment:**
|
|
36
60
|
Review the frontmatter to understand:
|
|
37
61
|
|
|
38
62
|
- `stepsCompleted`: Which steps are already done
|
|
39
63
|
- `lastStep`: The most recently completed step number
|
|
40
64
|
- `inputDocuments`: What context was already loaded
|
|
65
|
+
- `documentCounts`: briefs, research, brainstorming, projectDocs counts
|
|
41
66
|
- All other frontmatter variables
|
|
42
67
|
|
|
43
|
-
### 2.
|
|
68
|
+
### 2. Restore Context Documents
|
|
44
69
|
|
|
45
|
-
|
|
70
|
+
**Context Reloading:**
|
|
46
71
|
|
|
47
72
|
- For each document in `inputDocuments`, load the complete file
|
|
48
73
|
- This ensures you have full context for continuation
|
|
49
74
|
- Don't discover new documents - only reload what was previously processed
|
|
50
75
|
|
|
51
|
-
### 3.
|
|
76
|
+
### 3. Present Current Progress
|
|
52
77
|
|
|
53
|
-
|
|
78
|
+
**Progress Report to User:**
|
|
54
79
|
"Welcome back {{user_name}}! I'm resuming our PRD collaboration for {{project_name}}.
|
|
55
80
|
|
|
56
81
|
**Current Progress:**
|
|
@@ -66,58 +91,75 @@ Welcome the user back and provide context:
|
|
|
66
91
|
|
|
67
92
|
Does this look right, or do you want to make any adjustments before we proceed?"
|
|
68
93
|
|
|
69
|
-
### 4. Determine
|
|
94
|
+
### 4. Determine Continuation Path
|
|
70
95
|
|
|
96
|
+
**Next Step Logic:**
|
|
71
97
|
Based on `lastStep` value, determine which step to load next:
|
|
72
98
|
|
|
73
99
|
- If `lastStep = 1` → Load `./step-02-discovery.md`
|
|
74
100
|
- If `lastStep = 2` → Load `./step-03-success.md`
|
|
75
101
|
- If `lastStep = 3` → Load `./step-04-journeys.md`
|
|
76
|
-
-
|
|
77
|
-
- If `lastStep =
|
|
102
|
+
- If `lastStep = 4` → Load `./step-05-domain.md`
|
|
103
|
+
- If `lastStep = 5` → Load `./step-06-innovation.md`
|
|
104
|
+
- If `lastStep = 6` → Load `./step-07-project-type.md`
|
|
105
|
+
- If `lastStep = 7` → Load `./step-08-scoping.md`
|
|
106
|
+
- If `lastStep = 8` → Load `./step-09-functional.md`
|
|
107
|
+
- If `lastStep = 9` → Load `./step-10-nonfunctional.md`
|
|
108
|
+
- If `lastStep = 10` → Load `./step-11-complete.md`
|
|
109
|
+
- If `lastStep = 11` → Workflow already complete
|
|
110
|
+
|
|
111
|
+
### 5. Handle Workflow Completion
|
|
112
|
+
|
|
113
|
+
**If workflow already complete (`lastStep = 11`):**
|
|
114
|
+
"Great news! It looks like we've already completed the PRD workflow for {{project_name}}.
|
|
78
115
|
|
|
79
|
-
|
|
116
|
+
The final document is ready at `{outputFile}` with all sections completed through step 11.
|
|
80
117
|
|
|
81
|
-
|
|
82
|
-
"Ready to continue with Step {nextStepNumber}: {nextStepTitle}?
|
|
118
|
+
Would you like me to:
|
|
83
119
|
|
|
84
|
-
|
|
120
|
+
- Review the completed PRD with you
|
|
121
|
+
- Suggest next workflow steps (like architecture or epic creation)
|
|
122
|
+
- Start a new PRD revision
|
|
85
123
|
|
|
86
|
-
|
|
124
|
+
What would be most helpful?"
|
|
87
125
|
|
|
88
|
-
|
|
89
|
-
✅ Current workflow state accurately analyzed and presented
|
|
90
|
-
✅ User confirms understanding of progress
|
|
91
|
-
✅ Correct next step identified and prepared for loading
|
|
126
|
+
### 6. Present MENU OPTIONS
|
|
92
127
|
|
|
93
|
-
|
|
128
|
+
**If workflow not complete:**
|
|
129
|
+
Display: "Ready to continue with Step {nextStepNumber}?
|
|
94
130
|
|
|
95
|
-
|
|
96
|
-
❌ Modifying content from already completed steps
|
|
97
|
-
❌ Loading wrong next step based on `lastStep` value
|
|
98
|
-
❌ Proceeding without user confirmation of current state
|
|
131
|
+
**Select an Option:** [C] Continue to next step"
|
|
99
132
|
|
|
100
|
-
|
|
101
|
-
❌ **CRITICAL**: Proceeding with 'C' without fully reading and understanding the next step file
|
|
102
|
-
❌ **CRITICAL**: Making decisions without complete understanding of step requirements and protocols
|
|
133
|
+
#### Menu Handling Logic:
|
|
103
134
|
|
|
104
|
-
|
|
135
|
+
- IF C: Load, read entire file, then execute the appropriate next step file based on `lastStep`
|
|
136
|
+
- IF Any other comments or queries: respond and redisplay menu
|
|
105
137
|
|
|
106
|
-
|
|
107
|
-
"Great news! It looks like we've already completed the PRD workflow for {{project_name}}.
|
|
138
|
+
#### EXECUTION RULES:
|
|
108
139
|
|
|
109
|
-
|
|
140
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
141
|
+
- ONLY proceed to next step when user selects 'C'
|
|
110
142
|
|
|
111
|
-
|
|
143
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
112
144
|
|
|
113
|
-
|
|
114
|
-
- Suggest next workflow steps (like architecture or epic creation)
|
|
115
|
-
- Start a new PRD revision
|
|
145
|
+
ONLY WHEN [C continue option] is selected and [current state confirmed], will you then load and read fully the appropriate next step file to resume the workflow.
|
|
116
146
|
|
|
117
|
-
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
150
|
+
|
|
151
|
+
### ✅ SUCCESS:
|
|
152
|
+
|
|
153
|
+
- All previous input documents successfully reloaded
|
|
154
|
+
- Current workflow state accurately analyzed and presented
|
|
155
|
+
- User confirms understanding of progress before continuation
|
|
156
|
+
- Correct next step identified and prepared for loading
|
|
118
157
|
|
|
119
|
-
|
|
158
|
+
### ❌ SYSTEM FAILURE:
|
|
120
159
|
|
|
121
|
-
|
|
160
|
+
- Discovering new input documents instead of reloading existing ones
|
|
161
|
+
- Modifying content from already completed steps
|
|
162
|
+
- Loading wrong next step based on `lastStep` value
|
|
163
|
+
- Proceeding without user confirmation of current state
|
|
122
164
|
|
|
123
|
-
|
|
165
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|