bmad-method 4.31.0 → 4.33.0

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 (92) hide show
  1. package/.vscode/settings.json +1 -7
  2. package/CHANGELOG.md +113 -173
  3. package/README.md +47 -0
  4. package/bmad-core/agents/analyst.md +1 -1
  5. package/bmad-core/agents/architect.md +2 -3
  6. package/bmad-core/agents/bmad-master.md +0 -1
  7. package/bmad-core/agents/bmad-orchestrator.md +9 -10
  8. package/bmad-core/agents/dev.md +1 -2
  9. package/bmad-core/agents/pm.md +3 -1
  10. package/bmad-core/agents/po.md +1 -1
  11. package/bmad-core/agents/qa.md +1 -1
  12. package/bmad-core/agents/sm.md +1 -1
  13. package/bmad-core/agents/ux-expert.md +1 -1
  14. package/bmad-core/bmad-core/user-guide.md +0 -0
  15. package/bmad-core/checklists/architect-checklist.md +0 -5
  16. package/bmad-core/checklists/pm-checklist.md +0 -5
  17. package/bmad-core/checklists/po-master-checklist.md +0 -9
  18. package/bmad-core/checklists/story-dod-checklist.md +0 -7
  19. package/bmad-core/checklists/story-draft-checklist.md +0 -3
  20. package/bmad-core/data/bmad-kb.md +5 -2
  21. package/bmad-core/data/elicitation-methods.md +20 -0
  22. package/bmad-core/enhanced-ide-development-workflow.md +43 -0
  23. package/bmad-core/tasks/create-brownfield-story.md +11 -3
  24. package/bmad-core/tasks/create-deep-research-prompt.md +0 -11
  25. package/bmad-core/tasks/document-project.md +15 -13
  26. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  27. package/bmad-core/tasks/index-docs.md +0 -6
  28. package/bmad-core/tasks/kb-mode-interaction.md +3 -3
  29. package/bmad-core/tasks/review-story.md +10 -1
  30. package/bmad-core/tasks/shard-doc.md +0 -2
  31. package/bmad-core/user-guide.md +7 -6
  32. package/bmad-core/working-in-the-brownfield.md +39 -36
  33. package/common/tasks/execute-checklist.md +0 -7
  34. package/dist/agents/analyst.txt +6 -6
  35. package/dist/agents/architect.txt +8 -3
  36. package/dist/agents/bmad-master.txt +2 -1
  37. package/dist/agents/pm.txt +9 -2
  38. package/dist/agents/po.txt +2 -318
  39. package/dist/agents/qa.txt +0 -1
  40. package/dist/agents/sm.txt +3 -3
  41. package/dist/agents/ux-expert.txt +2 -297
  42. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +6 -6
  43. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4047 -0
  44. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +1520 -185
  45. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +214 -1229
  46. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +537 -373
  47. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +6917 -2140
  48. package/dist/teams/team-all.txt +30 -25
  49. package/dist/teams/team-fullstack.txt +27 -21
  50. package/dist/teams/team-ide-minimal.txt +5 -322
  51. package/dist/teams/team-no-ui.txt +25 -16
  52. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  53. package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -4
  54. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +3 -5
  55. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -1
  56. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -18
  57. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +1 -0
  58. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +80 -0
  59. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +21 -16
  60. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +25 -25
  61. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +15 -14
  62. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +391 -0
  63. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +203 -0
  64. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +1 -1
  65. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +103 -139
  66. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  67. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +586 -68
  68. package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +0 -4
  69. package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +0 -1
  70. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +141 -0
  71. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +165 -198
  72. package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +0 -18
  73. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +200 -0
  74. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +938 -453
  75. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +3 -3
  76. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +517 -155
  77. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +12 -12
  78. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +11 -11
  79. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  80. package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -3
  81. package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +0 -1
  82. package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +0 -1
  83. package/package.json +4 -1
  84. package/tools/bmad-npx-wrapper.js +5 -7
  85. package/tools/flattener/main.js +570 -0
  86. package/tools/installer/bin/bmad.js +14 -0
  87. package/tools/installer/lib/installer.js +29 -3
  88. package/tools/installer/package-lock.json +89 -89
  89. package/tools/installer/package.json +1 -1
  90. package/.husky/pre-commit +0 -2
  91. package/.prettierignore +0 -21
  92. package/.prettierrc +0 -23
