bmad-method 6.2.3-next.6 → 6.2.3-next.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.
Files changed (57) hide show
  1. package/.claude-plugin/marketplace.json +0 -1
  2. package/package.json +1 -1
  3. package/src/bmm-skills/1-analysis/bmad-agent-analyst/SKILL.md +6 -4
  4. package/src/bmm-skills/1-analysis/bmad-agent-tech-writer/SKILL.md +6 -4
  5. package/src/bmm-skills/1-analysis/bmad-document-project/workflow.md +8 -10
  6. package/src/bmm-skills/1-analysis/bmad-prfaq/SKILL.md +12 -9
  7. package/src/bmm-skills/1-analysis/bmad-product-brief/SKILL.md +1 -6
  8. package/src/bmm-skills/1-analysis/research/bmad-domain-research/workflow.md +8 -6
  9. package/src/bmm-skills/1-analysis/research/bmad-market-research/workflow.md +8 -6
  10. package/src/bmm-skills/1-analysis/research/bmad-technical-research/workflow.md +8 -6
  11. package/src/bmm-skills/2-plan-workflows/bmad-agent-pm/SKILL.md +6 -4
  12. package/src/bmm-skills/2-plan-workflows/bmad-agent-ux-designer/SKILL.md +6 -4
  13. package/src/bmm-skills/2-plan-workflows/bmad-create-prd/workflow.md +8 -9
  14. package/src/bmm-skills/2-plan-workflows/bmad-create-ux-design/workflow.md +8 -9
  15. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01-discovery.md +1 -1
  16. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-01b-legacy-conversion.md +1 -1
  17. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-02-review.md +1 -1
  18. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-03-edit.md +1 -1
  19. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/steps-e/step-e-04-complete.md +1 -1
  20. package/src/bmm-skills/2-plan-workflows/bmad-edit-prd/workflow.md +8 -9
  21. package/src/bmm-skills/2-plan-workflows/bmad-validate-prd/workflow.md +8 -9
  22. package/src/bmm-skills/3-solutioning/bmad-agent-architect/SKILL.md +6 -4
  23. package/src/bmm-skills/3-solutioning/bmad-check-implementation-readiness/workflow.md +8 -10
  24. package/src/bmm-skills/3-solutioning/bmad-create-architecture/workflow.md +8 -14
  25. package/src/bmm-skills/3-solutioning/bmad-create-epics-and-stories/workflow.md +10 -12
  26. package/src/bmm-skills/3-solutioning/bmad-generate-project-context/workflow.md +8 -12
  27. package/src/bmm-skills/4-implementation/bmad-agent-dev/SKILL.md +6 -4
  28. package/src/bmm-skills/4-implementation/bmad-agent-qa/SKILL.md +6 -4
  29. package/src/bmm-skills/4-implementation/bmad-agent-quick-flow-solo-dev/SKILL.md +6 -4
  30. package/src/bmm-skills/4-implementation/bmad-agent-sm/SKILL.md +6 -4
  31. package/src/core-skills/bmad-advanced-elicitation/SKILL.md +1 -2
  32. package/src/core-skills/bmad-distillator/SKILL.md +0 -1
  33. package/src/core-skills/bmad-distillator/resources/distillate-format-reference.md +9 -9
  34. package/src/core-skills/bmad-party-mode/workflow.md +5 -12
  35. package/tools/installer/ide/platform-codes.yaml +0 -1
  36. package/src/bmm-skills/2-plan-workflows/create-prd/data/domain-complexity.csv +0 -15
  37. package/src/bmm-skills/2-plan-workflows/create-prd/data/prd-purpose.md +0 -197
  38. package/src/bmm-skills/2-plan-workflows/create-prd/data/project-types.csv +0 -11
  39. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-01-discovery.md +0 -224
  40. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-02-format-detection.md +0 -191
  41. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-02b-parity-check.md +0 -209
  42. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-03-density-validation.md +0 -174
  43. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-04-brief-coverage-validation.md +0 -214
  44. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-05-measurability-validation.md +0 -228
  45. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-06-traceability-validation.md +0 -217
  46. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-07-implementation-leakage-validation.md +0 -205
  47. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-08-domain-compliance-validation.md +0 -243
  48. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-09-project-type-validation.md +0 -263
  49. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-10-smart-validation.md +0 -209
  50. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-11-holistic-quality-validation.md +0 -264
  51. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-12-completeness-validation.md +0 -242
  52. package/src/bmm-skills/2-plan-workflows/create-prd/steps-v/step-v-13-report-complete.md +0 -232
  53. package/src/bmm-skills/2-plan-workflows/create-prd/workflow-validate-prd.md +0 -65
  54. package/src/core-skills/bmad-init/SKILL.md +0 -100
  55. package/src/core-skills/bmad-init/resources/core-module.yaml +0 -25
  56. package/src/core-skills/bmad-init/scripts/bmad_init.py +0 -624
  57. package/src/core-skills/bmad-init/scripts/tests/test_bmad_init.py +0 -393
