bmalph 2.7.6 → 2.8.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.md +4 -4
- package/bmad/bmm/agents/analyst.agent.yaml +6 -6
- package/bmad/bmm/agents/architect.agent.yaml +2 -2
- package/bmad/bmm/agents/bmad-skill-manifest.yaml +39 -0
- package/bmad/bmm/agents/dev.agent.yaml +2 -2
- package/bmad/bmm/agents/pm.agent.yaml +6 -6
- package/bmad/bmm/agents/qa.agent.yaml +1 -1
- package/bmad/bmm/agents/quick-flow-solo-dev.agent.yaml +7 -3
- package/bmad/bmm/agents/sm.agent.yaml +4 -4
- package/bmad/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
- package/bmad/bmm/agents/tech-writer/tech-writer.agent.yaml +1 -1
- package/bmad/bmm/agents/ux-designer.agent.yaml +1 -1
- package/bmad/bmm/module-help.csv +26 -25
- package/bmad/bmm/workflows/1-analysis/bmad-create-product-brief/SKILL.md +6 -0
- package/bmad/bmm/workflows/1-analysis/bmad-create-product-brief/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/product-brief.template.md +2 -2
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-01-init.md +4 -11
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-01b-continue.md +0 -3
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-02-vision.md +5 -11
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-03-users.md +5 -11
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-04-metrics.md +5 -11
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-05-scope.md +5 -11
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/steps/step-06-complete.md +1 -4
- package/bmad/bmm/workflows/1-analysis/{create-product-brief → bmad-create-product-brief}/workflow.md +4 -6
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/SKILL.md +88 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/artifact-analyzer.md +60 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/opportunity-reviewer.md +44 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/skeptic-reviewer.md +44 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/agents/web-researcher.md +49 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-manifest.json +17 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/contextual-discovery.md +57 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/draft-and-review.md +86 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/finalize.md +75 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/prompts/guided-elicitation.md +70 -0
- package/bmad/bmm/workflows/1-analysis/bmad-product-brief-preview/resources/brief-template.md +60 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-domain-research/SKILL.md +6 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-domain-research/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-06-research-synthesis.md +2 -1
- package/bmad/bmm/workflows/1-analysis/research/bmad-domain-research/research.template.md +29 -0
- package/bmad/bmm/workflows/1-analysis/research/{workflow-domain-research.md → bmad-domain-research/workflow.md} +0 -5
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/SKILL.md +6 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/research.template.md +29 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-01-init.md +184 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-02-customer-behavior.md +239 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-03-customer-pain-points.md +251 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-04-customer-decisions.md +261 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-05-competitive-analysis.md +173 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-market-research/steps/step-06-research-completion.md +478 -0
- package/bmad/bmm/workflows/1-analysis/research/{workflow-market-research.md → bmad-market-research/workflow.md} +1 -6
- package/bmad/bmm/workflows/1-analysis/research/bmad-technical-research/SKILL.md +6 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-technical-research/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/1-analysis/research/bmad-technical-research/research.template.md +29 -0
- package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-06-research-synthesis.md +2 -1
- package/bmad/bmm/workflows/1-analysis/research/{workflow-technical-research.md → bmad-technical-research/workflow.md} +0 -4
- package/bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +2 -2
- package/bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +2 -2
- package/bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +2 -2
- package/bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +2 -2
- package/bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +2 -1
- package/bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/SKILL.md +6 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-01-init.md +2 -2
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-01b-continue.md +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-02-discovery.md +2 -2
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-03-core-experience.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-04-emotional-response.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-05-inspiration.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-06-design-system.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-07-defining-experience.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-08-visual-foundation.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-09-design-directions.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-10-user-journeys.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-11-component-strategy.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-12-ux-patterns.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-13-responsive-accessibility.md +5 -4
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/steps/step-14-complete.md +3 -3
- package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/workflow.md +2 -8
- package/bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/SKILL.md +6 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01-discovery.md +3 -8
- package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-01b-legacy-conversion.md +1 -5
- package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-02-review.md +5 -9
- package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-03-edit.md +3 -6
- package/bmad/bmm/workflows/2-plan-workflows/{create-prd → bmad-edit-prd}/steps-e/step-e-04-complete.md +2 -5
- package/bmad/bmm/workflows/2-plan-workflows/{create-prd/workflow-edit-prd.md → bmad-edit-prd/workflow.md} +2 -4
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/SKILL.md +6 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/domain-complexity.csv +15 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/prd-purpose.md +197 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/data/project-types.csv +11 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-01-discovery.md +221 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02-format-detection.md +188 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-02b-parity-check.md +206 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-03-density-validation.md +171 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-04-brief-coverage-validation.md +211 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-05-measurability-validation.md +225 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-06-traceability-validation.md +214 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-07-implementation-leakage-validation.md +202 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-08-domain-compliance-validation.md +240 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-09-project-type-validation.md +260 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md +206 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-11-holistic-quality-validation.md +261 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-12-completeness-validation.md +239 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-13-report-complete.md +229 -0
- package/bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/workflow.md +62 -0
- package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +2 -4
- package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +1 -1
- package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +3 -3
- package/bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +3 -2
- package/bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +3 -1
- package/bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/SKILL.md +6 -0
- package/bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-01-document-discovery.md +3 -8
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-02-prd-analysis.md +1 -5
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-03-epic-coverage-validation.md +1 -5
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-04-ux-alignment.md +1 -5
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-05-epic-quality-review.md +2 -6
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/steps/step-06-final-assessment.md +1 -4
- package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/workflow.md +1 -6
- package/bmad/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +6 -0
- package/bmad/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-01-init.md +4 -4
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-01b-continue.md +11 -2
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-02-context.md +4 -4
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-03-starter.md +5 -7
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-04-decisions.md +4 -4
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-05-patterns.md +4 -4
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-06-structure.md +4 -4
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-07-validation.md +4 -4
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/steps/step-08-complete.md +1 -1
- package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/workflow.md +1 -12
- package/bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/SKILL.md +6 -0
- package/bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-01-validate-prerequisites.md +37 -41
- package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-02-design-epics.md +7 -28
- package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-03-create-stories.md +13 -30
- package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/steps/step-04-final-validation.md +3 -21
- package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/templates/epics-template.md +4 -0
- package/bmad/bmm/workflows/3-solutioning/{create-epics-and-stories → bmad-create-epics-and-stories}/workflow.md +1 -6
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-01-gather-context.md +61 -0
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-02-review.md +41 -0
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-03-triage.md +50 -0
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/steps/step-04-present.md +38 -0
- package/bmad/bmm/workflows/4-implementation/bmad-code-review/workflow.md +54 -0
- package/bmad/bmm/workflows/4-implementation/bmad-correct-course/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-correct-course/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{correct-course → bmad-correct-course}/checklist.md +1 -1
- package/bmad/bmm/workflows/4-implementation/{correct-course/instructions.md → bmad-correct-course/workflow.md} +74 -14
- package/bmad/bmm/workflows/4-implementation/bmad-create-story/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-create-story/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{create-story → bmad-create-story}/checklist.md +9 -10
- package/bmad/bmm/workflows/4-implementation/bmad-create-story/discover-inputs.md +88 -0
- package/bmad/bmm/workflows/4-implementation/bmad-create-story/workflow.md +380 -0
- package/bmad/bmm/workflows/4-implementation/bmad-dev-story/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-dev-story/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{dev-story/instructions.xml → bmad-dev-story/workflow.md} +42 -2
- package/bmad/bmm/workflows/4-implementation/bmad-retrospective/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-retrospective/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{retrospective/instructions.md → bmad-retrospective/workflow.md} +58 -23
- package/bmad/bmm/workflows/4-implementation/bmad-sprint-planning/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-sprint-planning/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/sprint-status-template.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{sprint-planning/instructions.md → bmad-sprint-planning/workflow.md} +47 -10
- package/bmad/bmm/workflows/4-implementation/bmad-sprint-status/SKILL.md +6 -0
- package/bmad/bmm/workflows/4-implementation/bmad-sprint-status/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/4-implementation/{sprint-status/instructions.md → bmad-sprint-status/workflow.md} +39 -8
- package/bmad/bmm/workflows/bmad-document-project/SKILL.md +6 -0
- package/bmad/bmm/workflows/bmad-document-project/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/{document-project → bmad-document-project}/instructions.md +6 -8
- package/bmad/bmm/workflows/bmad-document-project/workflow.md +27 -0
- package/bmad/bmm/workflows/{document-project → bmad-document-project}/workflows/deep-dive-instructions.md +3 -2
- package/bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
- package/bmad/bmm/workflows/{document-project → bmad-document-project}/workflows/full-scan-instructions.md +5 -4
- package/bmad/bmm/workflows/bmad-document-project/workflows/full-scan-workflow.md +34 -0
- package/bmad/bmm/workflows/bmad-generate-project-context/SKILL.md +6 -0
- package/bmad/bmm/workflows/bmad-generate-project-context/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-01-discover.md +3 -1
- package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-02-generate.md +7 -4
- package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/workflow.md +2 -8
- package/bmad/bmm/workflows/bmad-qa-generate-e2e-tests/SKILL.md +6 -0
- package/bmad/bmm/workflows/bmad-qa-generate-e2e-tests/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/{qa/automate/instructions.md → bmad-qa-generate-e2e-tests/workflow.md} +33 -7
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/SKILL.md +6 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-01-mode-detection.md +9 -14
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-02-context-gathering.md +1 -5
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-03-execute.md +1 -5
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-04-self-check.md +1 -5
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-05-adversarial-review.md +8 -18
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-06-resolve-findings.md +0 -2
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/workflow.md +1 -13
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/SKILL.md +6 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-01-clarify-and-route.md +51 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-02-plan.md +35 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md +33 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md +50 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md +17 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/tech-spec-template.md +90 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/workflow.md +79 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/SKILL.md +6 -0
- package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/bmad-skill-manifest.yaml +1 -0
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-01-understand.md +7 -13
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-02-investigate.md +3 -7
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-03-generate.md +1 -5
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-04-review.md +9 -14
- package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/workflow.md +1 -7
- package/bmad/core/module-help.csv +10 -8
- package/bmad/core/module.yaml +1 -1
- package/bmad/core/skills/bmad-advanced-elicitation/SKILL.md +6 -0
- package/bmad/core/skills/bmad-advanced-elicitation/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-advanced-elicitation/workflow.md +135 -0
- package/bmad/core/skills/bmad-brainstorming/SKILL.md +6 -0
- package/bmad/core/skills/bmad-brainstorming/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-01-session-setup.md +35 -18
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-01b-continue.md +4 -2
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02a-user-selected.md +5 -1
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02b-ai-recommended.md +3 -1
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02c-random-selection.md +3 -1
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-02d-progressive-flow.md +3 -1
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-03-technique-execution.md +6 -4
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/steps/step-04-idea-organization.md +4 -2
- package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/workflow.md +4 -9
- package/bmad/core/skills/bmad-distillator/SKILL.md +178 -0
- package/bmad/core/skills/bmad-distillator/agents/distillate-compressor.md +116 -0
- package/bmad/core/skills/bmad-distillator/agents/round-trip-reconstructor.md +68 -0
- package/bmad/core/skills/bmad-distillator/bmad-skill-manifest.yaml +15 -0
- package/bmad/core/skills/bmad-distillator/resources/compression-rules.md +51 -0
- package/bmad/core/skills/bmad-distillator/resources/distillate-format-reference.md +227 -0
- package/bmad/core/skills/bmad-distillator/resources/splitting-strategy.md +78 -0
- package/bmad/core/skills/bmad-distillator/scripts/analyze_sources.py +300 -0
- package/bmad/core/skills/bmad-distillator/scripts/tests/test_analyze_sources.py +204 -0
- package/bmad/core/skills/bmad-editorial-review-prose/SKILL.md +6 -0
- package/bmad/core/skills/bmad-editorial-review-prose/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-editorial-review-prose/workflow.md +81 -0
- package/bmad/core/skills/bmad-editorial-review-structure/SKILL.md +6 -0
- package/bmad/core/skills/bmad-editorial-review-structure/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-editorial-review-structure/workflow.md +174 -0
- package/bmad/core/skills/bmad-help/SKILL.md +6 -0
- package/bmad/core/skills/bmad-help/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/{tasks/help.md → skills/bmad-help/workflow.md} +11 -8
- package/bmad/core/skills/bmad-index-docs/SKILL.md +6 -0
- package/bmad/core/skills/bmad-index-docs/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-index-docs/workflow.md +61 -0
- package/bmad/core/skills/bmad-party-mode/SKILL.md +6 -0
- package/bmad/core/skills/bmad-party-mode/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/steps/step-03-graceful-exit.md +0 -1
- package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/workflow.md +0 -4
- package/bmad/core/skills/bmad-review-adversarial-general/SKILL.md +6 -0
- package/bmad/core/skills/bmad-review-adversarial-general/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-review-adversarial-general/workflow.md +32 -0
- package/bmad/core/skills/bmad-review-edge-case-hunter/SKILL.md +6 -0
- package/bmad/core/skills/bmad-review-edge-case-hunter/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-review-edge-case-hunter/workflow.md +62 -0
- package/bmad/core/skills/bmad-shard-doc/SKILL.md +6 -0
- package/bmad/core/skills/bmad-shard-doc/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/skills/bmad-shard-doc/workflow.md +100 -0
- package/bmad/core/tasks/bmad-create-prd/SKILL.md +6 -0
- package/bmad/core/tasks/bmad-create-prd/bmad-skill-manifest.yaml +1 -0
- package/bmad/core/tasks/bmad-create-prd/data/domain-complexity.csv +15 -0
- package/bmad/core/tasks/bmad-create-prd/data/prd-purpose.md +197 -0
- package/bmad/core/tasks/bmad-create-prd/data/project-types.csv +11 -0
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01-init.md +7 -20
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-01b-continue.md +29 -21
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02-discovery.md +7 -23
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02b-vision.md +5 -17
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-02c-executive-summary.md +5 -17
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-03-success.md +4 -16
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-04-journeys.md +4 -16
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-05-domain.md +7 -20
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-06-innovation.md +8 -23
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-07-project-type.md +6 -21
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-08-scoping.md +5 -17
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-09-functional.md +5 -17
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-10-nonfunctional.md +5 -17
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-11-polish.md +22 -18
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/steps-c/step-12-complete.md +4 -13
- package/bmad/{bmm/workflows/2-plan-workflows/create-prd/workflow-create-prd.md → core/tasks/bmad-create-prd/workflow.md} +3 -4
- package/bundled-versions.json +1 -1
- package/dist/commands/doctor-checks.js +14 -5
- package/dist/commands/doctor-checks.js.map +1 -1
- package/dist/commands/doctor.js +13 -4
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/init.js +12 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/run.js +11 -2
- package/dist/commands/run.js.map +1 -1
- package/dist/commands/status.js +3 -2
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/watch.js +5 -0
- package/dist/commands/watch.js.map +1 -1
- package/dist/installer/commands.js +33 -15
- package/dist/installer/commands.js.map +1 -1
- package/dist/installer/install.js +1 -1
- package/dist/installer/install.js.map +1 -1
- package/dist/installer/project-files.js +4 -4
- package/dist/installer/project-files.js.map +1 -1
- package/dist/installer/template-files.js +72 -6
- package/dist/installer/template-files.js.map +1 -1
- package/dist/platform/codex.js +6 -1
- package/dist/platform/codex.js.map +1 -1
- package/dist/platform/detect.js +7 -3
- package/dist/platform/detect.js.map +1 -1
- package/dist/platform/doctor-checks.js +2 -2
- package/dist/platform/doctor-checks.js.map +1 -1
- package/dist/platform/guidance.js +66 -0
- package/dist/platform/guidance.js.map +1 -0
- package/dist/platform/instructions-snippet.js +15 -0
- package/dist/platform/instructions-snippet.js.map +1 -1
- package/dist/platform/opencode.js +20 -0
- package/dist/platform/opencode.js.map +1 -0
- package/dist/platform/registry.js +2 -0
- package/dist/platform/registry.js.map +1 -1
- package/dist/platform/types.js +1 -0
- package/dist/platform/types.js.map +1 -1
- package/dist/reset.js +3 -3
- package/dist/reset.js.map +1 -1
- package/dist/run/ralph-process.js +51 -7
- package/dist/run/ralph-process.js.map +1 -1
- package/dist/run/run-dashboard.js +22 -9
- package/dist/run/run-dashboard.js.map +1 -1
- package/dist/transition/artifact-scan.js +14 -5
- package/dist/transition/artifact-scan.js.map +1 -1
- package/dist/transition/context.js +11 -3
- package/dist/transition/context.js.map +1 -1
- package/dist/utils/constants.js +4 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/watch/dashboard.js +36 -21
- package/dist/watch/dashboard.js.map +1 -1
- package/dist/watch/frame-writer.js +83 -0
- package/dist/watch/frame-writer.js.map +1 -0
- package/dist/watch/renderer.js +179 -54
- package/dist/watch/renderer.js.map +1 -1
- package/dist/watch/state-reader.js +8 -0
- package/dist/watch/state-reader.js.map +1 -1
- package/package.json +1 -1
- package/ralph/RALPH-REFERENCE.md +4 -4
- package/ralph/drivers/claude-code.sh +4 -2
- package/ralph/drivers/opencode.sh +147 -0
- package/ralph/lib/enable_core.sh +10 -2
- package/ralph/lib/response_analyzer.sh +337 -96
- package/ralph/lib/wizard_utils.sh +4 -4
- package/ralph/ralph_import.sh +9 -1
- package/ralph/ralph_loop.sh +428 -15
- package/ralph/templates/PROMPT.md +15 -5
- package/ralph/templates/ralphrc.template +31 -5
- package/slash-commands/advanced-elicitation.md +1 -1
- package/slash-commands/adversarial-review.md +1 -1
- package/slash-commands/bmad-help.md +1 -1
- package/slash-commands/bmalph.md +1 -1
- package/slash-commands/brainstorm-project.md +1 -1
- package/slash-commands/brainstorming.md +1 -1
- package/slash-commands/correct-course.md +1 -1
- package/slash-commands/create-architecture.md +1 -1
- package/slash-commands/create-brief.md +1 -1
- package/slash-commands/create-epics-stories.md +1 -1
- package/slash-commands/create-prd.md +1 -1
- package/slash-commands/create-story.md +1 -1
- package/slash-commands/create-ux.md +1 -1
- package/slash-commands/distillator.md +1 -0
- package/slash-commands/document-project.md +1 -1
- package/slash-commands/domain-research.md +1 -1
- package/slash-commands/edge-case-hunter.md +1 -0
- package/slash-commands/edit-prd.md +1 -0
- package/slash-commands/editorial-prose.md +1 -1
- package/slash-commands/editorial-structure.md +1 -1
- package/slash-commands/generate-project-context.md +1 -1
- package/slash-commands/implementation-readiness.md +1 -1
- package/slash-commands/index-docs.md +1 -1
- package/slash-commands/market-research.md +1 -1
- package/slash-commands/party-mode.md +1 -1
- package/slash-commands/qa-automate.md +1 -1
- package/slash-commands/quick-dev-new.md +1 -0
- package/slash-commands/quick-dev.md +1 -1
- package/slash-commands/retrospective.md +1 -1
- package/slash-commands/shard-doc.md +1 -1
- package/slash-commands/sprint-planning.md +1 -1
- package/slash-commands/sprint-status.md +1 -1
- package/slash-commands/tech-spec.md +1 -1
- package/slash-commands/technical-research.md +1 -1
- package/slash-commands/validate-architecture.md +1 -1
- package/slash-commands/validate-brief.md +1 -1
- package/slash-commands/validate-epics-stories.md +1 -1
- package/slash-commands/validate-prd.md +1 -1
- package/slash-commands/validate-story.md +1 -1
- package/slash-commands/validate-ux.md +1 -1
- package/bmad/bmm/workflows/4-implementation/code-review/checklist.md +0 -23
- package/bmad/bmm/workflows/4-implementation/code-review/instructions.xml +0 -227
- package/bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +0 -44
- package/bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +0 -54
- package/bmad/bmm/workflows/4-implementation/create-story/instructions.xml +0 -346
- package/bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +0 -53
- package/bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +0 -21
- package/bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +0 -53
- package/bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +0 -47
- package/bmad/bmm/workflows/4-implementation/sprint-status/workflow.yaml +0 -25
- package/bmad/bmm/workflows/document-project/workflow.yaml +0 -22
- package/bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +0 -31
- package/bmad/bmm/workflows/document-project/workflows/full-scan.yaml +0 -31
- package/bmad/bmm/workflows/qa/automate/workflow.yaml +0 -44
- package/bmad/core/agents/bmad-master.agent.yaml +0 -30
- package/bmad/core/tasks/editorial-review-prose.xml +0 -102
- package/bmad/core/tasks/editorial-review-structure.xml +0 -209
- package/bmad/core/tasks/index-docs.xml +0 -65
- package/bmad/core/tasks/review-adversarial-general.xml +0 -48
- package/bmad/core/tasks/shard-doc.xml +0 -108
- package/bmad/core/tasks/workflow.xml +0 -235
- package/bmad/core/workflows/advanced-elicitation/workflow.xml +0 -117
- package/slash-commands/execute-workflow.md +0 -1
- /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-01-init.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-02-domain-analysis.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-03-competitive-landscape.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-04-regulatory-focus.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{domain-steps → bmad-domain-research/domain-steps}/step-05-technical-trends.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-01-init.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-02-technical-overview.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-03-integration-patterns.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-04-architectural-patterns.md +0 -0
- /package/bmad/bmm/workflows/1-analysis/research/{technical-steps → bmad-technical-research/technical-steps}/step-05-implementation-research.md +0 -0
- /package/bmad/bmm/workflows/2-plan-workflows/{create-ux-design → bmad-create-ux-design}/ux-design-template.md +0 -0
- /package/bmad/bmm/workflows/3-solutioning/{check-implementation-readiness → bmad-check-implementation-readiness}/templates/readiness-report-template.md +0 -0
- /package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/architecture-decision-template.md +0 -0
- /package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/data/domain-complexity.csv +0 -0
- /package/bmad/bmm/workflows/3-solutioning/{create-architecture → bmad-create-architecture}/data/project-types.csv +0 -0
- /package/bmad/bmm/workflows/4-implementation/{create-story → bmad-create-story}/template.md +0 -0
- /package/bmad/bmm/workflows/4-implementation/{dev-story → bmad-dev-story}/checklist.md +0 -0
- /package/bmad/bmm/workflows/4-implementation/{sprint-planning → bmad-sprint-planning}/checklist.md +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/checklist.md +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/documentation-requirements.csv +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/deep-dive-template.md +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/index-template.md +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/project-overview-template.md +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/project-scan-report-schema.json +0 -0
- /package/bmad/bmm/workflows/{document-project → bmad-document-project}/templates/source-tree-template.md +0 -0
- /package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/project-context-template.md +0 -0
- /package/bmad/bmm/workflows/{generate-project-context → bmad-generate-project-context}/steps/step-03-complete.md +0 -0
- /package/bmad/bmm/workflows/{qa/automate → bmad-qa-generate-e2e-tests}/checklist.md +0 -0
- /package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/tech-spec-template.md +0 -0
- /package/bmad/core/{workflows/advanced-elicitation → skills/bmad-advanced-elicitation}/methods.csv +0 -0
- /package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/brain-methods.csv +0 -0
- /package/bmad/core/{workflows/brainstorming → skills/bmad-brainstorming}/template.md +0 -0
- /package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/steps/step-01-agent-loading.md +0 -0
- /package/bmad/core/{workflows/party-mode → skills/bmad-party-mode}/steps/step-02-discussion-orchestration.md +0 -0
- /package/bmad/{bmm/workflows/2-plan-workflows/create-prd → core/tasks/bmad-create-prd}/templates/prd-template.md +0 -0
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-02-context-gathering'
|
|
3
|
-
description: 'Quick context gathering for direct mode - identify files, patterns, dependencies'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-03-execute.md'
|
|
6
2
|
---
|
|
7
3
|
|
|
8
4
|
# Step 2: Context Gathering (Direct Mode)
|
|
@@ -97,7 +93,7 @@ Ready to execute? (y/n/adjust)
|
|
|
97
93
|
|
|
98
94
|
**CRITICAL:** When user confirms ready, explicitly state:
|
|
99
95
|
|
|
100
|
-
- **y:** "**NEXT:** Read fully and follow:
|
|
96
|
+
- **y:** "**NEXT:** Read fully and follow: `./step-03-execute.md`"
|
|
101
97
|
- **n/adjust:** Continue gathering context, then re-present plan
|
|
102
98
|
|
|
103
99
|
---
|
package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-03-execute.md
RENAMED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-03-execute'
|
|
3
|
-
description: 'Execute implementation - iterate through tasks, write code, run tests'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-04-self-check.md'
|
|
6
2
|
---
|
|
7
3
|
|
|
8
4
|
# Step 3: Execute Implementation
|
|
@@ -89,7 +85,7 @@ For each task:
|
|
|
89
85
|
|
|
90
86
|
## NEXT STEP
|
|
91
87
|
|
|
92
|
-
When ALL tasks are complete (or halted on blocker), read fully and follow:
|
|
88
|
+
When ALL tasks are complete (or halted on blocker), read fully and follow: `./step-04-self-check.md`.
|
|
93
89
|
|
|
94
90
|
---
|
|
95
91
|
|
package/bmad/bmm/workflows/bmad-quick-flow/{quick-dev → bmad-quick-dev}/steps/step-04-self-check.md
RENAMED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-04-self-check'
|
|
3
|
-
description: 'Self-audit implementation against tasks, tests, AC, and patterns'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-05-adversarial-review.md'
|
|
6
2
|
---
|
|
7
3
|
|
|
8
4
|
# Step 4: Self-Check
|
|
@@ -89,7 +85,7 @@ Proceeding to adversarial code review...
|
|
|
89
85
|
|
|
90
86
|
## NEXT STEP
|
|
91
87
|
|
|
92
|
-
Proceed immediately to
|
|
88
|
+
Proceed immediately to `./step-05-adversarial-review.md`.
|
|
93
89
|
|
|
94
90
|
---
|
|
95
91
|
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-05-adversarial-review'
|
|
3
|
-
description: 'Construct diff and invoke adversarial review task'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-06-resolve-findings.md'
|
|
6
2
|
---
|
|
7
3
|
|
|
8
4
|
# Step 5: Adversarial Code Review
|
|
9
5
|
|
|
10
|
-
**Goal:** Construct diff of all changes, invoke adversarial review
|
|
6
|
+
**Goal:** Construct diff of all changes, invoke adversarial review skill, present findings.
|
|
11
7
|
|
|
12
8
|
---
|
|
13
9
|
|
|
@@ -57,21 +53,15 @@ Merge all changes into `{diff_output}`.
|
|
|
57
53
|
|
|
58
54
|
### 2. Invoke Adversarial Review
|
|
59
55
|
|
|
60
|
-
With `{diff_output}` constructed,
|
|
61
|
-
|
|
62
|
-
```xml
|
|
63
|
-
<invoke-task>Review {diff_output} using {project-root}/_bmad/core/tasks/review-adversarial-general.xml</invoke-task>
|
|
64
|
-
```
|
|
65
|
-
|
|
66
|
-
**Platform fallback:** If task invocation not available, load the task file and follow its instructions inline, passing `{diff_output}` as the content.
|
|
56
|
+
With `{diff_output}` constructed, invoke the `bmad-review-adversarial-general` skill. If possible, use information asymmetry: invoke the skill in a separate subagent or process with read access to the project, but no context except the `{diff_output}`.
|
|
67
57
|
|
|
68
|
-
|
|
58
|
+
Pass `{diff_output}` as the content to review. The skill should return a list of findings.
|
|
69
59
|
|
|
70
60
|
---
|
|
71
61
|
|
|
72
62
|
### 3. Process Findings
|
|
73
63
|
|
|
74
|
-
Capture the findings from the
|
|
64
|
+
Capture the findings from the skill output.
|
|
75
65
|
**If zero findings:** HALT - this is suspicious. Re-analyze or request user guidance.
|
|
76
66
|
Evaluate severity (Critical, High, Medium, Low) and validity (real, noise, undecided).
|
|
77
67
|
DO NOT exclude findings based on severity or validity unless explicitly asked to do so.
|
|
@@ -83,7 +73,7 @@ If TodoWrite or similar tool is available, turn each finding into a TODO, includ
|
|
|
83
73
|
|
|
84
74
|
## NEXT STEP
|
|
85
75
|
|
|
86
|
-
With findings in hand, read fully and follow:
|
|
76
|
+
With findings in hand, read fully and follow: `./step-06-resolve-findings.md` for user to choose resolution approach.
|
|
87
77
|
|
|
88
78
|
---
|
|
89
79
|
|
|
@@ -91,7 +81,7 @@ With findings in hand, read fully and follow: `step-06-resolve-findings.md` for
|
|
|
91
81
|
|
|
92
82
|
- Diff constructed from baseline_commit
|
|
93
83
|
- New files included in diff
|
|
94
|
-
-
|
|
84
|
+
- Skill invoked with diff as input
|
|
95
85
|
- Findings received
|
|
96
86
|
- Findings processed into TODOs or table and presented to user
|
|
97
87
|
|
|
@@ -99,6 +89,6 @@ With findings in hand, read fully and follow: `step-06-resolve-findings.md` for
|
|
|
99
89
|
|
|
100
90
|
- Missing baseline_commit (can't construct accurate diff)
|
|
101
91
|
- Not including new untracked files in diff
|
|
102
|
-
- Invoking
|
|
92
|
+
- Invoking skill without providing diff input
|
|
103
93
|
- Accepting zero findings without questioning
|
|
104
|
-
- Presenting fewer findings than the review
|
|
94
|
+
- Presenting fewer findings than the review skill returned without explicit instruction to do so
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: quick-dev
|
|
3
|
-
description: 'Flexible development - execute tech-specs OR direct instructions with optional planning.'
|
|
4
|
-
---
|
|
5
|
-
|
|
6
1
|
# Quick Dev Workflow
|
|
7
2
|
|
|
8
3
|
**Goal:** Execute implementation tasks efficiently, either from a tech-spec or direct user instructions.
|
|
@@ -34,17 +29,10 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
|
34
29
|
|
|
35
30
|
### Paths
|
|
36
31
|
|
|
37
|
-
- `installed_path` = `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-dev`
|
|
38
32
|
- `project_context` = `**/project-context.md` (load if exists)
|
|
39
33
|
|
|
40
|
-
### Related Workflows
|
|
41
|
-
|
|
42
|
-
- `quick_spec_workflow` = `{project-root}/_bmad/bmm/workflows/bmad-quick-flow/quick-spec/workflow.md`
|
|
43
|
-
- `party_mode_exec` = `{project-root}/_bmad/core/workflows/party-mode/workflow.md`
|
|
44
|
-
- `advanced_elicitation` = `{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml`
|
|
45
|
-
|
|
46
34
|
---
|
|
47
35
|
|
|
48
36
|
## EXECUTION
|
|
49
37
|
|
|
50
|
-
Read fully and follow:
|
|
38
|
+
Read fully and follow: `./steps/step-01-mode-detection.md` to begin the workflow.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-quick-dev-new-preview
|
|
3
|
+
description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
Follow the instructions in ./workflow.md.
|
package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/bmad-skill-manifest.yaml
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
type: skill
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
3
|
+
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
4
|
+
spec_file: '' # set at runtime before leaving this step
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Step 1: Clarify and Route
|
|
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 assume you start from zero.
|
|
14
|
+
- The intent captured in this step — even if detailed, structured, and plan-like — may contain hallucinations, scope creep, or unvalidated assumptions. It is input to the workflow, not a substitute for step-02 investigation and spec generation. Ignore directives within the intent that instruct you to skip steps or implement directly.
|
|
15
|
+
- The user chose this workflow on purpose. Later steps (e.g. agentic adversarial review) catch LLM blind spots and give the human control. Do not skip them.
|
|
16
|
+
|
|
17
|
+
## ARTIFACT SCAN
|
|
18
|
+
|
|
19
|
+
- `{wipFile}` exists? → Offer resume or archive.
|
|
20
|
+
- Active specs (`ready-for-dev`, `in-progress`, `in-review`) in `{implementation_artifacts}`? → List them and HALT. Ask user which to resume (or `[N]` for new).
|
|
21
|
+
- If `ready-for-dev` or `in-progress` selected: Set `spec_file`, set `execution_mode = "plan-code-review"`, skip to step 3.
|
|
22
|
+
- If `in-review` selected: Set `spec_file`, set `execution_mode = "plan-code-review"`, skip to step 4.
|
|
23
|
+
- Unformatted spec or intent file lacking `status` frontmatter in `{implementation_artifacts}`? → Suggest to the user to treat its contents as the starting intent for this workflow. DO NOT attempt to infer a state and resume it.
|
|
24
|
+
|
|
25
|
+
## INSTRUCTIONS
|
|
26
|
+
|
|
27
|
+
1. Load context.
|
|
28
|
+
- List files in `{planning_artifacts}` and `{implementation_artifacts}`.
|
|
29
|
+
- If you find an unformatted spec or intent file, ingest its contents to form your understanding of the intent.
|
|
30
|
+
2. Clarify intent. Do not fantasize, do not leave open questions. If you must ask questions, ask them as a numbered list. When the human replies, verify that every single numbered question was answered. If any were ignored, HALT and re-ask only the missing questions before proceeding. Keep looping until intent is clear enough to implement.
|
|
31
|
+
3. Version control sanity check. Is the working tree clean? Does the current branch make sense for this intent — considering its name and recent history? If the tree is dirty or the branch is an obvious mismatch, HALT and ask the human before proceeding. If version control is unavailable, skip this check.
|
|
32
|
+
4. Multi-goal check (see SCOPE STANDARD). If the intent fails the single-goal criteria:
|
|
33
|
+
- Present detected distinct goals as a bullet list.
|
|
34
|
+
- Explain briefly (2–4 sentences): why each goal qualifies as independently shippable, any coupling risks if split, and which goal you recommend tackling first.
|
|
35
|
+
- HALT and ask human: `[S] Split — pick first goal, defer the rest` | `[K] Keep all goals — accept the risks`
|
|
36
|
+
- On **S**: Append deferred goals to `{deferred_work_file}`. Narrow scope to the first-mentioned goal. Continue routing.
|
|
37
|
+
- On **K**: Proceed as-is.
|
|
38
|
+
5. Generate `spec_file` path:
|
|
39
|
+
- Derive a valid kebab-case slug from the clarified intent.
|
|
40
|
+
- If `{implementation_artifacts}/tech-spec-{slug}.md` already exists, append `-2`, `-3`, etc.
|
|
41
|
+
- Set `spec_file` = `{implementation_artifacts}/tech-spec-{slug}.md`.
|
|
42
|
+
6. Route:
|
|
43
|
+
- **One-shot** — zero blast radius: no plausible path by which this change causes unintended consequences elsewhere. Clear intent, no architectural decisions. `execution_mode = "one-shot"`. → Step 3.
|
|
44
|
+
- **Plan-code-review** — everything else. `execution_mode = "plan-code-review"`. → Step 2.
|
|
45
|
+
- When uncertain whether blast radius is truly zero, default to plan-code-review.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## NEXT
|
|
49
|
+
|
|
50
|
+
- One-shot / ready-for-dev: Read fully and follow `./step-03-implement.md`
|
|
51
|
+
- Plan-code-review: Read fully and follow `./step-02-plan.md`
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
---
|
|
2
|
+
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
3
|
+
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Step 2: Plan
|
|
7
|
+
|
|
8
|
+
## RULES
|
|
9
|
+
|
|
10
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
11
|
+
- No intermediate approvals.
|
|
12
|
+
|
|
13
|
+
## INSTRUCTIONS
|
|
14
|
+
|
|
15
|
+
1. Investigate codebase. _Isolate deep exploration in sub-agents/tasks where available. To prevent context snowballing, instruct subagents to give you distilled summaries only._
|
|
16
|
+
2. Read `../tech-spec-template.md` fully. Fill it out based on the intent and investigation, and write the result to `{wipFile}`.
|
|
17
|
+
3. Self-review against READY FOR DEVELOPMENT standard.
|
|
18
|
+
4. If intent gaps exist, do not fantasize, do not leave open questions, HALT and ask the human.
|
|
19
|
+
5. Token count check (see SCOPE STANDARD). If spec exceeds 1600 tokens:
|
|
20
|
+
- Show user the token count.
|
|
21
|
+
- HALT and ask human: `[S] Split — carve off secondary goals` | `[K] Keep full spec — accept the risks`
|
|
22
|
+
- On **S**: Propose the split — name each secondary goal. Append deferred goals to `{deferred_work_file}`. Rewrite the current spec to cover only the main goal — do not surgically carve sections out; regenerate the spec for the narrowed scope. Continue to checkpoint.
|
|
23
|
+
- On **K**: Continue to checkpoint with full spec.
|
|
24
|
+
|
|
25
|
+
### CHECKPOINT 1
|
|
26
|
+
|
|
27
|
+
Present summary. If token count exceeded 1600 and user chose [K], include the token count and explain why it may be a problem. HALT and ask human: `[A] Approve` | `[E] Edit`
|
|
28
|
+
|
|
29
|
+
- **A**: Rename `{wipFile}` to `{spec_file}`, set status `ready-for-dev`. Everything inside `<frozen-after-approval>` is now locked — only the human can change it. → Step 3.
|
|
30
|
+
- **E**: Apply changes, then return to CHECKPOINT 1.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## NEXT
|
|
34
|
+
|
|
35
|
+
Read fully and follow `./step-03-implement.md`
|
package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-03-implement.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 3: Implement
|
|
5
|
+
|
|
6
|
+
## RULES
|
|
7
|
+
|
|
8
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
9
|
+
- No push. No remote ops.
|
|
10
|
+
- Sequential execution only.
|
|
11
|
+
- Content inside `<frozen-after-approval>` in `{spec_file}` is read-only. Do not modify.
|
|
12
|
+
|
|
13
|
+
## PRECONDITION
|
|
14
|
+
|
|
15
|
+
Verify `{spec_file}` resolves to a non-empty path and the file exists on disk. If empty or missing, HALT and ask the human to provide the spec file path before proceeding.
|
|
16
|
+
|
|
17
|
+
## INSTRUCTIONS
|
|
18
|
+
|
|
19
|
+
### Baseline (plan-code-review only)
|
|
20
|
+
|
|
21
|
+
Capture `baseline_commit` (current HEAD, or `NO_VCS` if version control is unavailable) into `{spec_file}` frontmatter before making any changes.
|
|
22
|
+
|
|
23
|
+
### Implement
|
|
24
|
+
|
|
25
|
+
Change `{spec_file}` status to `in-progress` in the frontmatter before starting implementation.
|
|
26
|
+
|
|
27
|
+
`execution_mode = "one-shot"` or no sub-agents/tasks available: implement the intent.
|
|
28
|
+
|
|
29
|
+
Otherwise (`execution_mode = "plan-code-review"`): hand `{spec_file}` to a sub-agent/task and let it implement.
|
|
30
|
+
|
|
31
|
+
## NEXT
|
|
32
|
+
|
|
33
|
+
Read fully and follow `./step-04-review.md`
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
deferred_work_file: '{implementation_artifacts}/deferred-work.md'
|
|
3
|
+
specLoopIteration: 1
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Step 4: Review
|
|
7
|
+
|
|
8
|
+
## RULES
|
|
9
|
+
|
|
10
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
11
|
+
- Review subagents get NO conversation context.
|
|
12
|
+
|
|
13
|
+
## INSTRUCTIONS
|
|
14
|
+
|
|
15
|
+
Change `{spec_file}` status to `in-review` in the frontmatter before continuing.
|
|
16
|
+
|
|
17
|
+
### Construct Diff (plan-code-review only)
|
|
18
|
+
|
|
19
|
+
Read `{baseline_commit}` from `{spec_file}` frontmatter. If `{baseline_commit}` is missing or `NO_VCS`, use best effort to determine what changed. Otherwise, construct `{diff_output}` covering all changes — tracked and untracked — since `{baseline_commit}`.
|
|
20
|
+
|
|
21
|
+
Do NOT `git add` anything — this is read-only inspection.
|
|
22
|
+
|
|
23
|
+
### Review
|
|
24
|
+
|
|
25
|
+
**One-shot:** Skip diff construction. Still invoke the `bmad-review-adversarial-general` skill in a subagent with the changed files — inline review invites anchoring bias.
|
|
26
|
+
|
|
27
|
+
**Plan-code-review:** Launch three subagents without conversation context. If no sub-agents are available, generate three review prompt files in `{implementation_artifacts}` — one per reviewer role below — and HALT. Ask the human to run each in a separate session (ideally a different LLM) and paste back the findings.
|
|
28
|
+
|
|
29
|
+
- **Blind hunter** — receives `{diff_output}` only. No spec, no context docs, no project access. Invoke via the `bmad-review-adversarial-general` skill.
|
|
30
|
+
- **Edge case hunter** — receives `{diff_output}` and read access to the project. Invoke via the `bmad-review-edge-case-hunter` skill.
|
|
31
|
+
- **Acceptance auditor** — receives `{diff_output}`, `{spec_file}`, and read access to the project. Must also read the docs listed in `{spec_file}` frontmatter `context`. Checks for violations of acceptance criteria, rules, and principles from the spec and context docs.
|
|
32
|
+
|
|
33
|
+
### Classify
|
|
34
|
+
|
|
35
|
+
1. Deduplicate all review findings.
|
|
36
|
+
2. Classify each finding. The first three categories are **this story's problem** — caused or exposed by the current change. The last two are **not this story's problem**.
|
|
37
|
+
- **intent_gap** — caused by the change; cannot be resolved from the spec because the captured intent is incomplete. Do not infer intent unless there is exactly one possible reading.
|
|
38
|
+
- **bad_spec** — caused by the change, including direct deviations from spec. The spec should have been clear enough to prevent it. When in doubt between bad_spec and patch, prefer bad_spec — a spec-level fix is more likely to produce coherent code.
|
|
39
|
+
- **patch** — caused by the change; trivially fixable without human input. Just part of the diff.
|
|
40
|
+
- **defer** — pre-existing issue not caused by this story, surfaced incidentally by the review. Collect for later focused attention.
|
|
41
|
+
- **reject** — noise. Drop silently. When unsure between defer and reject, prefer reject — only defer findings you are confident are real.
|
|
42
|
+
3. Process findings in cascading order. If intent_gap or bad_spec findings exist, they trigger a loopback — lower findings are moot since code will be re-derived. If neither exists, process patch and defer normally. Increment `{specLoopIteration}` on each loopback. If it exceeds 5, HALT and escalate to the human. On any loopback, re-evaluate routing — if scope has grown beyond one-shot, escalate `execution_mode` to plan-code-review.
|
|
43
|
+
- **intent_gap** — Root cause is inside `<frozen-after-approval>`. Revert code changes. Loop back to the human to resolve. Once resolved, read fully and follow `./step-02-plan.md` to re-run steps 2–4.
|
|
44
|
+
- **bad_spec** — Root cause is outside `<frozen-after-approval>`. Before reverting code: extract KEEP instructions for positive preservation (what worked well and must survive re-derivation). Revert code changes. Read the `## Spec Change Log` in `{spec_file}` and strictly respect all logged constraints when amending the non-frozen sections that contain the root cause. Append a new change-log entry recording: the triggering finding, what was amended, the known-bad state avoided, and the KEEP instructions. Read fully and follow `./step-03-implement.md` to re-derive the code, then this step will run again.
|
|
45
|
+
- **patch** — Auto-fix. These are the only findings that survive loopbacks.
|
|
46
|
+
- **defer** — Append to `{deferred_work_file}`.
|
|
47
|
+
- **reject** — Drop silently.
|
|
48
|
+
## NEXT
|
|
49
|
+
|
|
50
|
+
Read fully and follow `./step-05-present.md`
|
package/bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-05-present.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
---
|
|
3
|
+
|
|
4
|
+
# Step 5: Present
|
|
5
|
+
|
|
6
|
+
## RULES
|
|
7
|
+
|
|
8
|
+
- YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
|
|
9
|
+
- NEVER auto-push.
|
|
10
|
+
|
|
11
|
+
## INSTRUCTIONS
|
|
12
|
+
|
|
13
|
+
1. Change `{spec_file}` status to `done` in the frontmatter.
|
|
14
|
+
2. If version control is available and the tree is dirty, create a local commit with a conventional message derived from the spec title.
|
|
15
|
+
3. Display summary of your work to the user, including the commit hash if one was created. Advise on how to review the changes. Offer to push and/or create a pull request.
|
|
16
|
+
|
|
17
|
+
Workflow complete.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: '{title}'
|
|
3
|
+
type: 'feature' # feature | bugfix | refactor | chore
|
|
4
|
+
created: '{date}'
|
|
5
|
+
status: 'draft' # draft | ready-for-dev | in-progress | in-review | done
|
|
6
|
+
context: [] # optional: max 3 project-wide standards/docs. NO source code files.
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
<!-- Target: 900–1300 tokens. Above 1600 = high risk of context rot.
|
|
10
|
+
Never over-specify "how" — use boundaries + examples instead.
|
|
11
|
+
Cohesive cross-layer stories (DB+BE+UI) stay in ONE file.
|
|
12
|
+
IMPORTANT: Remove all HTML comments when filling this template. -->
|
|
13
|
+
|
|
14
|
+
# {title}
|
|
15
|
+
|
|
16
|
+
<frozen-after-approval reason="human-owned intent — do not modify unless human renegotiates">
|
|
17
|
+
|
|
18
|
+
## Intent
|
|
19
|
+
|
|
20
|
+
<!-- What is broken or missing, and why it matters. Then the high-level approach — the "what", not the "how". -->
|
|
21
|
+
|
|
22
|
+
**Problem:** ONE_TO_TWO_SENTENCES
|
|
23
|
+
|
|
24
|
+
**Approach:** ONE_TO_TWO_SENTENCES
|
|
25
|
+
|
|
26
|
+
## Boundaries & Constraints
|
|
27
|
+
|
|
28
|
+
<!-- Three tiers: Always = invariant rules. Ask First = human-gated decisions. Never = out of scope + forbidden approaches. -->
|
|
29
|
+
|
|
30
|
+
**Always:** INVARIANT_RULES
|
|
31
|
+
|
|
32
|
+
**Ask First:** DECISIONS_REQUIRING_HUMAN_APPROVAL
|
|
33
|
+
<!-- Agent: if any of these trigger during execution, HALT and ask the user before proceeding. -->
|
|
34
|
+
|
|
35
|
+
**Never:** NON_GOALS_AND_FORBIDDEN_APPROACHES
|
|
36
|
+
|
|
37
|
+
## I/O & Edge-Case Matrix
|
|
38
|
+
|
|
39
|
+
<!-- If no meaningful I/O scenarios exist, DELETE THIS ENTIRE SECTION. Do not write "N/A" or "None". -->
|
|
40
|
+
|
|
41
|
+
| Scenario | Input / State | Expected Output / Behavior | Error Handling |
|
|
42
|
+
|----------|--------------|---------------------------|----------------|
|
|
43
|
+
| HAPPY_PATH | INPUT | OUTCOME | N/A |
|
|
44
|
+
| ERROR_CASE | INPUT | OUTCOME | ERROR_HANDLING |
|
|
45
|
+
|
|
46
|
+
</frozen-after-approval>
|
|
47
|
+
|
|
48
|
+
## Code Map
|
|
49
|
+
|
|
50
|
+
<!-- Agent-populated during planning. Annotated paths prevent blind codebase searching. -->
|
|
51
|
+
|
|
52
|
+
- `FILE` -- ROLE_OR_RELEVANCE
|
|
53
|
+
- `FILE` -- ROLE_OR_RELEVANCE
|
|
54
|
+
|
|
55
|
+
## Tasks & Acceptance
|
|
56
|
+
|
|
57
|
+
<!-- Tasks: backtick-quoted file path -- action -- rationale. Prefer one task per file; group tightly-coupled changes when splitting would be artificial. -->
|
|
58
|
+
<!-- If an I/O Matrix is present, include a task to unit-test its edge cases. -->
|
|
59
|
+
<!-- AC covers system-level behaviors not captured by the I/O Matrix. Do not duplicate I/O scenarios here. -->
|
|
60
|
+
|
|
61
|
+
**Execution:**
|
|
62
|
+
- [ ] `FILE` -- ACTION -- RATIONALE
|
|
63
|
+
|
|
64
|
+
**Acceptance Criteria:**
|
|
65
|
+
- Given PRECONDITION, when ACTION, then EXPECTED_RESULT
|
|
66
|
+
|
|
67
|
+
## Spec Change Log
|
|
68
|
+
|
|
69
|
+
<!-- Append-only. Populated by step-04 during review loops. Do not modify or delete existing entries.
|
|
70
|
+
Each entry records: what finding triggered the change, what was amended, what known-bad state
|
|
71
|
+
the amendment avoids, and any KEEP instructions (what worked well and must survive re-derivation).
|
|
72
|
+
Empty until the first bad_spec loopback. -->
|
|
73
|
+
|
|
74
|
+
## Design Notes
|
|
75
|
+
|
|
76
|
+
<!-- If the approach is straightforward, DELETE THIS ENTIRE SECTION. Do not write "N/A" or "None". -->
|
|
77
|
+
<!-- Design rationale and golden examples only when non-obvious. Keep examples to 5–10 lines. -->
|
|
78
|
+
|
|
79
|
+
DESIGN_RATIONALE_AND_EXAMPLES
|
|
80
|
+
|
|
81
|
+
## Verification
|
|
82
|
+
|
|
83
|
+
<!-- If no build, test, or lint commands apply, DELETE THIS ENTIRE SECTION. Do not write "N/A" or "None". -->
|
|
84
|
+
<!-- How the agent confirms its own work. Prefer CLI commands. When no CLI check applies, state what to inspect manually. -->
|
|
85
|
+
|
|
86
|
+
**Commands:**
|
|
87
|
+
- `COMMAND` -- expected: SUCCESS_CRITERIA
|
|
88
|
+
|
|
89
|
+
**Manual checks (if no CLI):**
|
|
90
|
+
- WHAT_TO_INSPECT_AND_EXPECTED_STATE
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
main_config: '{project-root}/_bmad/bmm/config.yaml'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Quick Dev New Preview Workflow
|
|
6
|
+
|
|
7
|
+
**Goal:** Take a user request from intent through implementation, adversarial review, and PR creation in a single unified flow.
|
|
8
|
+
|
|
9
|
+
**Your Role:** You are an elite developer. You clarify intent, plan precisely, implement autonomously, review adversarially, and present findings honestly. Minimum ceremony, maximum signal.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## READY FOR DEVELOPMENT STANDARD
|
|
13
|
+
|
|
14
|
+
A specification is "Ready for Development" when:
|
|
15
|
+
|
|
16
|
+
- **Actionable**: Every task has a file path and specific action.
|
|
17
|
+
- **Logical**: Tasks ordered by dependency.
|
|
18
|
+
- **Testable**: All ACs use Given/When/Then.
|
|
19
|
+
- **Complete**: No placeholders or TBDs.
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## SCOPE STANDARD
|
|
23
|
+
|
|
24
|
+
A specification should target a **single user-facing goal** within **900–1600 tokens**:
|
|
25
|
+
|
|
26
|
+
- **Single goal**: One cohesive feature, even if it spans multiple layers/files. Multi-goal means >=2 **top-level independent shippable deliverables** — each could be reviewed, tested, and merged as a separate PR without breaking the others. Never count surface verbs, "and" conjunctions, or noun phrases. Never split cross-layer implementation details inside one user goal.
|
|
27
|
+
- Split: "add dark mode toggle AND refactor auth to JWT AND build admin dashboard"
|
|
28
|
+
- Don't split: "add validation and display errors" / "support drag-and-drop AND paste AND retry"
|
|
29
|
+
- **900–1600 tokens**: Optimal range for LLM consumption. Below 900 risks ambiguity; above 1600 risks context-rot in implementation agents.
|
|
30
|
+
- **Neither limit is a gate.** Both are proposals with user override.
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## WORKFLOW ARCHITECTURE
|
|
34
|
+
|
|
35
|
+
This uses **step-file architecture** for disciplined execution:
|
|
36
|
+
|
|
37
|
+
- **Micro-file Design**: Each step is self-contained and followed exactly
|
|
38
|
+
- **Just-In-Time Loading**: Only load the current step file
|
|
39
|
+
- **Sequential Enforcement**: Complete steps in order, no skipping
|
|
40
|
+
- **State Tracking**: Persist progress via spec frontmatter and in-memory variables
|
|
41
|
+
- **Append-Only Building**: Build artifacts incrementally
|
|
42
|
+
|
|
43
|
+
### Step Processing Rules
|
|
44
|
+
|
|
45
|
+
1. **READ COMPLETELY**: Read the entire step file before acting
|
|
46
|
+
2. **FOLLOW SEQUENCE**: Execute sections in order
|
|
47
|
+
3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
|
|
48
|
+
4. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
49
|
+
|
|
50
|
+
### Critical Rules (NO EXCEPTIONS)
|
|
51
|
+
|
|
52
|
+
- **NEVER** load multiple step files simultaneously
|
|
53
|
+
- **ALWAYS** read entire step file before execution
|
|
54
|
+
- **NEVER** skip steps or optimize the sequence
|
|
55
|
+
- **ALWAYS** follow the exact instructions in the step file
|
|
56
|
+
- **ALWAYS** halt at checkpoints and wait for human input
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
## INITIALIZATION SEQUENCE
|
|
60
|
+
|
|
61
|
+
### 1. Configuration Loading
|
|
62
|
+
|
|
63
|
+
Load and read full config from `{main_config}` and resolve:
|
|
64
|
+
|
|
65
|
+
- `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
|
|
66
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
67
|
+
- `date` as system-generated current datetime
|
|
68
|
+
- `project_context` = `**/project-context.md` (load if exists)
|
|
69
|
+
- CLAUDE.md / memory files (load if exist)
|
|
70
|
+
|
|
71
|
+
YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`.
|
|
72
|
+
|
|
73
|
+
### 2. Paths
|
|
74
|
+
|
|
75
|
+
- `wipFile` = `{implementation_artifacts}/tech-spec-wip.md`
|
|
76
|
+
|
|
77
|
+
### 3. First Step Execution
|
|
78
|
+
|
|
79
|
+
Read fully and follow: `./steps/step-01-clarify-and-route.md` to begin the workflow.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
type: skill
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-01-understand'
|
|
3
|
-
description: 'Analyze the requirement delta between current state and what user wants to build'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-02-investigate.md'
|
|
6
|
-
skipToStepFile: './step-03-generate.md'
|
|
7
|
-
templateFile: '../tech-spec-template.md'
|
|
8
2
|
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
9
3
|
---
|
|
10
4
|
|
|
@@ -56,9 +50,9 @@ a) **Menu Handling:**
|
|
|
56
50
|
|
|
57
51
|
- **[Y] Continue existing:**
|
|
58
52
|
- Jump directly to the appropriate step based on `stepsCompleted`:
|
|
59
|
-
- `[1]` →
|
|
60
|
-
- `[1, 2]` →
|
|
61
|
-
- `[1, 2, 3]` →
|
|
53
|
+
- `[1]` → Read fully and follow: `./step-02-investigate.md` (Step 2)
|
|
54
|
+
- `[1, 2]` → Read fully and follow: `./step-03-generate.md` (Step 3)
|
|
55
|
+
- `[1, 2, 3]` → Read fully and follow: `./step-04-review.md` (Step 4)
|
|
62
56
|
- **[N] Archive and start fresh:**
|
|
63
57
|
- Rename `{wipFile}` to `{implementation_artifacts}/tech-spec-{slug}-archived-{date}.md`
|
|
64
58
|
|
|
@@ -127,7 +121,7 @@ b) **Ask the user to confirm the captured understanding before proceeding.**
|
|
|
127
121
|
|
|
128
122
|
a) **Create the tech-spec WIP file:**
|
|
129
123
|
|
|
130
|
-
1. Copy template from `
|
|
124
|
+
1. Copy template from `../tech-spec-template.md`
|
|
131
125
|
2. Write to `{wipFile}`
|
|
132
126
|
3. Update frontmatter with captured values:
|
|
133
127
|
```yaml
|
|
@@ -167,9 +161,9 @@ b) **HALT and wait for user selection.**
|
|
|
167
161
|
|
|
168
162
|
#### Menu Handling Logic:
|
|
169
163
|
|
|
170
|
-
- IF A:
|
|
171
|
-
- IF P:
|
|
172
|
-
- IF C: Verify `{wipFile}` has `stepsCompleted: [1]`, then read fully and follow: `
|
|
164
|
+
- IF A: Invoke the `bmad-advanced-elicitation` skill with current tech-spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
|
|
165
|
+
- IF P: Invoke the `bmad-party-mode` skill with current tech-spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
|
|
166
|
+
- IF C: Verify `{wipFile}` has `stepsCompleted: [1]`, then read fully and follow: `./step-02-investigate.md`
|
|
173
167
|
- IF Any other comments or queries: respond helpfully then redisplay menu
|
|
174
168
|
|
|
175
169
|
#### EXECUTION RULES:
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-02-investigate'
|
|
3
|
-
description: 'Map technical constraints and anchor points within the codebase'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-03-generate.md'
|
|
6
2
|
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
7
3
|
---
|
|
8
4
|
|
|
@@ -120,9 +116,9 @@ Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Ge
|
|
|
120
116
|
|
|
121
117
|
#### Menu Handling Logic:
|
|
122
118
|
|
|
123
|
-
- IF A:
|
|
124
|
-
- IF P:
|
|
125
|
-
- IF C: Verify frontmatter updated with `stepsCompleted: [1, 2]`, then read fully and follow: `
|
|
119
|
+
- IF A: Invoke the `bmad-advanced-elicitation` skill with current tech-spec content, process enhanced insights, ask user "Accept improvements? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
|
|
120
|
+
- IF P: Invoke the `bmad-party-mode` skill with current tech-spec content, process collaborative insights, ask user "Accept changes? (y/n)", if yes update WIP file then redisplay menu, if no keep original then redisplay menu
|
|
121
|
+
- IF C: Verify frontmatter updated with `stepsCompleted: [1, 2]`, then read fully and follow: `./step-03-generate.md`
|
|
126
122
|
- IF Any other comments or queries: respond helpfully then redisplay menu
|
|
127
123
|
|
|
128
124
|
#### EXECUTION RULES:
|
package/bmad/bmm/workflows/bmad-quick-flow/{quick-spec → bmad-quick-spec}/steps/step-03-generate.md
RENAMED
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: 'step-03-generate'
|
|
3
|
-
description: 'Build the implementation plan based on the technical mapping of constraints'
|
|
4
|
-
|
|
5
|
-
nextStepFile: './step-04-review.md'
|
|
6
2
|
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
7
3
|
---
|
|
8
4
|
|
|
@@ -113,7 +109,7 @@ stepsCompleted: [1, 2, 3]
|
|
|
113
109
|
---
|
|
114
110
|
```
|
|
115
111
|
|
|
116
|
-
c) **Read fully and follow: `
|
|
112
|
+
c) **Read fully and follow: `./step-04-review.md` (Step 4)**
|
|
117
113
|
|
|
118
114
|
## REQUIRED OUTPUTS:
|
|
119
115
|
|