@@ -1,160 +1,124 @@
1
- # Game Development Story Definition of Done Checklist
1
+ # Game Development Story Definition of Done (DoD) Checklist
2
2
 
3
- ## Story Completeness
3
+ ## Instructions for Developer Agent
4
+
5
+ Before marking a story as 'Review', please go through each item in this checklist. Report the status of each item (e.g., [x] Done, [ ] Not Done, [N/A] Not Applicable) and provide brief comments if necessary.
6
+
7
+ [[LLM: INITIALIZATION INSTRUCTIONS - GAME STORY DOD VALIDATION
8
+
9
+ This checklist is for GAME DEVELOPER AGENTS to self-validate their work before marking a story complete.
4
10
 
5
- ### Basic Story Elements
11
+ IMPORTANT: This is a self-assessment. Be honest about what's actually done vs what should be done. It's better to identify issues now than have them found in review.
6
12
 
7
- - [ ] **Story Title** - Clear, descriptive title that identifies the feature
8
- - [ ] **Epic Assignment** - Story is properly assigned to relevant epic
9
- - [ ] **Priority Level** - Appropriate priority assigned (High/Medium/Low)
10
- - [ ] **Story Points** - Realistic estimation for implementation complexity
11
- - [ ] **Description** - Clear, concise description of what needs to be implemented
13
+ EXECUTION APPROACH:
12
14
 
13
- ### Game Design Alignment
15
+ 1. Go through each section systematically
16
+ 2. Mark items as [x] Done, [ ] Not Done, or [N/A] Not Applicable
17
+ 3. Add brief comments explaining any [ ] or [N/A] items
18
+ 4. Be specific about what was actually implemented
19
+ 5. Flag any concerns or technical debt created
20
+
21
+ The goal is quality delivery, not just checking boxes.]]
14
22
 
15
- - [ ] **GDD Reference** - Specific Game Design Document section referenced
16
- - [ ] **Game Mechanic Context** - Clear connection to game mechanics defined in GDD
17
- - [ ] **Player Experience Goal** - Describes the intended player experience
18
- - [ ] **Balance Parameters** - Includes any relevant game balance values
19
- - [ ] **Design Intent** - Purpose and rationale for the feature is clear
23
+ ## Checklist Items
20
24
 
21
- ## Technical Specifications
25
+ 1. **Requirements Met:**
22
26
 
