bmad-method 4.37.0-beta.6 → 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.
Files changed (85) hide show
  1. package/.github/workflows/promote-to-stable.yml +144 -0
  2. package/CHANGELOG.md +27 -2
  3. package/bmad-core/agents/analyst.md +1 -1
  4. package/bmad-core/agents/architect.md +2 -3
  5. package/bmad-core/agents/bmad-master.md +0 -1
  6. package/bmad-core/agents/bmad-orchestrator.md +9 -10
  7. package/bmad-core/agents/dev.md +9 -10
  8. package/bmad-core/agents/po.md +1 -1
  9. package/bmad-core/agents/qa.md +38 -19
  10. package/bmad-core/agents/sm.md +1 -1
  11. package/bmad-core/agents/ux-expert.md +1 -1
  12. package/bmad-core/checklists/architect-checklist.md +0 -5
  13. package/bmad-core/checklists/pm-checklist.md +0 -5
  14. package/bmad-core/checklists/po-master-checklist.md +0 -9
  15. package/bmad-core/checklists/story-dod-checklist.md +0 -7
  16. package/bmad-core/checklists/story-draft-checklist.md +0 -3
  17. package/bmad-core/data/bmad-kb.md +5 -2
  18. package/bmad-core/data/elicitation-methods.md +20 -0
  19. package/bmad-core/data/test-levels-framework.md +146 -0
  20. package/bmad-core/data/test-priorities-matrix.md +172 -0
  21. package/bmad-core/tasks/create-brownfield-story.md +11 -3
  22. package/bmad-core/tasks/create-deep-research-prompt.md +0 -11
  23. package/bmad-core/tasks/document-project.md +15 -13
  24. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  25. package/bmad-core/tasks/index-docs.md +0 -6
  26. package/bmad-core/tasks/kb-mode-interaction.md +3 -3
  27. package/bmad-core/tasks/nfr-assess.md +343 -0
  28. package/bmad-core/tasks/qa-gate.md +159 -0
  29. package/bmad-core/tasks/review-story.md +243 -74
  30. package/bmad-core/tasks/risk-profile.md +353 -0
  31. package/bmad-core/tasks/shard-doc.md +0 -2
  32. package/bmad-core/tasks/test-design.md +174 -0
  33. package/bmad-core/tasks/trace-requirements.md +264 -0
  34. package/bmad-core/templates/qa-gate-tmpl.yaml +102 -0
  35. package/common/tasks/execute-checklist.md +0 -7
  36. package/dist/agents/analyst.txt +20 -26
  37. package/dist/agents/architect.txt +14 -35
  38. package/dist/agents/bmad-master.txt +40 -70
  39. package/dist/agents/bmad-orchestrator.txt +28 -5
  40. package/dist/agents/dev.txt +0 -14
  41. package/dist/agents/pm.txt +0 -25
  42. package/dist/agents/po.txt +0 -18
  43. package/dist/agents/qa.txt +2079 -135
  44. package/dist/agents/sm.txt +0 -10
  45. package/dist/agents/ux-expert.txt +0 -7
  46. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -37
  47. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +3 -12
  48. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -7
  49. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +44 -90
  50. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +14 -49
  51. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +0 -46
  52. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +0 -15
  53. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +0 -17
  54. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +38 -142
  55. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2
  56. package/dist/teams/team-all.txt +2181 -261
  57. package/dist/teams/team-fullstack.txt +43 -57
  58. package/dist/teams/team-ide-minimal.txt +2064 -125
  59. package/dist/teams/team-no-ui.txt +43 -57
  60. package/docs/enhanced-ide-development-workflow.md +220 -15
  61. package/docs/user-guide.md +271 -18
  62. package/docs/working-in-the-brownfield.md +265 -32
  63. package/expansion-packs/Complete AI Agent System - Blank Templates & Google Cloud Setup/README.md +14 -14
  64. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -4
  65. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +3 -5
  66. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -1
  67. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -18
  68. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +0 -5
  69. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +0 -8
  70. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +0 -7
  71. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -4
  72. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -1
  73. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +0 -10
  74. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -18
  75. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -3
  76. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -1
  77. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -1
  78. package/package.json +1 -1
  79. package/tools/installer/bin/bmad.js +33 -32
  80. package/tools/installer/config/install.config.yaml +11 -1
  81. package/tools/installer/lib/file-manager.js +1 -1
  82. package/tools/installer/lib/ide-base-setup.js +1 -1
  83. package/tools/installer/lib/ide-setup.js +197 -83
  84. package/tools/installer/lib/installer.js +3 -3
  85. package/tools/installer/package.json +1 -1
