frappe-builder 1.1.0-dev.10
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/.fb/state.db +0 -0
- package/AGENTS.md +167 -0
- package/README.md +89 -0
- package/_bmad/_config/agent-manifest.csv +10 -0
- package/_bmad/_config/agents/bmm-analyst.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-architect.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-dev.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-pm.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-qa.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-quick-flow-solo-dev.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-sm.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-tech-writer.customize.yaml +41 -0
- package/_bmad/_config/agents/bmm-ux-designer.customize.yaml +41 -0
- package/_bmad/_config/bmad-help.csv +47 -0
- package/_bmad/_config/files-manifest.csv +369 -0
- package/_bmad/_config/ides/claude-code.yaml +5 -0
- package/_bmad/_config/manifest.yaml +28 -0
- package/_bmad/_config/skill-manifest.csv +41 -0
- package/_bmad/_config/task-manifest.csv +1 -0
- package/_bmad/_config/tool-manifest.csv +1 -0
- package/_bmad/_config/workflow-manifest.csv +1 -0
- package/_bmad/_memory/config.yaml +11 -0
- package/_bmad/_memory/tech-writer-sidecar/documentation-standards.md +224 -0
- package/_bmad/bmm/agents/analyst.md +69 -0
- package/_bmad/bmm/agents/architect.md +59 -0
- package/_bmad/bmm/agents/bmad-skill-manifest.yaml +39 -0
- package/_bmad/bmm/agents/dev.md +66 -0
- package/_bmad/bmm/agents/pm.md +63 -0
- package/_bmad/bmm/agents/qa.md +89 -0
- package/_bmad/bmm/agents/quick-flow-solo-dev.md +61 -0
- package/_bmad/bmm/agents/sm.md +67 -0
- package/_bmad/bmm/agents/tech-writer/bmad-skill-manifest.yaml +3 -0
- package/_bmad/bmm/agents/tech-writer/tech-writer.md +67 -0
- package/_bmad/bmm/agents/ux-designer.md +58 -0
- package/_bmad/bmm/config.yaml +16 -0
- package/_bmad/bmm/data/project-context-template.md +26 -0
- package/_bmad/bmm/module-help.csv +32 -0
- package/_bmad/bmm/teams/default-party.csv +20 -0
- package/_bmad/bmm/teams/team-fullstack.yaml +12 -0
- 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/bmad-create-product-brief/product-brief.template.md +10 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01-init.md +170 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-01b-continue.md +158 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-02-vision.md +193 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-03-users.md +196 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-04-metrics.md +199 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-05-scope.md +213 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/steps/step-06-complete.md +159 -0
- package/_bmad/bmm/workflows/1-analysis/bmad-create-product-brief/workflow.md +55 -0
- 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/bmad-domain-research/domain-steps/step-01-init.md +137 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-02-domain-analysis.md +229 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-03-competitive-landscape.md +238 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-04-regulatory-focus.md +206 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-05-technical-trends.md +234 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/domain-steps/step-06-research-synthesis.md +444 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/research.template.md +29 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-domain-research/workflow.md +49 -0
- 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/bmad-market-research/workflow.md +49 -0
- 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/bmad-technical-research/technical-steps/step-01-init.md +137 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-02-technical-overview.md +239 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-03-integration-patterns.md +248 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-04-architectural-patterns.md +202 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-05-implementation-research.md +233 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/technical-steps/step-06-research-synthesis.md +487 -0
- package/_bmad/bmm/workflows/1-analysis/research/bmad-technical-research/workflow.md +50 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-01-init.md +182 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-02-customer-behavior.md +237 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-03-customer-pain-points.md +249 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-04-customer-decisions.md +259 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-05-competitive-analysis.md +177 -0
- package/_bmad/bmm/workflows/1-analysis/research/market-steps/step-06-research-completion.md +476 -0
- package/_bmad/bmm/workflows/1-analysis/research/research.template.md +29 -0
- 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/bmad-create-ux-design/steps/step-01-init.md +135 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-01b-continue.md +127 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-02-discovery.md +190 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-03-core-experience.md +217 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-04-emotional-response.md +220 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-05-inspiration.md +235 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-06-design-system.md +253 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-07-defining-experience.md +255 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-08-visual-foundation.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-09-design-directions.md +225 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-10-user-journeys.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-11-component-strategy.md +249 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-12-ux-patterns.md +238 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +265 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/steps/step-14-complete.md +171 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/ux-design-template.md +13 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-create-ux-design/workflow.md +36 -0
- 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/bmad-edit-prd/steps-e/step-e-01-discovery.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +204 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +245 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +250 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +165 -0
- package/_bmad/bmm/workflows/2-plan-workflows/bmad-edit-prd/workflow.md +63 -0
- 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/data/domain-complexity.csv +15 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/prd-purpose.md +197 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/data/project-types.csv +11 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +224 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +191 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +209 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +174 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +214 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +228 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +217 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +205 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +243 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +263 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +209 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +264 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +242 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +232 -0
- package/_bmad/bmm/workflows/2-plan-workflows/create-prd/workflow-validate-prd.md +65 -0
- 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/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +179 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +168 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +169 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-04-ux-alignment.md +129 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-05-epic-quality-review.md +241 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/steps/step-06-final-assessment.md +126 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/templates/readiness-report-template.md +4 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-check-implementation-readiness/workflow.md +49 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/SKILL.md +6 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/architecture-decision-template.md +12 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/bmad-skill-manifest.yaml +1 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/domain-complexity.csv +13 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/data/project-types.csv +7 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01-init.md +153 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-01b-continue.md +173 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-02-context.md +224 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-03-starter.md +329 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-04-decisions.md +318 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-05-patterns.md +359 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-06-structure.md +379 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-07-validation.md +359 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/steps/step-08-complete.md +76 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-architecture/workflow.md +38 -0
- 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/bmad-create-epics-and-stories/steps/step-01-validate-prerequisites.md +255 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-02-design-epics.md +212 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-03-create-stories.md +255 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/steps/step-04-final-validation.md +131 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/templates/epics-template.md +61 -0
- package/_bmad/bmm/workflows/3-solutioning/bmad-create-epics-and-stories/workflow.md +53 -0
- 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/bmad-correct-course/checklist.md +288 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-correct-course/workflow.md +267 -0
- 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/bmad-create-story/checklist.md +357 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/discover-inputs.md +88 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-create-story/template.md +49 -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/bmad-dev-story/checklist.md +80 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-dev-story/workflow.md +450 -0
- 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/bmad-retrospective/workflow.md +1479 -0
- 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/bmad-sprint-planning/checklist.md +33 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/sprint-status-template.yaml +56 -0
- package/_bmad/bmm/workflows/4-implementation/bmad-sprint-planning/workflow.md +263 -0
- 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/bmad-sprint-status/workflow.md +261 -0
- 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/bmad-document-project/checklist.md +245 -0
- package/_bmad/bmm/workflows/bmad-document-project/documentation-requirements.csv +12 -0
- package/_bmad/bmm/workflows/bmad-document-project/instructions.md +128 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/deep-dive-template.md +345 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/index-template.md +169 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/project-overview-template.md +103 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/project-scan-report-schema.json +160 -0
- package/_bmad/bmm/workflows/bmad-document-project/templates/source-tree-template.md +135 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflow.md +27 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-instructions.md +299 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/deep-dive-workflow.md +34 -0
- package/_bmad/bmm/workflows/bmad-document-project/workflows/full-scan-instructions.md +1107 -0
- 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/bmad-generate-project-context/project-context-template.md +21 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-01-discover.md +186 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-02-generate.md +321 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/steps/step-03-complete.md +278 -0
- package/_bmad/bmm/workflows/bmad-generate-project-context/workflow.md +43 -0
- 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/bmad-qa-generate-e2e-tests/checklist.md +33 -0
- package/_bmad/bmm/workflows/bmad-qa-generate-e2e-tests/workflow.md +136 -0
- 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/bmad-quick-dev/steps/step-01-mode-detection.md +169 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-02-context-gathering.md +114 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-03-execute.md +107 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-04-self-check.md +107 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-05-adversarial-review.md +94 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/steps/step-06-resolve-findings.md +144 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev/workflow.md +38 -0
- 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/bmad-quick-spec/steps/step-01-understand.md +185 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-02-investigate.md +140 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-03-generate.md +123 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/steps/step-04-review.md +195 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/tech-spec-template.md +74 -0
- package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-spec/workflow.md +73 -0
- package/_bmad/cis/config.yaml +12 -0
- package/_bmad/cis/module-help.csv +6 -0
- package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-brainstorming-coach/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-creative-problem-solver/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/SKILL.md +52 -0
- package/_bmad/cis/skills/bmad-cis-agent-design-thinking-coach/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/SKILL.md +51 -0
- package/_bmad/cis/skills/bmad-cis-agent-innovation-strategist/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-presentation-master/SKILL.md +62 -0
- package/_bmad/cis/skills/bmad-cis-agent-presentation-master/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/SKILL.md +56 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/bmad-skill-manifest.yaml +11 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/stories-told.md +7 -0
- package/_bmad/cis/skills/bmad-cis-agent-storyteller/story-preferences.md +7 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/design-methods.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/template.md +111 -0
- package/_bmad/cis/skills/bmad-cis-design-thinking/workflow.md +242 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/innovation-frameworks.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/template.md +189 -0
- package/_bmad/cis/skills/bmad-cis-innovation-strategy/workflow.md +315 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/solving-methods.csv +31 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/template.md +165 -0
- package/_bmad/cis/skills/bmad-cis-problem-solving/workflow.md +291 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/SKILL.md +6 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/bmad-skill-manifest.yaml +1 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/story-types.csv +26 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/template.md +113 -0
- package/_bmad/cis/skills/bmad-cis-storytelling/workflow.md +321 -0
- package/_bmad/core/config.yaml +9 -0
- package/_bmad/core/module-help.csv +11 -0
- 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/methods.csv +51 -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/skills/bmad-brainstorming/brain-methods.csv +62 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-01-session-setup.md +214 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-01b-continue.md +124 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02a-user-selected.md +229 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02b-ai-recommended.md +239 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02c-random-selection.md +211 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-02d-progressive-flow.md +266 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-03-technique-execution.md +401 -0
- package/_bmad/core/skills/bmad-brainstorming/steps/step-04-idea-organization.md +305 -0
- package/_bmad/core/skills/bmad-brainstorming/template.md +15 -0
- package/_bmad/core/skills/bmad-brainstorming/workflow.md +53 -0
- 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-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/skills/bmad-help/workflow.md +88 -0
- 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/skills/bmad-party-mode/steps/step-01-agent-loading.md +138 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-02-discussion-orchestration.md +187 -0
- package/_bmad/core/skills/bmad-party-mode/steps/step-03-graceful-exit.md +167 -0
- package/_bmad/core/skills/bmad-party-mode/workflow.md +190 -0
- 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/core/tasks/bmad-create-prd/steps-c/step-01-init.md +178 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-01b-continue.md +161 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02-discovery.md +208 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02b-vision.md +142 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-02c-executive-summary.md +158 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-03-success.md +214 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-04-journeys.md +201 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-05-domain.md +194 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-06-innovation.md +211 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-07-project-type.md +222 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-08-scoping.md +216 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-09-functional.md +219 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-10-nonfunctional.md +230 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-11-polish.md +221 -0
- package/_bmad/core/tasks/bmad-create-prd/steps-c/step-12-complete.md +115 -0
- package/_bmad/core/tasks/bmad-create-prd/templates/prd-template.md +10 -0
- package/_bmad/core/tasks/bmad-create-prd/workflow.md +62 -0
- package/config/allowed-commands.ts +39 -0
- package/config/defaults.ts +19 -0
- package/config/loader.ts +105 -0
- package/dist/cli.mjs +67 -0
- package/dist/init-BYJy3ztn.mjs +159 -0
- package/extensions/frappe-gates.ts +160 -0
- package/extensions/frappe-session.ts +324 -0
- package/extensions/frappe-state.ts +235 -0
- package/extensions/frappe-tools.ts +278 -0
- package/extensions/frappe-ui.ts +119 -0
- package/extensions/frappe-workflow.ts +85 -0
- package/gates/coverage-check.ts +37 -0
- package/gates/frappe-native-check.ts +65 -0
- package/gates/permission-check.ts +65 -0
- package/gates/query-check.ts +40 -0
- package/gates/server-side-check.ts +67 -0
- package/gates/style-check.ts +92 -0
- package/gates/types.ts +13 -0
- package/package.json +47 -0
- package/project-context.md +146 -0
- package/state/db.ts +85 -0
- package/state/fsm.ts +68 -0
- package/state/journal.ts +164 -0
- package/state/schema.ts +41 -0
- package/tools/agent-tools.ts +60 -0
- package/tools/bench-tools.ts +63 -0
- package/tools/context-sandbox.ts +31 -0
- package/tools/debug-tools.ts +12 -0
- package/tools/feature-tools.ts +126 -0
- package/tools/frappe-context7.ts +70 -0
- package/tools/frappe-query-tools.ts +47 -0
- package/tools/project-tools.ts +107 -0
- package/tsdown.config.ts +7 -0
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`
|
package/_bmad/bmm/workflows/bmad-quick-flow/bmad-quick-dev-new-preview/steps/step-04-review.md
ADDED
|
@@ -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
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
---
|
|
2
|
+
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 1: Analyze Requirement Delta
|
|
6
|
+
|
|
7
|
+
**Progress: Step 1 of 4** - Next: Deep Investigation
|
|
8
|
+
|
|
9
|
+
## RULES:
|
|
10
|
+
|
|
11
|
+
- MUST NOT skip steps.
|
|
12
|
+
- MUST NOT optimize sequence.
|
|
13
|
+
- MUST follow exact instructions.
|
|
14
|
+
- MUST NOT look ahead to future steps.
|
|
15
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
16
|
+
|
|
17
|
+
## CONTEXT:
|
|
18
|
+
|
|
19
|
+
- Variables from `workflow.md` are available in memory.
|
|
20
|
+
- Focus: Define the technical requirement delta and scope.
|
|
21
|
+
- Investigation: Perform surface-level code scans ONLY to verify the delta. Reserve deep dives into implementation consequences for Step 2.
|
|
22
|
+
- Objective: Establish a verifiable delta between current state and target state.
|
|
23
|
+
|
|
24
|
+
## SEQUENCE OF INSTRUCTIONS
|
|
25
|
+
|
|
26
|
+
### 0. Check for Work in Progress
|
|
27
|
+
|
|
28
|
+
a) **Before anything else, check if `{wipFile}` exists:**
|
|
29
|
+
|
|
30
|
+
b) **IF WIP FILE EXISTS:**
|
|
31
|
+
|
|
32
|
+
1. Read the frontmatter and extract: `title`, `slug`, `stepsCompleted`
|
|
33
|
+
2. Calculate progress: `lastStep = max(stepsCompleted)`
|
|
34
|
+
3. Present to user:
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
Hey {user_name}! Found a tech-spec in progress:
|
|
38
|
+
|
|
39
|
+
**{title}** - Step {lastStep} of 4 complete
|
|
40
|
+
|
|
41
|
+
Is this what you're here to continue?
|
|
42
|
+
|
|
43
|
+
[Y] Yes, pick up where I left off
|
|
44
|
+
[N] No, archive it and start something new
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
4. **HALT and wait for user selection.**
|
|
48
|
+
|
|
49
|
+
a) **Menu Handling:**
|
|
50
|
+
|
|
51
|
+
- **[Y] Continue existing:**
|
|
52
|
+
- Jump directly to the appropriate step based on `stepsCompleted`:
|
|
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)
|
|
56
|
+
- **[N] Archive and start fresh:**
|
|
57
|
+
- Rename `{wipFile}` to `{implementation_artifacts}/tech-spec-{slug}-archived-{date}.md`
|
|
58
|
+
|
|
59
|
+
### 1. Greet and Ask for Initial Request
|
|
60
|
+
|
|
61
|
+
a) **Greet the user briefly:**
|
|
62
|
+
|
|
63
|
+
"Hey {user_name}! What are we building today?"
|
|
64
|
+
|
|
65
|
+
b) **Get their initial description.** Don't ask detailed questions yet - just understand enough to know where to look.
|
|
66
|
+
|
|
67
|
+
### 2. Quick Orient Scan
|
|
68
|
+
|
|
69
|
+
a) **Before asking detailed questions, do a rapid scan to understand the landscape:**
|
|
70
|
+
|
|
71
|
+
b) **Check for existing context docs:**
|
|
72
|
+
|
|
73
|
+
- Check `{implementation_artifacts}` and `{planning_artifacts}`for planning documents (PRD, architecture, epics, research)
|
|
74
|
+
- Check for `**/project-context.md` - if it exists, skim for patterns and conventions
|
|
75
|
+
- Check for any existing stories or specs related to user's request
|
|
76
|
+
|
|
77
|
+
c) **If user mentioned specific code/features, do a quick scan:**
|
|
78
|
+
|
|
79
|
+
- Search for relevant files/classes/functions they mentioned
|
|
80
|
+
- Skim the structure (don't deep-dive yet - that's Step 2)
|
|
81
|
+
- Note: tech stack, obvious patterns, file locations
|
|
82
|
+
|
|
83
|
+
d) **Build mental model:**
|
|
84
|
+
|
|
85
|
+
- What's the likely landscape for this feature?
|
|
86
|
+
- What's the likely scope based on what you found?
|
|
87
|
+
- What questions do you NOW have, informed by the code?
|
|
88
|
+
|
|
89
|
+
**This scan should take < 30 seconds. Just enough to ask smart questions.**
|
|
90
|
+
|
|
91
|
+
### 3. Ask Informed Questions
|
|
92
|
+
|
|
93
|
+
a) **Now ask clarifying questions - but make them INFORMED by what you found:**
|
|
94
|
+
|
|
95
|
+
Instead of generic questions like "What's the scope?", ask specific ones like:
|
|
96
|
+
- "`AuthService` handles validation in the controller — should the new field follow that pattern or move it to a dedicated validator?"
|
|
97
|
+
- "`NavigationSidebar` component uses local state for the 'collapsed' toggle — should we stick with that or move it to the global store?"
|
|
98
|
+
- "The epics doc mentions X - is this related?"
|
|
99
|
+
|
|
100
|
+
**Adapt to {user_skill_level}.** Technical users want technical questions. Non-technical users need translation.
|
|
101
|
+
|
|
102
|
+
b) **If no existing code is found:**
|
|
103
|
+
|
|
104
|
+
- Ask about intended architecture, patterns, constraints
|
|
105
|
+
- Ask what similar systems they'd like to emulate
|
|
106
|
+
|
|
107
|
+
### 4. Capture Core Understanding
|
|
108
|
+
|
|
109
|
+
a) **From the conversation, extract and confirm:**
|
|
110
|
+
|
|
111
|
+
- **Title**: A clear, concise name for this work
|
|
112
|
+
- **Slug**: URL-safe version of title (lowercase, hyphens, no spaces)
|
|
113
|
+
- **Problem Statement**: What problem are we solving?
|
|
114
|
+
- **Solution**: High-level approach (1-2 sentences)
|
|
115
|
+
- **In Scope**: What's included
|
|
116
|
+
- **Out of Scope**: What's explicitly NOT included
|
|
117
|
+
|
|
118
|
+
b) **Ask the user to confirm the captured understanding before proceeding.**
|
|
119
|
+
|
|
120
|
+
### 5. Initialize WIP File
|
|
121
|
+
|
|
122
|
+
a) **Create the tech-spec WIP file:**
|
|
123
|
+
|
|
124
|
+
1. Copy template from `../tech-spec-template.md`
|
|
125
|
+
2. Write to `{wipFile}`
|
|
126
|
+
3. Update frontmatter with captured values:
|
|
127
|
+
```yaml
|
|
128
|
+
---
|
|
129
|
+
title: '{title}'
|
|
130
|
+
slug: '{slug}'
|
|
131
|
+
created: '{date}'
|
|
132
|
+
status: 'in-progress'
|
|
133
|
+
stepsCompleted: [1]
|
|
134
|
+
tech_stack: []
|
|
135
|
+
files_to_modify: []
|
|
136
|
+
code_patterns: []
|
|
137
|
+
test_patterns: []
|
|
138
|
+
---
|
|
139
|
+
```
|
|
140
|
+
4. Fill in Overview section with Problem Statement, Solution, and Scope
|
|
141
|
+
5. Fill in Context for Development section with any technical preferences or constraints gathered during informed discovery.
|
|
142
|
+
6. Write the file
|
|
143
|
+
|
|
144
|
+
b) **Report to user:**
|
|
145
|
+
|
|
146
|
+
"Created: `{wipFile}`
|
|
147
|
+
|
|
148
|
+
**Captured:**
|
|
149
|
+
|
|
150
|
+
- Title: {title}
|
|
151
|
+
- Problem: {problem_statement_summary}
|
|
152
|
+
- Scope: {scope_summary}"
|
|
153
|
+
|
|
154
|
+
### 6. Present Checkpoint Menu
|
|
155
|
+
|
|
156
|
+
a) **Display menu:**
|
|
157
|
+
|
|
158
|
+
Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Deep Investigation (Step 2 of 4)"
|
|
159
|
+
|
|
160
|
+
b) **HALT and wait for user selection.**
|
|
161
|
+
|
|
162
|
+
#### Menu Handling Logic:
|
|
163
|
+
|
|
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`
|
|
167
|
+
- IF Any other comments or queries: respond helpfully then redisplay menu
|
|
168
|
+
|
|
169
|
+
#### EXECUTION RULES:
|
|
170
|
+
|
|
171
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
172
|
+
- ONLY proceed to next step when user selects 'C'
|
|
173
|
+
- After A or P execution, return to this menu
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
## REQUIRED OUTPUTS:
|
|
178
|
+
|
|
179
|
+
- MUST initialize WIP file with captured metadata.
|
|
180
|
+
|
|
181
|
+
## VERIFICATION CHECKLIST:
|
|
182
|
+
|
|
183
|
+
- [ ] WIP check performed FIRST before any greeting.
|
|
184
|
+
- [ ] `{wipFile}` created with correct frontmatter, Overview, Context for Development, and `stepsCompleted: [1]`.
|
|
185
|
+
- [ ] User selected [C] to continue.
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
wipFile: '{implementation_artifacts}/tech-spec-wip.md'
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Step 2: Map Technical Constraints & Anchor Points
|
|
6
|
+
|
|
7
|
+
**Progress: Step 2 of 4** - Next: Generate Plan
|
|
8
|
+
|
|
9
|
+
## RULES:
|
|
10
|
+
|
|
11
|
+
- MUST NOT skip steps.
|
|
12
|
+
- MUST NOT optimize sequence.
|
|
13
|
+
- MUST follow exact instructions.
|
|
14
|
+
- MUST NOT generate the full spec yet (that's Step 3).
|
|
15
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
16
|
+
|
|
17
|
+
## CONTEXT:
|
|
18
|
+
|
|
19
|
+
- Requires `{wipFile}` from Step 1 with the "Problem Statement" defined.
|
|
20
|
+
- Focus: Map the problem statement to specific anchor points in the codebase.
|
|
21
|
+
- Output: Exact files to touch, classes/patterns to extend, and technical constraints identified.
|
|
22
|
+
- Objective: Provide the implementation-ready ground truth for the plan.
|
|
23
|
+
|
|
24
|
+
## SEQUENCE OF INSTRUCTIONS
|
|
25
|
+
|
|
26
|
+
### 1. Load Current State
|
|
27
|
+
|
|
28
|
+
**Read `{wipFile}` and extract:**
|
|
29
|
+
|
|
30
|
+
- Problem statement and scope from Overview section
|
|
31
|
+
- Any context gathered in Step 1
|
|
32
|
+
|
|
33
|
+
### 2. Execute Investigation Path
|
|
34
|
+
|
|
35
|
+
**Universal Code Investigation:**
|
|
36
|
+
|
|
37
|
+
_Isolate deep exploration in sub-agents/tasks where available. Return distilled summaries only to prevent context snowballing._
|
|
38
|
+
|
|
39
|
+
a) **Build on Step 1's Quick Scan**
|
|
40
|
+
|
|
41
|
+
Review what was found in Step 1's orient scan. Then ask:
|
|
42
|
+
|
|
43
|
+
"Based on my quick look, I see [files/patterns found]. Are there other files or directories I should investigate deeply?"
|
|
44
|
+
|
|
45
|
+
b) **Read and Analyze Code**
|
|
46
|
+
|
|
47
|
+
For each file/directory provided:
|
|
48
|
+
|
|
49
|
+
- Read the complete file(s)
|
|
50
|
+
- Identify patterns, conventions, coding style
|
|
51
|
+
- Note dependencies and imports
|
|
52
|
+
- Find related test files
|
|
53
|
+
|
|
54
|
+
**If NO relevant code is found (Clean Slate):**
|
|
55
|
+
|
|
56
|
+
- Identify the target directory where the feature should live.
|
|
57
|
+
- Scan parent directories for architectural context.
|
|
58
|
+
- Identify standard project utilities or boilerplate that SHOULD be used.
|
|
59
|
+
- Document this as "Confirmed Clean Slate" - establishing that no legacy constraints exist.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
c) **Document Technical Context**
|
|
63
|
+
|
|
64
|
+
Capture and confirm with user:
|
|
65
|
+
|
|
66
|
+
- **Tech Stack**: Languages, frameworks, libraries
|
|
67
|
+
- **Code Patterns**: Architecture patterns, naming conventions, file structure
|
|
68
|
+
- **Files to Modify/Create**: Specific files that will need changes or new files to be created
|
|
69
|
+
- **Test Patterns**: How tests are structured, test frameworks used
|
|
70
|
+
|
|
71
|
+
d) **Look for project-context.md**
|
|
72
|
+
|
|
73
|
+
If `**/project-context.md` exists and wasn't loaded in Step 1:
|
|
74
|
+
|
|
75
|
+
- Load it now
|
|
76
|
+
- Extract patterns and conventions
|
|
77
|
+
- Note any rules that must be followed
|
|
78
|
+
|
|
79
|
+
### 3. Update WIP File
|
|
80
|
+
|
|
81
|
+
**Update `{wipFile}` frontmatter:**
|
|
82
|
+
|
|
83
|
+
```yaml
|
|
84
|
+
---
|
|
85
|
+
# ... existing frontmatter ...
|
|
86
|
+
stepsCompleted: [1, 2]
|
|
87
|
+
tech_stack: ['{captured_tech_stack}']
|
|
88
|
+
files_to_modify: ['{captured_files}']
|
|
89
|
+
code_patterns: ['{captured_patterns}']
|
|
90
|
+
test_patterns: ['{captured_test_patterns}']
|
|
91
|
+
---
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Update the Context for Development section:**
|
|
95
|
+
|
|
96
|
+
Fill in:
|
|
97
|
+
|
|
98
|
+
- Codebase Patterns (from investigation)
|
|
99
|
+
- Files to Reference table (files reviewed)
|
|
100
|
+
- Technical Decisions (any decisions made during investigation)
|
|
101
|
+
|
|
102
|
+
**Report to user:**
|
|
103
|
+
|
|
104
|
+
"**Context Gathered:**
|
|
105
|
+
|
|
106
|
+
- Tech Stack: {tech_stack_summary}
|
|
107
|
+
- Files to Modify: {files_count} files identified
|
|
108
|
+
- Patterns: {patterns_summary}
|
|
109
|
+
- Tests: {test_patterns_summary}"
|
|
110
|
+
|
|
111
|
+
### 4. Present Checkpoint Menu
|
|
112
|
+
|
|
113
|
+
Display: "**Select:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Generate Spec (Step 3 of 4)"
|
|
114
|
+
|
|
115
|
+
**HALT and wait for user selection.**
|
|
116
|
+
|
|
117
|
+
#### Menu Handling Logic:
|
|
118
|
+
|
|
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`
|
|
122
|
+
- IF Any other comments or queries: respond helpfully then redisplay menu
|
|
123
|
+
|
|
124
|
+
#### EXECUTION RULES:
|
|
125
|
+
|
|
126
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
127
|
+
- ONLY proceed to next step when user selects 'C'
|
|
128
|
+
- After A or P execution, return to this menu
|
|
129
|
+
|
|
130
|
+
---
|
|
131
|
+
|
|
132
|
+
## REQUIRED OUTPUTS:
|
|
133
|
+
|
|
134
|
+
- MUST document technical context (stack, patterns, files identified).
|
|
135
|
+
- MUST update `{wipFile}` with functional context.
|
|
136
|
+
|
|
137
|
+
## VERIFICATION CHECKLIST:
|
|
138
|
+
|
|
139
|
+
- [ ] Technical mapping performed and documented.
|
|
140
|
+
- [ ] `stepsCompleted: [1, 2]` set in frontmatter.
|