23
- ### Architecture Compliance
27
+ [[LLM: Be specific - list each requirement and whether it's complete. Include game-specific requirements from GDD]]
28
+ - [ ] All functional requirements specified in the story are implemented.
29
+ - [ ] All acceptance criteria defined in the story are met.
30
+ - [ ] Game Design Document (GDD) requirements referenced in the story are implemented.
31
+ - [ ] Player experience goals specified in the story are achieved.
24
32
 
25
- - [ ] **File Organization** - Follows game architecture document structure (e.g., scripts, prefabs, scenes)
26
- - [ ] **Class Definitions** - C# classes and interfaces are properly defined
27
- - [ ] **Integration Points** - Clear specification of how feature integrates with existing systems
28
- - [ ] **Event Communication** - UnityEvents or C# events usage specified
29
- - [ ] **Dependencies** - All system dependencies clearly identified
33
+ 2. **Coding Standards & Project Structure:**
30
34
 
31
- ### Unity Requirements
35
+ [[LLM: Code quality matters for maintainability. Check Unity-specific patterns and C# standards]]
36
+ - [ ] All new/modified code strictly adheres to `Operational Guidelines`.
37
+ - [ ] All new/modified code aligns with `Project Structure` (Scripts/, Prefabs/, Scenes/, etc.).
38
+ - [ ] Adherence to `Tech Stack` for Unity version and packages used.
39
+ - [ ] Adherence to `Api Reference` and `Data Models` (if story involves API or data model changes).
40
+ - [ ] Unity best practices followed (prefab usage, component design, event handling).
41
+ - [ ] C# coding standards followed (naming conventions, error handling, memory management).
42
+ - [ ] Basic security best practices applied for new/modified code.
43
+ - [ ] No new linter errors or warnings introduced.
44
+ - [ ] Code is well-commented where necessary (clarifying complex logic, not obvious statements).
32
45
 
33
- - [ ] **Scene Integration** - Specifies which scenes are affected and how
34
- - [ ] **Prefab Usage** - Proper use of prefabs for reusable GameObjects
35
- - [ ] **Component Design** - Logic is encapsulated in well-defined MonoBehaviour components
36
- - [ ] **Asset Requirements** - All needed assets (sprites, audio, materials) identified
37
- - [ ] **Performance Considerations** - Stable frame rate target and optimization requirements
46
+ 3. **Testing:**
38
47
 
39
- ### Code Quality Standards
48
+ [[LLM: Testing proves your code works. Include Unity-specific testing with NUnit and manual testing]]
49
+ - [ ] All required unit tests (NUnit) as per the story and testing strategy are implemented.
50
+ - [ ] All required integration tests (if applicable) are implemented.
51
+ - [ ] Manual testing performed in Unity Editor for all game functionality.
52
+ - [ ] All tests (unit, integration, manual) pass successfully.
53
+ - [ ] Test coverage meets project standards (if defined).
54
+ - [ ] Performance tests conducted (frame rate, memory usage).
55
+ - [ ] Edge cases and error conditions tested.
40
56
 
41
- - [ ] **C# Best Practices** - All code must comply with modern C# standards
42
- - [ ] **Error Handling** - Error scenarios and handling requirements specified
43
- - [ ] **Memory Management** - Coroutine and object lifecycle management requirements where needed
44
- - [ ] **Cross-Platform Support** - Desktop and mobile considerations addressed
45
- - [ ] **Code Organization** - Follows established Unity project structure
57
+ 4. **Functionality & Verification:**
46
58
 
47
- ## Implementation Readiness
59
+ [[LLM: Did you actually run and test your code in Unity? Be specific about game mechanics tested]]
60
+ - [ ] Functionality has been manually verified in Unity Editor and play mode.
61
+ - [ ] Game mechanics work as specified in the GDD.
62
+ - [ ] Player controls and input handling work correctly.
63
+ - [ ] UI elements function properly (if applicable).
64
+ - [ ] Audio integration works correctly (if applicable).
65
+ - [ ] Visual feedback and animations work as intended.
66
+ - [ ] Edge cases and potential error conditions handled gracefully.
67
+ - [ ] Cross-platform functionality verified (desktop/mobile as applicable).
48
68
 
49
- ### Acceptance Criteria
69
+ 5. **Story Administration:**
50
70
 
51
- - [ ] **Functional Requirements** - All functional acceptance criteria are specific and testable
52
- - [ ] **Technical Requirements** - Technical acceptance criteria are complete and verifiable
53
- - [ ] **Game Design Requirements** - Game-specific requirements match GDD specifications
54
- - [ ] **Performance Requirements** - Frame rate and memory usage criteria specified
55
- - [ ] **Completeness** - No acceptance criteria are vague or unmeasurable
71
+ [[LLM: Documentation helps the next developer. Include Unity-specific implementation notes]]
72
+ - [ ] All tasks within the story file are marked as complete.
73
+ - [ ] Any clarifications or decisions made during development are documented.
74
+ - [ ] Unity-specific implementation details documented (scene changes, prefab modifications).
75
+ - [ ] The story wrap up section has been completed with notes of changes.
76
+ - [ ] Changelog properly updated with Unity version and package changes.
56
77
 
57
- ### Implementation Tasks
78
+ 6. **Dependencies, Build & Configuration:**
58
79
 
59
- - [ ] **Task Breakdown** - Story broken into specific, ordered implementation tasks
60
- - [ ] **Task Scope** - Each task is completable in 1-4 hours
61
- - [ ] **Task Clarity** - Each task has clear, actionable instructions
62
- - [ ] **File Specifications** - Exact file paths and purposes specified (e.g., `Scripts/Player/PlayerMovement.cs`)
63
- - [ ] **Development Flow** - Tasks follow logical implementation order
80
+ [[LLM: Build issues block everyone. Ensure Unity project builds for all target platforms]]
81
+ - [ ] Unity project builds successfully without errors.
82
+ - [ ] Project builds for all target platforms (desktop/mobile as specified).
83
+ - [ ] Any new Unity packages or Asset Store items were pre-approved OR approved by user.
84
+ - [ ] If new dependencies were added, they are recorded with justification.
85
+ - [ ] No known security vulnerabilities in newly added dependencies.
86
+ - [ ] Project settings and configurations properly updated.
87
+ - [ ] Asset import settings optimized for target platforms.
64
88
 
65
- ### Dependencies
89
+ 7. **Game-Specific Quality:**
66
90
 
67
- - [ ] **Story Dependencies** - All prerequisite stories identified with IDs
68
- - [ ] **Technical Dependencies** - Required systems and files identified
69
- - [ ] **Asset Dependencies** - All needed assets specified with locations
70
- - [ ] **External Dependencies** - Any third-party or external requirements noted (e.g., Asset Store packages)
71
- - [ ] **Dependency Validation** - All dependencies are actually available
91
+ [[LLM: Game quality matters. Check performance, game feel, and player experience]]
92
+ - [ ] Frame rate meets target (30/60 FPS) on all platforms.
93
+ - [ ] Memory usage within acceptable limits.
94
+ - [ ] Game feel and responsiveness meet design requirements.
95
+ - [ ] Balance parameters from GDD correctly implemented.
96
+ - [ ] State management and persistence work correctly.
97
+ - [ ] Loading times and scene transitions acceptable.
98
+ - [ ] Mobile-specific requirements met (touch controls, aspect ratios).
72
99
 
73
- ## Testing Requirements
100
+ 8. **Documentation (If Applicable):**
74
101
 
75
- ### Test Coverage
76
-
77
- - [ ] **Unit Test Requirements** - Specific unit test files and scenarios defined for NUnit
78
- - [ ] **Integration Test Cases** - Integration testing with other game systems specified
79
- - [ ] **Manual Test Cases** - Game-specific manual testing procedures defined in the Unity Editor
80
- - [ ] **Performance Tests** - Frame rate and memory testing requirements specified
81
- - [ ] **Edge Case Testing** - Edge cases and error conditions covered
82
-
83
- ### Test Implementation
84
-
85
- - [ ] **Test File Paths** - Exact test file locations specified (e.g., `Assets/Tests/EditMode`)
86
- - [ ] **Test Scenarios** - All test scenarios are complete and executable
87
- - [ ] **Expected Behaviors** - Clear expected outcomes for all tests defined
88
- - [ ] **Performance Metrics** - Specific performance targets for testing
89
- - [ ] **Test Data** - Any required test data or mock objects specified
90
-
91
- ## Game-Specific Quality
92
-
93
- ### Gameplay Implementation
94
-
95
- - [ ] **Mechanic Accuracy** - Implementation matches GDD mechanic specifications
96
- - [ ] **Player Controls** - Input handling requirements are complete (e.g., Input System package)
97
- - [ ] **Game Feel** - Requirements for juice, feedback, and responsiveness specified
98
- - [ ] **Balance Implementation** - Numeric values and parameters from GDD included
99
- - [ ] **State Management** - Game state changes and persistence requirements defined
100
-
101
- ### User Experience
102
-
103
- - [ ] **UI Requirements** - User interface elements and behaviors specified (e.g., UI Toolkit or UGUI)
104
- - [ ] **Audio Integration** - Sound effect and music requirements defined
105
- - [ ] **Visual Feedback** - Animation and visual effect requirements specified (e.g., Animator, Particle System)
106
- - [ ] **Accessibility** - Mobile touch and responsive design considerations
107
- - [ ] **Error Recovery** - User-facing error handling and recovery specified
108
-
109
- ### Performance Optimization
110
-
111
- - [ ] **Frame Rate Targets** - Specific FPS requirements for different platforms
112
- - [ ] **Memory Usage** - Memory consumption limits and monitoring requirements (e.g., Profiler)
113
- - [ ] **Asset Optimization** - Texture, audio, and data optimization requirements
114
- - [ ] **Mobile Considerations** - Touch controls and mobile performance requirements
115
- - [ ] **Loading Performance** - Asset loading and scene transition requirements
116
-
117
- ## Documentation and Communication
118
-
119
- ### Story Documentation
120
-
121
- - [ ] **Implementation Notes** - Additional context and implementation guidance provided
122
- - [ ] **Design Decisions** - Key design choices documented with rationale
123
- - [ ] **Future Considerations** - Potential future enhancements or modifications noted
124
- - [ ] **Change Tracking** - Process for tracking any requirement changes during development
125
- - [ ] **Reference Materials** - Links to relevant GDD sections and architecture docs
126
-
127
- ### Developer Handoff
128
-
129
- - [ ] **Immediate Actionability** - Developer can start implementation without additional questions
130
- - [ ] **Complete Context** - All necessary context provided within the story
131
- - [ ] **Clear Boundaries** - What is and isn't included in the story scope is clear
132
- - [ ] **Success Criteria** - Objective measures for story completion defined
133
- - [ ] **Communication Plan** - Process for developer questions and updates established
134
-
135
- ## Final Validation
136
-
137
- ### Story Readiness
138
-
139
- - [ ] **No Ambiguity** - No sections require interpretation or additional design decisions
140
- - [ ] **Technical Completeness** - All technical requirements are specified and actionable
141
- - [ ] **Scope Appropriateness** - Story scope matches assigned story points
142
- - [ ] **Quality Standards** - Story meets all game development quality standards
143
- - [ ] **Review Completion** - Story has been reviewed for completeness and accuracy
144
-
145
- ### Implementation Preparedness
146
-
147
- - [ ] **Environment Ready** - Development environment requirements specified (e.g., Unity version)
148
- - [ ] **Resources Available** - All required resources (assets, docs, dependencies) accessible
149
- - [ ] **Testing Prepared** - Testing environment and data requirements specified
150
- - [ ] **Definition of Done** - Clear, objective completion criteria established
151
- - [ ] **Handoff Complete** - Story is ready for developer assignment and implementation
152
-
153
- ## Checklist Completion
154
-
155
- **Overall Story Quality:** ⭐⭐⭐⭐⭐
156
-
157
- **Ready for Development:** [ ] Yes [ ] No
158
-
159
- **Additional Notes:**
160
- _Any specific concerns, recommendations, or clarifications needed before development begins._
102
+ [[LLM: Good documentation prevents future confusion. Include Unity-specific docs]]
103
+ - [ ] Code documentation (XML comments) for public APIs complete.
104
+ - [ ] Unity component documentation in Inspector updated.
105
+ - [ ] User-facing documentation updated, if changes impact players.
106
+ - [ ] Technical documentation (architecture, system diagrams) updated.
107
+ - [ ] Asset documentation (prefab usage, scene setup) complete.
108
+
109
+ ## Final Confirmation
110
+
111
+ [[LLM: FINAL GAME DOD SUMMARY
112
+
113
+ After completing the checklist:
114
+
115
+ 1. Summarize what game features/mechanics were implemented
116
+ 2. List any items marked as [ ] Not Done with explanations
117
+ 3. Identify any technical debt or performance concerns
118
+ 4. Note any challenges with Unity implementation or game design
119
+ 5. Confirm whether the story is truly ready for review
120
+ 6. Report final performance metrics (FPS, memory usage)
121
+
122
+ Be honest - it's better to flag issues now than have them discovered during playtesting.]]
123
+
124
+ - [ ] I, the Game Developer Agent, confirm that all applicable items above have been addressed.
@@ -1,5 +1,5 @@
1
1
  name: bmad-2d-unity-game-dev
2
- version: 1.2.0
2
+ version: 1.5.0
3
3
  short-title: Unity C# 2D Game Dev Pack
4
4
  description: 2D Game Development expansion pack for BMad Method - Unity & C# focused
5
5
  author: pbean (PinkyD)