bmad-method 6.1.1-next.9 → 6.2.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/README_CN.md +9 -9
- package/package.json +1 -1
- package/src/bmm/agents/analyst.agent.yaml +3 -3
- package/src/bmm/agents/architect.agent.yaml +1 -1
- package/src/bmm/agents/dev.agent.yaml +1 -1
- package/src/bmm/agents/pm.agent.yaml +6 -6
- package/src/bmm/agents/qa.agent.yaml +1 -1
- package/src/bmm/agents/quick-flow-solo-dev.agent.yaml +2 -2
- package/src/bmm/agents/sm.agent.yaml +3 -3
- package/src/bmm/agents/tech-writer/tech-writer.agent.yaml +1 -1
- package/src/bmm/module-help.csv +16 -16
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +1 -1
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/product-brief.template.md +2 -2
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01-init.md +4 -11
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01b-continue.md +0 -3
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-02-vision.md +5 -11
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-03-users.md +5 -11
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-04-metrics.md +5 -11
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-05-scope.md +5 -11
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-06-complete.md +0 -3
- package/src/bmm/workflows/1-analysis/bmad-create-product-brief/workflow.md +3 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
- package/src/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
- package/src/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +1 -1
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/src/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
- package/src/bmm/workflows/1-analysis/research/{workflow-market-research.md → bmad-market-research/workflow.md} +1 -6
- package/src/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
- package/src/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
- package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-01-init.md +2 -2
- package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-02-technical-overview.md +2 -2
- package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-03-integration-patterns.md +2 -2
- package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-04-architectural-patterns.md +2 -2
- package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-05-implementation-research.md +2 -2
- package/src/bmm/workflows/1-analysis/research/{workflow-technical-research.md → bmad-technical-research/workflow.md} +0 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01-init.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +1 -1
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +5 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +2 -2
- package/src/bmm/workflows/2-plan-workflows/bmad-create-ux-design/workflow.md +1 -2
- package/src/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
- package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01-discovery.md +3 -8
- package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01b-legacy-conversion.md +1 -5
- package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-02-review.md +5 -9
- package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-03-edit.md +3 -6
- package/src/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-04-complete.md +2 -5
- package/src/bmm/workflows/2-plan-workflows/{create-prd/workflow-edit-prd.md → bmad-edit-prd/workflow.md} +2 -4
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
- package/src/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +2 -4
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +1 -0
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +3 -3
- package/src/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +2 -1
- package/src/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +2 -0
- package/src/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-01-document-discovery.md +3 -8
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-02-prd-analysis.md +1 -5
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-03-epic-coverage-validation.md +1 -5
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-04-ux-alignment.md +1 -5
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-05-epic-quality-review.md +2 -6
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-06-final-assessment.md +0 -3
- package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/workflow.md +0 -5
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +1 -1
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md +4 -4
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md +2 -2
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md +4 -4
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md +4 -4
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md +4 -4
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md +4 -4
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md +4 -4
- package/src/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md +0 -6
- package/src/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
- package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-01-validate-prerequisites.md +7 -29
- package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-02-design-epics.md +7 -28
- package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-03-create-stories.md +8 -29
- package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-04-final-validation.md +2 -20
- package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/workflow.md +1 -6
- package/src/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
- package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
- package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
- package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
- package/src/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
- package/src/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
- package/src/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
- package/src/bmm/workflows/4-implementation/{correct-course → bmad-correct-course}/checklist.md +1 -1
- package/src/bmm/workflows/4-implementation/{correct-course → bmad-correct-course}/workflow.md +3 -10
- package/src/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +1 -1
- package/src/bmm/workflows/4-implementation/bmad-create-story/checklist.md +2 -2
- package/src/bmm/workflows/4-implementation/bmad-create-story/workflow.md +3 -11
- package/src/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +1 -1
- package/src/bmm/workflows/4-implementation/bmad-dev-story/workflow.md +0 -1
- package/src/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
- package/src/bmm/workflows/4-implementation/{retrospective → bmad-retrospective}/workflow.md +0 -6
- package/src/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
- package/src/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/workflow.md +0 -8
- package/src/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
- package/src/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/4-implementation/{sprint-status → bmad-sprint-status}/workflow.md +0 -6
- package/src/bmm/workflows/bmad-document-project/SKILL.md +6 -0
- package/src/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/{document-project → bmad-document-project}/instructions.md +6 -6
- package/src/bmm/workflows/bmad-document-project/workflow.md +27 -0
- package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/deep-dive-instructions.md +3 -1
- package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/deep-dive-workflow.md +4 -12
- package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/full-scan-instructions.md +5 -3
- package/src/bmm/workflows/{document-project → bmad-document-project}/workflows/full-scan-workflow.md +4 -12
- package/src/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
- package/src/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-01-discover.md +4 -2
- package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-02-generate.md +8 -5
- package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/workflow.md +2 -8
- package/src/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
- package/src/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/{qa-generate-e2e-tests → bmad-qa-generate-e2e-tests}/workflow.md +2 -9
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +1 -1
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-01-mode-detection.md +9 -14
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-02-context-gathering.md +1 -5
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-03-execute.md +1 -5
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-04-self-check.md +1 -5
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md +1 -5
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-06-resolve-findings.md +0 -2
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev/workflow.md +0 -6
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +1 -1
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +2 -5
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +2 -6
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +1 -3
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +3 -6
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +0 -2
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +0 -1
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
- package/src/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
- package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-01-understand.md +7 -11
- package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-02-investigate.md +3 -6
- package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-03-generate.md +1 -4
- package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-04-review.md +4 -7
- package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/workflow.md +1 -6
- package/src/core/module-help.csv +1 -0
- package/src/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
- package/src/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
- package/src/core/{tasks → skills}/bmad-advanced-elicitation/workflow.md +3 -4
- package/src/core/{workflows → skills}/bmad-brainstorming/SKILL.md +1 -1
- package/src/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-01-session-setup.md +5 -1
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-01b-continue.md +3 -1
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02a-user-selected.md +5 -1
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02b-ai-recommended.md +3 -1
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02c-random-selection.md +3 -1
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-02d-progressive-flow.md +3 -1
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-03-technique-execution.md +4 -2
- package/src/core/{workflows → skills}/bmad-brainstorming/steps/step-04-idea-organization.md +2 -0
- package/src/core/{workflows → skills}/bmad-brainstorming/workflow.md +1 -5
- package/src/core/skills/bmad-distillator/SKILL.md +178 -0
- package/src/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
- package/src/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
- package/src/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
- package/src/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
- package/src/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
- package/src/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
- package/src/core/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
- package/src/core/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
- package/src/core/{tasks → skills}/bmad-editorial-review-prose/SKILL.md +1 -1
- package/src/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
- package/src/core/{tasks → skills}/bmad-editorial-review-structure/SKILL.md +1 -1
- package/src/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
- package/src/core/skills/bmad-help/SKILL.md +6 -0
- package/src/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
- package/src/core/{tasks → skills}/bmad-index-docs/SKILL.md +1 -1
- package/src/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
- package/src/core/{workflows → skills}/bmad-party-mode/SKILL.md +1 -1
- package/src/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
- package/src/core/{tasks → skills}/bmad-review-adversarial-general/SKILL.md +1 -1
- package/src/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
- package/src/core/{tasks → skills}/bmad-review-edge-case-hunter/SKILL.md +2 -2
- package/src/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
- package/src/core/{tasks → skills}/bmad-shard-doc/SKILL.md +1 -1
- package/src/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
- package/src/core/tasks/bmad-create-prd/SKILL.md +6 -0
- package/src/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
- package/src/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
- package/src/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
- package/src/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01-init.md +7 -20
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01b-continue.md +29 -20
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02-discovery.md +7 -23
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02b-vision.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02c-executive-summary.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-03-success.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-04-journeys.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-05-domain.md +7 -20
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-06-innovation.md +8 -23
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-07-project-type.md +6 -21
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-08-scoping.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-09-functional.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-10-nonfunctional.md +5 -17
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-11-polish.md +6 -19
- package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-12-complete.md +3 -12
- package/src/{bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md → core/tasks/bmad-create-prd/workflow.md} +3 -4
- package/tools/cli/external-official-modules.yaml +9 -9
- package/tools/cli/installers/lib/core/manifest.js +4 -2
- package/tools/skill-validator.md +322 -0
- package/src/bmm/workflows/1-analysis/research/bmad-skill-manifest.yaml +0 -9
- package/src/bmm/workflows/2-plan-workflows/create-prd/bmad-skill-manifest.yaml +0 -14
- package/src/bmm/workflows/3-solutioning/check-implementation-readiness/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/3-solutioning/create-epics-and-stories/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/4-implementation/code-review/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
- package/src/bmm/workflows/4-implementation/code-review/discover-inputs.md +0 -88
- package/src/bmm/workflows/4-implementation/code-review/workflow.md +0 -268
- package/src/bmm/workflows/4-implementation/correct-course/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/4-implementation/retrospective/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/4-implementation/sprint-planning/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/4-implementation/sprint-status/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/bmad-quick-flow/quick-spec/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/document-project/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/document-project/workflow.md +0 -39
- package/src/bmm/workflows/generate-project-context/bmad-skill-manifest.yaml +0 -3
- package/src/bmm/workflows/qa-generate-e2e-tests/bmad-skill-manifest.yaml +0 -3
- package/src/core/agents/bmad-master.agent.yaml +0 -30
- package/src/core/agents/bmad-skill-manifest.yaml +0 -3
- package/src/core/tasks/bmad-advanced-elicitation/SKILL.md +0 -6
- package/src/core/tasks/bmad-help/SKILL.md +0 -6
- /package/src/{core/tasks/bmad-advanced-elicitation → bmm/workflows/1-analysis/bmad-product-brief-preview}/bmad-skill-manifest.yaml +0 -0
- /package/src/{core/tasks/bmad-editorial-review-prose → bmm/workflows/1-analysis/research/bmad-market-research}/bmad-skill-manifest.yaml +0 -0
- /package/src/{core/tasks/bmad-editorial-review-structure → bmm/workflows/1-analysis/research/bmad-technical-research}/bmad-skill-manifest.yaml +0 -0
- /package/src/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-06-research-synthesis.md +0 -0
- /package/src/{core/tasks/bmad-help → bmm/workflows/2-plan-workflows/bmad-edit-prd}/bmad-skill-manifest.yaml +0 -0
- /package/src/{core/tasks/bmad-index-docs → bmm/workflows/2-plan-workflows/bmad-validate-prd}/bmad-skill-manifest.yaml +0 -0
- /package/src/{core/tasks/bmad-review-adversarial-general → bmm/workflows/3-solutioning/bmad-check-implementation-readiness}/bmad-skill-manifest.yaml +0 -0
- /package/src/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/templates/readiness-report-template.md +0 -0
- /package/src/{core/tasks/bmad-review-edge-case-hunter → bmm/workflows/3-solutioning/bmad-create-epics-and-stories}/bmad-skill-manifest.yaml +0 -0
- /package/src/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/templates/epics-template.md +0 -0
- /package/src/{core/tasks/bmad-shard-doc → bmm/workflows/4-implementation/bmad-code-review}/bmad-skill-manifest.yaml +0 -0
- /package/src/{core/workflows/bmad-brainstorming → bmm/workflows/4-implementation/bmad-correct-course}/bmad-skill-manifest.yaml +0 -0
- /package/src/{core/workflows/bmad-party-mode → bmm/workflows/4-implementation/bmad-retrospective}/bmad-skill-manifest.yaml +0 -0
- /package/src/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/checklist.md +0 -0
- /package/src/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/sprint-status-template.yaml +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/checklist.md +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/documentation-requirements.csv +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/deep-dive-template.md +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/index-template.md +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/project-overview-template.md +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/project-scan-report-schema.json +0 -0
- /package/src/bmm/workflows/{document-project → bmad-document-project}/templates/source-tree-template.md +0 -0
- /package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/project-context-template.md +0 -0
- /package/src/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-03-complete.md +0 -0
- /package/src/bmm/workflows/{qa-generate-e2e-tests → bmad-qa-generate-e2e-tests}/checklist.md +0 -0
- /package/src/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/tech-spec-template.md +0 -0
- /package/src/core/{tasks → skills}/bmad-advanced-elicitation/methods.csv +0 -0
- /package/src/core/{workflows → skills}/bmad-brainstorming/brain-methods.csv +0 -0
- /package/src/core/{workflows → skills}/bmad-brainstorming/template.md +0 -0
- /package/src/core/{tasks → skills}/bmad-editorial-review-prose/workflow.md +0 -0
- /package/src/core/{tasks → skills}/bmad-editorial-review-structure/workflow.md +0 -0
- /package/src/core/{tasks → skills}/bmad-help/workflow.md +0 -0
- /package/src/core/{tasks → skills}/bmad-index-docs/workflow.md +0 -0
- /package/src/core/{workflows → skills}/bmad-party-mode/steps/step-01-agent-loading.md +0 -0
- /package/src/core/{workflows → skills}/bmad-party-mode/steps/step-02-discussion-orchestration.md +0 -0
- /package/src/core/{workflows → skills}/bmad-party-mode/steps/step-03-graceful-exit.md +0 -0
- /package/src/core/{workflows → skills}/bmad-party-mode/workflow.md +0 -0
- /package/src/core/{tasks → skills}/bmad-review-adversarial-general/workflow.md +0 -0
- /package/src/core/{tasks → skills}/bmad-review-edge-case-hunter/workflow.md +0 -0
- /package/src/core/{tasks → skills}/bmad-shard-doc/workflow.md +0 -0
- /package/src/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/templates/prd-template.md +0 -0
|
@@ -32,8 +32,8 @@ This step will generate content and present choices:
|
|
|
32
32
|
|
|
33
33
|
## PROTOCOL INTEGRATION:
|
|
34
34
|
|
|
35
|
-
- When 'A' selected:
|
|
36
|
-
- When 'P' selected:
|
|
35
|
+
- When 'A' selected: Invoke the `bmad-advanced-elicitation` skill
|
|
36
|
+
- When 'P' selected: Invoke the `bmad-party-mode` skill
|
|
37
37
|
- PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
|
|
38
38
|
- User accepts/rejects protocol changes before proceeding
|
|
39
39
|
|
|
@@ -305,7 +305,7 @@ Show the generated patterns content and present choices:
|
|
|
305
305
|
|
|
306
306
|
#### If 'A' (Advanced Elicitation):
|
|
307
307
|
|
|
308
|
-
-
|
|
308
|
+
- Invoke the `bmad-advanced-elicitation` skill with current patterns
|
|
309
309
|
- Process enhanced consistency rules that come back
|
|
310
310
|
- Ask user: "Accept these additional pattern refinements? (y/n)"
|
|
311
311
|
- If yes: Update content, then return to A/P/C menu
|
|
@@ -313,7 +313,7 @@ Show the generated patterns content and present choices:
|
|
|
313
313
|
|
|
314
314
|
#### If 'P' (Party Mode):
|
|
315
315
|
|
|
316
|
-
-
|
|
316
|
+
- Invoke the `bmad-party-mode` skill with implementation patterns context
|
|
317
317
|
- Process collaborative insights about potential conflicts
|
|
318
318
|
- Ask user: "Accept these changes to the implementation patterns? (y/n)"
|
|
319
319
|
- If yes: Update content, then return to A/P/C menu
|
|
@@ -32,8 +32,8 @@ This step will generate content and present choices:
|
|
|
32
32
|
|
|
33
33
|
## PROTOCOL INTEGRATION:
|
|
34
34
|
|
|
35
|
-
- When 'A' selected:
|
|
36
|
-
- When 'P' selected:
|
|
35
|
+
- When 'A' selected: Invoke the `bmad-advanced-elicitation` skill
|
|
36
|
+
- When 'P' selected: Invoke the `bmad-party-mode` skill
|
|
37
37
|
- PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
|
|
38
38
|
- User accepts/rejects protocol changes before proceeding
|
|
39
39
|
|
|
@@ -325,7 +325,7 @@ Show the generated project structure content and present choices:
|
|
|
325
325
|
|
|
326
326
|
#### If 'A' (Advanced Elicitation):
|
|
327
327
|
|
|
328
|
-
-
|
|
328
|
+
- Invoke the `bmad-advanced-elicitation` skill with current project structure
|
|
329
329
|
- Process enhanced organizational insights that come back
|
|
330
330
|
- Ask user: "Accept these changes to the project structure? (y/n)"
|
|
331
331
|
- If yes: Update content, then return to A/P/C menu
|
|
@@ -333,7 +333,7 @@ Show the generated project structure content and present choices:
|
|
|
333
333
|
|
|
334
334
|
#### If 'P' (Party Mode):
|
|
335
335
|
|
|
336
|
-
-
|
|
336
|
+
- Invoke the `bmad-party-mode` skill with project structure context
|
|
337
337
|
- Process collaborative insights about organization trade-offs
|
|
338
338
|
- Ask user: "Accept these changes to the project structure? (y/n)"
|
|
339
339
|
- If yes: Update content, then return to A/P/C menu
|
package/src/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md
CHANGED
|
@@ -32,8 +32,8 @@ This step will generate content and present choices:
|
|
|
32
32
|
|
|
33
33
|
## PROTOCOL INTEGRATION:
|
|
34
34
|
|
|
35
|
-
- When 'A' selected:
|
|
36
|
-
- When 'P' selected:
|
|
35
|
+
- When 'A' selected: Invoke the `bmad-advanced-elicitation` skill
|
|
36
|
+
- When 'P' selected: Invoke the `bmad-party-mode` skill
|
|
37
37
|
- PROTOCOLS always return to display this step's A/P/C menu after the A or P have completed
|
|
38
38
|
- User accepts/rejects protocol changes before proceeding
|
|
39
39
|
|
|
@@ -305,7 +305,7 @@ Show the validation results and present choices:
|
|
|
305
305
|
|
|
306
306
|
#### If 'A' (Advanced Elicitation):
|
|
307
307
|
|
|
308
|
-
-
|
|
308
|
+
- Invoke the `bmad-advanced-elicitation` skill with validation issues
|
|
309
309
|
- Process enhanced solutions for complex concerns
|
|
310
310
|
- Ask user: "Accept these architectural improvements? (y/n)"
|
|
311
311
|
- If yes: Update content, then return to A/P/C menu
|
|
@@ -313,7 +313,7 @@ Show the validation results and present choices:
|
|
|
313
313
|
|
|
314
314
|
#### If 'P' (Party Mode):
|
|
315
315
|
|
|
316
|
-
-
|
|
316
|
+
- Invoke the `bmad-party-mode` skill with validation context
|
|
317
317
|
- Process collaborative insights on implementation readiness
|
|
318
318
|
- Ask user: "Accept these changes to the validation results? (y/n)"
|
|
319
319
|
- If yes: Update content, then return to A/P/C menu
|
|
@@ -29,12 +29,6 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
|
29
29
|
- `date` as system-generated current datetime
|
|
30
30
|
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
31
31
|
|
|
32
|
-
### Paths
|
|
33
|
-
|
|
34
|
-
- `installed_path` = `.`
|
|
35
|
-
- `template_path` = `{installed_path}/architecture-decision-template.md`
|
|
36
|
-
- `data_files_path` = `{installed_path}/data/`
|
|
37
|
-
|
|
38
32
|
---
|
|
39
33
|
|
|
40
34
|
## EXECUTION
|
|
@@ -1,25 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-01-validate-prerequisites'
|
|
3
|
-
description: 'Validate required documents exist and extract all requirements for epic and story creation'
|
|
4
|
-
|
|
5
|
-
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
-
|
|
8
|
-
# File References
|
|
9
|
-
thisStepFile: './step-01-validate-prerequisites.md'
|
|
10
|
-
nextStepFile: './step-02-design-epics.md'
|
|
11
|
-
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
outputFile: '{planning_artifacts}/epics.md'
|
|
13
|
-
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
14
|
-
|
|
15
|
-
# Task References
|
|
16
|
-
advancedElicitationTask: 'skill:bmad-advanced-elicitation'
|
|
17
|
-
partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
|
|
18
|
-
|
|
19
|
-
# Template References
|
|
20
|
-
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
21
|
-
---
|
|
22
|
-
|
|
23
1
|
# Step 1: Validate Prerequisites and Extract Requirements
|
|
24
2
|
|
|
25
3
|
## STEP GOAL:
|
|
@@ -54,7 +32,7 @@ To validate that all required input documents exist and extract all requirements
|
|
|
54
32
|
## EXECUTION PROTOCOLS:
|
|
55
33
|
|
|
56
34
|
- 🎯 Extract requirements systematically from all documents
|
|
57
|
-
- 💾 Populate {
|
|
35
|
+
- 💾 Populate {planning_artifacts}/epics.md with extracted requirements
|
|
58
36
|
- 📖 Update frontmatter with extraction progress
|
|
59
37
|
- 🚫 FORBIDDEN to load next step until user selects 'C' and requirements are extracted
|
|
60
38
|
|
|
@@ -91,7 +69,7 @@ Search for required documents using these patterns (sharded means a large docume
|
|
|
91
69
|
1. `{planning_artifacts}/*ux*.md` (whole document)
|
|
92
70
|
2. `{planning_artifacts}/*ux*/index.md` (sharded version)
|
|
93
71
|
|
|
94
|
-
Before proceeding, Ask the user if there are any other documents to include for analysis, and if anything found should be excluded. Wait for user confirmation. Once confirmed, create the {
|
|
72
|
+
Before proceeding, Ask the user if there are any other documents to include for analysis, and if anything found should be excluded. Wait for user confirmation. Once confirmed, create the {planning_artifacts}/epics.md from the ../templates/epics-template.md and in the front matter list the files in the array of `inputDocuments: []`.
|
|
95
73
|
|
|
96
74
|
### 3. Extract Functional Requirements (FRs)
|
|
97
75
|
|
|
@@ -182,9 +160,9 @@ UX-DR2: [Actionable UX design requirement with clear implementation scope]
|
|
|
182
160
|
|
|
183
161
|
### 7. Load and Initialize Template
|
|
184
162
|
|
|
185
|
-
Load
|
|
163
|
+
Load ../templates/epics-template.md and initialize {planning_artifacts}/epics.md:
|
|
186
164
|
|
|
187
|
-
1. Copy the entire template to {
|
|
165
|
+
1. Copy the entire template to {planning_artifacts}/epics.md
|
|
188
166
|
2. Replace {{project_name}} with the actual project name
|
|
189
167
|
3. Replace placeholder sections with extracted requirements:
|
|
190
168
|
- {{fr_list}} → extracted FRs
|
|
@@ -228,7 +206,7 @@ Update the requirements based on user feedback until confirmation is received.
|
|
|
228
206
|
|
|
229
207
|
## CONTENT TO SAVE TO DOCUMENT:
|
|
230
208
|
|
|
231
|
-
After extraction and confirmation, update {
|
|
209
|
+
After extraction and confirmation, update {planning_artifacts}/epics.md with:
|
|
232
210
|
|
|
233
211
|
- Complete FR list in {{fr_list}} section
|
|
234
212
|
- Complete NFR list in {{nfr_list}} section
|
|
@@ -247,12 +225,12 @@ Display: `**Confirm the Requirements are complete and correct to [C] continue:**
|
|
|
247
225
|
|
|
248
226
|
#### Menu Handling Logic:
|
|
249
227
|
|
|
250
|
-
- IF C: Save all to {
|
|
228
|
+
- IF C: Save all to {planning_artifacts}/epics.md, update frontmatter, then read fully and follow: ./step-02-design-epics.md
|
|
251
229
|
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#10-present-menu-options)
|
|
252
230
|
|
|
253
231
|
## CRITICAL STEP COMPLETION NOTE
|
|
254
232
|
|
|
255
|
-
ONLY WHEN C is selected and all requirements are saved to document and frontmatter is updated, will you then read fully and follow:
|
|
233
|
+
ONLY WHEN C is selected and all requirements are saved to document and frontmatter is updated, will you then read fully and follow: ./step-02-design-epics.md to begin epic design step.
|
|
256
234
|
|
|
257
235
|
---
|
|
258
236
|
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-02-design-epics'
|
|
3
|
-
description: 'Design and approve the epics_list that will organize all requirements into user-value-focused epics'
|
|
4
|
-
|
|
5
|
-
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
-
|
|
8
|
-
# File References
|
|
9
|
-
thisStepFile: './step-02-design-epics.md'
|
|
10
|
-
nextStepFile: './step-03-create-stories.md'
|
|
11
|
-
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
outputFile: '{planning_artifacts}/epics.md'
|
|
13
|
-
|
|
14
|
-
# Task References
|
|
15
|
-
advancedElicitationTask: 'skill:bmad-advanced-elicitation'
|
|
16
|
-
partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
|
|
17
|
-
|
|
18
|
-
# Template References
|
|
19
|
-
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
20
|
-
---
|
|
21
|
-
|
|
22
1
|
# Step 2: Design Epic List
|
|
23
2
|
|
|
24
3
|
## STEP GOAL:
|
|
@@ -54,7 +33,7 @@ To design and get approval for the epics_list that will organize all requirement
|
|
|
54
33
|
## EXECUTION PROTOCOLS:
|
|
55
34
|
|
|
56
35
|
- 🎯 Design epics collaboratively based on extracted requirements
|
|
57
|
-
- 💾 Update {{epics_list}} in {
|
|
36
|
+
- 💾 Update {{epics_list}} in {planning_artifacts}/epics.md
|
|
58
37
|
- 📖 Document the FR coverage mapping
|
|
59
38
|
- 🚫 FORBIDDEN to load next step until user approves epics_list
|
|
60
39
|
|
|
@@ -62,7 +41,7 @@ To design and get approval for the epics_list that will organize all requirement
|
|
|
62
41
|
|
|
63
42
|
### 1. Review Extracted Requirements
|
|
64
43
|
|
|
65
|
-
Load {
|
|
44
|
+
Load {planning_artifacts}/epics.md and review:
|
|
66
45
|
|
|
67
46
|
- **Functional Requirements:** Count and review FRs from Step 1
|
|
68
47
|
- **Non-Functional Requirements:** Review NFRs that need to be addressed
|
|
@@ -182,7 +161,7 @@ If user wants changes:
|
|
|
182
161
|
|
|
183
162
|
## CONTENT TO UPDATE IN DOCUMENT:
|
|
184
163
|
|
|
185
|
-
After approval, update {
|
|
164
|
+
After approval, update {planning_artifacts}/epics.md:
|
|
186
165
|
|
|
187
166
|
1. Replace {{epics_list}} placeholder with the approved epic list
|
|
188
167
|
2. Replace {{requirements_coverage_map}} with the coverage map
|
|
@@ -194,9 +173,9 @@ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Cont
|
|
|
194
173
|
|
|
195
174
|
#### Menu Handling Logic:
|
|
196
175
|
|
|
197
|
-
- IF A:
|
|
198
|
-
- IF P:
|
|
199
|
-
- IF C: Save approved epics_list to {
|
|
176
|
+
- IF A: Invoke the `bmad-advanced-elicitation` skill
|
|
177
|
+
- IF P: Invoke the `bmad-party-mode` skill
|
|
178
|
+
- IF C: Save approved epics_list to {planning_artifacts}/epics.md, update frontmatter, then read fully and follow: ./step-03-create-stories.md
|
|
200
179
|
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#8-present-menu-options)
|
|
201
180
|
|
|
202
181
|
#### EXECUTION RULES:
|
|
@@ -208,7 +187,7 @@ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Cont
|
|
|
208
187
|
|
|
209
188
|
## CRITICAL STEP COMPLETION NOTE
|
|
210
189
|
|
|
211
|
-
ONLY WHEN C is selected and the approved epics_list is saved to document, will you then read fully and follow:
|
|
190
|
+
ONLY WHEN C is selected and the approved epics_list is saved to document, will you then read fully and follow: ./step-03-create-stories.md to begin story creation step.
|
|
212
191
|
|
|
213
192
|
---
|
|
214
193
|
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-03-create-stories'
|
|
3
|
-
description: 'Generate all epics with their stories following the template structure'
|
|
4
|
-
|
|
5
|
-
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
-
|
|
8
|
-
# File References
|
|
9
|
-
thisStepFile: './step-03-create-stories.md'
|
|
10
|
-
nextStepFile: './step-04-final-validation.md'
|
|
11
|
-
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
-
outputFile: '{planning_artifacts}/epics.md'
|
|
13
|
-
|
|
14
|
-
# Task References
|
|
15
|
-
advancedElicitationTask: 'skill:bmad-advanced-elicitation'
|
|
16
|
-
partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
|
|
17
|
-
|
|
18
|
-
# Template References
|
|
19
|
-
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
20
|
-
---
|
|
21
|
-
|
|
22
1
|
# Step 3: Generate Epics and Stories
|
|
23
2
|
|
|
24
3
|
## STEP GOAL:
|
|
@@ -54,7 +33,7 @@ To generate all epics with their stories based on the approved epics_list, follo
|
|
|
54
33
|
## EXECUTION PROTOCOLS:
|
|
55
34
|
|
|
56
35
|
- 🎯 Generate stories collaboratively with user input
|
|
57
|
-
- 💾 Append epics and stories to {
|
|
36
|
+
- 💾 Append epics and stories to {planning_artifacts}/epics.md following template
|
|
58
37
|
- 📖 Process epics one at a time in sequence
|
|
59
38
|
- 🚫 FORBIDDEN to skip any epic or rush through stories
|
|
60
39
|
|
|
@@ -62,7 +41,7 @@ To generate all epics with their stories based on the approved epics_list, follo
|
|
|
62
41
|
|
|
63
42
|
### 1. Load Approved Epic Structure
|
|
64
43
|
|
|
65
|
-
Load {
|
|
44
|
+
Load {planning_artifacts}/epics.md and review:
|
|
66
45
|
|
|
67
46
|
- Approved epics_list from Step 2
|
|
68
47
|
- FR coverage map
|
|
@@ -186,7 +165,7 @@ After writing each story:
|
|
|
186
165
|
|
|
187
166
|
When story is approved:
|
|
188
167
|
|
|
189
|
-
- Append it to {
|
|
168
|
+
- Append it to {planning_artifacts}/epics.md following template structure
|
|
190
169
|
- Use correct numbering (Epic N, Story M)
|
|
191
170
|
- Maintain proper markdown formatting
|
|
192
171
|
|
|
@@ -215,7 +194,7 @@ After all epics and stories are generated:
|
|
|
215
194
|
|
|
216
195
|
## TEMPLATE STRUCTURE COMPLIANCE:
|
|
217
196
|
|
|
218
|
-
The final {
|
|
197
|
+
The final {planning_artifacts}/epics.md must follow this structure exactly:
|
|
219
198
|
|
|
220
199
|
1. **Overview** section with project name
|
|
221
200
|
2. **Requirements Inventory** with all three subsections populated
|
|
@@ -235,9 +214,9 @@ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Cont
|
|
|
235
214
|
|
|
236
215
|
#### Menu Handling Logic:
|
|
237
216
|
|
|
238
|
-
- IF A:
|
|
239
|
-
- IF P:
|
|
240
|
-
- IF C: Save content to {
|
|
217
|
+
- IF A: Invoke the `bmad-advanced-elicitation` skill
|
|
218
|
+
- IF P: Invoke the `bmad-party-mode` skill
|
|
219
|
+
- IF C: Save content to {planning_artifacts}/epics.md, update frontmatter, then read fully and follow: ./step-04-final-validation.md
|
|
241
220
|
- IF Any other comments or queries: help user respond then [Redisplay Menu Options](#7-present-final-menu-options)
|
|
242
221
|
|
|
243
222
|
#### EXECUTION RULES:
|
|
@@ -249,7 +228,7 @@ Display: "**Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Cont
|
|
|
249
228
|
|
|
250
229
|
## CRITICAL STEP COMPLETION NOTE
|
|
251
230
|
|
|
252
|
-
ONLY WHEN [C continue option] is selected and [all epics and stories saved to document following the template structure exactly], will you then read fully and follow: `
|
|
231
|
+
ONLY WHEN [C continue option] is selected and [all epics and stories saved to document following the template structure exactly], will you then read fully and follow: `./step-04-final-validation.md` to begin final validation phase.
|
|
253
232
|
|
|
254
233
|
---
|
|
255
234
|
|
|
@@ -1,23 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-04-final-validation'
|
|
3
|
-
description: 'Validate complete coverage of all requirements and ensure implementation readiness'
|
|
4
|
-
|
|
5
|
-
# Path Definitions
|
|
6
|
-
workflow_path: '{project-root}/_bmad/bmm/workflows/3-solutioning/create-epics-and-stories'
|
|
7
|
-
|
|
8
|
-
# File References
|
|
9
|
-
thisStepFile: './step-04-final-validation.md'
|
|
10
|
-
workflowFile: '{workflow_path}/workflow.md'
|
|
11
|
-
outputFile: '{planning_artifacts}/epics.md'
|
|
12
|
-
|
|
13
|
-
# Task References
|
|
14
|
-
advancedElicitationTask: 'skill:bmad-advanced-elicitation'
|
|
15
|
-
partyModeWorkflow: '{project-root}/_bmad/core/workflows/bmad-party-mode/workflow.md'
|
|
16
|
-
|
|
17
|
-
# Template References
|
|
18
|
-
epicsTemplate: '{workflow_path}/templates/epics-template.md'
|
|
19
|
-
---
|
|
20
|
-
|
|
21
1
|
# Step 4: Final Validation
|
|
22
2
|
|
|
23
3
|
## STEP GOAL:
|
|
@@ -142,6 +122,8 @@ If all validations pass:
|
|
|
142
122
|
**Present Final Menu:**
|
|
143
123
|
**All validations complete!** [C] Complete Workflow
|
|
144
124
|
|
|
125
|
+
HALT — wait for user input before proceeding.
|
|
126
|
+
|
|
145
127
|
When C is selected, the workflow is complete and the epics.md is ready for development.
|
|
146
128
|
|
|
147
129
|
Epics and Stories complete. Invoke the `bmad-help` skill.
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: create-epics-and-stories
|
|
3
|
-
description: 'Break requirements into epics and user stories. Use when the user says "create the epics and stories list"'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
1
|
# Create Epics and Stories
|
|
7
2
|
|
|
8
3
|
**Goal:** Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value, creating detailed, actionable stories with complete acceptance criteria for development teams.
|
|
@@ -55,4 +50,4 @@ Load and read full config from {project-root}/_bmad/bmm/config.yaml and resolve:
|
|
|
55
50
|
|
|
56
51
|
### 2. First Step EXECUTION
|
|
57
52
|
|
|
58
|
-
Read fully and follow:
|
|
53
|
+
Read fully and follow: `./steps/step-01-validate-prerequisites.md` to begin the workflow.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-code-review
|
|
3
|
+
description: 'Review code changes adversarially using parallel review layers (Blind Hunter, Edge Case Hunter, Acceptance Auditor) with structured triage into actionable categories. Use when the user says "run code review" or "review this code"'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
diff_output: '' # set at runtime
|
|
3
|
+
spec_file: '' # set at runtime (path or empty)
|
|
4
|
+
review_mode: '' # set at runtime: "full" or "no-spec"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Step 1: Gather Context
|
|
8
|
+
|
|
9
|
+
## RULES
|
|
10
|
+
|
|
11
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
12
|
+
- The prompt that triggered this workflow IS the intent — not a hint.
|
|
13
|
+
- Do not modify any files. This step is read-only.
|
|
14
|
+
|
|
15
|
+
## INSTRUCTIONS
|
|
16
|
+
|
|
17
|
+
1. **Detect review intent from invocation text.** Check the triggering prompt for phrases that map to a review mode:
|
|
18
|
+
- "staged" / "staged changes" → Staged changes only
|
|
19
|
+
- "uncommitted" / "working tree" / "all changes" → Uncommitted changes (staged + unstaged)
|
|
20
|
+
- "branch diff" / "vs main" / "against main" / "compared to {branch}" → Branch diff (extract base branch if mentioned)
|
|
21
|
+
- "commit range" / "last N commits" / "{sha}..{sha}" → Specific commit range
|
|
22
|
+
- "this diff" / "provided diff" / "paste" → User-provided diff (do not match bare "diff" — it appears in other modes)
|
|
23
|
+
- When multiple phrases match, prefer the most specific match (e.g., "branch diff" over bare "diff").
|
|
24
|
+
- **If a clear match is found:** Announce the detected mode (e.g., "Detected intent: review staged changes only") and proceed directly to constructing `{diff_output}` using the corresponding sub-case from instruction 3. Skip to instruction 4 (spec question).
|
|
25
|
+
- **If no match from invocation text, check sprint tracking.** Look for a sprint status file (`*sprint-status*`) in `{implementation_artifacts}` or `{planning_artifacts}`. If found, scan for any story with status `review`. Handle as follows:
|
|
26
|
+
- **Exactly one `review` story:** Suggest it: "I found story {{story-id}} in `review` status. Would you like to review its changes? [Y] Yes / [N] No, let me choose". If confirmed, use the story context to determine the diff source (branch name derived from story slug, or uncommitted changes). If declined, fall through to instruction 2.
|
|
27
|
+
- **Multiple `review` stories:** Present them as numbered options alongside a manual choice option. Wait for user selection. Then use the selected story's context to determine the diff source as in the single-story case above, and proceed to instruction 3.
|
|
28
|
+
- **If no match and no sprint tracking:** Fall through to instruction 2.
|
|
29
|
+
|
|
30
|
+
2. HALT. Ask the user: **What do you want to review?** Present these options:
|
|
31
|
+
- **Uncommitted changes** (staged + unstaged)
|
|
32
|
+
- **Staged changes only**
|
|
33
|
+
- **Branch diff** vs a base branch (ask which base branch)
|
|
34
|
+
- **Specific commit range** (ask for the range)
|
|
35
|
+
- **Provided diff or file list** (user pastes or provides a path)
|
|
36
|
+
|
|
37
|
+
3. Construct `{diff_output}` from the chosen source.
|
|
38
|
+
- For **branch diff**: verify the base branch exists before running `git diff`. If it does not exist, HALT and ask the user for a valid branch.
|
|
39
|
+
- For **commit range**: verify the range resolves. If it does not, HALT and ask the user for a valid range.
|
|
40
|
+
- For **provided diff**: validate the content is non-empty and parseable as a unified diff. If it is not parseable, HALT and ask the user to provide a valid diff.
|
|
41
|
+
- For **file list**: validate each path exists in the working tree. Construct `{diff_output}` by running `git diff HEAD -- <path1> <path2> ...`. If any paths are untracked (new files not yet staged), use `git diff --no-index /dev/null <path>` to include them. If the diff is empty (files have no uncommitted changes and are not untracked), ask the user whether to review the full file contents or to specify a different baseline.
|
|
42
|
+
- After constructing `{diff_output}`, verify it is non-empty regardless of source type. If empty, HALT and tell the user there is nothing to review.
|
|
43
|
+
|
|
44
|
+
4. Ask the user: **Is there a spec or story file that provides context for these changes?**
|
|
45
|
+
- If yes: set `{spec_file}` to the path provided, verify the file exists and is readable, then set `{review_mode}` = `"full"`.
|
|
46
|
+
- If no: set `{review_mode}` = `"no-spec"`.
|
|
47
|
+
|
|
48
|
+
5. If `{review_mode}` = `"full"` and the file at `{spec_file}` has a `context` field in its frontmatter listing additional docs, load each referenced document. Warn the user about any docs that cannot be found.
|
|
49
|
+
|
|
50
|
+
6. Sanity check: if `{diff_output}` exceeds approximately 3000 lines, warn the user and offer to chunk the review by file group.
|
|
51
|
+
- If the user opts to chunk: agree on the first group, narrow `{diff_output}` accordingly, and list the remaining groups for the user to note for follow-up runs.
|
|
52
|
+
- If the user declines: proceed as-is with the full diff.
|
|
53
|
+
|
|
54
|
+
### CHECKPOINT
|
|
55
|
+
|
|
56
|
+
Present a summary before proceeding: diff stats (files changed, lines added/removed), `{review_mode}`, and loaded spec/context docs (if any). HALT and wait for user confirmation to proceed.
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## NEXT
|
|
60
|
+
|
|
61
|
+
Read fully and follow `./step-02-review.md`
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
failed_layers: '' # set at runtime: comma-separated list of layers that failed or returned empty
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 2: Review
|
|
6
|
+
|
|
7
|
+
## RULES
|
|
8
|
+
|
|
9
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
10
|
+
- The Blind Hunter subagent receives NO project context — diff only.
|
|
11
|
+
- The Edge Case Hunter subagent receives diff and project read access.
|
|
12
|
+
- The Acceptance Auditor subagent receives diff, spec, and context docs.
|
|
13
|
+
|
|
14
|
+
## INSTRUCTIONS
|
|
15
|
+
|
|
16
|
+
1. Launch parallel subagents. Each subagent gets NO conversation history from this session:
|
|
17
|
+
|
|
18
|
+
- **Blind Hunter** -- Invoke the `bmad-review-adversarial-general` skill in a subagent. Pass `content` = `{diff_output}` only. No spec, no project access.
|
|
19
|
+
|
|
20
|
+
- **Edge Case Hunter** -- Invoke the `bmad-review-edge-case-hunter` skill in a subagent. Pass `content` = `{diff_output}`. This subagent has read access to the project.
|
|
21
|
+
|
|
22
|
+
- **Acceptance Auditor** (only if `{review_mode}` = `"full"`) -- A subagent that receives `{diff_output}`, the content of the file at `{spec_file}`, and any loaded context docs. Its prompt:
|
|
23
|
+
> You are an Acceptance Auditor. Review this diff against the spec and context docs. Check for: violations of acceptance criteria, deviations from spec intent, missing implementation of specified behavior, contradictions between spec constraints and actual code. Output findings as a markdown list. Each finding: one-line title, which AC/constraint it violates, and evidence from the diff.
|
|
24
|
+
|
|
25
|
+
2. **Subagent failure handling**: If any subagent fails, times out, or returns empty results, append the layer name to `{failed_layers}` (comma-separated) and proceed with findings from the remaining layers.
|
|
26
|
+
|
|
27
|
+
3. If `{review_mode}` = `"no-spec"`, note to the user: "Acceptance Auditor skipped — no spec file provided."
|
|
28
|
+
|
|
29
|
+
4. **Fallback** (if subagents are not available): Generate prompt files in `{implementation_artifacts}` -- one per active reviewer:
|
|
30
|
+
- `review-blind-hunter.md` (always)
|
|
31
|
+
- `review-edge-case-hunter.md` (always)
|
|
32
|
+
- `review-acceptance-auditor.md` (only if `{review_mode}` = `"full"`)
|
|
33
|
+
|
|
34
|
+
HALT. Tell the user to run each prompt in a separate session and paste back findings. When findings are pasted, resume from this point and proceed to step 3.
|
|
35
|
+
|
|
36
|
+
5. Collect all findings from the completed layers.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
## NEXT
|
|
40
|
+
|
|
41
|
+
Read fully and follow `./step-03-triage.md`
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 3: Triage
|
|
5
|
+
|
|
6
|
+
## RULES
|
|
7
|
+
|
|
8
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
9
|
+
- Be precise. When uncertain between categories, prefer the more conservative classification.
|
|
10
|
+
|
|
11
|
+
## INSTRUCTIONS
|
|
12
|
+
|
|
13
|
+
1. **Normalize** findings into a common format. Expected input formats:
|
|
14
|
+
- Adversarial (Blind Hunter): markdown list of descriptions
|
|
15
|
+
- Edge Case Hunter: JSON array with `location`, `trigger_condition`, `guard_snippet`, `potential_consequence` fields
|
|
16
|
+
- Acceptance Auditor: markdown list with title, AC/constraint reference, and evidence
|
|
17
|
+
|
|
18
|
+
If a layer's output does not match its expected format, attempt best-effort parsing. Note any parsing issues for the user.
|
|
19
|
+
|
|
20
|
+
Convert all to a unified list where each finding has:
|
|
21
|
+
- `id` -- sequential integer
|
|
22
|
+
- `source` -- `blind`, `edge`, `auditor`, or merged sources (e.g., `blind+edge`)
|
|
23
|
+
- `title` -- one-line summary
|
|
24
|
+
- `detail` -- full description
|
|
25
|
+
- `location` -- file and line reference (if available)
|
|
26
|
+
|
|
27
|
+
2. **Deduplicate.** If two or more findings describe the same issue, merge them into one:
|
|
28
|
+
- Use the most specific finding as the base (prefer edge-case JSON with location over adversarial prose).
|
|
29
|
+
- Append any unique detail, reasoning, or location references from the other finding(s) into the surviving `detail` field.
|
|
30
|
+
- Set `source` to the merged sources (e.g., `blind+edge`).
|
|
31
|
+
|
|
32
|
+
3. **Classify** each finding into exactly one bucket:
|
|
33
|
+
- **intent_gap** -- The spec/intent is incomplete; cannot resolve from existing information. Only possible if `{review_mode}` = `"full"`.
|
|
34
|
+
- **bad_spec** -- The spec should have prevented this; spec is wrong or ambiguous. Only possible if `{review_mode}` = `"full"`.
|
|
35
|
+
- **patch** -- Code issue that is trivially fixable without human input. Just needs a code change.
|
|
36
|
+
- **defer** -- Pre-existing issue not caused by the current change. Real but not actionable now.
|
|
37
|
+
- **reject** -- Noise, false positive, or handled elsewhere.
|
|
38
|
+
|
|
39
|
+
If `{review_mode}` = `"no-spec"` and a finding would otherwise be `intent_gap` or `bad_spec`, reclassify it as `patch` (if code-fixable) or `defer` (if not).
|
|
40
|
+
|
|
41
|
+
4. **Drop** all `reject` findings. Record the reject count for the summary.
|
|
42
|
+
|
|
43
|
+
5. If `{failed_layers}` is non-empty, report which layers failed before announcing results. If zero findings remain after dropping rejects AND `{failed_layers}` is non-empty, warn the user that the review may be incomplete rather than announcing a clean review.
|
|
44
|
+
|
|
45
|
+
6. If zero findings remain after dropping rejects and no layers failed, note clean review.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## NEXT
|
|
49
|
+
|
|
50
|
+
Read fully and follow `./step-04-present.md`
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 4: Present
|
|
5
|
+
|
|
6
|
+
## RULES
|
|
7
|
+
|
|
8
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
9
|
+
- Do NOT auto-fix anything. Present findings and let the user decide next steps.
|
|
10
|
+
|
|
11
|
+
## INSTRUCTIONS
|
|
12
|
+
|
|
13
|
+
1. Group remaining findings by category.
|
|
14
|
+
|
|
15
|
+
2. Present to the user in this order (include a section only if findings exist in that category):
|
|
16
|
+
|
|
17
|
+
- **Intent Gaps**: "These findings suggest the captured intent is incomplete. Consider clarifying intent before proceeding."
|
|
18
|
+
- List each with title + detail.
|
|
19
|
+
|
|
20
|
+
- **Bad Spec**: "These findings suggest the spec should be amended. Consider regenerating or amending the spec with this context:"
|
|
21
|
+
- List each with title + detail + suggested spec amendment.
|
|
22
|
+
|
|
23
|
+
- **Patch**: "These are fixable code issues:"
|
|
24
|
+
- List each with title + detail + location (if available).
|
|
25
|
+
|
|
26
|
+
- **Defer**: "Pre-existing issues surfaced by this review (not caused by current changes):"
|
|
27
|
+
- List each with title + detail.
|
|
28
|
+
|
|
29
|
+
3. Summary line: **X** intent_gap, **Y** bad_spec, **Z** patch, **W** defer findings. **R** findings rejected as noise.
|
|
30
|
+
|
|
31
|
+
4. If clean review (zero findings across all layers after triage): state that N findings were raised but all were classified as noise, or that no findings were raised at all (as applicable).
|
|
32
|
+
|
|
33
|
+
5. Offer the user next steps (recommendations, not automated actions):
|
|
34
|
+
- If `patch` findings exist: "These can be addressed in a follow-up implementation pass or manually."
|
|
35
|
+
- If `intent_gap` or `bad_spec` findings exist: "Consider running the planning workflow to clarify intent or amend the spec before continuing."
|
|
36
|
+
- If only `defer` findings remain: "No action needed for this change. Deferred items are noted for future attention."
|
|
37
|
+
|
|
38
|
+
Workflow complete.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
main_config: '{project-root}/_bmad/bmm/config.yaml'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Code Review Workflow
|
|
6
|
+
|
|
7
|
+
**Goal:** Review code changes adversarially using parallel review layers and structured triage.
|
|
8
|
+
|
|
9
|
+
**Your Role:** You are an elite code reviewer. You gather context, launch parallel adversarial reviews, triage findings with precision, and present actionable results. No noise, no filler.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## WORKFLOW ARCHITECTURE
|
|
13
|
+
|
|
14
|
+
This uses **step-file architecture** for disciplined execution:
|
|
15
|
+
|
|
16
|
+
- **Micro-file Design**: Each step is self-contained and followed exactly
|
|
17
|
+
- **Just-In-Time Loading**: Only load the current step file
|
|
18
|
+
- **Sequential Enforcement**: Complete steps in order, no skipping
|
|
19
|
+
- **State Tracking**: Persist progress via in-memory variables
|
|
20
|
+
- **Append-Only Building**: Build artifacts incrementally
|
|
21
|
+
|
|
22
|
+
### Step Processing Rules
|
|
23
|
+
|
|
24
|
+
1. **READ COMPLETELY**: Read the entire step file before acting
|
|
25
|
+
2. **FOLLOW SEQUENCE**: Execute sections in order
|
|
26
|
+
3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
|
|
27
|
+
4. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
28
|
+
|
|
29
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
30
|
+
|
|
31
|
+
- **NEVER** load multiple step files simultaneously
|
|
32
|
+
- **ALWAYS** read entire step file before execution
|
|
33
|
+
- **NEVER** skip steps or optimize the sequence
|
|
34
|
+
- **ALWAYS** follow the exact instructions in the step file
|
|
35
|
+
- **ALWAYS** halt at checkpoints and wait for human input
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## INITIALIZATION SEQUENCE
|
|
39
|
+
|
|
40
|
+
### 1. Configuration Loading
|
|
41
|
+
|
|
42
|
+
Load and read full config from `{main_config}` and resolve:
|
|
43
|
+
|
|
44
|
+
- `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
|
|
45
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
46
|
+
- `date` as system-generated current datetime
|
|
47
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
48
|
+
- CLAUDE.md / memory files (load if exist)
|
|
49
|
+
|
|
50
|
+
YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`.
|
|
51
|
+
|
|
52
|
+
### 2. First Step Execution
|
|
53
|
+
|
|
54
|
+
Read fully and follow: `./steps/step-01-gather-context.md` to begin the workflow.
|