bmad-method 4.37.0 → 5.0.0-beta.1
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/.github/workflows/promote-to-stable.yml +144 -0
- package/CHANGELOG.md +16 -9
- package/bmad-core/agents/qa.md +37 -18
- package/bmad-core/data/test-levels-framework.md +146 -0
- package/bmad-core/data/test-priorities-matrix.md +172 -0
- package/bmad-core/tasks/nfr-assess.md +343 -0
- package/bmad-core/tasks/qa-gate.md +159 -0
- package/bmad-core/tasks/review-story.md +234 -74
- package/bmad-core/tasks/risk-profile.md +353 -0
- package/bmad-core/tasks/test-design.md +174 -0
- package/bmad-core/tasks/trace-requirements.md +264 -0
- package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
- package/dist/agents/analyst.txt +20 -26
- package/dist/agents/architect.txt +14 -35
- package/dist/agents/bmad-master.txt +40 -70
- package/dist/agents/bmad-orchestrator.txt +28 -5
- package/dist/agents/dev.txt +0 -14
- package/dist/agents/pm.txt +0 -25
- package/dist/agents/po.txt +0 -18
- package/dist/agents/qa.txt +2079 -135
- package/dist/agents/sm.txt +0 -10
- package/dist/agents/ux-expert.txt +0 -7
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -37
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +3 -12
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -7
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +44 -90
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +14 -49
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -46
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -17
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +38 -142
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2
- package/dist/teams/team-all.txt +2181 -261
- package/dist/teams/team-fullstack.txt +43 -57
- package/dist/teams/team-ide-minimal.txt +2064 -125
- package/dist/teams/team-no-ui.txt +43 -57
- package/docs/enhanced-ide-development-workflow.md +220 -15
- package/docs/user-guide.md +271 -18
- package/docs/working-in-the-brownfield.md +264 -31
- package/package.json +1 -1
- package/tools/installer/bin/bmad.js +33 -32
- package/tools/installer/config/install.config.yaml +11 -1
- package/tools/installer/lib/file-manager.js +1 -1
- package/tools/installer/lib/ide-base-setup.js +1 -1
- package/tools/installer/lib/ide-setup.js +197 -83
- package/tools/installer/lib/installer.js +3 -3
- package/tools/installer/package.json +1 -1
|
@@ -405,7 +405,7 @@ Provide a user-friendly interface to the BMad knowledge base without overwhelmin
|
|
|
405
405
|
|
|
406
406
|
## Instructions
|
|
407
407
|
|
|
408
|
-
When entering KB mode (
|
|
408
|
+
When entering KB mode (\*kb-mode), follow these steps:
|
|
409
409
|
|
|
410
410
|
### 1. Welcome and Guide
|
|
411
411
|
|
|
@@ -447,12 +447,12 @@ Or ask me about anything else related to BMad-Method!
|
|
|
447
447
|
When user is done or wants to exit KB mode:
|
|
448
448
|
|
|
449
449
|
- Summarize key points discussed if helpful
|
|
450
|
-
- Remind them they can return to KB mode anytime with
|
|
450
|
+
- Remind them they can return to KB mode anytime with \*kb-mode
|
|
451
451
|
- Suggest next steps based on what was discussed
|
|
452
452
|
|
|
453
453
|
## Example Interaction
|
|
454
454
|
|
|
455
|
-
**User**:
|
|
455
|
+
**User**: \*kb-mode
|
|
456
456
|
|
|
457
457
|
**Assistant**: I've entered KB mode and have access to the full BMad knowledge base. I can help you with detailed information about any aspect of BMad-Method.
|
|
458
458
|
|
|
@@ -1019,7 +1019,7 @@ Each status change requires user verification and approval before proceeding.
|
|
|
1019
1019
|
#### Greenfield Development
|
|
1020
1020
|
|
|
1021
1021
|
- Business analysis and market research
|
|
1022
|
-
- Product requirements and feature definition
|
|
1022
|
+
- Product requirements and feature definition
|
|
1023
1023
|
- System architecture and design
|
|
1024
1024
|
- Development execution
|
|
1025
1025
|
- Testing and deployment
|
|
@@ -1128,8 +1128,11 @@ Templates with Level 2 headings (`##`) can be automatically sharded:
|
|
|
1128
1128
|
|
|
1129
1129
|
```markdown
|
|
1130
1130
|
## Goals and Background Context
|
|
1131
|
-
|
|
1131
|
+
|
|
1132
|
+
## Requirements
|
|
1133
|
+
|
|
1132
1134
|
## User Interface Design Goals
|
|
1135
|
+
|
|
1133
1136
|
## Success Metrics
|
|
1134
1137
|
```
|
|
1135
1138
|
|
|
@@ -1286,16 +1289,19 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1286
1289
|
## Core Reflective Methods
|
|
1287
1290
|
|
|
1288
1291
|
**Expand or Contract for Audience**
|
|
1292
|
+
|
|
1289
1293
|
- Ask whether to 'expand' (add detail, elaborate) or 'contract' (simplify, clarify)
|
|
1290
1294
|
- Identify specific target audience if relevant
|
|
1291
1295
|
- Tailor content complexity and depth accordingly
|
|
1292
1296
|
|
|
1293
1297
|
**Explain Reasoning (CoT Step-by-Step)**
|
|
1298
|
+
|
|
1294
1299
|
- Walk through the step-by-step thinking process
|
|
1295
1300
|
- Reveal underlying assumptions and decision points
|
|
1296
1301
|
- Show how conclusions were reached from current role's perspective
|
|
1297
1302
|
|
|
1298
1303
|
**Critique and Refine**
|
|
1304
|
+
|
|
1299
1305
|
- Review output for flaws, inconsistencies, or improvement areas
|
|
1300
1306
|
- Identify specific weaknesses from role's expertise
|
|
1301
1307
|
- Suggest refined version reflecting domain knowledge
|
|
@@ -1303,12 +1309,14 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1303
1309
|
## Structural Analysis Methods
|
|
1304
1310
|
|
|
1305
1311
|
**Analyze Logical Flow and Dependencies**
|
|
1312
|
+
|
|
1306
1313
|
- Examine content structure for logical progression
|
|
1307
1314
|
- Check internal consistency and coherence
|
|
1308
1315
|
- Identify and validate dependencies between elements
|
|
1309
1316
|
- Confirm effective ordering and sequencing
|
|
1310
1317
|
|
|
1311
1318
|
**Assess Alignment with Overall Goals**
|
|
1319
|
+
|
|
1312
1320
|
- Evaluate content contribution to stated objectives
|
|
1313
1321
|
- Identify any misalignments or gaps
|
|
1314
1322
|
- Interpret alignment from specific role's perspective
|
|
@@ -1317,12 +1325,14 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1317
1325
|
## Risk and Challenge Methods
|
|
1318
1326
|
|
|
1319
1327
|
**Identify Potential Risks and Unforeseen Issues**
|
|
1328
|
+
|
|
1320
1329
|
- Brainstorm potential risks from role's expertise
|
|
1321
1330
|
- Identify overlooked edge cases or scenarios
|
|
1322
1331
|
- Anticipate unintended consequences
|
|
1323
1332
|
- Highlight implementation challenges
|
|
1324
1333
|
|
|
1325
1334
|
**Challenge from Critical Perspective**
|
|
1335
|
+
|
|
1326
1336
|
- Adopt critical stance on current content
|
|
1327
1337
|
- Play devil's advocate from specified viewpoint
|
|
1328
1338
|
- Argue against proposal highlighting weaknesses
|
|
@@ -1331,12 +1341,14 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1331
1341
|
## Creative Exploration Methods
|
|
1332
1342
|
|
|
1333
1343
|
**Tree of Thoughts Deep Dive**
|
|
1344
|
+
|
|
1334
1345
|
- Break problem into discrete "thoughts" or intermediate steps
|
|
1335
1346
|
- Explore multiple reasoning paths simultaneously
|
|
1336
1347
|
- Use self-evaluation to classify each path as "sure", "likely", or "impossible"
|
|
1337
1348
|
- Apply search algorithms (BFS/DFS) to find optimal solution paths
|
|
1338
1349
|
|
|
1339
1350
|
**Hindsight is 20/20: The 'If Only...' Reflection**
|
|
1351
|
+
|
|
1340
1352
|
- Imagine retrospective scenario based on current content
|
|
1341
1353
|
- Identify the one "if only we had known/done X..." insight
|
|
1342
1354
|
- Describe imagined consequences humorously or dramatically
|
|
@@ -1345,6 +1357,7 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1345
1357
|
## Multi-Persona Collaboration Methods
|
|
1346
1358
|
|
|
1347
1359
|
**Agile Team Perspective Shift**
|
|
1360
|
+
|
|
1348
1361
|
- Rotate through different Scrum team member viewpoints
|
|
1349
1362
|
- Product Owner: Focus on user value and business impact
|
|
1350
1363
|
- Scrum Master: Examine process flow and team dynamics
|
|
@@ -1352,12 +1365,14 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1352
1365
|
- QA: Identify testing scenarios and quality concerns
|
|
1353
1366
|
|
|
1354
1367
|
**Stakeholder Round Table**
|
|
1368
|
+
|
|
1355
1369
|
- Convene virtual meeting with multiple personas
|
|
1356
1370
|
- Each persona contributes unique perspective on content
|
|
1357
1371
|
- Identify conflicts and synergies between viewpoints
|
|
1358
1372
|
- Synthesize insights into actionable recommendations
|
|
1359
1373
|
|
|
1360
1374
|
**Meta-Prompting Analysis**
|
|
1375
|
+
|
|
1361
1376
|
- Step back to analyze the structure and logic of current approach
|
|
1362
1377
|
- Question the format and methodology being used
|
|
1363
1378
|
- Suggest alternative frameworks or mental models
|
|
@@ -1366,24 +1381,28 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1366
1381
|
## Advanced 2025 Techniques
|
|
1367
1382
|
|
|
1368
1383
|
**Self-Consistency Validation**
|
|
1384
|
+
|
|
1369
1385
|
- Generate multiple reasoning paths for same problem
|
|
1370
1386
|
- Compare consistency across different approaches
|
|
1371
1387
|
- Identify most reliable and robust solution
|
|
1372
1388
|
- Highlight areas where approaches diverge and why
|
|
1373
1389
|
|
|
1374
1390
|
**ReWOO (Reasoning Without Observation)**
|
|
1391
|
+
|
|
1375
1392
|
- Separate parametric reasoning from tool-based actions
|
|
1376
1393
|
- Create reasoning plan without external dependencies
|
|
1377
1394
|
- Identify what can be solved through pure reasoning
|
|
1378
1395
|
- Optimize for efficiency and reduced token usage
|
|
1379
1396
|
|
|
1380
1397
|
**Persona-Pattern Hybrid**
|
|
1398
|
+
|
|
1381
1399
|
- Combine specific role expertise with elicitation pattern
|
|
1382
1400
|
- Architect + Risk Analysis: Deep technical risk assessment
|
|
1383
1401
|
- UX Expert + User Journey: End-to-end experience critique
|
|
1384
1402
|
- PM + Stakeholder Analysis: Multi-perspective impact review
|
|
1385
1403
|
|
|
1386
1404
|
**Emergent Collaboration Discovery**
|
|
1405
|
+
|
|
1387
1406
|
- Allow multiple perspectives to naturally emerge
|
|
1388
1407
|
- Identify unexpected insights from persona interactions
|
|
1389
1408
|
- Explore novel combinations of viewpoints
|
|
@@ -1392,18 +1411,21 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1392
1411
|
## Game-Based Elicitation Methods
|
|
1393
1412
|
|
|
1394
1413
|
**Red Team vs Blue Team**
|
|
1414
|
+
|
|
1395
1415
|
- Red Team: Attack the proposal, find vulnerabilities
|
|
1396
1416
|
- Blue Team: Defend and strengthen the approach
|
|
1397
1417
|
- Competitive analysis reveals blind spots
|
|
1398
1418
|
- Results in more robust, battle-tested solutions
|
|
1399
1419
|
|
|
1400
1420
|
**Innovation Tournament**
|
|
1421
|
+
|
|
1401
1422
|
- Pit multiple alternative approaches against each other
|
|
1402
1423
|
- Score each approach across different criteria
|
|
1403
1424
|
- Crowd-source evaluation from different personas
|
|
1404
1425
|
- Identify winning combination of features
|
|
1405
1426
|
|
|
1406
1427
|
**Escape Room Challenge**
|
|
1428
|
+
|
|
1407
1429
|
- Present content as constraints to work within
|
|
1408
1430
|
- Find creative solutions within tight limitations
|
|
1409
1431
|
- Identify minimum viable approach
|
|
@@ -1412,6 +1434,7 @@ Use the **expansion-creator** pack to build your own:
|
|
|
1412
1434
|
## Process Control
|
|
1413
1435
|
|
|
1414
1436
|
**Proceed / No Further Actions**
|
|
1437
|
+
|
|
1415
1438
|
- Acknowledge choice to finalize current work
|
|
1416
1439
|
- Accept output as-is or move to next step
|
|
1417
1440
|
- Prepare to continue without additional elicitation
|
package/dist/agents/dev.txt
CHANGED
|
@@ -102,7 +102,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
102
102
|
## Instructions
|
|
103
103
|
|
|
104
104
|
1. **Initial Assessment**
|
|
105
|
-
|
|
106
105
|
- If user or the task being run provides a checklist name:
|
|
107
106
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
108
107
|
- If multiple matches found, ask user to clarify
|
|
@@ -115,14 +114,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
115
114
|
- All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
|
|
116
115
|
|
|
117
116
|
2. **Document and Artifact Gathering**
|
|
118
|
-
|
|
119
117
|
- Each checklist will specify its required documents/artifacts at the beginning
|
|
120
118
|
- Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
|
|
121
119
|
|
|
122
120
|
3. **Checklist Processing**
|
|
123
121
|
|
|
124
122
|
If in interactive mode:
|
|
125
|
-
|
|
126
123
|
- Work through each section of the checklist one at a time
|
|
127
124
|
- For each section:
|
|
128
125
|
- Review all items in the section following instructions for that section embedded in the checklist
|
|
@@ -131,7 +128,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
131
128
|
- Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
|
|
132
129
|
|
|
133
130
|
If in YOLO mode:
|
|
134
|
-
|
|
135
131
|
- Process all sections at once
|
|
136
132
|
- Create a comprehensive report of all findings
|
|
137
133
|
- Present the complete analysis to the user
|
|
@@ -139,7 +135,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
139
135
|
4. **Validation Approach**
|
|
140
136
|
|
|
141
137
|
For each checklist item:
|
|
142
|
-
|
|
143
138
|
- Read and understand the requirement
|
|
144
139
|
- Look for evidence in the documentation that satisfies the requirement
|
|
145
140
|
- Consider both explicit mentions and implicit coverage
|
|
@@ -153,7 +148,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
153
148
|
5. **Section Analysis**
|
|
154
149
|
|
|
155
150
|
For each section:
|
|
156
|
-
|
|
157
151
|
- think step by step to calculate pass rate
|
|
158
152
|
- Identify common themes in failed items
|
|
159
153
|
- Provide specific recommendations for improvement
|
|
@@ -163,7 +157,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
163
157
|
6. **Final Report**
|
|
164
158
|
|
|
165
159
|
Prepare a summary that includes:
|
|
166
|
-
|
|
167
160
|
- Overall checklist completion status
|
|
168
161
|
- Pass rates by section
|
|
169
162
|
- List of failed items with context
|
|
@@ -351,14 +344,12 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
351
344
|
1. **Requirements Met:**
|
|
352
345
|
|
|
353
346
|
[[LLM: Be specific - list each requirement and whether it's complete]]
|
|
354
|
-
|
|
355
347
|
- [ ] All functional requirements specified in the story are implemented.
|
|
356
348
|
- [ ] All acceptance criteria defined in the story are met.
|
|
357
349
|
|
|
358
350
|
2. **Coding Standards & Project Structure:**
|
|
359
351
|
|
|
360
352
|
[[LLM: Code quality matters for maintainability. Check each item carefully]]
|
|
361
|
-
|
|
362
353
|
- [ ] All new/modified code strictly adheres to `Operational Guidelines`.
|
|
363
354
|
- [ ] All new/modified code aligns with `Project Structure` (file locations, naming, etc.).
|
|
364
355
|
- [ ] Adherence to `Tech Stack` for technologies/versions used (if story introduces or modifies tech usage).
|
|
@@ -370,7 +361,6 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
370
361
|
3. **Testing:**
|
|
371
362
|
|
|
372
363
|
[[LLM: Testing proves your code works. Be honest about test coverage]]
|
|
373
|
-
|
|
374
364
|
- [ ] All required unit tests as per the story and `Operational Guidelines` Testing Strategy are implemented.
|
|
375
365
|
- [ ] All required integration tests (if applicable) as per the story and `Operational Guidelines` Testing Strategy are implemented.
|
|
376
366
|
- [ ] All tests (unit, integration, E2E if applicable) pass successfully.
|
|
@@ -379,14 +369,12 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
379
369
|
4. **Functionality & Verification:**
|
|
380
370
|
|
|
381
371
|
[[LLM: Did you actually run and test your code? Be specific about what you tested]]
|
|
382
|
-
|
|
383
372
|
- [ ] Functionality has been manually verified by the developer (e.g., running the app locally, checking UI, testing API endpoints).
|
|
384
373
|
- [ ] Edge cases and potential error conditions considered and handled gracefully.
|
|
385
374
|
|
|
386
375
|
5. **Story Administration:**
|
|
387
376
|
|
|
388
377
|
[[LLM: Documentation helps the next developer. What should they know?]]
|
|
389
|
-
|
|
390
378
|
- [ ] All tasks within the story file are marked as complete.
|
|
391
379
|
- [ ] Any clarifications or decisions made during development are documented in the story file or linked appropriately.
|
|
392
380
|
- [ ] The story wrap up section has been completed with notes of changes or information relevant to the next story or overall project, the agent model that was primarily used during development, and the changelog of any changes is properly updated.
|
|
@@ -394,7 +382,6 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
394
382
|
6. **Dependencies, Build & Configuration:**
|
|
395
383
|
|
|
396
384
|
[[LLM: Build issues block everyone. Ensure everything compiles and runs cleanly]]
|
|
397
|
-
|
|
398
385
|
- [ ] Project builds successfully without errors.
|
|
399
386
|
- [ ] Project linting passes
|
|
400
387
|
- [ ] Any new dependencies added were either pre-approved in the story requirements OR explicitly approved by the user during development (approval documented in story file).
|
|
@@ -405,7 +392,6 @@ The goal is quality delivery, not just checking boxes.]]
|
|
|
405
392
|
7. **Documentation (If Applicable):**
|
|
406
393
|
|
|
407
394
|
[[LLM: Good documentation prevents future confusion. What needs explaining?]]
|
|
408
|
-
|
|
409
395
|
- [ ] Relevant inline code documentation (e.g., JSDoc, TSDoc, Python docstrings) for new public APIs or complex logic is complete.
|
|
410
396
|
- [ ] User-facing documentation updated, if changes impact users.
|
|
411
397
|
- [ ] Technical documentation (e.g., READMEs, system diagrams) updated if significant architectural changes were made.
|
package/dist/agents/pm.txt
CHANGED
|
@@ -304,63 +304,54 @@ CRITICAL: First, help the user select the most appropriate research focus based
|
|
|
304
304
|
Present these numbered options to the user:
|
|
305
305
|
|
|
306
306
|
1. **Product Validation Research**
|
|
307
|
-
|
|
308
307
|
- Validate product hypotheses and market fit
|
|
309
308
|
- Test assumptions about user needs and solutions
|
|
310
309
|
- Assess technical and business feasibility
|
|
311
310
|
- Identify risks and mitigation strategies
|
|
312
311
|
|
|
313
312
|
2. **Market Opportunity Research**
|
|
314
|
-
|
|
315
313
|
- Analyze market size and growth potential
|
|
316
314
|
- Identify market segments and dynamics
|
|
317
315
|
- Assess market entry strategies
|
|
318
316
|
- Evaluate timing and market readiness
|
|
319
317
|
|
|
320
318
|
3. **User & Customer Research**
|
|
321
|
-
|
|
322
319
|
- Deep dive into user personas and behaviors
|
|
323
320
|
- Understand jobs-to-be-done and pain points
|
|
324
321
|
- Map customer journeys and touchpoints
|
|
325
322
|
- Analyze willingness to pay and value perception
|
|
326
323
|
|
|
327
324
|
4. **Competitive Intelligence Research**
|
|
328
|
-
|
|
329
325
|
- Detailed competitor analysis and positioning
|
|
330
326
|
- Feature and capability comparisons
|
|
331
327
|
- Business model and strategy analysis
|
|
332
328
|
- Identify competitive advantages and gaps
|
|
333
329
|
|
|
334
330
|
5. **Technology & Innovation Research**
|
|
335
|
-
|
|
336
331
|
- Assess technology trends and possibilities
|
|
337
332
|
- Evaluate technical approaches and architectures
|
|
338
333
|
- Identify emerging technologies and disruptions
|
|
339
334
|
- Analyze build vs. buy vs. partner options
|
|
340
335
|
|
|
341
336
|
6. **Industry & Ecosystem Research**
|
|
342
|
-
|
|
343
337
|
- Map industry value chains and dynamics
|
|
344
338
|
- Identify key players and relationships
|
|
345
339
|
- Analyze regulatory and compliance factors
|
|
346
340
|
- Understand partnership opportunities
|
|
347
341
|
|
|
348
342
|
7. **Strategic Options Research**
|
|
349
|
-
|
|
350
343
|
- Evaluate different strategic directions
|
|
351
344
|
- Assess business model alternatives
|
|
352
345
|
- Analyze go-to-market strategies
|
|
353
346
|
- Consider expansion and scaling paths
|
|
354
347
|
|
|
355
348
|
8. **Risk & Feasibility Research**
|
|
356
|
-
|
|
357
349
|
- Identify and assess various risk factors
|
|
358
350
|
- Evaluate implementation challenges
|
|
359
351
|
- Analyze resource requirements
|
|
360
352
|
- Consider regulatory and legal implications
|
|
361
353
|
|
|
362
354
|
9. **Custom Research Focus**
|
|
363
|
-
|
|
364
355
|
- User-defined research objectives
|
|
365
356
|
- Specialized domain investigation
|
|
366
357
|
- Cross-functional research needs
|
|
@@ -529,13 +520,11 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
|
|
|
529
520
|
### 5. Review and Refinement
|
|
530
521
|
|
|
531
522
|
1. **Present Complete Prompt**
|
|
532
|
-
|
|
533
523
|
- Show the full research prompt
|
|
534
524
|
- Explain key elements and rationale
|
|
535
525
|
- Highlight any assumptions made
|
|
536
526
|
|
|
537
527
|
2. **Gather Feedback**
|
|
538
|
-
|
|
539
528
|
- Are the objectives clear and correct?
|
|
540
529
|
- Do the questions address all concerns?
|
|
541
530
|
- Is the scope appropriate?
|
|
@@ -897,7 +886,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
897
886
|
## Instructions
|
|
898
887
|
|
|
899
888
|
1. **Initial Assessment**
|
|
900
|
-
|
|
901
889
|
- If user or the task being run provides a checklist name:
|
|
902
890
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
903
891
|
- If multiple matches found, ask user to clarify
|
|
@@ -910,14 +898,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
910
898
|
- All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
|
|
911
899
|
|
|
912
900
|
2. **Document and Artifact Gathering**
|
|
913
|
-
|
|
914
901
|
- Each checklist will specify its required documents/artifacts at the beginning
|
|
915
902
|
- Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
|
|
916
903
|
|
|
917
904
|
3. **Checklist Processing**
|
|
918
905
|
|
|
919
906
|
If in interactive mode:
|
|
920
|
-
|
|
921
907
|
- Work through each section of the checklist one at a time
|
|
922
908
|
- For each section:
|
|
923
909
|
- Review all items in the section following instructions for that section embedded in the checklist
|
|
@@ -926,7 +912,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
926
912
|
- Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
|
|
927
913
|
|
|
928
914
|
If in YOLO mode:
|
|
929
|
-
|
|
930
915
|
- Process all sections at once
|
|
931
916
|
- Create a comprehensive report of all findings
|
|
932
917
|
- Present the complete analysis to the user
|
|
@@ -934,7 +919,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
934
919
|
4. **Validation Approach**
|
|
935
920
|
|
|
936
921
|
For each checklist item:
|
|
937
|
-
|
|
938
922
|
- Read and understand the requirement
|
|
939
923
|
- Look for evidence in the documentation that satisfies the requirement
|
|
940
924
|
- Consider both explicit mentions and implicit coverage
|
|
@@ -948,7 +932,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
948
932
|
5. **Section Analysis**
|
|
949
933
|
|
|
950
934
|
For each section:
|
|
951
|
-
|
|
952
935
|
- think step by step to calculate pass rate
|
|
953
936
|
- Identify common themes in failed items
|
|
954
937
|
- Provide specific recommendations for improvement
|
|
@@ -958,7 +941,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
958
941
|
6. **Final Report**
|
|
959
942
|
|
|
960
943
|
Prepare a summary that includes:
|
|
961
|
-
|
|
962
944
|
- Overall checklist completion status
|
|
963
945
|
- Pass rates by section
|
|
964
946
|
- List of failed items with context
|
|
@@ -1075,13 +1057,11 @@ CRITICAL: Use proper parsing that understands markdown context. A ## inside a co
|
|
|
1075
1057
|
For each extracted section:
|
|
1076
1058
|
|
|
1077
1059
|
1. **Generate filename**: Convert the section heading to lowercase-dash-case
|
|
1078
|
-
|
|
1079
1060
|
- Remove special characters
|
|
1080
1061
|
- Replace spaces with dashes
|
|
1081
1062
|
- Example: "## Tech Stack" → `tech-stack.md`
|
|
1082
1063
|
|
|
1083
1064
|
2. **Adjust heading levels**:
|
|
1084
|
-
|
|
1085
1065
|
- The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
|
|
1086
1066
|
- All subsection levels decrease by 1:
|
|
1087
1067
|
|
|
@@ -1966,7 +1946,6 @@ Ask the user if they want to work through the checklist:
|
|
|
1966
1946
|
Create a comprehensive validation report that includes:
|
|
1967
1947
|
|
|
1968
1948
|
1. Executive Summary
|
|
1969
|
-
|
|
1970
1949
|
- Overall PRD completeness (percentage)
|
|
1971
1950
|
- MVP scope appropriateness (Too Large/Just Right/Too Small)
|
|
1972
1951
|
- Readiness for architecture phase (Ready/Nearly Ready/Not Ready)
|
|
@@ -1974,26 +1953,22 @@ Create a comprehensive validation report that includes:
|
|
|
1974
1953
|
|
|
1975
1954
|
2. Category Analysis Table
|
|
1976
1955
|
Fill in the actual table with:
|
|
1977
|
-
|
|
1978
1956
|
- Status: PASS (90%+ complete), PARTIAL (60-89%), FAIL (<60%)
|
|
1979
1957
|
- Critical Issues: Specific problems that block progress
|
|
1980
1958
|
|
|
1981
1959
|
3. Top Issues by Priority
|
|
1982
|
-
|
|
1983
1960
|
- BLOCKERS: Must fix before architect can proceed
|
|
1984
1961
|
- HIGH: Should fix for quality
|
|
1985
1962
|
- MEDIUM: Would improve clarity
|
|
1986
1963
|
- LOW: Nice to have
|
|
1987
1964
|
|
|
1988
1965
|
4. MVP Scope Assessment
|
|
1989
|
-
|
|
1990
1966
|
- Features that might be cut for true MVP
|
|
1991
1967
|
- Missing features that are essential
|
|
1992
1968
|
- Complexity concerns
|
|
1993
1969
|
- Timeline realism
|
|
1994
1970
|
|
|
1995
1971
|
5. Technical Readiness
|
|
1996
|
-
|
|
1997
1972
|
- Clarity of technical constraints
|
|
1998
1973
|
- Identified technical risks
|
|
1999
1974
|
- Areas needing architect investigation
|
package/dist/agents/po.txt
CHANGED
|
@@ -110,7 +110,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
110
110
|
## Instructions
|
|
111
111
|
|
|
112
112
|
1. **Initial Assessment**
|
|
113
|
-
|
|
114
113
|
- If user or the task being run provides a checklist name:
|
|
115
114
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
116
115
|
- If multiple matches found, ask user to clarify
|
|
@@ -123,14 +122,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
123
122
|
- All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
|
|
124
123
|
|
|
125
124
|
2. **Document and Artifact Gathering**
|
|
126
|
-
|
|
127
125
|
- Each checklist will specify its required documents/artifacts at the beginning
|
|
128
126
|
- Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
|
|
129
127
|
|
|
130
128
|
3. **Checklist Processing**
|
|
131
129
|
|
|
132
130
|
If in interactive mode:
|
|
133
|
-
|
|
134
131
|
- Work through each section of the checklist one at a time
|
|
135
132
|
- For each section:
|
|
136
133
|
- Review all items in the section following instructions for that section embedded in the checklist
|
|
@@ -139,7 +136,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
139
136
|
- Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
|
|
140
137
|
|
|
141
138
|
If in YOLO mode:
|
|
142
|
-
|
|
143
139
|
- Process all sections at once
|
|
144
140
|
- Create a comprehensive report of all findings
|
|
145
141
|
- Present the complete analysis to the user
|
|
@@ -147,7 +143,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
147
143
|
4. **Validation Approach**
|
|
148
144
|
|
|
149
145
|
For each checklist item:
|
|
150
|
-
|
|
151
146
|
- Read and understand the requirement
|
|
152
147
|
- Look for evidence in the documentation that satisfies the requirement
|
|
153
148
|
- Consider both explicit mentions and implicit coverage
|
|
@@ -161,7 +156,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
161
156
|
5. **Section Analysis**
|
|
162
157
|
|
|
163
158
|
For each section:
|
|
164
|
-
|
|
165
159
|
- think step by step to calculate pass rate
|
|
166
160
|
- Identify common themes in failed items
|
|
167
161
|
- Provide specific recommendations for improvement
|
|
@@ -171,7 +165,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
171
165
|
6. **Final Report**
|
|
172
166
|
|
|
173
167
|
Prepare a summary that includes:
|
|
174
|
-
|
|
175
168
|
- Overall checklist completion status
|
|
176
169
|
- Pass rates by section
|
|
177
170
|
- List of failed items with context
|
|
@@ -288,13 +281,11 @@ CRITICAL: Use proper parsing that understands markdown context. A ## inside a co
|
|
|
288
281
|
For each extracted section:
|
|
289
282
|
|
|
290
283
|
1. **Generate filename**: Convert the section heading to lowercase-dash-case
|
|
291
|
-
|
|
292
284
|
- Remove special characters
|
|
293
285
|
- Replace spaces with dashes
|
|
294
286
|
- Example: "## Tech Stack" → `tech-stack.md`
|
|
295
287
|
|
|
296
288
|
2. **Adjust heading levels**:
|
|
297
|
-
|
|
298
289
|
- The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
|
|
299
290
|
- All subsection levels decrease by 1:
|
|
300
291
|
|
|
@@ -745,12 +736,10 @@ PROJECT TYPE DETECTION:
|
|
|
745
736
|
First, determine the project type by checking:
|
|
746
737
|
|
|
747
738
|
1. Is this a GREENFIELD project (new from scratch)?
|
|
748
|
-
|
|
749
739
|
- Look for: New project initialization, no existing codebase references
|
|
750
740
|
- Check for: prd.md, architecture.md, new project setup stories
|
|
751
741
|
|
|
752
742
|
2. Is this a BROWNFIELD project (enhancing existing system)?
|
|
753
|
-
|
|
754
743
|
- Look for: References to existing codebase, enhancement/modification language
|
|
755
744
|
- Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
|
|
756
745
|
|
|
@@ -1084,7 +1073,6 @@ Ask the user if they want to work through the checklist:
|
|
|
1084
1073
|
Generate a comprehensive validation report that adapts to project type:
|
|
1085
1074
|
|
|
1086
1075
|
1. Executive Summary
|
|
1087
|
-
|
|
1088
1076
|
- Project type: [Greenfield/Brownfield] with [UI/No UI]
|
|
1089
1077
|
- Overall readiness (percentage)
|
|
1090
1078
|
- Go/No-Go recommendation
|
|
@@ -1094,42 +1082,36 @@ Generate a comprehensive validation report that adapts to project type:
|
|
|
1094
1082
|
2. Project-Specific Analysis
|
|
1095
1083
|
|
|
1096
1084
|
FOR GREENFIELD:
|
|
1097
|
-
|
|
1098
1085
|
- Setup completeness
|
|
1099
1086
|
- Dependency sequencing
|
|
1100
1087
|
- MVP scope appropriateness
|
|
1101
1088
|
- Development timeline feasibility
|
|
1102
1089
|
|
|
1103
1090
|
FOR BROWNFIELD:
|
|
1104
|
-
|
|
1105
1091
|
- Integration risk level (High/Medium/Low)
|
|
1106
1092
|
- Existing system impact assessment
|
|
1107
1093
|
- Rollback readiness
|
|
1108
1094
|
- User disruption potential
|
|
1109
1095
|
|
|
1110
1096
|
3. Risk Assessment
|
|
1111
|
-
|
|
1112
1097
|
- Top 5 risks by severity
|
|
1113
1098
|
- Mitigation recommendations
|
|
1114
1099
|
- Timeline impact of addressing issues
|
|
1115
1100
|
- [BROWNFIELD] Specific integration risks
|
|
1116
1101
|
|
|
1117
1102
|
4. MVP Completeness
|
|
1118
|
-
|
|
1119
1103
|
- Core features coverage
|
|
1120
1104
|
- Missing essential functionality
|
|
1121
1105
|
- Scope creep identified
|
|
1122
1106
|
- True MVP vs over-engineering
|
|
1123
1107
|
|
|
1124
1108
|
5. Implementation Readiness
|
|
1125
|
-
|
|
1126
1109
|
- Developer clarity score (1-10)
|
|
1127
1110
|
- Ambiguous requirements count
|
|
1128
1111
|
- Missing technical details
|
|
1129
1112
|
- [BROWNFIELD] Integration point clarity
|
|
1130
1113
|
|
|
1131
1114
|
6. Recommendations
|
|
1132
|
-
|
|
1133
1115
|
- Must-fix before development
|
|
1134
1116
|
- Should-fix for quality
|
|
1135
1117
|
- Consider for improvement
|