@@ -291,7 +291,7 @@ If user selects Option 1, present numbered list of techniques from the brainstor
291
291
  1. Apply selected technique according to data file description
292
292
  2. Keep engaging with technique until user indicates they want to:
293
293
  - Choose a different technique
294
- - Apply current ideas to a new technique
294
+ - Apply current ideas to a new technique
295
295
  - Move to convergent phase
296
296
  - End session
297
297
 
@@ -794,63 +794,54 @@ CRITICAL: First, help the user select the most appropriate research focus based
794
794
  Present these numbered options to the user:
795
795
 
796
796
  1. **Product Validation Research**
797
-
798
797
  - Validate product hypotheses and market fit
799
798
  - Test assumptions about user needs and solutions
800
799
  - Assess technical and business feasibility
801
800
  - Identify risks and mitigation strategies
802
801
 
803
802
  2. **Market Opportunity Research**
804
-
805
803
  - Analyze market size and growth potential
806
804
  - Identify market segments and dynamics
807
805
  - Assess market entry strategies
808
806
  - Evaluate timing and market readiness
809
807
 
810
808
  3. **User & Customer Research**
811
-
812
809
  - Deep dive into user personas and behaviors
813
810
  - Understand jobs-to-be-done and pain points
814
811
  - Map customer journeys and touchpoints
815
812
  - Analyze willingness to pay and value perception
816
813
 
817
814
  4. **Competitive Intelligence Research**
818
-
819
815
  - Detailed competitor analysis and positioning
820
816
  - Feature and capability comparisons
821
817
  - Business model and strategy analysis
822
818
  - Identify competitive advantages and gaps
823
819
 
824
820
  5. **Technology & Innovation Research**
825
-
826
821
  - Assess technology trends and possibilities
827
822
  - Evaluate technical approaches and architectures
828
823
  - Identify emerging technologies and disruptions
829
824
  - Analyze build vs. buy vs. partner options
830
825
 
831
826
  6. **Industry & Ecosystem Research**
832
-
833
827
  - Map industry value chains and dynamics
834
828
  - Identify key players and relationships
835
829
  - Analyze regulatory and compliance factors
836
830
  - Understand partnership opportunities
837
831
 
838
832
  7. **Strategic Options Research**
839
-
840
833
  - Evaluate different strategic directions
841
834
  - Assess business model alternatives
842
835
  - Analyze go-to-market strategies
843
836
  - Consider expansion and scaling paths
844
837
 
845
838
  8. **Risk & Feasibility Research**
846
-
847
839
  - Identify and assess various risk factors
848
840
  - Evaluate implementation challenges
849
841
  - Analyze resource requirements
850
842
  - Consider regulatory and legal implications
851
843
 
852
844
  9. **Custom Research Focus**
853
-
854
845
  - User-defined research objectives
855
846
  - Specialized domain investigation
856
847
  - Cross-functional research needs
@@ -1019,13 +1010,11 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
1019
1010
  ### 5. Review and Refinement
1020
1011
 
1021
1012
  1. **Present Complete Prompt**
1022
-
1023
1013
  - Show the full research prompt
1024
1014
  - Explain key elements and rationale
1025
1015
  - Highlight any assumptions made
1026
1016
 
1027
1017
  2. **Gather Feedback**
1028
-
1029
1018
  - Are the objectives clear and correct?
1030
1019
  - Do the questions address all concerns?
1031
1020
  - Is the scope appropriate?
@@ -1280,9 +1269,9 @@ This document captures the CURRENT STATE of the [Project Name] codebase, includi
1280
1269
 
1281
1270
  ### Change Log
1282
1271
 
