bmad-method 6.2.3-next.3 → 6.2.3-next.31
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/.claude-plugin/marketplace.json +0 -4
- package/README.md +8 -9
- package/README_CN.md +1 -1
- package/README_VN.md +110 -0
- package/package.json +2 -1
- package/removals.txt +17 -0
- package/src/bmm-skills/1-analysis/bmad-agent-analyst/SKILL.md +7 -4
- package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +6 -4
- package/src/bmm-skills/1-analysis/bmad-document-project/workflow.md +8 -10
- package/src/bmm-skills/1-analysis/bmad-prfaq/SKILL.md +96 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/agents/artifact-analyzer.md +60 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/agents/web-researcher.md +49 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/assets/prfaq-template.md +62 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/bmad-manifest.json +16 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/references/customer-faq.md +55 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/references/internal-faq.md +51 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/references/press-release.md +60 -0
- package/src/bmm-skills/1-analysis/bmad-prfaq/references/verdict.md +79 -0
- package/src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md +1 -6
- package/src/bmm-skills/1-analysis/bmad-product-brief/bmad-manifest.json +1 -1
- package/src/bmm-skills/1-analysis/research/bmad-domain-research/workflow.md +8 -6
- package/src/bmm-skills/1-analysis/research/bmad-market-research/workflow.md +8 -6
- package/src/bmm-skills/1-analysis/research/bmad-technical-research/workflow.md +8 -6
- package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/SKILL.md +6 -4
- package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/SKILL.md +6 -4
- package/src/bmm-skills/2-plan-workflows/bmad-create-prd/workflow.md +8 -9
- package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/steps/step-13-responsive-accessibility.md +1 -1
- package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/workflow.md +8 -9
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01-discovery.md +1 -1
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +1 -1
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +1 -1
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +1 -1
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +1 -3
- package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/workflow.md +8 -9
- package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/workflow.md +8 -9
- package/src/bmm-skills/3-solutioning/bmad-agent-architect/SKILL.md +6 -4
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-01-document-discovery.md +1 -1
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-02-prd-analysis.md +1 -1
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/steps/step-03-epic-coverage-validation.md +1 -1
- package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/workflow.md +9 -11
- package/src/bmm-skills/3-solutioning/bmad-create-architecture/workflow.md +8 -14
- package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/workflow.md +10 -12
- package/src/bmm-skills/3-solutioning/bmad-generate-project-context/workflow.md +8 -12
- package/src/bmm-skills/4-implementation/bmad-agent-dev/SKILL.md +11 -4
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/SKILL.md +29 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/generate-trail.md +38 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-01-orientation.md +105 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-02-walkthrough.md +89 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-03-detail-pass.md +106 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-04-testing.md +74 -0
- package/src/bmm-skills/4-implementation/bmad-checkpoint-preview/step-05-wrapup.md +24 -0
- package/src/bmm-skills/4-implementation/bmad-code-review/steps/step-01-gather-context.md +38 -15
- package/src/bmm-skills/4-implementation/bmad-correct-course/checklist.md +2 -2
- package/src/bmm-skills/4-implementation/bmad-correct-course/workflow.md +8 -8
- package/src/bmm-skills/4-implementation/bmad-qa-generate-e2e-tests/checklist.md +1 -1
- package/src/bmm-skills/4-implementation/bmad-quick-dev/compile-epic-context.md +62 -0
- package/src/bmm-skills/4-implementation/bmad-quick-dev/spec-template.md +1 -1
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-01-clarify-and-route.md +33 -6
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-02-plan.md +20 -8
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-03-implement.md +2 -0
- package/src/bmm-skills/4-implementation/bmad-quick-dev/step-oneshot.md +16 -4
- package/src/bmm-skills/4-implementation/bmad-quick-dev/workflow.md +1 -5
- package/src/bmm-skills/4-implementation/bmad-retrospective/workflow.md +134 -134
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/sprint-status-template.yaml +1 -1
- package/src/bmm-skills/4-implementation/bmad-sprint-planning/workflow.md +3 -3
- package/src/bmm-skills/4-implementation/bmad-sprint-status/workflow.md +2 -2
- package/src/bmm-skills/module-help.csv +4 -1
- package/src/core-skills/bmad-advanced-elicitation/SKILL.md +1 -2
- package/src/core-skills/bmad-distillator/SKILL.md +0 -1
- package/src/core-skills/bmad-distillator/resources/distillate-format-reference.md +9 -9
- package/src/core-skills/bmad-help/SKILL.md +4 -2
- package/src/core-skills/bmad-party-mode/SKILL.md +121 -2
- package/src/core-skills/module-help.csv +1 -0
- package/tools/installer/cli-utils.js +18 -9
- package/tools/installer/commands/install.js +0 -1
- package/tools/installer/core/existing-install.js +2 -8
- package/tools/installer/core/install-paths.js +0 -3
- package/tools/installer/core/installer.js +176 -464
- package/tools/installer/core/manifest-generator.js +4 -12
- package/tools/installer/core/manifest.js +82 -97
- package/tools/installer/ide/_config-driven.js +149 -38
- package/tools/installer/ide/platform-codes.yaml +6 -4
- package/tools/installer/ide/shared/skill-manifest.js +1 -16
- package/tools/installer/install-messages.yaml +19 -26
- package/tools/installer/modules/community-manager.js +377 -0
- package/tools/installer/modules/custom-module-manager.js +308 -0
- package/tools/installer/modules/external-manager.js +65 -49
- package/tools/installer/modules/official-modules.js +37 -65
- package/tools/installer/modules/registry-client.js +66 -0
- package/tools/installer/{external-official-modules.yaml → modules/registry-fallback.yaml} +3 -12
- package/tools/installer/ui.js +340 -672
- package/tools/platform-codes.yaml +6 -0
- package/src/bmm-skills/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
- package/src/bmm-skills/2-plan-workflows/create-prd/data/project-types.csv +0 -11
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -224
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
- package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -232
- package/src/bmm-skills/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -65
- package/src/bmm-skills/4-implementation/bmad-agent-qa/SKILL.md +0 -59
- package/src/bmm-skills/4-implementation/bmad-agent-qa/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/4-implementation/bmad-agent-quick-flow-solo-dev/SKILL.md +0 -51
- package/src/bmm-skills/4-implementation/bmad-agent-quick-flow-solo-dev/bmad-skill-manifest.yaml +0 -11
- package/src/bmm-skills/4-implementation/bmad-agent-sm/SKILL.md +0 -53
- package/src/bmm-skills/4-implementation/bmad-agent-sm/bmad-skill-manifest.yaml +0 -11
- package/src/core-skills/bmad-init/SKILL.md +0 -100
- package/src/core-skills/bmad-init/resources/core-module.yaml +0 -25
- package/src/core-skills/bmad-init/scripts/bmad_init.py +0 -624
- package/src/core-skills/bmad-init/scripts/tests/test_bmad_init.py +0 -393
- package/src/core-skills/bmad-party-mode/steps/step-01-agent-loading.md +0 -138
- package/src/core-skills/bmad-party-mode/steps/step-02-discussion-orchestration.md +0 -187
- package/src/core-skills/bmad-party-mode/steps/step-03-graceful-exit.md +0 -167
- package/src/core-skills/bmad-party-mode/workflow.md +0 -190
- package/tools/installer/core/custom-module-cache.js +0 -260
- package/tools/installer/custom-handler.js +0 -112
- package/tools/installer/modules/custom-modules.js +0 -197
- /package/src/bmm-skills/2-plan-workflows/{create-prd → bmad-edit-prd}/data/prd-purpose.md +0 -0
|
@@ -127,6 +127,12 @@ platforms:
|
|
|
127
127
|
category: ide
|
|
128
128
|
description: "AI-powered IDE with cascade flows"
|
|
129
129
|
|
|
130
|
+
junie:
|
|
131
|
+
name: "Junie"
|
|
132
|
+
preferred: false
|
|
133
|
+
category: cli
|
|
134
|
+
description: "AI coding agent by JetBrains"
|
|
135
|
+
|
|
130
136
|
ona:
|
|
131
137
|
name: "Ona"
|
|
132
138
|
preferred: false
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
domain,signals,complexity,key_concerns,required_knowledge,suggested_workflow,web_searches,special_sections
|
|
2
|
-
healthcare,"medical,diagnostic,clinical,FDA,patient,treatment,HIPAA,therapy,pharma,drug",high,"FDA approval;Clinical validation;HIPAA compliance;Patient safety;Medical device classification;Liability","Regulatory pathways;Clinical trial design;Medical standards;Data privacy;Integration requirements","domain-research","FDA software medical device guidance {date};HIPAA compliance software requirements;Medical software standards {date};Clinical validation software","clinical_requirements;regulatory_pathway;validation_methodology;safety_measures"
|
|
3
|
-
fintech,"payment,banking,trading,investment,crypto,wallet,transaction,KYC,AML,funds,fintech",high,"Regional compliance;Security standards;Audit requirements;Fraud prevention;Data protection","KYC/AML requirements;PCI DSS;Open banking;Regional laws (US/EU/APAC);Crypto regulations","domain-research","fintech regulations {date};payment processing compliance {date};open banking API standards;cryptocurrency regulations {date}","compliance_matrix;security_architecture;audit_requirements;fraud_prevention"
|
|
4
|
-
govtech,"government,federal,civic,public sector,citizen,municipal,voting",high,"Procurement rules;Security clearance;Accessibility (508);FedRAMP;Privacy;Transparency","Government procurement;Security frameworks;Accessibility standards;Privacy laws;Open data requirements","domain-research","government software procurement {date};FedRAMP compliance requirements;section 508 accessibility;government security standards","procurement_compliance;security_clearance;accessibility_standards;transparency_requirements"
|
|
5
|
-
edtech,"education,learning,student,teacher,curriculum,assessment,K-12,university,LMS",medium,"Student privacy (COPPA/FERPA);Accessibility;Content moderation;Age verification;Curriculum standards","Educational privacy laws;Learning standards;Accessibility requirements;Content guidelines;Assessment validity","domain-research","educational software privacy {date};COPPA FERPA compliance;WCAG education requirements;learning management standards","privacy_compliance;content_guidelines;accessibility_features;curriculum_alignment"
|
|
6
|
-
aerospace,"aircraft,spacecraft,aviation,drone,satellite,propulsion,flight,radar,navigation",high,"Safety certification;DO-178C compliance;Performance validation;Simulation accuracy;Export controls","Aviation standards;Safety analysis;Simulation validation;ITAR/export controls;Performance requirements","domain-research + technical-model","DO-178C software certification;aerospace simulation standards {date};ITAR export controls software;aviation safety requirements","safety_certification;simulation_validation;performance_requirements;export_compliance"
|
|
7
|
-
automotive,"vehicle,car,autonomous,ADAS,automotive,driving,EV,charging",high,"Safety standards;ISO 26262;V2X communication;Real-time requirements;Certification","Automotive standards;Functional safety;V2X protocols;Real-time systems;Testing requirements","domain-research","ISO 26262 automotive software;automotive safety standards {date};V2X communication protocols;EV charging standards","safety_standards;functional_safety;communication_protocols;certification_requirements"
|
|
8
|
-
scientific,"research,algorithm,simulation,modeling,computational,analysis,data science,ML,AI",medium,"Reproducibility;Validation methodology;Peer review;Performance;Accuracy;Computational resources","Scientific method;Statistical validity;Computational requirements;Domain expertise;Publication standards","technical-model","scientific computing best practices {date};research reproducibility standards;computational modeling validation;peer review software","validation_methodology;accuracy_metrics;reproducibility_plan;computational_requirements"
|
|
9
|
-
legaltech,"legal,law,contract,compliance,litigation,patent,attorney,court",high,"Legal ethics;Bar regulations;Data retention;Attorney-client privilege;Court system integration","Legal practice rules;Ethics requirements;Court filing systems;Document standards;Confidentiality","domain-research","legal technology ethics {date};law practice management software requirements;court filing system standards;attorney client privilege technology","ethics_compliance;data_retention;confidentiality_measures;court_integration"
|
|
10
|
-
insuretech,"insurance,claims,underwriting,actuarial,policy,risk,premium",high,"Insurance regulations;Actuarial standards;Data privacy;Fraud detection;State compliance","Insurance regulations by state;Actuarial methods;Risk modeling;Claims processing;Regulatory reporting","domain-research","insurance software regulations {date};actuarial standards software;insurance fraud detection;state insurance compliance","regulatory_requirements;risk_modeling;fraud_detection;reporting_compliance"
|
|
11
|
-
energy,"energy,utility,grid,solar,wind,power,electricity,oil,gas",high,"Grid compliance;NERC standards;Environmental regulations;Safety requirements;Real-time operations","Energy regulations;Grid standards;Environmental compliance;Safety protocols;SCADA systems","domain-research","energy sector software compliance {date};NERC CIP standards;smart grid requirements;renewable energy software standards","grid_compliance;safety_protocols;environmental_compliance;operational_requirements"
|
|
12
|
-
process_control,"industrial automation,process control,PLC,SCADA,DCS,HMI,operational technology,OT,control system,cyberphysical,MES,historian,instrumentation,I&C,P&ID",high,"Functional safety;OT cybersecurity;Real-time control requirements;Legacy system integration;Process safety and hazard analysis;Environmental compliance and permitting;Engineering authority and PE requirements","Functional safety standards;OT security frameworks;Industrial protocols;Process control architecture;Plant reliability and maintainability","domain-research + technical-model","IEC 62443 OT cybersecurity requirements {date};functional safety software requirements {date};industrial process control architecture;ISA-95 manufacturing integration","functional_safety;ot_security;process_requirements;engineering_authority"
|
|
13
|
-
building_automation,"building automation,BAS,BMS,HVAC,smart building,lighting control,fire alarm,fire protection,fire suppression,life safety,elevator,access control,DDC,energy management,sequence of operations,commissioning",high,"Life safety codes;Building energy standards;Multi-trade coordination and interoperability;Commissioning and ongoing operational performance;Indoor environmental quality and occupant comfort;Engineering authority and PE requirements","Building automation protocols;HVAC and mechanical controls;Fire alarm, fire protection, and life safety design;Commissioning process and sequence of operations;Building codes and energy standards","domain-research","smart building software architecture {date};BACnet integration best practices;building automation cybersecurity {date};ASHRAE building standards","life_safety;energy_compliance;commissioning_requirements;engineering_authority"
|
|
14
|
-
gaming,"game,player,gameplay,level,character,multiplayer,quest",redirect,"REDIRECT TO GAME WORKFLOWS","Game design","game-brief","NA","NA"
|
|
15
|
-
general,"",low,"Standard requirements;Basic security;User experience;Performance","General software practices","continue","software development best practices {date}","standard_requirements"
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
project_type,detection_signals,key_questions,required_sections,skip_sections,web_search_triggers,innovation_signals
|
|
2
|
-
api_backend,"API,REST,GraphQL,backend,service,endpoints","Endpoints needed?;Authentication method?;Data formats?;Rate limits?;Versioning?;SDK needed?","endpoint_specs;auth_model;data_schemas;error_codes;rate_limits;api_docs","ux_ui;visual_design;user_journeys","framework best practices;OpenAPI standards","API composition;New protocol"
|
|
3
|
-
mobile_app,"iOS,Android,app,mobile,iPhone,iPad","Native or cross-platform?;Offline needed?;Push notifications?;Device features?;Store compliance?","platform_reqs;device_permissions;offline_mode;push_strategy;store_compliance","desktop_features;cli_commands","app store guidelines;platform requirements","Gesture innovation;AR/VR features"
|
|
4
|
-
saas_b2b,"SaaS,B2B,platform,dashboard,teams,enterprise","Multi-tenant?;Permission model?;Subscription tiers?;Integrations?;Compliance?","tenant_model;rbac_matrix;subscription_tiers;integration_list;compliance_reqs","cli_interface;mobile_first","compliance requirements;integration guides","Workflow automation;AI agents"
|
|
5
|
-
developer_tool,"SDK,library,package,npm,pip,framework","Language support?;Package managers?;IDE integration?;Documentation?;Examples?","language_matrix;installation_methods;api_surface;code_examples;migration_guide","visual_design;store_compliance","package manager best practices;API design patterns","New paradigm;DSL creation"
|
|
6
|
-
cli_tool,"CLI,command,terminal,bash,script","Interactive or scriptable?;Output formats?;Config method?;Shell completion?","command_structure;output_formats;config_schema;scripting_support","visual_design;ux_principles;touch_interactions","CLI design patterns;shell integration","Natural language CLI;AI commands"
|
|
7
|
-
web_app,"website,webapp,browser,SPA,PWA","SPA or MPA?;Browser support?;SEO needed?;Real-time?;Accessibility?","browser_matrix;responsive_design;performance_targets;seo_strategy;accessibility_level","native_features;cli_commands","web standards;WCAG guidelines","New interaction;WebAssembly use"
|
|
8
|
-
game,"game,player,gameplay,level,character","REDIRECT TO USE THE BMad Method Game Module Agent and Workflows - HALT","game-brief;GDD","most_sections","game design patterns","Novel mechanics;Genre mixing"
|
|
9
|
-
desktop_app,"desktop,Windows,Mac,Linux,native","Cross-platform?;Auto-update?;System integration?;Offline?","platform_support;system_integration;update_strategy;offline_capabilities","web_seo;mobile_features","desktop guidelines;platform requirements","Desktop AI;System automation"
|
|
10
|
-
iot_embedded,"IoT,embedded,device,sensor,hardware","Hardware specs?;Connectivity?;Power constraints?;Security?;OTA updates?","hardware_reqs;connectivity_protocol;power_profile;security_model;update_mechanism","visual_ui;browser_support","IoT standards;protocol specs","Edge AI;New sensors"
|
|
11
|
-
blockchain_web3,"blockchain,crypto,DeFi,NFT,smart contract","Chain selection?;Wallet integration?;Gas optimization?;Security audit?","chain_specs;wallet_support;smart_contracts;security_audit;gas_optimization","traditional_auth;centralized_db","blockchain standards;security patterns","Novel tokenomics;DAO structure"
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-v-01-discovery'
|
|
3
|
-
description: 'Document Discovery & Confirmation - Handle fresh context validation, confirm PRD path, discover input documents'
|
|
4
|
-
|
|
5
|
-
# File references (ONLY variables used in this step)
|
|
6
|
-
nextStepFile: './step-v-02-format-detection.md'
|
|
7
|
-
prdPurpose: '../data/prd-purpose.md'
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Step 1: Document Discovery & Confirmation
|
|
11
|
-
|
|
12
|
-
## STEP GOAL:
|
|
13
|
-
|
|
14
|
-
Handle fresh context validation by confirming PRD path, discovering and loading input documents from frontmatter, and initializing the validation report.
|
|
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 collaborative dialogue, not command-response
|
|
31
|
-
- ✅ You bring systematic validation expertise and analytical rigor
|
|
32
|
-
- ✅ User brings domain knowledge and specific PRD context
|
|
33
|
-
|
|
34
|
-
### Step-Specific Rules:
|
|
35
|
-
|
|
36
|
-
- 🎯 Focus ONLY on discovering PRD and input documents, not validating yet
|
|
37
|
-
- 🚫 FORBIDDEN to perform any validation checks in this step
|
|
38
|
-
- 💬 Approach: Systematic discovery with clear reporting to user
|
|
39
|
-
- 🚪 This is the setup step - get everything ready for validation
|
|
40
|
-
|
|
41
|
-
## EXECUTION PROTOCOLS:
|
|
42
|
-
|
|
43
|
-
- 🎯 Discover and confirm PRD to validate
|
|
44
|
-
- 💾 Load PRD and all input documents from frontmatter
|
|
45
|
-
- 📖 Initialize validation report next to PRD
|
|
46
|
-
- 🚫 FORBIDDEN to load next step until user confirms setup
|
|
47
|
-
|
|
48
|
-
## CONTEXT BOUNDARIES:
|
|
49
|
-
|
|
50
|
-
- Available context: PRD path (user-specified or discovered), workflow configuration
|
|
51
|
-
- Focus: Document discovery and setup only
|
|
52
|
-
- Limits: Don't perform validation, don't skip discovery
|
|
53
|
-
- Dependencies: Configuration loaded from PRD workflow.md initialization
|
|
54
|
-
|
|
55
|
-
## MANDATORY SEQUENCE
|
|
56
|
-
|
|
57
|
-
**CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
|
|
58
|
-
|
|
59
|
-
### 1. Load PRD Purpose and Standards
|
|
60
|
-
|
|
61
|
-
Load and read the complete file at:
|
|
62
|
-
`{prdPurpose}`
|
|
63
|
-
|
|
64
|
-
This file contains the BMAD PRD philosophy, standards, and validation criteria that will guide all validation checks. Internalize this understanding - it defines what makes a great BMAD PRD.
|
|
65
|
-
|
|
66
|
-
### 2. Discover PRD to Validate
|
|
67
|
-
|
|
68
|
-
**If PRD path provided as invocation parameter:**
|
|
69
|
-
- Use provided path
|
|
70
|
-
|
|
71
|
-
**If no PRD path provided, auto-discover:**
|
|
72
|
-
- Search `{planning_artifacts}` for files matching `*prd*.md`
|
|
73
|
-
- Also check for sharded PRDs: `{planning_artifacts}/*prd*/*.md`
|
|
74
|
-
|
|
75
|
-
**If exactly ONE PRD found:**
|
|
76
|
-
- Use it automatically
|
|
77
|
-
- Inform user: "Found PRD: {discovered_path} — using it for validation."
|
|
78
|
-
|
|
79
|
-
**If MULTIPLE PRDs found:**
|
|
80
|
-
- List all discovered PRDs with numbered options
|
|
81
|
-
- "I found multiple PRDs. Which one would you like to validate?"
|
|
82
|
-
- Wait for user selection
|
|
83
|
-
|
|
84
|
-
**If NO PRDs found:**
|
|
85
|
-
- "I couldn't find any PRD files in {planning_artifacts}. Please provide the path to the PRD file you want to validate."
|
|
86
|
-
- Wait for user to provide PRD path.
|
|
87
|
-
|
|
88
|
-
### 3. Validate PRD Exists and Load
|
|
89
|
-
|
|
90
|
-
Once PRD path is provided:
|
|
91
|
-
|
|
92
|
-
- Check if PRD file exists at specified path
|
|
93
|
-
- If not found: "I cannot find a PRD at that path. Please check the path and try again."
|
|
94
|
-
- If found: Load the complete PRD file including frontmatter
|
|
95
|
-
|
|
96
|
-
### 4. Extract Frontmatter and Input Documents
|
|
97
|
-
|
|
98
|
-
From the loaded PRD frontmatter, extract:
|
|
99
|
-
|
|
100
|
-
- `inputDocuments: []` array (if present)
|
|
101
|
-
- Any other relevant metadata (classification, date, etc.)
|
|
102
|
-
|
|
103
|
-
**If no inputDocuments array exists:**
|
|
104
|
-
Note this and proceed with PRD-only validation
|
|
105
|
-
|
|
106
|
-
### 5. Load Input Documents
|
|
107
|
-
|
|
108
|
-
For each document listed in `inputDocuments`:
|
|
109
|
-
|
|
110
|
-
- Attempt to load the document
|
|
111
|
-
- Track successfully loaded documents
|
|
112
|
-
- Note any documents that fail to load
|
|
113
|
-
|
|
114
|
-
**Build list of loaded input documents:**
|
|
115
|
-
- Product Brief (if present)
|
|
116
|
-
- Research documents (if present)
|
|
117
|
-
- Other reference materials (if present)
|
|
118
|
-
|
|
119
|
-
### 6. Ask About Additional Reference Documents
|
|
120
|
-
|
|
121
|
-
"**I've loaded the following documents from your PRD frontmatter:**
|
|
122
|
-
|
|
123
|
-
{list loaded documents with file names}
|
|
124
|
-
|
|
125
|
-
**Are there any additional reference documents you'd like me to include in this validation?**
|
|
126
|
-
|
|
127
|
-
These could include:
|
|
128
|
-
- Additional research or context documents
|
|
129
|
-
- Project documentation not tracked in frontmatter
|
|
130
|
-
- Standards or compliance documents
|
|
131
|
-
- Competitive analysis or benchmarks
|
|
132
|
-
|
|
133
|
-
Please provide paths to any additional documents, or type 'none' to proceed."
|
|
134
|
-
|
|
135
|
-
**Load any additional documents provided by user.**
|
|
136
|
-
|
|
137
|
-
### 7. Initialize Validation Report
|
|
138
|
-
|
|
139
|
-
Create validation report at: `{validationReportPath}`
|
|
140
|
-
|
|
141
|
-
**Initialize with frontmatter:**
|
|
142
|
-
```yaml
|
|
143
|
-
---
|
|
144
|
-
validationTarget: '{prd_path}'
|
|
145
|
-
validationDate: '{current_date}'
|
|
146
|
-
inputDocuments: [list of all loaded documents]
|
|
147
|
-
validationStepsCompleted: []
|
|
148
|
-
validationStatus: IN_PROGRESS
|
|
149
|
-
---
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
**Initial content:**
|
|
153
|
-
```markdown
|
|
154
|
-
# PRD Validation Report
|
|
155
|
-
|
|
156
|
-
**PRD Being Validated:** {prd_path}
|
|
157
|
-
**Validation Date:** {current_date}
|
|
158
|
-
|
|
159
|
-
## Input Documents
|
|
160
|
-
|
|
161
|
-
{list all documents loaded for validation}
|
|
162
|
-
|
|
163
|
-
## Validation Findings
|
|
164
|
-
|
|
165
|
-
[Findings will be appended as validation progresses]
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
### 8. Present Discovery Summary
|
|
169
|
-
|
|
170
|
-
"**Setup Complete!**
|
|
171
|
-
|
|
172
|
-
**PRD to Validate:** {prd_path}
|
|
173
|
-
|
|
174
|
-
**Input Documents Loaded:**
|
|
175
|
-
- PRD: {prd_name} ✓
|
|
176
|
-
- Product Brief: {count} {if count > 0}✓{else}(none found){/if}
|
|
177
|
-
- Research: {count} {if count > 0}✓{else}(none found){/if}
|
|
178
|
-
- Additional References: {count} {if count > 0}✓{else}(none){/if}
|
|
179
|
-
|
|
180
|
-
**Validation Report:** {validationReportPath}
|
|
181
|
-
|
|
182
|
-
**Ready to begin validation.**"
|
|
183
|
-
|
|
184
|
-
### 9. Present MENU OPTIONS
|
|
185
|
-
|
|
186
|
-
Display: **Select an Option:** [A] Advanced Elicitation [P] Party Mode [C] Continue to Format Detection
|
|
187
|
-
|
|
188
|
-
#### EXECUTION RULES:
|
|
189
|
-
|
|
190
|
-
- ALWAYS halt and wait for user input after presenting menu
|
|
191
|
-
- ONLY proceed to next step when user selects 'C'
|
|
192
|
-
- User can ask questions or add more documents - always respond and redisplay menu
|
|
193
|
-
|
|
194
|
-
#### Menu Handling Logic:
|
|
195
|
-
|
|
196
|
-
- IF A: Invoke the `bmad-advanced-elicitation` skill, and when finished redisplay the menu
|
|
197
|
-
- IF P: Invoke the `bmad-party-mode` skill, and when finished redisplay the menu
|
|
198
|
-
- IF C: Read fully and follow: {nextStepFile} to begin format detection
|
|
199
|
-
- IF user provides additional document: Load it, update report, redisplay summary
|
|
200
|
-
- IF Any other: help user, then redisplay menu
|
|
201
|
-
|
|
202
|
-
---
|
|
203
|
-
|
|
204
|
-
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
205
|
-
|
|
206
|
-
### ✅ SUCCESS:
|
|
207
|
-
|
|
208
|
-
- PRD path discovered and confirmed
|
|
209
|
-
- PRD file exists and loads successfully
|
|
210
|
-
- All input documents from frontmatter loaded
|
|
211
|
-
- Additional reference documents (if any) loaded
|
|
212
|
-
- Validation report initialized next to PRD
|
|
213
|
-
- User clearly informed of setup status
|
|
214
|
-
- Menu presented and user input handled correctly
|
|
215
|
-
|
|
216
|
-
### ❌ SYSTEM FAILURE:
|
|
217
|
-
|
|
218
|
-
- Proceeding with non-existent PRD file
|
|
219
|
-
- Not loading input documents from frontmatter
|
|
220
|
-
- Creating validation report in wrong location
|
|
221
|
-
- Proceeding without user confirming setup
|
|
222
|
-
- Not handling missing input documents gracefully
|
|
223
|
-
|
|
224
|
-
**Master Rule:** Complete discovery and setup BEFORE validation. This step ensures everything is in place for systematic validation checks.
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-v-02-format-detection'
|
|
3
|
-
description: 'Format Detection & Structure Analysis - Classify PRD format and route appropriately'
|
|
4
|
-
|
|
5
|
-
# File references (ONLY variables used in this step)
|
|
6
|
-
nextStepFile: './step-v-03-density-validation.md'
|
|
7
|
-
altStepFile: './step-v-02b-parity-check.md'
|
|
8
|
-
prdFile: '{prd_file_path}'
|
|
9
|
-
validationReportPath: '{validation_report_path}'
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
# Step 2: Format Detection & Structure Analysis
|
|
13
|
-
|
|
14
|
-
## STEP GOAL:
|
|
15
|
-
|
|
16
|
-
Detect if PRD follows BMAD format and route appropriately - classify as BMAD Standard / BMAD Variant / Non-Standard, with optional parity check for non-standard formats.
|
|
17
|
-
|
|
18
|
-
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
19
|
-
|
|
20
|
-
### Universal Rules:
|
|
21
|
-
|
|
22
|
-
- 🛑 NEVER generate content without user input
|
|
23
|
-
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
24
|
-
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
25
|
-
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
26
|
-
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
27
|
-
|
|
28
|
-
### Role Reinforcement:
|
|
29
|
-
|
|
30
|
-
- ✅ You are a Validation Architect and Quality Assurance Specialist
|
|
31
|
-
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
32
|
-
- ✅ We engage in collaborative dialogue, not command-response
|
|
33
|
-
- ✅ You bring systematic validation expertise and pattern recognition
|
|
34
|
-
- ✅ User brings domain knowledge and PRD context
|
|
35
|
-
|
|
36
|
-
### Step-Specific Rules:
|
|
37
|
-
|
|
38
|
-
- 🎯 Focus ONLY on detecting format and classifying structure
|
|
39
|
-
- 🚫 FORBIDDEN to perform other validation checks in this step
|
|
40
|
-
- 💬 Approach: Analytical and systematic, clear reporting of findings
|
|
41
|
-
- 🚪 This is a branch step - may route to parity check for non-standard PRDs
|
|
42
|
-
|
|
43
|
-
## EXECUTION PROTOCOLS:
|
|
44
|
-
|
|
45
|
-
- 🎯 Analyze PRD structure systematically
|
|
46
|
-
- 💾 Append format findings to validation report
|
|
47
|
-
- 📖 Route appropriately based on format classification
|
|
48
|
-
- 🚫 FORBIDDEN to skip format detection or proceed without classification
|
|
49
|
-
|
|
50
|
-
## CONTEXT BOUNDARIES:
|
|
51
|
-
|
|
52
|
-
- Available context: PRD file loaded in step 1, validation report initialized
|
|
53
|
-
- Focus: Format detection and classification only
|
|
54
|
-
- Limits: Don't perform other validation, don't skip classification
|
|
55
|
-
- Dependencies: Step 1 completed - PRD loaded and report initialized
|
|
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. Extract PRD Structure
|
|
62
|
-
|
|
63
|
-
Load the complete PRD file and extract:
|
|
64
|
-
|
|
65
|
-
**All Level 2 (##) headers:**
|
|
66
|
-
- Scan through entire PRD document
|
|
67
|
-
- Extract all ## section headers
|
|
68
|
-
- List them in order
|
|
69
|
-
|
|
70
|
-
**PRD frontmatter:**
|
|
71
|
-
- Extract classification.domain if present
|
|
72
|
-
- Extract classification.projectType if present
|
|
73
|
-
- Note any other relevant metadata
|
|
74
|
-
|
|
75
|
-
### 2. Check for BMAD PRD Core Sections
|
|
76
|
-
|
|
77
|
-
Check if the PRD contains the following BMAD PRD core sections:
|
|
78
|
-
|
|
79
|
-
1. **Executive Summary** (or variations: ## Executive Summary, ## Overview, ## Introduction)
|
|
80
|
-
2. **Success Criteria** (or: ## Success Criteria, ## Goals, ## Objectives)
|
|
81
|
-
3. **Product Scope** (or: ## Product Scope, ## Scope, ## In Scope, ## Out of Scope)
|
|
82
|
-
4. **User Journeys** (or: ## User Journeys, ## User Stories, ## User Flows)
|
|
83
|
-
5. **Functional Requirements** (or: ## Functional Requirements, ## Features, ## Capabilities)
|
|
84
|
-
6. **Non-Functional Requirements** (or: ## Non-Functional Requirements, ## NFRs, ## Quality Attributes)
|
|
85
|
-
|
|
86
|
-
**Count matches:**
|
|
87
|
-
- How many of these 6 core sections are present?
|
|
88
|
-
- Which specific sections are present?
|
|
89
|
-
- Which are missing?
|
|
90
|
-
|
|
91
|
-
### 3. Classify PRD Format
|
|
92
|
-
|
|
93
|
-
Based on core section count, classify:
|
|
94
|
-
|
|
95
|
-
**BMAD Standard:**
|
|
96
|
-
- 5-6 core sections present
|
|
97
|
-
- Follows BMAD PRD structure closely
|
|
98
|
-
|
|
99
|
-
**BMAD Variant:**
|
|
100
|
-
- 3-4 core sections present
|
|
101
|
-
- Generally follows BMAD patterns but may have structural differences
|
|
102
|
-
- Missing some sections but recognizable as BMAD-style
|
|
103
|
-
|
|
104
|
-
**Non-Standard:**
|
|
105
|
-
- Fewer than 3 core sections present
|
|
106
|
-
- Does not follow BMAD PRD structure
|
|
107
|
-
- May be completely custom format, legacy format, or from another framework
|
|
108
|
-
|
|
109
|
-
### 4. Report Format Findings to Validation Report
|
|
110
|
-
|
|
111
|
-
Append to validation report:
|
|
112
|
-
|
|
113
|
-
```markdown
|
|
114
|
-
## Format Detection
|
|
115
|
-
|
|
116
|
-
**PRD Structure:**
|
|
117
|
-
[List all ## Level 2 headers found]
|
|
118
|
-
|
|
119
|
-
**BMAD Core Sections Present:**
|
|
120
|
-
- Executive Summary: [Present/Missing]
|
|
121
|
-
- Success Criteria: [Present/Missing]
|
|
122
|
-
- Product Scope: [Present/Missing]
|
|
123
|
-
- User Journeys: [Present/Missing]
|
|
124
|
-
- Functional Requirements: [Present/Missing]
|
|
125
|
-
- Non-Functional Requirements: [Present/Missing]
|
|
126
|
-
|
|
127
|
-
**Format Classification:** [BMAD Standard / BMAD Variant / Non-Standard]
|
|
128
|
-
**Core Sections Present:** [count]/6
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
### 5. Route Based on Format Classification
|
|
132
|
-
|
|
133
|
-
**IF format is BMAD Standard or BMAD Variant:**
|
|
134
|
-
|
|
135
|
-
Display: "**Format Detected:** {classification}
|
|
136
|
-
|
|
137
|
-
Proceeding to systematic validation checks..."
|
|
138
|
-
|
|
139
|
-
Without delay, read fully and follow: {nextStepFile} (step-v-03-density-validation.md)
|
|
140
|
-
|
|
141
|
-
**IF format is Non-Standard (< 3 core sections):**
|
|
142
|
-
|
|
143
|
-
Display: "**Format Detected:** Non-Standard PRD
|
|
144
|
-
|
|
145
|
-
This PRD does not follow BMAD standard structure (only {count}/6 core sections present).
|
|
146
|
-
|
|
147
|
-
You have options:"
|
|
148
|
-
|
|
149
|
-
Present MENU OPTIONS below for user selection
|
|
150
|
-
|
|
151
|
-
### 6. Present MENU OPTIONS (Non-Standard PRDs Only)
|
|
152
|
-
|
|
153
|
-
**[A] Parity Check** - Analyze gaps and estimate effort to reach BMAD PRD parity
|
|
154
|
-
**[B] Validate As-Is** - Proceed with validation using current structure
|
|
155
|
-
**[C] Exit** - Exit validation and review format findings
|
|
156
|
-
|
|
157
|
-
#### EXECUTION RULES:
|
|
158
|
-
|
|
159
|
-
- ALWAYS halt and wait for user input
|
|
160
|
-
- Only proceed based on user selection
|
|
161
|
-
|
|
162
|
-
#### Menu Handling Logic:
|
|
163
|
-
|
|
164
|
-
- IF A (Parity Check): Read fully and follow: {altStepFile} (step-v-02b-parity-check.md)
|
|
165
|
-
- IF B (Validate As-Is): Display "Proceeding with validation..." then read fully and follow: {nextStepFile}
|
|
166
|
-
- IF C (Exit): Display format findings summary and exit validation
|
|
167
|
-
- IF Any other: help user respond, then redisplay menu
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
172
|
-
|
|
173
|
-
### ✅ SUCCESS:
|
|
174
|
-
|
|
175
|
-
- All ## Level 2 headers extracted successfully
|
|
176
|
-
- BMAD core sections checked systematically
|
|
177
|
-
- Format classified correctly based on section count
|
|
178
|
-
- Findings reported to validation report
|
|
179
|
-
- BMAD Standard/Variant PRDs proceed directly to next validation step
|
|
180
|
-
- Non-Standard PRDs pause and present options to user
|
|
181
|
-
- User can choose parity check, validate as-is, or exit
|
|
182
|
-
|
|
183
|
-
### ❌ SYSTEM FAILURE:
|
|
184
|
-
|
|
185
|
-
- Not extracting all headers before classification
|
|
186
|
-
- Incorrect format classification
|
|
187
|
-
- Not reporting findings to validation report
|
|
188
|
-
- Not pausing for non-standard PRDs
|
|
189
|
-
- Proceeding without user decision for non-standard formats
|
|
190
|
-
|
|
191
|
-
**Master Rule:** Format detection determines validation path. Non-standard PRDs require user choice before proceeding.
|
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: 'step-v-02b-parity-check'
|
|
3
|
-
description: 'Document Parity Check - Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity'
|
|
4
|
-
|
|
5
|
-
# File references (ONLY variables used in this step)
|
|
6
|
-
nextStepFile: './step-v-03-density-validation.md'
|
|
7
|
-
prdFile: '{prd_file_path}'
|
|
8
|
-
validationReportPath: '{validation_report_path}'
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# Step 2B: Document Parity Check
|
|
12
|
-
|
|
13
|
-
## STEP GOAL:
|
|
14
|
-
|
|
15
|
-
Analyze non-standard PRD and identify gaps to achieve BMAD PRD parity, presenting user with options for how to proceed.
|
|
16
|
-
|
|
17
|
-
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
18
|
-
|
|
19
|
-
### Universal Rules:
|
|
20
|
-
|
|
21
|
-
- 🛑 NEVER generate content without user input
|
|
22
|
-
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
23
|
-
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
24
|
-
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
25
|
-
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
26
|
-
|
|
27
|
-
### Role Reinforcement:
|
|
28
|
-
|
|
29
|
-
- ✅ You are a Validation Architect and Quality Assurance Specialist
|
|
30
|
-
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
31
|
-
- ✅ We engage in collaborative dialogue, not command-response
|
|
32
|
-
- ✅ You bring BMAD PRD standards expertise and gap analysis
|
|
33
|
-
- ✅ User brings domain knowledge and PRD context
|
|
34
|
-
|
|
35
|
-
### Step-Specific Rules:
|
|
36
|
-
|
|
37
|
-
- 🎯 Focus ONLY on analyzing gaps and estimating parity effort
|
|
38
|
-
- 🚫 FORBIDDEN to perform other validation checks in this step
|
|
39
|
-
- 💬 Approach: Systematic gap analysis with clear recommendations
|
|
40
|
-
- 🚪 This is an optional branch step - user chooses next action
|
|
41
|
-
|
|
42
|
-
## EXECUTION PROTOCOLS:
|
|
43
|
-
|
|
44
|
-
- 🎯 Analyze each BMAD PRD section for gaps
|
|
45
|
-
- 💾 Append parity analysis to validation report
|
|
46
|
-
- 📖 Present options and await user decision
|
|
47
|
-
- 🚫 FORBIDDEN to proceed without user selection
|
|
48
|
-
|
|
49
|
-
## CONTEXT BOUNDARIES:
|
|
50
|
-
|
|
51
|
-
- Available context: Non-standard PRD from step 2, validation report in progress
|
|
52
|
-
- Focus: Parity analysis only - what's missing, what's needed
|
|
53
|
-
- Limits: Don't perform validation checks, don't auto-proceed
|
|
54
|
-
- Dependencies: Step 2 classified PRD as non-standard and user chose parity check
|
|
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. Analyze Each BMAD PRD Section
|
|
61
|
-
|
|
62
|
-
For each of the 6 BMAD PRD core sections, analyze:
|
|
63
|
-
|
|
64
|
-
**Executive Summary:**
|
|
65
|
-
- Does PRD have vision/overview?
|
|
66
|
-
- Is problem statement clear?
|
|
67
|
-
- Are target users identified?
|
|
68
|
-
- Gap: [What's missing or incomplete]
|
|
69
|
-
|
|
70
|
-
**Success Criteria:**
|
|
71
|
-
- Are measurable goals defined?
|
|
72
|
-
- Is success clearly defined?
|
|
73
|
-
- Gap: [What's missing or incomplete]
|
|
74
|
-
|
|
75
|
-
**Product Scope:**
|
|
76
|
-
- Is scope clearly defined?
|
|
77
|
-
- Are in-scope items listed?
|
|
78
|
-
- Are out-of-scope items listed?
|
|
79
|
-
- Gap: [What's missing or incomplete]
|
|
80
|
-
|
|
81
|
-
**User Journeys:**
|
|
82
|
-
- Are user types/personas identified?
|
|
83
|
-
- Are user flows documented?
|
|
84
|
-
- Gap: [What's missing or incomplete]
|
|
85
|
-
|
|
86
|
-
**Functional Requirements:**
|
|
87
|
-
- Are features/capabilities listed?
|
|
88
|
-
- Are requirements structured?
|
|
89
|
-
- Gap: [What's missing or incomplete]
|
|
90
|
-
|
|
91
|
-
**Non-Functional Requirements:**
|
|
92
|
-
- Are quality attributes defined?
|
|
93
|
-
- Are performance/security/etc. requirements documented?
|
|
94
|
-
- Gap: [What's missing or incomplete]
|
|
95
|
-
|
|
96
|
-
### 2. Estimate Effort to Reach Parity
|
|
97
|
-
|
|
98
|
-
For each missing or incomplete section, estimate:
|
|
99
|
-
|
|
100
|
-
**Effort Level:**
|
|
101
|
-
- Minimal - Section exists but needs minor enhancements
|
|
102
|
-
- Moderate - Section missing but content exists elsewhere in PRD
|
|
103
|
-
- Significant - Section missing, requires new content creation
|
|
104
|
-
|
|
105
|
-
**Total Parity Effort:**
|
|
106
|
-
- Based on individual section estimates
|
|
107
|
-
- Classify overall: Quick / Moderate / Substantial effort
|
|
108
|
-
|
|
109
|
-
### 3. Report Parity Analysis to Validation Report
|
|
110
|
-
|
|
111
|
-
Append to validation report:
|
|
112
|
-
|
|
113
|
-
```markdown
|
|
114
|
-
## Parity Analysis (Non-Standard PRD)
|
|
115
|
-
|
|
116
|
-
### Section-by-Section Gap Analysis
|
|
117
|
-
|
|
118
|
-
**Executive Summary:**
|
|
119
|
-
- Status: [Present/Missing/Incomplete]
|
|
120
|
-
- Gap: [specific gap description]
|
|
121
|
-
- Effort to Complete: [Minimal/Moderate/Significant]
|
|
122
|
-
|
|
123
|
-
**Success Criteria:**
|
|
124
|
-
- Status: [Present/Missing/Incomplete]
|
|
125
|
-
- Gap: [specific gap description]
|
|
126
|
-
- Effort to Complete: [Minimal/Moderate/Significant]
|
|
127
|
-
|
|
128
|
-
**Product Scope:**
|
|
129
|
-
- Status: [Present/Missing/Incomplete]
|
|
130
|
-
- Gap: [specific gap description]
|
|
131
|
-
- Effort to Complete: [Minimal/Moderate/Significant]
|
|
132
|
-
|
|
133
|
-
**User Journeys:**
|
|
134
|
-
- Status: [Present/Missing/Incomplete]
|
|
135
|
-
- Gap: [specific gap description]
|
|
136
|
-
- Effort to Complete: [Minimal/Moderate/Significant]
|
|
137
|
-
|
|
138
|
-
**Functional Requirements:**
|
|
139
|
-
- Status: [Present/Missing/Incomplete]
|
|
140
|
-
- Gap: [specific gap description]
|
|
141
|
-
- Effort to Complete: [Minimal/Moderate/Significant]
|
|
142
|
-
|
|
143
|
-
**Non-Functional Requirements:**
|
|
144
|
-
- Status: [Present/Missing/Incomplete]
|
|
145
|
-
- Gap: [specific gap description]
|
|
146
|
-
- Effort to Complete: [Minimal/Moderate/Significant]
|
|
147
|
-
|
|
148
|
-
### Overall Parity Assessment
|
|
149
|
-
|
|
150
|
-
**Overall Effort to Reach BMAD Standard:** [Quick/Moderate/Substantial]
|
|
151
|
-
**Recommendation:** [Brief recommendation based on analysis]
|
|
152
|
-
```
|
|
153
|
-
|
|
154
|
-
### 4. Present Parity Analysis and Options
|
|
155
|
-
|
|
156
|
-
Display:
|
|
157
|
-
|
|
158
|
-
"**Parity Analysis Complete**
|
|
159
|
-
|
|
160
|
-
Your PRD is missing {count} of 6 core BMAD PRD sections. The overall effort to reach BMAD standard is: **{effort level}**
|
|
161
|
-
|
|
162
|
-
**Quick Summary:**
|
|
163
|
-
[2-3 sentence summary of key gaps]
|
|
164
|
-
|
|
165
|
-
**Recommendation:**
|
|
166
|
-
{recommendation from analysis}
|
|
167
|
-
|
|
168
|
-
**How would you like to proceed?**"
|
|
169
|
-
|
|
170
|
-
### 5. Present MENU OPTIONS
|
|
171
|
-
|
|
172
|
-
**[C] Continue Validation** - Proceed with validation using current structure
|
|
173
|
-
**[E] Exit & Review** - Exit validation and review parity report
|
|
174
|
-
**[S] Save & Exit** - Save parity report and exit
|
|
175
|
-
|
|
176
|
-
#### EXECUTION RULES:
|
|
177
|
-
|
|
178
|
-
- ALWAYS halt and wait for user input
|
|
179
|
-
- Only proceed based on user selection
|
|
180
|
-
|
|
181
|
-
#### Menu Handling Logic:
|
|
182
|
-
|
|
183
|
-
- IF C (Continue): Display "Proceeding with validation..." then read fully and follow: {nextStepFile}
|
|
184
|
-
- IF E (Exit): Display parity summary and exit validation
|
|
185
|
-
- IF S (Save): Confirm saved, display summary, exit
|
|
186
|
-
- IF Any other: help user respond, then redisplay menu
|
|
187
|
-
|
|
188
|
-
---
|
|
189
|
-
|
|
190
|
-
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
191
|
-
|
|
192
|
-
### ✅ SUCCESS:
|
|
193
|
-
|
|
194
|
-
- All 6 BMAD PRD sections analyzed for gaps
|
|
195
|
-
- Effort estimates provided for each gap
|
|
196
|
-
- Overall parity effort assessed correctly
|
|
197
|
-
- Parity analysis reported to validation report
|
|
198
|
-
- Clear summary presented to user
|
|
199
|
-
- User can choose to continue validation, exit, or save report
|
|
200
|
-
|
|
201
|
-
### ❌ SYSTEM FAILURE:
|
|
202
|
-
|
|
203
|
-
- Not analyzing all 6 sections systematically
|
|
204
|
-
- Missing effort estimates
|
|
205
|
-
- Not reporting parity analysis to validation report
|
|
206
|
-
- Auto-proceeding without user decision
|
|
207
|
-
- Unclear recommendations
|
|
208
|
-
|
|
209
|
-
**Master Rule:** Parity check informs user of gaps and effort, but user decides whether to proceed with validation or address gaps first.
|