bmad-method 4.31.0 → 4.32.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 (72) hide show
  1. package/.vscode/settings.json +1 -7
  2. package/CHANGELOG.md +108 -173
  3. package/README.md +40 -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/data/bmad-kb.md +12 -2
  16. package/bmad-core/data/elicitation-methods.md +20 -0
  17. package/bmad-core/enhanced-ide-development-workflow.md +43 -0
  18. package/bmad-core/tasks/advanced-elicitation.md +2 -0
  19. package/bmad-core/tasks/create-brownfield-story.md +20 -3
  20. package/bmad-core/tasks/document-project.md +19 -13
  21. package/bmad-core/tasks/facilitate-brainstorming-session.md +1 -1
  22. package/bmad-core/tasks/index-docs.md +0 -1
  23. package/bmad-core/tasks/kb-mode-interaction.md +3 -3
  24. package/bmad-core/tasks/review-story.md +18 -1
  25. package/bmad-core/user-guide.md +7 -6
  26. package/bmad-core/working-in-the-brownfield.md +39 -36
  27. package/dist/agents/analyst.txt +6 -6
  28. package/dist/agents/architect.txt +8 -3
  29. package/dist/agents/bmad-master.txt +2 -1
  30. package/dist/agents/pm.txt +9 -2
  31. package/dist/agents/po.txt +2 -318
  32. package/dist/agents/qa.txt +0 -1
  33. package/dist/agents/sm.txt +3 -3
  34. package/dist/agents/ux-expert.txt +2 -297
  35. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +6 -6
  36. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4047 -0
  37. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +1520 -185
  38. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +214 -1229
  39. package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +537 -373
  40. package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +6917 -2140
  41. package/dist/teams/team-all.txt +30 -25
  42. package/dist/teams/team-fullstack.txt +27 -21
  43. package/dist/teams/team-ide-minimal.txt +5 -322
  44. package/dist/teams/team-no-ui.txt +25 -16
  45. package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +3 -1
  46. package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +1 -0
  47. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +80 -0
  48. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +21 -16
  49. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +25 -25
  50. package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +15 -14
  51. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +396 -0
  52. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +203 -0
  53. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +1 -1
  54. package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +93 -121
  55. package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +1 -1
  56. package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +593 -68
  57. package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +151 -0
  58. package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +165 -198
  59. package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +200 -0
  60. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +938 -453
  61. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +3 -3
  62. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +517 -155
  63. package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +12 -12
  64. package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +11 -11
  65. package/package.json +79 -76
  66. package/tools/cli.js +9 -0
  67. package/tools/flattener/main.js +559 -0
  68. package/tools/installer/lib/installer.js +1 -1
  69. package/tools/installer/package.json +1 -1
  70. package/.husky/pre-commit +0 -2
  71. package/.prettierignore +0 -21
  72. package/.prettierrc +0 -23
@@ -1,160 +1,132 @@
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
4
 
5
- ### Basic Story Elements
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
6
 
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
7
+ [[LLM: INITIALIZATION INSTRUCTIONS - GAME STORY DOD VALIDATION
12
8
 
13
- ### Game Design Alignment
9
+ This checklist is for GAME DEVELOPER AGENTS to self-validate their work before marking a story complete.
14
10
 
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
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.
20
12
 
21
- ## Technical Specifications
13
+ EXECUTION APPROACH:
22
14
 
23
- ### Architecture Compliance
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
24
20
 
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
21
+ The goal is quality delivery, not just checking boxes.]]
30
22
 
31
- ### Unity Requirements
23
+ ## Checklist Items
32
24
 
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
25
+ 1. **Requirements Met:**
38
26
 