1283
- | Date | Version | Description | Author |
1284
- |------|---------|-------------|--------|
1285
- | [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
1272
+ | Date | Version | Description | Author |
1273
+ | ------ | ------- | --------------------------- | --------- |
1274
+ | [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
1286
1275
 
1287
1276
  ## Quick Reference - Key Files and Entry Points
1288
1277
 
@@ -1305,11 +1294,11 @@ This document captures the CURRENT STATE of the [Project Name] codebase, includi
1305
1294
 
1306
1295
  ### Actual Tech Stack (from package.json/requirements.txt)
1307
1296
 
1308
- | Category | Technology | Version | Notes |
1309
- |----------|------------|---------|--------|
1310
- | Runtime | Node.js | 16.x | [Any constraints] |
1311
- | Framework | Express | 4.18.2 | [Custom middleware?] |
1312
- | Database | PostgreSQL | 13 | [Connection pooling setup] |
1297
+ | Category | Technology | Version | Notes |
1298
+ | --------- | ---------- | ------- | -------------------------- |
1299
+ | Runtime | Node.js | 16.x | [Any constraints] |
1300
+ | Framework | Express | 4.18.2 | [Custom middleware?] |
1301
+ | Database | PostgreSQL | 13 | [Connection pooling setup] |
1313
1302
 
1314
1303
  etc...
1315
1304
 
@@ -1348,6 +1337,7 @@ project-root/
1348
1337
  ### Data Models
1349
1338
 
1350
1339
  Instead of duplicating, reference actual model files:
1340
+
1351
1341
  - **User Model**: See `src/models/User.js`
1352
1342
  - **Order Model**: See `src/models/Order.js`
1353
1343
  - **Related Types**: TypeScript definitions in `src/types/`
@@ -1377,10 +1367,10 @@ Instead of duplicating, reference actual model files:
1377
1367
 
1378
1368
  ### External Services
1379
1369
 
1380
- | Service | Purpose | Integration Type | Key Files |
1381
- |---------|---------|------------------|-----------|
1382
- | Stripe | Payments | REST API | `src/integrations/stripe/` |
1383
- | SendGrid | Emails | SDK | `src/services/emailService.js` |
1370
+ | Service | Purpose | Integration Type | Key Files |
1371
+ | -------- | -------- | ---------------- | ------------------------------ |
1372
+ | Stripe | Payments | REST API | `src/integrations/stripe/` |
1373
+ | SendGrid | Emails | SDK | `src/services/emailService.js` |
1384
1374
 
1385
1375
  etc...
1386
1376
 
@@ -1425,6 +1415,7 @@ npm run test:integration # Runs integration tests (requires local DB)
1425
1415
  ### Files That Will Need Modification
1426
1416
 
1427
1417
  Based on the enhancement requirements, these files will be affected:
1418
+
1428
1419
  - `src/services/userService.js` - Add new user fields
1429
1420
  - `src/models/User.js` - Update schema
1430
1421
  - `src/routes/userRoutes.js` - New endpoints
@@ -1637,7 +1628,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
1637
1628
  ## Instructions
1638
1629
 
1639
1630
  1. **Initial Assessment**
1640
-
1641
1631
  - If user or the task being run provides a checklist name:
1642
1632
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
1643
1633
  - If multiple matches found, ask user to clarify
@@ -1650,14 +1640,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
1650
1640
  - All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
1651
1641
 
1652
1642
  2. **Document and Artifact Gathering**
1653
-
1654
1643
  - Each checklist will specify its required documents/artifacts at the beginning
1655
1644
  - 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.
1656
1645
 
1657
1646
  3. **Checklist Processing**
1658
1647
 
1659
1648
  If in interactive mode:
1660
-
1661
1649
  - Work through each section of the checklist one at a time
1662
1650
  - For each section:
1663
1651
  - Review all items in the section following instructions for that section embedded in the checklist
@@ -1666,7 +1654,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
1666
1654
  - Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
1667
1655
 
1668
1656
  If in YOLO mode:
1669
-
1670
1657
  - Process all sections at once
1671
1658
  - Create a comprehensive report of all findings
1672
1659
  - Present the complete analysis to the user
@@ -1674,7 +1661,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
1674
1661
  4. **Validation Approach**
1675
1662
 
1676
1663
  For each checklist item:
1677
-
1678
1664
  - Read and understand the requirement
1679
1665
  - Look for evidence in the documentation that satisfies the requirement
1680
1666
  - Consider both explicit mentions and implicit coverage
@@ -1688,7 +1674,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
1688
1674
  5. **Section Analysis**
1689
1675
 
1690
1676
  For each section:
1691
-
1692
1677
  - think step by step to calculate pass rate
1693
1678
  - Identify common themes in failed items
1694
1679
  - Provide specific recommendations for improvement
@@ -1698,7 +1683,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
1698
1683
  6. **Final Report**
1699
1684
 
1700
1685
  Prepare a summary that includes:
1701
-
1702
1686
  - Overall checklist completion status
1703
1687
  - Pass rates by section
1704
1688
  - List of failed items with context
@@ -1789,14 +1773,12 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
1789
1773
  ### Required Steps
1790
1774
 
1791
1775
  1. First, locate and scan:
1792
-
1793
1776
  - The `docs/` directory and all subdirectories
1794
1777
  - The existing `docs/index.md` file (create if absent)
1795
1778
  - All markdown (`.md`) and text (`.txt`) files in the documentation structure
1796
1779
  - Note the folder structure for hierarchical organization
1797
1780
 
1798
1781
  2. For the existing `docs/index.md`:
1799
-
1800
1782
  - Parse current entries
1801
1783
  - Note existing file references and descriptions
1802
1784
  - Identify any broken links or missing files
@@ -1804,7 +1786,6 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
1804
1786
  - Preserve existing folder sections
1805
1787
 
1806
1788
  3. For each documentation file found:
1807
-
1808
1789
  - Extract the title (from first heading or filename)
1809
1790
  - Generate a brief description by analyzing the content
1810
1791
  - Create a relative markdown link to the file
@@ -1813,7 +1794,6 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
1813
1794
  - If missing or outdated, prepare an update
1814
1795
 
1815
1796
  4. For any missing or non-existent files found in index:
1816
-
1817
1797
  - Present a list of all entries that reference non-existent files
1818
1798
  - For each entry:
1819
1799
  - Show the full entry details (title, path, description)
@@ -1866,7 +1846,6 @@ Documents within the `another-folder/` directory:
1866
1846
  ### [Nested Document](./another-folder/document.md)
1867
1847
 
1868
1848
  Description of nested document.
1869
-
1870
1849
  ```
1871
1850
 
1872
1851
  ### Index Entry Format
@@ -1935,7 +1914,6 @@ For each file referenced in the index but not found in the filesystem:
1935
1914
  ### Special Cases
1936
1915
 
1937
1916
  1. **Sharded Documents**: If a folder contains an `index.md` file, treat it as a sharded document:
1938
-
1939
1917
  - Use the folder's `index.md` title as the section title
1940
1918
  - List the folder's documents as subsections
1941
1919
  - Note in the description that this is a multi-part document
@@ -2051,13 +2029,11 @@ CRITICAL: Use proper parsing that understands markdown context. A ## inside a co
2051
2029
  For each extracted section:
2052
2030
 
2053
2031
  1. **Generate filename**: Convert the section heading to lowercase-dash-case
2054
-
2055
2032
  - Remove special characters
2056
2033
  - Replace spaces with dashes
2057
2034
  - Example: "## Tech Stack" → `tech-stack.md`
2058
2035
 
2059
2036
  2. **Adjust heading levels**:
2060
-
2061
2037
  - The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
2062
2038
  - All subsection levels decrease by 1:
2063
2039
 
@@ -6457,33 +6433,28 @@ Ask the user if they want to work through the checklist:
6457
6433
  Now that you've completed the checklist, generate a comprehensive validation report that includes:
6458
6434
 
6459
6435
  1. Executive Summary
6460
-
6461
6436
  - Overall architecture readiness (High/Medium/Low)
6462
6437
  - Critical risks identified
6463
6438
  - Key strengths of the architecture
6464
6439
  - Project type (Full-stack/Frontend/Backend) and sections evaluated
6465
6440
 
6466
6441
  2. Section Analysis
6467
-
6468
6442
  - Pass rate for each major section (percentage of items passed)
6469
6443
  - Most concerning failures or gaps
6470
6444
  - Sections requiring immediate attention
6471
6445
  - Note any sections skipped due to project type
6472
6446
 
6473
6447
  3. Risk Assessment
6474
-
6475
6448
  - Top 5 risks by severity
6476
6449
  - Mitigation recommendations for each
6477
6450
  - Timeline impact of addressing issues
6478
6451
 
6479
6452
  4. Recommendations
6480
-
6481
6453
  - Must-fix items before development
6482
6454
  - Should-fix items for better quality
6483
6455
  - Nice-to-have improvements
6484
6456
 
6485
6457
  5. AI Implementation Readiness
6486
-
6487
6458
  - Specific concerns for AI agent implementation
6488
6459
  - Areas needing additional clarification
6489
6460
  - Complexity hotspots to address
@@ -6989,7 +6960,6 @@ Ask the user if they want to work through the checklist:
6989
6960
  Create a comprehensive validation report that includes:
6990
6961
 
6991
6962
  1. Executive Summary
6992
-
6993
6963
  - Overall PRD completeness (percentage)
6994
6964
  - MVP scope appropriateness (Too Large/Just Right/Too Small)
6995
6965
  - Readiness for architecture phase (Ready/Nearly Ready/Not Ready)
@@ -6997,26 +6967,22 @@ Create a comprehensive validation report that includes:
6997
6967
 
6998
6968
  2. Category Analysis Table
6999
6969
  Fill in the actual table with:
7000
-
7001
6970
  - Status: PASS (90%+ complete), PARTIAL (60-89%), FAIL (<60%)
7002
6971
  - Critical Issues: Specific problems that block progress
7003
6972
 
7004
6973
  3. Top Issues by Priority
7005
-
7006
6974
  - BLOCKERS: Must fix before architect can proceed
7007
6975
  - HIGH: Should fix for quality
7008
6976
  - MEDIUM: Would improve clarity
7009
6977
  - LOW: Nice to have
7010
6978
 
7011
6979
  4. MVP Scope Assessment
7012
-
7013
6980
  - Features that might be cut for true MVP
7014
6981
  - Missing features that are essential
7015
6982
  - Complexity concerns
7016
6983
  - Timeline realism
7017
6984
 
7018
6985
  5. Technical Readiness
7019
-
7020
6986
  - Clarity of technical constraints
7021
6987
  - Identified technical risks
7022
6988
  - Areas needing architect investigation
@@ -7071,12 +7037,10 @@ PROJECT TYPE DETECTION:
7071
7037
  First, determine the project type by checking:
7072
7038
 
7073
7039
  1. Is this a GREENFIELD project (new from scratch)?
7074
-
7075
7040
  - Look for: New project initialization, no existing codebase references
7076
7041
  - Check for: prd.md, architecture.md, new project setup stories
7077
7042
 
7078
7043
  2. Is this a BROWNFIELD project (enhancing existing system)?
7079
-
7080
7044
  - Look for: References to existing codebase, enhancement/modification language
7081
7045
  - Check for: brownfield-prd.md, brownfield-architecture.md, existing system analysis
7082
7046
 
@@ -7410,7 +7374,6 @@ Ask the user if they want to work through the checklist:
7410
7374
  Generate a comprehensive validation report that adapts to project type:
7411
7375
 
7412
7376
  1. Executive Summary
7413
-
7414
7377
  - Project type: [Greenfield/Brownfield] with [UI/No UI]
7415
7378
  - Overall readiness (percentage)
7416
7379
  - Go/No-Go recommendation
@@ -7420,42 +7383,36 @@ Generate a comprehensive validation report that adapts to project type:
7420
7383
  2. Project-Specific Analysis
7421
7384
 
7422
7385
  FOR GREENFIELD:
7423
-
7424
7386
  - Setup completeness
7425
7387
  - Dependency sequencing
7426
7388
  - MVP scope appropriateness
7427
7389
  - Development timeline feasibility
7428
7390
 
7429
7391
  FOR BROWNFIELD:
7430
-
7431
7392
  - Integration risk level (High/Medium/Low)
7432
7393
  - Existing system impact assessment
7433
7394
  - Rollback readiness
7434
7395
  - User disruption potential
7435
7396
 
7436
7397
  3. Risk Assessment
7437
-
7438
7398
  - Top 5 risks by severity
7439
7399
  - Mitigation recommendations
7440
7400
  - Timeline impact of addressing issues
7441
7401
  - [BROWNFIELD] Specific integration risks
7442
7402
 
7443
7403
  4. MVP Completeness
7444
-
7445
7404
  - Core features coverage
7446
7405
  - Missing essential functionality
7447
7406
  - Scope creep identified
7448
7407
  - True MVP vs over-engineering
7449
7408
 
7450
7409
  5. Implementation Readiness
7451
-
7452
7410
  - Developer clarity score (1-10)
7453
7411
  - Ambiguous requirements count
7454
7412
  - Missing technical details
7455
7413
  - [BROWNFIELD] Integration point clarity
7456
7414
 
7457
7415
  6. Recommendations
7458
-
7459
7416
  - Must-fix before development
7460
7417
  - Should-fix for quality
7461
7418
  - Consider for improvement
@@ -7532,14 +7489,12 @@ The goal is quality delivery, not just checking boxes.]]
7532
7489
  1. **Requirements Met:**
7533
7490
 
7534
7491
  [[LLM: Be specific - list each requirement and whether it's complete]]
7535
-
7536
7492
  - [ ] All functional requirements specified in the story are implemented.
7537
7493
  - [ ] All acceptance criteria defined in the story are met.
7538
7494
 
7539
7495
  2. **Coding Standards & Project Structure:**
7540
7496
 
7541
7497
  [[LLM: Code quality matters for maintainability. Check each item carefully]]
7542
-
7543
7498
  - [ ] All new/modified code strictly adheres to `Operational Guidelines`.
7544
7499
  - [ ] All new/modified code aligns with `Project Structure` (file locations, naming, etc.).
7545
7500
  - [ ] Adherence to `Tech Stack` for technologies/versions used (if story introduces or modifies tech usage).
@@ -7551,7 +7506,6 @@ The goal is quality delivery, not just checking boxes.]]
7551
7506
  3. **Testing:**
7552
7507
 
7553
7508
  [[LLM: Testing proves your code works. Be honest about test coverage]]
7554
-
7555
7509
  - [ ] All required unit tests as per the story and `Operational Guidelines` Testing Strategy are implemented.
7556
7510
  - [ ] All required integration tests (if applicable) as per the story and `Operational Guidelines` Testing Strategy are implemented.
7557
7511
  - [ ] All tests (unit, integration, E2E if applicable) pass successfully.
@@ -7560,14 +7514,12 @@ The goal is quality delivery, not just checking boxes.]]
7560
7514
  4. **Functionality & Verification:**
7561
7515
 
7562
7516
  [[LLM: Did you actually run and test your code? Be specific about what you tested]]
7563
-
7564
7517
  - [ ] Functionality has been manually verified by the developer (e.g., running the app locally, checking UI, testing API endpoints).
7565
7518
  - [ ] Edge cases and potential error conditions considered and handled gracefully.
7566
7519
 
7567
7520
  5. **Story Administration:**
7568
7521
 
7569
7522
  [[LLM: Documentation helps the next developer. What should they know?]]
7570
-
7571
7523
  - [ ] All tasks within the story file are marked as complete.
7572
7524
  - [ ] Any clarifications or decisions made during development are documented in the story file or linked appropriately.
7573
7525
  - [ ] 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.
@@ -7575,7 +7527,6 @@ The goal is quality delivery, not just checking boxes.]]
7575
7527
  6. **Dependencies, Build & Configuration:**
7576
7528
 
7577
7529
  [[LLM: Build issues block everyone. Ensure everything compiles and runs cleanly]]
7578
-
7579
7530
  - [ ] Project builds successfully without errors.
7580
7531
  - [ ] Project linting passes
7581
7532
  - [ ] 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).
@@ -7586,7 +7537,6 @@ The goal is quality delivery, not just checking boxes.]]
7586
7537
  7. **Documentation (If Applicable):**
7587
7538
 
7588
7539
  [[LLM: Good documentation prevents future confusion. What needs explaining?]]
7589
-
7590
7540
  - [ ] Relevant inline code documentation (e.g., JSDoc, TSDoc, Python docstrings) for new public APIs or complex logic is complete.
7591
7541
  - [ ] User-facing documentation updated, if changes impact users.
7592
7542
  - [ ] Technical documentation (e.g., READMEs, system diagrams) updated if significant architectural changes were made.
@@ -7728,19 +7678,16 @@ Note: We don't need every file listed - just the important ones.]]
7728
7678
  Generate a concise validation report:
7729
7679
 
7730
7680
  1. Quick Summary
7731
-
7732
7681
  - Story readiness: READY / NEEDS REVISION / BLOCKED
7733
7682
  - Clarity score (1-10)
7734
7683
  - Major gaps identified
7735
7684
 
7736
7685
  2. Fill in the validation table with:
7737
-
7738
7686
  - PASS: Requirements clearly met
7739
7687
  - PARTIAL: Some gaps but workable
7740
7688
  - FAIL: Critical information missing
7741
7689
 
7742
7690
  3. Specific Issues (if any)
7743
-
7744
7691
  - List concrete problems to fix
7745
7692
  - Suggest specific improvements
7746
7693
  - Identify any blocking dependencies
@@ -8312,7 +8259,7 @@ Each status change requires user verification and approval before proceeding.
8312
8259
  #### Greenfield Development
8313
8260
 
8314
8261
  - Business analysis and market research
8315
- - Product requirements and feature definition
8262
+ - Product requirements and feature definition
8316
8263
  - System architecture and design
8317
8264
  - Development execution
8318
8265
  - Testing and deployment
@@ -8421,8 +8368,11 @@ Templates with Level 2 headings (`##`) can be automatically sharded:
8421
8368
 
8422
8369
  ```markdown
8423
8370
  ## Goals and Background Context
8424
- ## Requirements
8371
+
8372
+ ## Requirements
8373
+
8425
8374
  ## User Interface Design Goals
8375
+
8426
8376
  ## Success Metrics
8427
8377
  ```
8428
8378
 
@@ -8618,16 +8568,19 @@ Use the **expansion-creator** pack to build your own:
8618
8568
  ## Core Reflective Methods
8619
8569
 
8620
8570
  **Expand or Contract for Audience**
8571
+
8621
8572
  - Ask whether to 'expand' (add detail, elaborate) or 'contract' (simplify, clarify)
8622
8573
  - Identify specific target audience if relevant
8623
8574
  - Tailor content complexity and depth accordingly
8624
8575
 
8625
8576
  **Explain Reasoning (CoT Step-by-Step)**
8577
+
8626
8578
  - Walk through the step-by-step thinking process
8627
8579
  - Reveal underlying assumptions and decision points
8628
8580
  - Show how conclusions were reached from current role's perspective
8629
8581
 
8630
8582
  **Critique and Refine**
8583
+
8631
8584
  - Review output for flaws, inconsistencies, or improvement areas
8632
8585
  - Identify specific weaknesses from role's expertise
8633
8586
  - Suggest refined version reflecting domain knowledge
@@ -8635,12 +8588,14 @@ Use the **expansion-creator** pack to build your own:
8635
8588
  ## Structural Analysis Methods
8636
8589
 
8637
8590
  **Analyze Logical Flow and Dependencies**
8591
+
8638
8592
  - Examine content structure for logical progression
8639
8593
  - Check internal consistency and coherence
8640
8594
  - Identify and validate dependencies between elements
8641
8595
  - Confirm effective ordering and sequencing
8642
8596
 
8643
8597
  **Assess Alignment with Overall Goals**
8598
+
8644
8599
  - Evaluate content contribution to stated objectives
8645
8600
  - Identify any misalignments or gaps
8646
8601
  - Interpret alignment from specific role's perspective
@@ -8649,12 +8604,14 @@ Use the **expansion-creator** pack to build your own:
8649
8604
  ## Risk and Challenge Methods
8650
8605
 
8651
8606
  **Identify Potential Risks and Unforeseen Issues**
8607
+
8652
8608
  - Brainstorm potential risks from role's expertise
8653
8609
  - Identify overlooked edge cases or scenarios
8654
8610
  - Anticipate unintended consequences
8655
8611
  - Highlight implementation challenges
8656
8612
 
8657
8613
  **Challenge from Critical Perspective**
8614
+
8658
8615
  - Adopt critical stance on current content
8659
8616
  - Play devil's advocate from specified viewpoint
8660
8617
  - Argue against proposal highlighting weaknesses
@@ -8663,12 +8620,14 @@ Use the **expansion-creator** pack to build your own:
8663
8620
  ## Creative Exploration Methods
8664
8621
 
8665
8622
  **Tree of Thoughts Deep Dive**
8623
+
8666
8624
  - Break problem into discrete "thoughts" or intermediate steps
8667
8625
  - Explore multiple reasoning paths simultaneously
8668
8626
  - Use self-evaluation to classify each path as "sure", "likely", or "impossible"
8669
8627
  - Apply search algorithms (BFS/DFS) to find optimal solution paths
8670
8628
 
8671
8629
  **Hindsight is 20/20: The 'If Only...' Reflection**
8630
+
8672
8631
  - Imagine retrospective scenario based on current content
8673
8632
  - Identify the one "if only we had known/done X..." insight
8674
8633
  - Describe imagined consequences humorously or dramatically
@@ -8677,6 +8636,7 @@ Use the **expansion-creator** pack to build your own:
8677
8636
  ## Multi-Persona Collaboration Methods
8678
8637
 
8679
8638
  **Agile Team Perspective Shift**
8639
+
8680
8640
  - Rotate through different Scrum team member viewpoints
8681
8641
  - Product Owner: Focus on user value and business impact
8682
8642
  - Scrum Master: Examine process flow and team dynamics
@@ -8684,12 +8644,14 @@ Use the **expansion-creator** pack to build your own:
8684
8644
  - QA: Identify testing scenarios and quality concerns
8685
8645
 
8686
8646
  **Stakeholder Round Table**
8647
+
8687
8648
  - Convene virtual meeting with multiple personas
8688
8649
  - Each persona contributes unique perspective on content
8689
8650
  - Identify conflicts and synergies between viewpoints
8690
8651
  - Synthesize insights into actionable recommendations
8691
8652
 
8692
8653
  **Meta-Prompting Analysis**
8654
+
8693
8655
  - Step back to analyze the structure and logic of current approach
8694
8656
  - Question the format and methodology being used
8695
8657
  - Suggest alternative frameworks or mental models
@@ -8698,24 +8660,28 @@ Use the **expansion-creator** pack to build your own:
8698
8660
  ## Advanced 2025 Techniques
8699
8661
 
8700
8662
  **Self-Consistency Validation**
8663
+
8701
8664
  - Generate multiple reasoning paths for same problem
8702
8665
  - Compare consistency across different approaches
8703
8666
  - Identify most reliable and robust solution
8704
8667
  - Highlight areas where approaches diverge and why
8705
8668
 
8706
8669
  **ReWOO (Reasoning Without Observation)**
8670
+
8707
8671
  - Separate parametric reasoning from tool-based actions
8708
8672
  - Create reasoning plan without external dependencies
8709
8673
  - Identify what can be solved through pure reasoning
8710
8674
  - Optimize for efficiency and reduced token usage
8711
8675
 
8712
8676
  **Persona-Pattern Hybrid**
8677
+
8713
8678
  - Combine specific role expertise with elicitation pattern
8714
8679
  - Architect + Risk Analysis: Deep technical risk assessment
8715
8680
  - UX Expert + User Journey: End-to-end experience critique
8716
8681
  - PM + Stakeholder Analysis: Multi-perspective impact review
8717
8682
 
8718
8683
  **Emergent Collaboration Discovery**
8684
+
8719
8685
  - Allow multiple perspectives to naturally emerge
8720
8686
  - Identify unexpected insights from persona interactions
8721
8687
  - Explore novel combinations of viewpoints
@@ -8724,18 +8690,21 @@ Use the **expansion-creator** pack to build your own:
8724
8690
  ## Game-Based Elicitation Methods
8725
8691
 
8726
8692
  **Red Team vs Blue Team**
8693
+
8727
8694
  - Red Team: Attack the proposal, find vulnerabilities
8728
8695
  - Blue Team: Defend and strengthen the approach
8729
8696
  - Competitive analysis reveals blind spots
8730
8697
  - Results in more robust, battle-tested solutions
8731
8698
 
8732
8699
  **Innovation Tournament**
8700
+
8733
8701
  - Pit multiple alternative approaches against each other
8734
8702
  - Score each approach across different criteria
8735
8703
  - Crowd-source evaluation from different personas
8736
8704
  - Identify winning combination of features
8737
8705
 
8738
8706
  **Escape Room Challenge**
8707
+
8739
8708
  - Present content as constraints to work within
8740
8709
  - Find creative solutions within tight limitations
8741
8710
  - Identify minimum viable approach
@@ -8744,6 +8713,7 @@ Use the **expansion-creator** pack to build your own:
8744
8713
  ## Process Control
8745
8714
 
8746
8715
  **Proceed / No Further Actions**
8716
+
8747
8717
  - Acknowledge choice to finalize current work
8748
8718
  - Accept output as-is or move to next step
8749
8719
  - Prepare to continue without additional elicitation