This commit completes a major refactoring of the `bmad-wechat-mini-game-dev` expansion pack to make it fully self-contained and align it with a new, user-defined workflow. This resolves the previous incorrect dependency on a central `bmad-core` directory.
The following changes have been made:
1. **Self-Contained Dependencies:**
- Required tasks (`document-project.md`, `shard-doc.md`) and templates (`prd-tmpl.yaml`) have been copied from `bmad-core` into the expansion pack's local directories.
- All agent definition files have been updated to remove the `base_agent` property and any references to a `bmad-core` directory. Dependency paths are now local.
2. **Updated Agent Definitions:**
- All `game-*` agents (`game-analyst`, `game-pm`, `game-designer`, `game-po`, `game-orchestrator`, etc.) have been updated to be standalone and self-contained within the expansion pack.
3. **Aligned Workflows:**
- The `game-dev-greenfield.yaml` and `game-prototype.yaml` workflows have been updated to use the new, self-contained agents and to reflect the precise planning and development sequence specified by the user.
This final set of changes ensures the expansion pack is robust, correctly structured, and provides a powerful, user-friendly foundation for WeChat Mini-Game development.
This commit completes a deep and comprehensive optimization of the `bmad-wechat-mini-game-dev` expansion pack, aligning it with the core BMad agents and a new, user-specified workflow. This makes the pack significantly more powerful, structured, and user-friendly.
The following changes have been made:
1. **Agent Definitions Updated:**
- `game-analyst` is now based on the core `analyst` agent.
- `game-pm` is now based on the core `pm` agent.
- `game-designer` is now based on the core `architect` agent.
- `game-po` is now based on the core `po` agent.
- All related dependencies have been updated to ensure each agent has the correct tasks and templates to perform its role in the new workflow.
2. **Workflows Refined:**
- The `game-dev-greenfield.yaml` and `game-prototype.yaml` workflows have been completely overhauled to match the user's specified planning and development sequence.
- The new planning workflow is now: `game-analyst` -> `game-pm` -> `game-designer` -> `game-orchestrator` -> `game-po`.
- The Mermaid diagrams and handoff prompts in the workflow files have been updated to reflect this new process.
3. **Documentation and Templates Enhanced:**
- All templates, checklists, and knowledge base documents have been reviewed and updated to be consistent with the new agent roles and workflows.
- More specific, boilerplate content and placeholders have been added to the templates to make them more useful for WeChat Mini-Game development.
This concludes the full optimization of the WeChat Mini-Game expansion pack, resulting in a highly-structured, platform-specific, and powerful tool for game development.