@@ -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.
@@ -1,174 +0,0 @@
1
- ---
2
- name: 'step-v-03-density-validation'
3
- description: 'Information Density Check - Scan for anti-patterns that violate information density principles'
4
-
5
- # File references (ONLY variables used in this step)
6
- nextStepFile: './step-v-04-brief-coverage-validation.md'
7
- prdFile: '{prd_file_path}'
8
- validationReportPath: '{validation_report_path}'
9
- ---
10
-
11
- # Step 3: Information Density Validation
12
-
13
- ## STEP GOAL:
14
-
15
- Validate PRD meets BMAD information density standards by scanning for conversational filler, wordy phrases, and redundant expressions that violate conciseness principles.
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 systematic validation, not collaborative dialogue
32
- - ✅ You bring analytical rigor and attention to detail
33
- - ✅ This step runs autonomously - no user input needed
34
-
35
- ### Step-Specific Rules:
36
-
37
- - 🎯 Focus ONLY on information density anti-patterns
38
- - 🚫 FORBIDDEN to validate other aspects in this step
39
- - 💬 Approach: Systematic scanning and categorization
40
- - 🚪 This is a validation sequence step - auto-proceeds when complete
41
-
42
- ## EXECUTION PROTOCOLS:
43
-
44
- - 🎯 Scan PRD for density anti-patterns systematically
45
- - 💾 Append density findings 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 with format findings
52
- - Focus: Information density validation only
53
- - Limits: Don't validate other aspects, don't pause for user input
54
- - Dependencies: Step 2 completed - format classification 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. Attempt Sub-Process Validation
61
-
62
- **Try to use Task tool to spawn a subprocess:**
63
-
64
- "Perform information density validation on this PRD:
65
-
66
- 1. Load the PRD file
67
- 2. Scan for the following anti-patterns:
68
- - Conversational filler phrases (examples: 'The system will allow users to...', 'It is important to note that...', 'In order to')
69
- - Wordy phrases (examples: 'Due to the fact that', 'In the event of', 'For the purpose of')
70
- - Redundant phrases (examples: 'Future plans', 'Absolutely essential', 'Past history')
71
- 3. Count violations by category with line numbers
72
- 4. Classify severity: Critical (>10 violations), Warning (5-10), Pass (<5)
73
-
74
- Return structured findings with counts and examples."
75
-
76
- ### 2. Graceful Degradation (if Task tool unavailable)
77
-
78
- If Task tool unavailable, perform analysis directly:
79
-
80
- **Scan for conversational filler patterns:**
81
- - "The system will allow users to..."
82
- - "It is important to note that..."
83
- - "In order to"
84
- - "For the purpose of"
85
- - "With regard to"
86
- - Count occurrences and note line numbers
87
-
88
- **Scan for wordy phrases:**
89
- - "Due to the fact that" (use "because")
90
- - "In the event of" (use "if")
91
- - "At this point in time" (use "now")
92
- - "In a manner that" (use "how")
93
- - Count occurrences and note line numbers
94
-
95
- **Scan for redundant phrases:**
96
- - "Future plans" (just "plans")
97
- - "Past history" (just "history")
98
- - "Absolutely essential" (just "essential")
99
- - "Completely finish" (just "finish")
100
- - Count occurrences and note line numbers
101
-
102
- ### 3. Classify Severity
103
-
104
- **Calculate total violations:**
105
- - Conversational filler count
106
- - Wordy phrases count
107
- - Redundant phrases count
108
- - Total = sum of all categories
109
-
110
- **Determine severity:**
111
- - **Critical:** Total > 10 violations
112
- - **Warning:** Total 5-10 violations
113
- - **Pass:** Total < 5 violations
114
-
115
- ### 4. Report Density Findings to Validation Report
116
-
117
- Append to validation report:
118
-
119
- ```markdown
120
- ## Information Density Validation
121
-
122
- **Anti-Pattern Violations:**
123
-
124
- **Conversational Filler:** {count} occurrences
125
- [If count > 0, list examples with line numbers]
126
-
127
- **Wordy Phrases:** {count} occurrences
128
- [If count > 0, list examples with line numbers]
129
-
130
- **Redundant Phrases:** {count} occurrences
131
- [If count > 0, list examples with line numbers]
132
-
133
- **Total Violations:** {total}
134
-
135
- **Severity Assessment:** [Critical/Warning/Pass]
136
-
137
- **Recommendation:**
138
- [If Critical] "PRD requires significant revision to improve information density. Every sentence should carry weight without filler."
139
- [If Warning] "PRD would benefit from reducing wordiness and eliminating filler phrases."
140
- [If Pass] "PRD demonstrates good information density with minimal violations."
141
- ```
142
-
143
- ### 5. Display Progress and Auto-Proceed
144
-
145
- Display: "**Information Density Validation Complete**
146
-
147
- Severity: {Critical/Warning/Pass}
148
-
149
- **Proceeding to next validation check...**"
150
-
151
- Without delay, read fully and follow: {nextStepFile} (step-v-04-brief-coverage-validation.md)
152
-
153
- ---
154
-
155
- ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
156
-
157
- ### ✅ SUCCESS:
158
-
159
- - PRD scanned for all three anti-pattern categories
160
- - Violations counted with line numbers
161
- - Severity classified correctly
162
- - Findings reported to validation report
163
- - Auto-proceeds to next validation step
164
- - Subprocess attempted with graceful degradation
165
-
166
- ### ❌ SYSTEM FAILURE:
167
-
168
- - Not scanning all anti-pattern categories
169
- - Missing severity classification
170
- - Not reporting findings to validation report
171
- - Pausing for user input (should auto-proceed)
172
- - Not attempting subprocess architecture
173
-
174
- **Master Rule:** Information density validation runs autonomously. Scan, classify, report, auto-proceed. No user interaction needed.