frappe-builder 1.1.0-dev.8
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/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 +43 -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 +6 -0
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
---
|
|
2
|
+
# File references (ONLY variables used in this step)
|
|
3
|
+
nextStepFile: './step-v-09-project-type-validation.md'
|
|
4
|
+
prdFile: '{prd_file_path}'
|
|
5
|
+
prdFrontmatter: '{prd_frontmatter}'
|
|
6
|
+
validationReportPath: '{validation_report_path}'
|
|
7
|
+
domainComplexityData: '../data/domain-complexity.csv'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 8: Domain Compliance Validation
|
|
11
|
+
|
|
12
|
+
## STEP GOAL:
|
|
13
|
+
|
|
14
|
+
Validate domain-specific requirements are present for high-complexity domains (Healthcare, Fintech, GovTech, etc.), ensuring regulatory and compliance requirements are properly documented.
|
|
15
|
+
|
|
16
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
17
|
+
|
|
18
|
+
### Universal Rules:
|
|
19
|
+
|
|
20
|
+
- 🛑 NEVER generate content without user input
|
|
21
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
22
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
23
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
24
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
25
|
+
|
|
26
|
+
### Role Reinforcement:
|
|
27
|
+
|
|
28
|
+
- ✅ You are a Validation Architect and Quality Assurance Specialist
|
|
29
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
30
|
+
- ✅ We engage in systematic validation, not collaborative dialogue
|
|
31
|
+
- ✅ You bring domain expertise and compliance knowledge
|
|
32
|
+
- ✅ This step runs autonomously - no user input needed
|
|
33
|
+
|
|
34
|
+
### Step-Specific Rules:
|
|
35
|
+
|
|
36
|
+
- 🎯 Focus ONLY on domain-specific compliance requirements
|
|
37
|
+
- 🚫 FORBIDDEN to validate other aspects in this step
|
|
38
|
+
- 💬 Approach: Conditional validation based on domain classification
|
|
39
|
+
- 🚪 This is a validation sequence step - auto-proceeds when complete
|
|
40
|
+
|
|
41
|
+
## EXECUTION PROTOCOLS:
|
|
42
|
+
|
|
43
|
+
- 🎯 Check classification.domain from PRD frontmatter
|
|
44
|
+
- 💬 If low complexity (general): Skip detailed checks
|
|
45
|
+
- 🎯 If high complexity: Validate required special sections
|
|
46
|
+
- 💾 Append compliance findings to validation report
|
|
47
|
+
- 📖 Display "Proceeding to next check..." and load next step
|
|
48
|
+
- 🚫 FORBIDDEN to pause or request user input
|
|
49
|
+
|
|
50
|
+
## CONTEXT BOUNDARIES:
|
|
51
|
+
|
|
52
|
+
- Available context: PRD file with frontmatter classification, validation report
|
|
53
|
+
- Focus: Domain compliance only (conditional on domain complexity)
|
|
54
|
+
- Limits: Don't validate other aspects, conditional execution
|
|
55
|
+
- Dependencies: Steps 2-7 completed - format and requirements validation done
|
|
56
|
+
|
|
57
|
+
## MANDATORY SEQUENCE
|
|
58
|
+
|
|
59
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
|
|
60
|
+
|
|
61
|
+
### 1. Load Domain Complexity Data
|
|
62
|
+
|
|
63
|
+
Load and read the complete file at:
|
|
64
|
+
`{domainComplexityData}` (../data/domain-complexity.csv)
|
|
65
|
+
|
|
66
|
+
This CSV contains:
|
|
67
|
+
- Domain classifications and complexity levels (high/medium/low)
|
|
68
|
+
- Required special sections for each domain
|
|
69
|
+
- Key concerns and requirements for regulated industries
|
|
70
|
+
|
|
71
|
+
Internalize this data - it drives which domains require special compliance sections.
|
|
72
|
+
|
|
73
|
+
### 2. Extract Domain Classification
|
|
74
|
+
|
|
75
|
+
From PRD frontmatter, extract:
|
|
76
|
+
- `classification.domain` - what domain is this PRD for?
|
|
77
|
+
|
|
78
|
+
**If no domain classification found:**
|
|
79
|
+
Treat as "general" (low complexity) and proceed to step 4
|
|
80
|
+
|
|
81
|
+
### 2. Determine Domain Complexity
|
|
82
|
+
|
|
83
|
+
**Low complexity domains (skip detailed checks):**
|
|
84
|
+
- General
|
|
85
|
+
- Consumer apps (standard e-commerce, social, productivity)
|
|
86
|
+
- Content websites
|
|
87
|
+
- Business tools (standard)
|
|
88
|
+
|
|
89
|
+
**High complexity domains (require special sections):**
|
|
90
|
+
- Healthcare / Healthtech
|
|
91
|
+
- Fintech / Financial services
|
|
92
|
+
- GovTech / Public sector
|
|
93
|
+
- EdTech (educational records, accredited courses)
|
|
94
|
+
- Legal tech
|
|
95
|
+
- Other regulated domains
|
|
96
|
+
|
|
97
|
+
### 3. For High-Complexity Domains: Validate Required Special Sections
|
|
98
|
+
|
|
99
|
+
**Attempt subprocess validation:**
|
|
100
|
+
|
|
101
|
+
"Perform domain compliance validation for {domain}:
|
|
102
|
+
|
|
103
|
+
Based on {domain} requirements, check PRD for:
|
|
104
|
+
|
|
105
|
+
**Healthcare:**
|
|
106
|
+
- Clinical Requirements section
|
|
107
|
+
- Regulatory Pathway (FDA, HIPAA, etc.)
|
|
108
|
+
- Safety Measures
|
|
109
|
+
- HIPAA Compliance (data privacy, security)
|
|
110
|
+
- Patient safety considerations
|
|
111
|
+
|
|
112
|
+
**Fintech:**
|
|
113
|
+
- Compliance Matrix (SOC2, PCI-DSS, GDPR, etc.)
|
|
114
|
+
- Security Architecture
|
|
115
|
+
- Audit Requirements
|
|
116
|
+
- Fraud Prevention measures
|
|
117
|
+
- Financial transaction handling
|
|
118
|
+
|
|
119
|
+
**GovTech:**
|
|
120
|
+
- Accessibility Standards (WCAG 2.1 AA, Section 508)
|
|
121
|
+
- Procurement Compliance
|
|
122
|
+
- Security Clearance requirements
|
|
123
|
+
- Data residency requirements
|
|
124
|
+
|
|
125
|
+
**Other regulated domains:**
|
|
126
|
+
- Check for domain-specific regulatory sections
|
|
127
|
+
- Compliance requirements
|
|
128
|
+
- Special considerations
|
|
129
|
+
|
|
130
|
+
For each required section:
|
|
131
|
+
- Is it present in PRD?
|
|
132
|
+
- Is it adequately documented?
|
|
133
|
+
- Note any gaps
|
|
134
|
+
|
|
135
|
+
Return compliance matrix with presence/adequacy assessment."
|
|
136
|
+
|
|
137
|
+
**Graceful degradation (if no Task tool):**
|
|
138
|
+
- Manually check for required sections based on domain
|
|
139
|
+
- List present sections and missing sections
|
|
140
|
+
- Assess adequacy of documentation
|
|
141
|
+
|
|
142
|
+
### 5. For Low-Complexity Domains: Skip Detailed Checks
|
|
143
|
+
|
|
144
|
+
Append to validation report:
|
|
145
|
+
```markdown
|
|
146
|
+
## Domain Compliance Validation
|
|
147
|
+
|
|
148
|
+
**Domain:** {domain}
|
|
149
|
+
**Complexity:** Low (general/standard)
|
|
150
|
+
**Assessment:** N/A - No special domain compliance requirements
|
|
151
|
+
|
|
152
|
+
**Note:** This PRD is for a standard domain without regulatory compliance requirements.
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
Display: "**Domain Compliance Validation Skipped**
|
|
156
|
+
|
|
157
|
+
Domain: {domain} (low complexity)
|
|
158
|
+
|
|
159
|
+
**Proceeding to next validation check...**"
|
|
160
|
+
|
|
161
|
+
Without delay, read fully and follow: {nextStepFile}
|
|
162
|
+
|
|
163
|
+
### 6. Report Compliance Findings (High-Complexity Domains)
|
|
164
|
+
|
|
165
|
+
Append to validation report:
|
|
166
|
+
|
|
167
|
+
```markdown
|
|
168
|
+
## Domain Compliance Validation
|
|
169
|
+
|
|
170
|
+
**Domain:** {domain}
|
|
171
|
+
**Complexity:** High (regulated)
|
|
172
|
+
|
|
173
|
+
### Required Special Sections
|
|
174
|
+
|
|
175
|
+
**{Section 1 Name}:** [Present/Missing/Adequate]
|
|
176
|
+
{If missing or inadequate: Note specific gaps}
|
|
177
|
+
|
|
178
|
+
**{Section 2 Name}:** [Present/Missing/Adequate]
|
|
179
|
+
{If missing or inadequate: Note specific gaps}
|
|
180
|
+
|
|
181
|
+
[Continue for all required sections]
|
|
182
|
+
|
|
183
|
+
### Compliance Matrix
|
|
184
|
+
|
|
185
|
+
| Requirement | Status | Notes |
|
|
186
|
+
|-------------|--------|-------|
|
|
187
|
+
| {Requirement 1} | [Met/Partial/Missing] | {Notes} |
|
|
188
|
+
| {Requirement 2} | [Met/Partial/Missing] | {Notes} |
|
|
189
|
+
[... continue for all requirements]
|
|
190
|
+
|
|
191
|
+
### Summary
|
|
192
|
+
|
|
193
|
+
**Required Sections Present:** {count}/{total}
|
|
194
|
+
**Compliance Gaps:** {count}
|
|
195
|
+
|
|
196
|
+
**Severity:** [Critical if missing regulatory sections, Warning if incomplete, Pass if complete]
|
|
197
|
+
|
|
198
|
+
**Recommendation:**
|
|
199
|
+
[If Critical] "PRD is missing required domain-specific compliance sections. These are essential for {domain} products."
|
|
200
|
+
[If Warning] "Some domain compliance sections are incomplete. Strengthen documentation for full compliance."
|
|
201
|
+
[If Pass] "All required domain compliance sections are present and adequately documented."
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### 7. Display Progress and Auto-Proceed
|
|
205
|
+
|
|
206
|
+
Display: "**Domain Compliance Validation Complete**
|
|
207
|
+
|
|
208
|
+
Domain: {domain} ({complexity})
|
|
209
|
+
Compliance Status: {status}
|
|
210
|
+
|
|
211
|
+
**Proceeding to next validation check...**"
|
|
212
|
+
|
|
213
|
+
Without delay, read fully and follow: {nextStepFile} (step-v-09-project-type-validation.md)
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
218
|
+
|
|
219
|
+
### ✅ SUCCESS:
|
|
220
|
+
|
|
221
|
+
- Domain classification extracted correctly
|
|
222
|
+
- Complexity assessed appropriately
|
|
223
|
+
- Low complexity domains: Skipped with clear "N/A" documentation
|
|
224
|
+
- High complexity domains: All required sections checked
|
|
225
|
+
- Compliance matrix built with status for each requirement
|
|
226
|
+
- Severity assessed correctly
|
|
227
|
+
- Findings reported to validation report
|
|
228
|
+
- Auto-proceeds to next validation step
|
|
229
|
+
- Subprocess attempted with graceful degradation
|
|
230
|
+
|
|
231
|
+
### ❌ SYSTEM FAILURE:
|
|
232
|
+
|
|
233
|
+
- Not checking domain classification before proceeding
|
|
234
|
+
- Performing detailed checks on low complexity domains
|
|
235
|
+
- For high complexity: missing required section checks
|
|
236
|
+
- Not building compliance matrix
|
|
237
|
+
- Not reporting findings to validation report
|
|
238
|
+
- Not auto-proceeding
|
|
239
|
+
|
|
240
|
+
**Master Rule:** Domain compliance is conditional. High-complexity domains require special sections - low complexity domains skip these checks.
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
---
|
|
2
|
+
# File references (ONLY variables used in this step)
|
|
3
|
+
nextStepFile: './step-v-10-smart-validation.md'
|
|
4
|
+
prdFile: '{prd_file_path}'
|
|
5
|
+
prdFrontmatter: '{prd_frontmatter}'
|
|
6
|
+
validationReportPath: '{validation_report_path}'
|
|
7
|
+
projectTypesData: '../data/project-types.csv'
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Step 9: Project-Type Compliance Validation
|
|
11
|
+
|
|
12
|
+
## STEP GOAL:
|
|
13
|
+
|
|
14
|
+
Validate project-type specific requirements are properly documented - different project types (api_backend, web_app, mobile_app, etc.) have different required and excluded sections.
|
|
15
|
+
|
|
16
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
17
|
+
|
|
18
|
+
### Universal Rules:
|
|
19
|
+
|
|
20
|
+
- 🛑 NEVER generate content without user input
|
|
21
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
22
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
23
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
24
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
25
|
+
|
|
26
|
+
### Role Reinforcement:
|
|
27
|
+
|
|
28
|
+
- ✅ You are a Validation Architect and Quality Assurance Specialist
|
|
29
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
30
|
+
- ✅ We engage in systematic validation, not collaborative dialogue
|
|
31
|
+
- ✅ You bring project type expertise and architectural knowledge
|
|
32
|
+
- ✅ This step runs autonomously - no user input needed
|
|
33
|
+
|
|
34
|
+
### Step-Specific Rules:
|
|
35
|
+
|
|
36
|
+
- 🎯 Focus ONLY on project-type compliance
|
|
37
|
+
- 🚫 FORBIDDEN to validate other aspects in this step
|
|
38
|
+
- 💬 Approach: Validate required sections present, excluded sections absent
|
|
39
|
+
- 🚪 This is a validation sequence step - auto-proceeds when complete
|
|
40
|
+
|
|
41
|
+
## EXECUTION PROTOCOLS:
|
|
42
|
+
|
|
43
|
+
- 🎯 Check classification.projectType from PRD frontmatter
|
|
44
|
+
- 🎯 Validate required sections for that project type are present
|
|
45
|
+
- 🎯 Validate excluded sections for that project type are absent
|
|
46
|
+
- 💾 Append compliance findings to validation report
|
|
47
|
+
- 📖 Display "Proceeding to next check..." and load next step
|
|
48
|
+
- 🚫 FORBIDDEN to pause or request user input
|
|
49
|
+
|
|
50
|
+
## CONTEXT BOUNDARIES:
|
|
51
|
+
|
|
52
|
+
- Available context: PRD file with frontmatter classification, validation report
|
|
53
|
+
- Focus: Project-type compliance only
|
|
54
|
+
- Limits: Don't validate other aspects, don't pause for user input
|
|
55
|
+
- Dependencies: Steps 2-8 completed - domain and requirements validation done
|
|
56
|
+
|
|
57
|
+
## MANDATORY SEQUENCE
|
|
58
|
+
|
|
59
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
|
|
60
|
+
|
|
61
|
+
### 1. Load Project Types Data
|
|
62
|
+
|
|
63
|
+
Load and read the complete file at:
|
|
64
|
+
`{projectTypesData}` (../data/project-types.csv)
|
|
65
|
+
|
|
66
|
+
This CSV contains:
|
|
67
|
+
- Detection signals for each project type
|
|
68
|
+
- Required sections for each project type
|
|
69
|
+
- Skip/excluded sections for each project type
|
|
70
|
+
- Innovation signals
|
|
71
|
+
|
|
72
|
+
Internalize this data - it drives what sections must be present or absent for each project type.
|
|
73
|
+
|
|
74
|
+
### 2. Extract Project Type Classification
|
|
75
|
+
|
|
76
|
+
From PRD frontmatter, extract:
|
|
77
|
+
- `classification.projectType` - what type of project is this?
|
|
78
|
+
|
|
79
|
+
**Common project types:**
|
|
80
|
+
- api_backend
|
|
81
|
+
- web_app
|
|
82
|
+
- mobile_app
|
|
83
|
+
- desktop_app
|
|
84
|
+
- data_pipeline
|
|
85
|
+
- ml_system
|
|
86
|
+
- library_sdk
|
|
87
|
+
- infrastructure
|
|
88
|
+
- other
|
|
89
|
+
|
|
90
|
+
**If no projectType classification found:**
|
|
91
|
+
Assume "web_app" (most common) and note in findings
|
|
92
|
+
|
|
93
|
+
### 3. Determine Required and Excluded Sections from CSV Data
|
|
94
|
+
|
|
95
|
+
**From loaded project-types.csv data, for this project type:**
|
|
96
|
+
|
|
97
|
+
**Required sections:** (from required_sections column)
|
|
98
|
+
These MUST be present in the PRD
|
|
99
|
+
|
|
100
|
+
**Skip sections:** (from skip_sections column)
|
|
101
|
+
These MUST NOT be present in the PRD
|
|
102
|
+
|
|
103
|
+
**Example mappings from CSV:**
|
|
104
|
+
- api_backend: Required=[endpoint_specs, auth_model, data_schemas], Skip=[ux_ui, visual_design]
|
|
105
|
+
- mobile_app: Required=[platform_reqs, device_permissions, offline_mode], Skip=[desktop_features, cli_commands]
|
|
106
|
+
- cli_tool: Required=[command_structure, output_formats, config_schema], Skip=[visual_design, ux_principles, touch_interactions]
|
|
107
|
+
- etc.
|
|
108
|
+
|
|
109
|
+
### 4. Validate Against CSV-Based Requirements
|
|
110
|
+
|
|
111
|
+
**Based on project type, determine:**
|
|
112
|
+
|
|
113
|
+
**api_backend:**
|
|
114
|
+
- Required: Endpoint Specs, Auth Model, Data Schemas, API Versioning
|
|
115
|
+
- Excluded: UX/UI sections, mobile-specific sections
|
|
116
|
+
|
|
117
|
+
**web_app:**
|
|
118
|
+
- Required: User Journeys, UX/UI Requirements, Responsive Design
|
|
119
|
+
- Excluded: None typically
|
|
120
|
+
|
|
121
|
+
**mobile_app:**
|
|
122
|
+
- Required: Mobile UX, Platform specifics (iOS/Android), Offline mode
|
|
123
|
+
- Excluded: Desktop-specific sections
|
|
124
|
+
|
|
125
|
+
**desktop_app:**
|
|
126
|
+
- Required: Desktop UX, Platform specifics (Windows/Mac/Linux)
|
|
127
|
+
- Excluded: Mobile-specific sections
|
|
128
|
+
|
|
129
|
+
**data_pipeline:**
|
|
130
|
+
- Required: Data Sources, Data Transformation, Data Sinks, Error Handling
|
|
131
|
+
- Excluded: UX/UI sections
|
|
132
|
+
|
|
133
|
+
**ml_system:**
|
|
134
|
+
- Required: Model Requirements, Training Data, Inference Requirements, Model Performance
|
|
135
|
+
- Excluded: UX/UI sections (unless ML UI)
|
|
136
|
+
|
|
137
|
+
**library_sdk:**
|
|
138
|
+
- Required: API Surface, Usage Examples, Integration Guide
|
|
139
|
+
- Excluded: UX/UI sections, deployment sections
|
|
140
|
+
|
|
141
|
+
**infrastructure:**
|
|
142
|
+
- Required: Infrastructure Components, Deployment, Monitoring, Scaling
|
|
143
|
+
- Excluded: Feature requirements (this is infrastructure, not product)
|
|
144
|
+
|
|
145
|
+
### 4. Attempt Sub-Process Validation
|
|
146
|
+
|
|
147
|
+
"Perform project-type compliance validation for {projectType}:
|
|
148
|
+
|
|
149
|
+
**Check that required sections are present:**
|
|
150
|
+
{List required sections for this project type}
|
|
151
|
+
For each: Is it present in PRD? Is it adequately documented?
|
|
152
|
+
|
|
153
|
+
**Check that excluded sections are absent:**
|
|
154
|
+
{List excluded sections for this project type}
|
|
155
|
+
For each: Is it absent from PRD? (Should not be present)
|
|
156
|
+
|
|
157
|
+
Build compliance table showing:
|
|
158
|
+
- Required sections: [Present/Missing/Incomplete]
|
|
159
|
+
- Excluded sections: [Absent/Present] (Present = violation)
|
|
160
|
+
|
|
161
|
+
Return compliance table with findings."
|
|
162
|
+
|
|
163
|
+
**Graceful degradation (if no Task tool):**
|
|
164
|
+
- Manually check PRD for required sections
|
|
165
|
+
- Manually check PRD for excluded sections
|
|
166
|
+
- Build compliance table
|
|
167
|
+
|
|
168
|
+
### 5. Build Compliance Table
|
|
169
|
+
|
|
170
|
+
**Required sections check:**
|
|
171
|
+
- For each required section: Present / Missing / Incomplete
|
|
172
|
+
- Count: Required sections present vs total required
|
|
173
|
+
|
|
174
|
+
**Excluded sections check:**
|
|
175
|
+
- For each excluded section: Absent / Present (violation)
|
|
176
|
+
- Count: Excluded sections present (violations)
|
|
177
|
+
|
|
178
|
+
**Total compliance score:**
|
|
179
|
+
- Required: {present}/{total}
|
|
180
|
+
- Excluded violations: {count}
|
|
181
|
+
|
|
182
|
+
### 6. Report Project-Type Compliance Findings to Validation Report
|
|
183
|
+
|
|
184
|
+
Append to validation report:
|
|
185
|
+
|
|
186
|
+
```markdown
|
|
187
|
+
## Project-Type Compliance Validation
|
|
188
|
+
|
|
189
|
+
**Project Type:** {projectType}
|
|
190
|
+
|
|
191
|
+
### Required Sections
|
|
192
|
+
|
|
193
|
+
**{Section 1}:** [Present/Missing/Incomplete]
|
|
194
|
+
{If missing or incomplete: Note specific gaps}
|
|
195
|
+
|
|
196
|
+
**{Section 2}:** [Present/Missing/Incomplete]
|
|
197
|
+
{If missing or incomplete: Note specific gaps}
|
|
198
|
+
|
|
199
|
+
[Continue for all required sections]
|
|
200
|
+
|
|
201
|
+
### Excluded Sections (Should Not Be Present)
|
|
202
|
+
|
|
203
|
+
**{Section 1}:** [Absent/Present] ✓
|
|
204
|
+
{If present: This section should not be present for {projectType}}
|
|
205
|
+
|
|
206
|
+
**{Section 2}:** [Absent/Present] ✓
|
|
207
|
+
{If present: This section should not be present for {projectType}}
|
|
208
|
+
|
|
209
|
+
[Continue for all excluded sections]
|
|
210
|
+
|
|
211
|
+
### Compliance Summary
|
|
212
|
+
|
|
213
|
+
**Required Sections:** {present}/{total} present
|
|
214
|
+
**Excluded Sections Present:** {violations} (should be 0)
|
|
215
|
+
**Compliance Score:** {percentage}%
|
|
216
|
+
|
|
217
|
+
**Severity:** [Critical if required sections missing, Warning if incomplete, Pass if complete]
|
|
218
|
+
|
|
219
|
+
**Recommendation:**
|
|
220
|
+
[If Critical] "PRD is missing required sections for {projectType}. Add missing sections to properly specify this type of project."
|
|
221
|
+
[If Warning] "Some required sections for {projectType} are incomplete. Strengthen documentation."
|
|
222
|
+
[If Pass] "All required sections for {projectType} are present. No excluded sections found."
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
### 7. Display Progress and Auto-Proceed
|
|
226
|
+
|
|
227
|
+
Display: "**Project-Type Compliance Validation Complete**
|
|
228
|
+
|
|
229
|
+
Project Type: {projectType}
|
|
230
|
+
Compliance: {score}%
|
|
231
|
+
|
|
232
|
+
**Proceeding to next validation check...**"
|
|
233
|
+
|
|
234
|
+
Without delay, read fully and follow: {nextStepFile} (step-v-10-smart-validation.md)
|
|
235
|
+
|
|
236
|
+
---
|
|
237
|
+
|
|
238
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
239
|
+
|
|
240
|
+
### ✅ SUCCESS:
|
|
241
|
+
|
|
242
|
+
- Project type extracted correctly (or default assumed)
|
|
243
|
+
- Required sections validated for presence and completeness
|
|
244
|
+
- Excluded sections validated for absence
|
|
245
|
+
- Compliance table built with status for all sections
|
|
246
|
+
- Severity assessed correctly
|
|
247
|
+
- Findings reported to validation report
|
|
248
|
+
- Auto-proceeds to next validation step
|
|
249
|
+
- Subprocess attempted with graceful degradation
|
|
250
|
+
|
|
251
|
+
### ❌ SYSTEM FAILURE:
|
|
252
|
+
|
|
253
|
+
- Not checking project type before proceeding
|
|
254
|
+
- Missing required section checks
|
|
255
|
+
- Missing excluded section checks
|
|
256
|
+
- Not building compliance table
|
|
257
|
+
- Not reporting findings to validation report
|
|
258
|
+
- Not auto-proceeding
|
|
259
|
+
|
|
260
|
+
**Master Rule:** Different project types have different requirements. API PRDs don't need UX sections - validate accordingly.
|
package/_bmad/bmm/workflows/2-plan-workflows/bmad-validate-prd/steps-v/step-v-10-smart-validation.md
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
---
|
|
2
|
+
# File references (ONLY variables used in this step)
|
|
3
|
+
nextStepFile: './step-v-11-holistic-quality-validation.md'
|
|
4
|
+
prdFile: '{prd_file_path}'
|
|
5
|
+
validationReportPath: '{validation_report_path}'
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Step 10: SMART Requirements Validation
|
|
9
|
+
|
|
10
|
+
## STEP GOAL:
|
|
11
|
+
|
|
12
|
+
Validate Functional Requirements meet SMART quality criteria (Specific, Measurable, Attainable, Relevant, Traceable), ensuring high-quality requirements.
|
|
13
|
+
|
|
14
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
15
|
+
|
|
16
|
+
### Universal Rules:
|
|
17
|
+
|
|
18
|
+
- 🛑 NEVER generate content without user input
|
|
19
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
20
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
21
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
22
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
23
|
+
- ✅ YOU MUST ALWAYS WRITE all artifact and document content in `{document_output_language}`
|
|
24
|
+
|
|
25
|
+
### Role Reinforcement:
|
|
26
|
+
|
|
27
|
+
- ✅ You are a Validation Architect and Quality Assurance Specialist
|
|
28
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
29
|
+
- ✅ We engage in systematic validation, not collaborative dialogue
|
|
30
|
+
- ✅ You bring requirements engineering expertise and quality assessment
|
|
31
|
+
- ✅ This step runs autonomously - no user input needed
|
|
32
|
+
|
|
33
|
+
### Step-Specific Rules:
|
|
34
|
+
|
|
35
|
+
- 🎯 Focus ONLY on FR quality assessment using SMART framework
|
|
36
|
+
- 🚫 FORBIDDEN to validate other aspects in this step
|
|
37
|
+
- 💬 Approach: Score each FR on SMART criteria (1-5 scale)
|
|
38
|
+
- 🚪 This is a validation sequence step - auto-proceeds when complete
|
|
39
|
+
|
|
40
|
+
## EXECUTION PROTOCOLS:
|
|
41
|
+
|
|
42
|
+
- 🎯 Extract all FRs from PRD
|
|
43
|
+
- 🎯 Score each FR on SMART criteria (Specific, Measurable, Attainable, Relevant, Traceable)
|
|
44
|
+
- 💾 Flag FRs with score < 3 in any category
|
|
45
|
+
- 📖 Append scoring table and suggestions to validation report
|
|
46
|
+
- 📖 Display "Proceeding to next check..." and load next step
|
|
47
|
+
- 🚫 FORBIDDEN to pause or request user input
|
|
48
|
+
|
|
49
|
+
## CONTEXT BOUNDARIES:
|
|
50
|
+
|
|
51
|
+
- Available context: PRD file, validation report
|
|
52
|
+
- Focus: FR quality assessment only using SMART framework
|
|
53
|
+
- Limits: Don't validate NFRs or other aspects, don't pause for user input
|
|
54
|
+
- Dependencies: Steps 2-9 completed - comprehensive validation checks done
|
|
55
|
+
|
|
56
|
+
## MANDATORY SEQUENCE
|
|
57
|
+
|
|
58
|
+
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
|
|
59
|
+
|
|
60
|
+
### 1. Extract All Functional Requirements
|
|
61
|
+
|
|
62
|
+
From the PRD's Functional Requirements section, extract:
|
|
63
|
+
- All FRs with their FR numbers (FR-001, FR-002, etc.)
|
|
64
|
+
- Count total FRs
|
|
65
|
+
|
|
66
|
+
### 2. Attempt Sub-Process Validation
|
|
67
|
+
|
|
68
|
+
**Try to use Task tool to spawn a subprocess:**
|
|
69
|
+
|
|
70
|
+
"Perform SMART requirements validation on these Functional Requirements:
|
|
71
|
+
|
|
72
|
+
{List all FRs}
|
|
73
|
+
|
|
74
|
+
**For each FR, score on SMART criteria (1-5 scale):**
|
|
75
|
+
|
|
76
|
+
**Specific (1-5):**
|
|
77
|
+
- 5: Clear, unambiguous, well-defined
|
|
78
|
+
- 3: Somewhat clear but could be more specific
|
|
79
|
+
- 1: Vague, ambiguous, unclear
|
|
80
|
+
|
|
81
|
+
**Measurable (1-5):**
|
|
82
|
+
- 5: Quantifiable metrics, testable
|
|
83
|
+
- 3: Partially measurable
|
|
84
|
+
- 1: Not measurable, subjective
|
|
85
|
+
|
|
86
|
+
**Attainable (1-5):**
|
|
87
|
+
- 5: Realistic, achievable with constraints
|
|
88
|
+
- 3: Probably achievable but uncertain
|
|
89
|
+
- 1: Unrealistic, technically infeasible
|
|
90
|
+
|
|
91
|
+
**Relevant (1-5):**
|
|
92
|
+
- 5: Clearly aligned with user needs and business objectives
|
|
93
|
+
- 3: Somewhat relevant but connection unclear
|
|
94
|
+
- 1: Not relevant, doesn't align with goals
|
|
95
|
+
|
|
96
|
+
**Traceable (1-5):**
|
|
97
|
+
- 5: Clearly traces to user journey or business objective
|
|
98
|
+
- 3: Partially traceable
|
|
99
|
+
- 1: Orphan requirement, no clear source
|
|
100
|
+
|
|
101
|
+
**For each FR with score < 3 in any category:**
|
|
102
|
+
- Provide specific improvement suggestions
|
|
103
|
+
|
|
104
|
+
Return scoring table with all FR scores and improvement suggestions for low-scoring FRs."
|
|
105
|
+
|
|
106
|
+
**Graceful degradation (if no Task tool):**
|
|
107
|
+
- Manually score each FR on SMART criteria
|
|
108
|
+
- Note FRs with low scores
|
|
109
|
+
- Provide improvement suggestions
|
|
110
|
+
|
|
111
|
+
### 3. Build Scoring Table
|
|
112
|
+
|
|
113
|
+
For each FR:
|
|
114
|
+
- FR number
|
|
115
|
+
- Specific score (1-5)
|
|
116
|
+
- Measurable score (1-5)
|
|
117
|
+
- Attainable score (1-5)
|
|
118
|
+
- Relevant score (1-5)
|
|
119
|
+
- Traceable score (1-5)
|
|
120
|
+
- Average score
|
|
121
|
+
- Flag if any category < 3
|
|
122
|
+
|
|
123
|
+
**Calculate overall FR quality:**
|
|
124
|
+
- Percentage of FRs with all scores ≥ 3
|
|
125
|
+
- Percentage of FRs with all scores ≥ 4
|
|
126
|
+
- Average score across all FRs and categories
|
|
127
|
+
|
|
128
|
+
### 4. Report SMART Findings to Validation Report
|
|
129
|
+
|
|
130
|
+
Append to validation report:
|
|
131
|
+
|
|
132
|
+
```markdown
|
|
133
|
+
## SMART Requirements Validation
|
|
134
|
+
|
|
135
|
+
**Total Functional Requirements:** {count}
|
|
136
|
+
|
|
137
|
+
### Scoring Summary
|
|
138
|
+
|
|
139
|
+
**All scores ≥ 3:** {percentage}% ({count}/{total})
|
|
140
|
+
**All scores ≥ 4:** {percentage}% ({count}/{total})
|
|
141
|
+
**Overall Average Score:** {average}/5.0
|
|
142
|
+
|
|
143
|
+
### Scoring Table
|
|
144
|
+
|
|
145
|
+
| FR # | Specific | Measurable | Attainable | Relevant | Traceable | Average | Flag |
|
|
146
|
+
|------|----------|------------|------------|----------|-----------|--------|------|
|
|
147
|
+
| FR-001 | {s1} | {m1} | {a1} | {r1} | {t1} | {avg1} | {X if any <3} |
|
|
148
|
+
| FR-002 | {s2} | {m2} | {a2} | {r2} | {t2} | {avg2} | {X if any <3} |
|
|
149
|
+
[Continue for all FRs]
|
|
150
|
+
|
|
151
|
+
**Legend:** 1=Poor, 3=Acceptable, 5=Excellent
|
|
152
|
+
**Flag:** X = Score < 3 in one or more categories
|
|
153
|
+
|
|
154
|
+
### Improvement Suggestions
|
|
155
|
+
|
|
156
|
+
**Low-Scoring FRs:**
|
|
157
|
+
|
|
158
|
+
**FR-{number}:** {specific suggestion for improvement}
|
|
159
|
+
[For each FR with score < 3 in any category]
|
|
160
|
+
|
|
161
|
+
### Overall Assessment
|
|
162
|
+
|
|
163
|
+
**Severity:** [Critical if >30% flagged FRs, Warning if 10-30%, Pass if <10%]
|
|
164
|
+
|
|
165
|
+
**Recommendation:**
|
|
166
|
+
[If Critical] "Many FRs have quality issues. Revise flagged FRs using SMART framework to improve clarity and testability."
|
|
167
|
+
[If Warning] "Some FRs would benefit from SMART refinement. Focus on flagged requirements above."
|
|
168
|
+
[If Pass] "Functional Requirements demonstrate good SMART quality overall."
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### 5. Display Progress and Auto-Proceed
|
|
172
|
+
|
|
173
|
+
Display: "**SMART Requirements Validation Complete**
|
|
174
|
+
|
|
175
|
+
FR Quality: {percentage}% with acceptable scores ({severity})
|
|
176
|
+
|
|
177
|
+
**Proceeding to next validation check...**"
|
|
178
|
+
|
|
179
|
+
Without delay, read fully and follow: {nextStepFile} (step-v-11-holistic-quality-validation.md)
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
184
|
+
|
|
185
|
+
### ✅ SUCCESS:
|
|
186
|
+
|
|
187
|
+
- All FRs extracted from PRD
|
|
188
|
+
- Each FR scored on all 5 SMART criteria (1-5 scale)
|
|
189
|
+
- FRs with scores < 3 flagged for improvement
|
|
190
|
+
- Improvement suggestions provided for low-scoring FRs
|
|
191
|
+
- Scoring table built with all FR scores
|
|
192
|
+
- Overall quality assessment calculated
|
|
193
|
+
- Findings reported to validation report
|
|
194
|
+
- Auto-proceeds to next validation step
|
|
195
|
+
- Subprocess attempted with graceful degradation
|
|
196
|
+
|
|
197
|
+
### ❌ SYSTEM FAILURE:
|
|
198
|
+
|
|
199
|
+
- Not scoring all FRs on all SMART criteria
|
|
200
|
+
- Missing improvement suggestions for low-scoring FRs
|
|
201
|
+
- Not building scoring table
|
|
202
|
+
- Not calculating overall quality metrics
|
|
203
|
+
- Not reporting findings to validation report
|
|
204
|
+
- Not auto-proceeding
|
|
205
|
+
|
|
206
|
+
**Master Rule:** FRs should be high-quality, not just present. SMART framework provides objective quality measure.
|