39
- ### Code Quality Standards
27
+ [[LLM: Be specific - list each requirement and whether it's complete. Include game-specific requirements from GDD]]
40
28
 
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
29
+ - [ ] All functional requirements specified in the story are implemented.
30
+ - [ ] All acceptance criteria defined in the story are met.
31
+ - [ ] Game Design Document (GDD) requirements referenced in the story are implemented.
32
+ - [ ] Player experience goals specified in the story are achieved.
46
33
 
47
- ## Implementation Readiness
34
+ 2. **Coding Standards & Project Structure:**
48
35
 
49
- ### Acceptance Criteria
36
+ [[LLM: Code quality matters for maintainability. Check Unity-specific patterns and C# standards]]
50
37
 
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
38
+ - [ ] All new/modified code strictly adheres to `Operational Guidelines`.
39
+ - [ ] All new/modified code aligns with `Project Structure` (Scripts/, Prefabs/, Scenes/, etc.).
40
+ - [ ] Adherence to `Tech Stack` for Unity version and packages used.
41
+ - [ ] Adherence to `Api Reference` and `Data Models` (if story involves API or data model changes).
42
+ - [ ] Unity best practices followed (prefab usage, component design, event handling).
43
+ - [ ] C# coding standards followed (naming conventions, error handling, memory management).
44
+ - [ ] Basic security best practices applied for new/modified code.
45
+ - [ ] No new linter errors or warnings introduced.
46
+ - [ ] Code is well-commented where necessary (clarifying complex logic, not obvious statements).
56
47
 
57
- ### Implementation Tasks
48
+ 3. **Testing:**
58
49
 
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
50
+ [[LLM: Testing proves your code works. Include Unity-specific testing with NUnit and manual testing]]
64
51
 
65
- ### Dependencies
52
+ - [ ] All required unit tests (NUnit) as per the story and testing strategy are implemented.
53
+ - [ ] All required integration tests (if applicable) are implemented.
54
+ - [ ] Manual testing performed in Unity Editor for all game functionality.
55
+ - [ ] All tests (unit, integration, manual) pass successfully.
56
+ - [ ] Test coverage meets project standards (if defined).
57
+ - [ ] Performance tests conducted (frame rate, memory usage).
58
+ - [ ] Edge cases and error conditions tested.
66
59
 
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
60
+ 4. **Functionality & Verification:**
72
61
 
73
- ## Testing Requirements
62
+ [[LLM: Did you actually run and test your code in Unity? Be specific about game mechanics tested]]
74
63
 
75
- ### Test Coverage
64
+ - [ ] Functionality has been manually verified in Unity Editor and play mode.
65
+ - [ ] Game mechanics work as specified in the GDD.
66
+ - [ ] Player controls and input handling work correctly.
67
+ - [ ] UI elements function properly (if applicable).
68
+ - [ ] Audio integration works correctly (if applicable).
69
+ - [ ] Visual feedback and animations work as intended.
70
+ - [ ] Edge cases and potential error conditions handled gracefully.
71
+ - [ ] Cross-platform functionality verified (desktop/mobile as applicable).
76
72
 
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
73
+ 5. **Story Administration:**
82
74
 
83
- ### Test Implementation
75
+ [[LLM: Documentation helps the next developer. Include Unity-specific implementation notes]]
84
76
 
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
77
+ - [ ] All tasks within the story file are marked as complete.
78
+ - [ ] Any clarifications or decisions made during development are documented.
79
+ - [ ] Unity-specific implementation details documented (scene changes, prefab modifications).
80
+ - [ ] The story wrap up section has been completed with notes of changes.
81
+ - [ ] Changelog properly updated with Unity version and package changes.
90
82
 
91
- ## Game-Specific Quality
83
+ 6. **Dependencies, Build & Configuration:**
92
84
 
93
- ### Gameplay Implementation
85
+ [[LLM: Build issues block everyone. Ensure Unity project builds for all target platforms]]
94
86
 
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
87
+ - [ ] Unity project builds successfully without errors.
88
+ - [ ] Project builds for all target platforms (desktop/mobile as specified).
89
+ - [ ] Any new Unity packages or Asset Store items were pre-approved OR approved by user.
90
+ - [ ] If new dependencies were added, they are recorded with justification.
91
+ - [ ] No known security vulnerabilities in newly added dependencies.
92
+ - [ ] Project settings and configurations properly updated.
93
+ - [ ] Asset import settings optimized for target platforms.
100
94
 
101
- ### User Experience
95
+ 7. **Game-Specific Quality:**
102
96
 
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
97
+ [[LLM: Game quality matters. Check performance, game feel, and player experience]]
108
98
 
109
- ### Performance Optimization
99
+ - [ ] Frame rate meets target (30/60 FPS) on all platforms.
100
+ - [ ] Memory usage within acceptable limits.
101
+ - [ ] Game feel and responsiveness meet design requirements.
102
+ - [ ] Balance parameters from GDD correctly implemented.
103
+ - [ ] State management and persistence work correctly.
104
+ - [ ] Loading times and scene transitions acceptable.
105
+ - [ ] Mobile-specific requirements met (touch controls, aspect ratios).
110
106
 
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
107
+ 8. **Documentation (If Applicable):**
116
108
 
117
- ## Documentation and Communication
109
+ [[LLM: Good documentation prevents future confusion. Include Unity-specific docs]]
118
110
 
119
- ### Story Documentation
111
+ - [ ] Code documentation (XML comments) for public APIs complete.
112
+ - [ ] Unity component documentation in Inspector updated.
113
+ - [ ] User-facing documentation updated, if changes impact players.
114
+ - [ ] Technical documentation (architecture, system diagrams) updated.
115
+ - [ ] Asset documentation (prefab usage, scene setup) complete.
120
116
 
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
117
+ ## Final Confirmation
126
118
 
127
- ### Developer Handoff
119
+ [[LLM: FINAL GAME DOD SUMMARY
128
120
 
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
121
+ After completing the checklist:
134
122
 
135
- ## Final Validation
123
+ 1. Summarize what game features/mechanics were implemented
124
+ 2. List any items marked as [ ] Not Done with explanations
125
+ 3. Identify any technical debt or performance concerns
126
+ 4. Note any challenges with Unity implementation or game design
127
+ 5. Confirm whether the story is truly ready for review
128
+ 6. Report final performance metrics (FPS, memory usage)
136
129
 
137
- ### Story Readiness
130
+ Be honest - it's better to flag issues now than have them discovered during playtesting.]]
138
131
 
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._
132
+ - [ ] 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.4.4
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)