@zeyue0329/xiaoma-cli 1.0.7 → 1.0.9
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/CHANGELOG.md +686 -0
- package/LICENSE +6 -1
- package/README.md +173 -460
- package/common/tasks/create-doc.md +3 -1
- package/common/tasks/execute-checklist.md +2 -7
- package/common/utils/bmad-doc-template.md +7 -5
- package/common/utils/workflow-management.md +2 -0
- package/dist/agents/analyst.txt +1143 -1118
- package/dist/agents/architect.txt +1555 -1531
- package/dist/agents/dev.txt +170 -22
- package/dist/agents/pm.txt +1103 -1106
- package/dist/agents/po.txt +329 -334
- package/dist/agents/qa.txt +1773 -154
- package/dist/agents/sm.txt +101 -102
- package/dist/agents/ux-expert.txt +93 -91
- package/dist/agents/xiaoma-master.txt +745 -673
- package/dist/agents/xiaoma-orchestrator.txt +107 -77
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +2386 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +1627 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +822 -0
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +11008 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +4031 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +3717 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +456 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.txt +982 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/teams/unity-2d-game-team.txt +15450 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/beta-reader.txt +921 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/book-critic.txt +81 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/character-psychologist.txt +886 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/cover-designer.txt +85 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/dialog-specialist.txt +903 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/editor.txt +837 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/genre-specialist.txt +989 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/narrative-designer.txt +888 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/plot-architect.txt +1173 -0
- package/dist/expansion-packs/bmad-creative-writing/agents/world-builder.txt +914 -0
- package/dist/expansion-packs/bmad-creative-writing/teams/agent-team.txt +6511 -0
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2087 -0
- package/dist/teams/team-all.txt +5710 -3857
- package/dist/teams/team-fullstack.txt +3242 -3157
- package/dist/teams/team-ide-minimal.txt +2330 -534
- package/dist/teams/team-no-ui.txt +2935 -2857
- package/docs/GUIDING-PRINCIPLES.md +91 -0
- package/docs/core-architecture.md +219 -0
- package/docs/enhanced-ide-development-workflow.md +248 -0
- package/docs/expansion-packs.md +200 -0
- package/docs/how-to-contribute-with-pull-requests.md +158 -0
- package/docs/user-guide.md +530 -0
- package/docs/versioning-and-releases.md +155 -0
- package/docs/versions.md +48 -0
- package/docs/working-in-the-brownfield.md +597 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +14 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +73 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +80 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +66 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +203 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +162 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +9 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +252 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +649 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +112 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +218 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +292 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +614 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +357 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +344 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +254 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +485 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +184 -0
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +176 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agent-teams/unity-2d-game-team.yaml +15 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.md +82 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.md +79 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.md +80 -0
- package/expansion-packs/bmad-2d-unity-game-dev/agents/game-sm.md +67 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-architect-checklist.md +393 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-change-checklist.md +205 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-design-checklist.md +203 -0
- package/expansion-packs/bmad-2d-unity-game-dev/checklists/game-story-dod-checklist.md +126 -0
- package/expansion-packs/bmad-2d-unity-game-dev/config.yaml +7 -0
- package/expansion-packs/bmad-2d-unity-game-dev/data/bmad-kb.md +771 -0
- package/expansion-packs/bmad-2d-unity-game-dev/data/development-guidelines.md +588 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/advanced-elicitation.md +112 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/correct-course-game.md +143 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/create-game-story.md +186 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/game-design-brainstorming.md +292 -0
- package/expansion-packs/bmad-2d-unity-game-dev/tasks/validate-game-story.md +202 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-architecture-tmpl.yaml +1031 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-brief-tmpl.yaml +357 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-design-doc-tmpl.yaml +706 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/game-story-tmpl.yaml +257 -0
- package/expansion-packs/bmad-2d-unity-game-dev/templates/level-design-doc-tmpl.yaml +485 -0
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-dev-greenfield.yaml +184 -0
- package/expansion-packs/bmad-2d-unity-game-dev/workflows/game-prototype.yaml +176 -0
- package/expansion-packs/bmad-creative-writing/README.md +146 -0
- package/expansion-packs/bmad-creative-writing/agent-teams/agent-team.yaml +20 -0
- package/expansion-packs/bmad-creative-writing/agents/beta-reader.md +94 -0
- package/expansion-packs/bmad-creative-writing/agents/book-critic.md +40 -0
- package/expansion-packs/bmad-creative-writing/agents/character-psychologist.md +93 -0
- package/expansion-packs/bmad-creative-writing/agents/cover-designer.md +46 -0
- package/expansion-packs/bmad-creative-writing/agents/dialog-specialist.md +92 -0
- package/expansion-packs/bmad-creative-writing/agents/editor.md +93 -0
- package/expansion-packs/bmad-creative-writing/agents/genre-specialist.md +95 -0
- package/expansion-packs/bmad-creative-writing/agents/narrative-designer.md +93 -0
- package/expansion-packs/bmad-creative-writing/agents/plot-architect.md +95 -0
- package/expansion-packs/bmad-creative-writing/agents/world-builder.md +94 -0
- package/expansion-packs/bmad-creative-writing/checklists/beta-feedback-closure-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/character-consistency-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/comedic-timing-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/cyberpunk-aesthetic-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/ebook-formatting-checklist.md +21 -0
- package/expansion-packs/bmad-creative-writing/checklists/epic-poetry-meter-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/fantasy-magic-system-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/foreshadowing-payoff-checklist.md +22 -0
- package/expansion-packs/bmad-creative-writing/checklists/genre-tropes-checklist.md +22 -0
- package/expansion-packs/bmad-creative-writing/checklists/historical-accuracy-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/horror-suspense-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/kdp-cover-ready-checklist.md +25 -0
- package/expansion-packs/bmad-creative-writing/checklists/line-edit-quality-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/marketing-copy-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/mystery-clue-trail-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/orbital-mechanics-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/plot-structure-checklist.md +59 -0
- package/expansion-packs/bmad-creative-writing/checklists/publication-readiness-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/romance-emotional-beats-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/scene-quality-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/scifi-technology-plausibility-checklist.md +22 -0
- package/expansion-packs/bmad-creative-writing/checklists/sensitivity-representation-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/steampunk-gadget-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/thriller-pacing-stakes-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/timeline-continuity-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/world-building-continuity-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/checklists/ya-appropriateness-checklist.md +23 -0
- package/expansion-packs/bmad-creative-writing/config.yaml +12 -0
- package/expansion-packs/bmad-creative-writing/data/bmad-kb.md +209 -0
- package/expansion-packs/bmad-creative-writing/data/story-structures.md +67 -0
- package/expansion-packs/bmad-creative-writing/docs/brief.md +212 -0
- package/expansion-packs/bmad-creative-writing/tasks/advanced-elicitation.md +119 -0
- package/expansion-packs/bmad-creative-writing/tasks/analyze-reader-feedback.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/analyze-story-structure.md +67 -0
- package/expansion-packs/bmad-creative-writing/tasks/assemble-kdp-package.md +29 -0
- package/expansion-packs/bmad-creative-writing/tasks/brainstorm-premise.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/build-world.md +24 -0
- package/expansion-packs/bmad-creative-writing/tasks/character-depth-pass.md +22 -0
- package/expansion-packs/bmad-creative-writing/tasks/create-doc.md +103 -0
- package/expansion-packs/bmad-creative-writing/tasks/create-draft-section.md +26 -0
- package/expansion-packs/bmad-creative-writing/tasks/critical-review.md +26 -0
- package/expansion-packs/bmad-creative-writing/tasks/develop-character.md +24 -0
- package/expansion-packs/bmad-creative-writing/tasks/execute-checklist.md +88 -0
- package/expansion-packs/bmad-creative-writing/tasks/expand-premise.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/expand-synopsis.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/final-polish.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/generate-cover-brief.md +25 -0
- package/expansion-packs/bmad-creative-writing/tasks/generate-cover-prompts.md +26 -0
- package/expansion-packs/bmad-creative-writing/tasks/generate-scene-list.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/incorporate-feedback.md +25 -0
- package/expansion-packs/bmad-creative-writing/tasks/outline-scenes.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/provide-feedback.md +24 -0
- package/expansion-packs/bmad-creative-writing/tasks/publish-chapter.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/quick-feedback.md +22 -0
- package/expansion-packs/bmad-creative-writing/tasks/select-next-arc.md +23 -0
- package/expansion-packs/bmad-creative-writing/tasks/workshop-dialog.md +64 -0
- package/expansion-packs/bmad-creative-writing/templates/beta-feedback-form.yaml +97 -0
- package/expansion-packs/bmad-creative-writing/templates/chapter-draft-tmpl.yaml +82 -0
- package/expansion-packs/bmad-creative-writing/templates/character-profile-tmpl.yaml +92 -0
- package/expansion-packs/bmad-creative-writing/templates/cover-design-brief-tmpl.yaml +98 -0
- package/expansion-packs/bmad-creative-writing/templates/premise-brief-tmpl.yaml +78 -0
- package/expansion-packs/bmad-creative-writing/templates/scene-list-tmpl.yaml +55 -0
- package/expansion-packs/bmad-creative-writing/templates/story-outline-tmpl.yaml +96 -0
- package/expansion-packs/bmad-creative-writing/templates/world-guide-tmpl.yaml +89 -0
- package/expansion-packs/bmad-creative-writing/workflows/book-cover-design-workflow.md +218 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-greenfield-workflow.yaml +56 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-serial-workflow.yaml +50 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-snowflake-workflow.yaml +69 -0
- package/expansion-packs/bmad-creative-writing/workflows/novel-writing.yaml +91 -0
- package/expansion-packs/bmad-creative-writing/workflows/screenplay-development.yaml +85 -0
- package/expansion-packs/bmad-creative-writing/workflows/series-planning.yaml +78 -0
- package/expansion-packs/bmad-creative-writing/workflows/short-story-creation.yaml +64 -0
- package/expansion-packs/bmad-infrastructure-devops/README.md +147 -0
- package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +73 -0
- package/expansion-packs/bmad-infrastructure-devops/checklists/infrastructure-checklist.md +486 -0
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +10 -0
- package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +307 -0
- package/expansion-packs/bmad-infrastructure-devops/tasks/review-infrastructure.md +161 -0
- package/expansion-packs/bmad-infrastructure-devops/tasks/validate-infrastructure.md +155 -0
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +425 -0
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +630 -0
- package/implement-fork-friendly-ci.sh +229 -0
- package/package.json +75 -45
- package/prettier.config.mjs +32 -0
- package/test.md +1 -0
- package/tools/builders/web-builder.js +128 -129
- package/tools/bump-all-versions.js +42 -33
- package/tools/bump-expansion-version.js +23 -16
- package/tools/cli.js +15 -15
- package/tools/flattener/aggregate.js +76 -0
- package/tools/flattener/binary.js +80 -0
- package/tools/flattener/discovery.js +71 -0
- package/tools/flattener/files.js +35 -0
- package/tools/flattener/ignoreRules.js +176 -0
- package/tools/flattener/main.js +458 -460
- package/tools/flattener/projectRoot.js +206 -0
- package/tools/flattener/prompts.js +44 -0
- package/tools/flattener/stats.helpers.js +395 -0
- package/tools/flattener/stats.js +80 -0
- package/tools/flattener/test-matrix.js +413 -0
- package/tools/flattener/xml.js +88 -0
- package/tools/installer/README.md +1 -1
- package/tools/installer/bin/xiaoma.js +380 -87
- package/tools/installer/config/ide-agent-config.yaml +3 -3
- package/tools/installer/config/install.config.yaml +73 -22
- package/tools/installer/lib/config-loader.js +48 -44
- package/tools/installer/lib/file-manager.js +91 -113
- package/tools/installer/lib/ide-base-setup.js +57 -56
- package/tools/installer/lib/ide-setup.js +816 -407
- package/tools/installer/lib/installer.js +915 -687
- package/tools/installer/lib/memory-profiler.js +54 -53
- package/tools/installer/lib/module-manager.js +19 -15
- package/tools/installer/lib/resource-locator.js +26 -28
- package/tools/installer/package-lock.json +67 -56
- package/tools/installer/package.json +24 -23
- package/tools/lib/dependency-resolver.js +30 -34
- package/tools/lib/yaml-utils.js +7 -7
- package/tools/md-assets/web-agent-startup-instructions.md +1 -1
- package/tools/preview-release-notes.js +66 -0
- package/tools/setup-hooks.sh +37 -0
- package/tools/shared/bannerArt.js +105 -0
- package/tools/sync-installer-version.js +7 -9
- package/tools/sync-version.sh +23 -0
- package/tools/update-expansion-version.js +14 -15
- package/tools/upgraders/v3-to-v4-upgrader.js +208 -299
- package/tools/version-bump.js +41 -26
- package/tools/xiaoma-npx-wrapper.js +11 -11
- package/tools/yaml-format.js +56 -43
- package/xiaoma-core/agent-teams/team-all.yaml +2 -1
- package/xiaoma-core/agent-teams/team-fullstack.yaml +1 -0
- package/xiaoma-core/agent-teams/team-ide-minimal.yaml +1 -0
- package/xiaoma-core/agent-teams/team-no-ui.yaml +1 -0
- package/xiaoma-core/agents/analyst.md +20 -17
- package/xiaoma-core/agents/architect.md +15 -14
- package/xiaoma-core/agents/dev.md +23 -18
- package/xiaoma-core/agents/pm.md +18 -15
- package/xiaoma-core/agents/po.md +13 -10
- package/xiaoma-core/agents/qa.md +46 -24
- package/xiaoma-core/agents/sm.md +11 -8
- package/xiaoma-core/agents/ux-expert.md +10 -7
- package/xiaoma-core/agents/xiaoma-master.md +24 -22
- package/xiaoma-core/agents/xiaoma-orchestrator.md +30 -33
- package/xiaoma-core/checklists/architect-checklist.md +2 -5
- package/xiaoma-core/checklists/change-checklist.md +4 -2
- package/xiaoma-core/checklists/pm-checklist.md +2 -5
- package/xiaoma-core/checklists/po-master-checklist.md +2 -9
- package/xiaoma-core/checklists/story-dod-checklist.md +2 -7
- package/xiaoma-core/checklists/story-draft-checklist.md +2 -3
- package/xiaoma-core/core-config.yaml +4 -1
- package/xiaoma-core/data/{xiaoma-kb.md → bmad-kb.md} +43 -37
- package/xiaoma-core/data/brainstorming-techniques.md +2 -0
- package/xiaoma-core/data/elicitation-methods.md +22 -0
- package/xiaoma-core/data/technical-preferences.md +2 -0
- package/xiaoma-core/data/test-levels-framework.md +148 -0
- package/xiaoma-core/data/test-priorities-matrix.md +174 -0
- package/xiaoma-core/tasks/advanced-elicitation.md +2 -0
- package/xiaoma-core/tasks/apply-qa-fixes.md +150 -0
- package/xiaoma-core/tasks/brownfield-create-epic.md +2 -0
- package/xiaoma-core/tasks/brownfield-create-story.md +2 -0
- package/xiaoma-core/tasks/correct-course.md +2 -0
- package/xiaoma-core/tasks/create-brownfield-story.md +14 -4
- package/xiaoma-core/tasks/create-deep-research-prompt.md +2 -11
- package/xiaoma-core/tasks/create-next-story.md +3 -1
- package/xiaoma-core/tasks/document-project.md +17 -13
- package/xiaoma-core/tasks/facilitate-brainstorming-session.md +5 -3
- package/xiaoma-core/tasks/generate-ai-frontend-prompt.md +2 -0
- package/xiaoma-core/tasks/index-docs.md +2 -6
- package/xiaoma-core/tasks/kb-mode-interaction.md +17 -15
- package/xiaoma-core/tasks/nfr-assess.md +345 -0
- package/xiaoma-core/tasks/qa-gate.md +163 -0
- package/xiaoma-core/tasks/review-story.md +245 -74
- package/xiaoma-core/tasks/risk-profile.md +355 -0
- package/xiaoma-core/tasks/shard-doc.md +2 -2
- package/xiaoma-core/tasks/test-design.md +176 -0
- package/xiaoma-core/tasks/trace-requirements.md +266 -0
- package/xiaoma-core/tasks/validate-next-story.md +2 -0
- package/xiaoma-core/templates/architecture-tmpl.yaml +50 -49
- package/xiaoma-core/templates/brainstorming-output-tmpl.yaml +5 -5
- package/xiaoma-core/templates/brownfield-architecture-tmpl.yaml +32 -31
- package/xiaoma-core/templates/brownfield-prd-tmpl.yaml +14 -13
- package/xiaoma-core/templates/competitor-analysis-tmpl.yaml +20 -6
- package/xiaoma-core/templates/front-end-architecture-tmpl.yaml +22 -9
- package/xiaoma-core/templates/front-end-spec-tmpl.yaml +25 -24
- package/xiaoma-core/templates/fullstack-architecture-tmpl.yaml +123 -104
- package/xiaoma-core/templates/market-research-tmpl.yaml +3 -2
- package/xiaoma-core/templates/prd-tmpl.yaml +10 -9
- package/xiaoma-core/templates/project-brief-tmpl.yaml +5 -4
- package/xiaoma-core/templates/qa-gate-tmpl.yaml +103 -0
- package/xiaoma-core/templates/story-tmpl.yaml +13 -12
- package/xiaoma-core/workflows/brownfield-fullstack.yaml +13 -12
- package/xiaoma-core/workflows/brownfield-service.yaml +5 -4
- package/xiaoma-core/workflows/brownfield-ui.yaml +5 -4
- package/xiaoma-core/workflows/greenfield-fullstack.yaml +7 -6
- package/xiaoma-core/workflows/greenfield-service.yaml +5 -4
- package/xiaoma-core/workflows/greenfield-ui.yaml +6 -5
- package/.releaserc.json +0 -18
- package/.vscode/settings.json +0 -44
- package/docs/quick-start.md +0 -179
- package/tools/bmad-npx-wrapper.js +0 -39
- package/tools/semantic-release-sync-installer.js +0 -30
- package/xiaoma-core/bmad-core/user-guide.md +0 -0
- package/xiaoma-core/enhanced-ide-development-workflow.md +0 -43
- package/xiaoma-core/user-guide.md +0 -251
- package/xiaoma-core/working-in-the-brownfield.md +0 -364
package/xiaoma-core/agents/pm.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# pm
|
|
2
4
|
|
|
3
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
@@ -17,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
17
19
|
activation-instructions:
|
|
18
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
21
24
|
- DO NOT: Load any other agent files during activation
|
|
22
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
23
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -26,9 +29,9 @@ activation-instructions:
|
|
|
26
29
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
27
30
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
28
31
|
- STAY IN CHARACTER!
|
|
29
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
32
|
+
- CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
30
33
|
agent:
|
|
31
|
-
name:
|
|
34
|
+
name: John
|
|
32
35
|
id: pm
|
|
33
36
|
title: Product Manager
|
|
34
37
|
icon: 📋
|
|
@@ -50,32 +53,32 @@ persona:
|
|
|
50
53
|
# All commands require * prefix when used (e.g., *help)
|
|
51
54
|
commands:
|
|
52
55
|
- help: Show numbered list of the following commands to allow selection
|
|
53
|
-
-
|
|
54
|
-
- create-brownfield-prd: run task create-doc.md with template brownfield-prd-tmpl.yaml
|
|
56
|
+
- correct-course: execute the correct-course task
|
|
55
57
|
- create-brownfield-epic: run task brownfield-create-epic.md
|
|
58
|
+
- create-brownfield-prd: run task create-doc.md with template brownfield-prd-tmpl.yaml
|
|
56
59
|
- create-brownfield-story: run task brownfield-create-story.md
|
|
57
60
|
- create-epic: Create epic for brownfield projects (task brownfield-create-epic)
|
|
61
|
+
- create-prd: run task create-doc.md with template prd-tmpl.yaml
|
|
58
62
|
- create-story: Create user story from requirements (task brownfield-create-story)
|
|
59
63
|
- doc-out: Output full document to current destination file
|
|
60
64
|
- shard-prd: run the task shard-doc.md for the provided prd.md (ask if not found)
|
|
61
|
-
- correct-course: execute the correct-course task
|
|
62
65
|
- yolo: Toggle Yolo Mode
|
|
63
66
|
- exit: Exit (confirm)
|
|
64
67
|
dependencies:
|
|
68
|
+
checklists:
|
|
69
|
+
- change-checklist.md
|
|
70
|
+
- pm-checklist.md
|
|
71
|
+
data:
|
|
72
|
+
- technical-preferences.md
|
|
65
73
|
tasks:
|
|
66
|
-
- create-doc.md
|
|
67
|
-
- correct-course.md
|
|
68
|
-
- create-deep-research-prompt.md
|
|
69
74
|
- brownfield-create-epic.md
|
|
70
75
|
- brownfield-create-story.md
|
|
76
|
+
- correct-course.md
|
|
77
|
+
- create-deep-research-prompt.md
|
|
78
|
+
- create-doc.md
|
|
71
79
|
- execute-checklist.md
|
|
72
80
|
- shard-doc.md
|
|
73
81
|
templates:
|
|
74
|
-
- prd-tmpl.yaml
|
|
75
82
|
- brownfield-prd-tmpl.yaml
|
|
76
|
-
|
|
77
|
-
- pm-checklist.md
|
|
78
|
-
- change-checklist.md
|
|
79
|
-
data:
|
|
80
|
-
- technical-preferences.md
|
|
83
|
+
- prd-tmpl.yaml
|
|
81
84
|
```
|
package/xiaoma-core/agents/po.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# po
|
|
2
4
|
|
|
3
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
@@ -17,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
17
19
|
activation-instructions:
|
|
18
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
21
24
|
- DO NOT: Load any other agent files during activation
|
|
22
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
23
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -26,9 +29,9 @@ activation-instructions:
|
|
|
26
29
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
27
30
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
28
31
|
- STAY IN CHARACTER!
|
|
29
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
32
|
+
- CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
30
33
|
agent:
|
|
31
|
-
name:
|
|
34
|
+
name: Sarah
|
|
32
35
|
id: po
|
|
33
36
|
title: Product Owner
|
|
34
37
|
icon: 📝
|
|
@@ -51,26 +54,26 @@ persona:
|
|
|
51
54
|
- Focus on Executable & Value-Driven Increments - Ensure work aligns with MVP goals
|
|
52
55
|
- Documentation Ecosystem Integrity - Maintain consistency across all documents
|
|
53
56
|
# All commands require * prefix when used (e.g., *help)
|
|
54
|
-
commands:
|
|
57
|
+
commands:
|
|
55
58
|
- help: Show numbered list of the following commands to allow selection
|
|
56
|
-
- execute-checklist-po: Run task execute-checklist (checklist po-master-checklist)
|
|
57
|
-
- shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
|
|
58
59
|
- correct-course: execute the correct-course task
|
|
59
60
|
- create-epic: Create epic for brownfield projects (task brownfield-create-epic)
|
|
60
61
|
- create-story: Create user story from requirements (task brownfield-create-story)
|
|
61
62
|
- doc-out: Output full document to current destination file
|
|
63
|
+
- execute-checklist-po: Run task execute-checklist (checklist po-master-checklist)
|
|
64
|
+
- shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
|
|
62
65
|
- validate-story-draft {story}: run the task validate-next-story against the provided story file
|
|
63
66
|
- yolo: Toggle Yolo Mode off on - on will skip doc section confirmations
|
|
64
67
|
- exit: Exit (confirm)
|
|
65
68
|
dependencies:
|
|
69
|
+
checklists:
|
|
70
|
+
- change-checklist.md
|
|
71
|
+
- po-master-checklist.md
|
|
66
72
|
tasks:
|
|
73
|
+
- correct-course.md
|
|
67
74
|
- execute-checklist.md
|
|
68
75
|
- shard-doc.md
|
|
69
|
-
- correct-course.md
|
|
70
76
|
- validate-next-story.md
|
|
71
77
|
templates:
|
|
72
78
|
- story-tmpl.yaml
|
|
73
|
-
checklists:
|
|
74
|
-
- po-master-checklist.md
|
|
75
|
-
- change-checklist.md
|
|
76
79
|
```
|
package/xiaoma-core/agents/qa.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# qa
|
|
2
4
|
|
|
3
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
@@ -17,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
17
19
|
activation-instructions:
|
|
18
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
21
24
|
- DO NOT: Load any other agent files during activation
|
|
22
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
23
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -26,44 +29,63 @@ activation-instructions:
|
|
|
26
29
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
27
30
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
28
31
|
- STAY IN CHARACTER!
|
|
29
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
32
|
+
- CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
30
33
|
agent:
|
|
31
|
-
name:
|
|
34
|
+
name: Quinn
|
|
32
35
|
id: qa
|
|
33
|
-
title:
|
|
36
|
+
title: Test Architect & Quality Advisor
|
|
34
37
|
icon: 🧪
|
|
35
|
-
whenToUse:
|
|
38
|
+
whenToUse: |
|
|
39
|
+
Use for comprehensive test architecture review, quality gate decisions,
|
|
40
|
+
and code improvement. Provides thorough analysis including requirements
|
|
41
|
+
traceability, risk assessment, and test strategy.
|
|
42
|
+
Advisory only - teams choose their quality bar.
|
|
36
43
|
customization: null
|
|
37
44
|
persona:
|
|
38
|
-
role:
|
|
39
|
-
style:
|
|
40
|
-
identity:
|
|
41
|
-
focus:
|
|
45
|
+
role: Test Architect with Quality Advisory Authority
|
|
46
|
+
style: Comprehensive, systematic, advisory, educational, pragmatic
|
|
47
|
+
identity: Test architect who provides thorough quality assessment and actionable recommendations without blocking progress
|
|
48
|
+
focus: Comprehensive quality analysis through test architecture, risk assessment, and advisory gates
|
|
42
49
|
core_principles:
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
46
|
-
-
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
51
|
-
-
|
|
52
|
-
-
|
|
50
|
+
- Depth As Needed - Go deep based on risk signals, stay concise when low risk
|
|
51
|
+
- Requirements Traceability - Map all stories to tests using Given-When-Then patterns
|
|
52
|
+
- Risk-Based Testing - Assess and prioritize by probability × impact
|
|
53
|
+
- Quality Attributes - Validate NFRs (security, performance, reliability) via scenarios
|
|
54
|
+
- Testability Assessment - Evaluate controllability, observability, debuggability
|
|
55
|
+
- Gate Governance - Provide clear PASS/CONCERNS/FAIL/WAIVED decisions with rationale
|
|
56
|
+
- Advisory Excellence - Educate through documentation, never block arbitrarily
|
|
57
|
+
- Technical Debt Awareness - Identify and quantify debt with improvement suggestions
|
|
58
|
+
- LLM Acceleration - Use LLMs to accelerate thorough yet focused analysis
|
|
59
|
+
- Pragmatic Balance - Distinguish must-fix from nice-to-have improvements
|
|
53
60
|
story-file-permissions:
|
|
54
61
|
- CRITICAL: When reviewing stories, you are ONLY authorized to update the "QA Results" section of story files
|
|
55
62
|
- CRITICAL: DO NOT modify any other sections including Status, Story, Acceptance Criteria, Tasks/Subtasks, Dev Notes, Testing, Dev Agent Record, Change Log, or any other sections
|
|
56
63
|
- CRITICAL: Your updates must be limited to appending your review results in the QA Results section only
|
|
57
64
|
# All commands require * prefix when used (e.g., *help)
|
|
58
|
-
commands:
|
|
65
|
+
commands:
|
|
59
66
|
- help: Show numbered list of the following commands to allow selection
|
|
60
|
-
-
|
|
61
|
-
-
|
|
67
|
+
- gate {story}: Execute qa-gate task to write/update quality gate decision in directory from qa.qaLocation/gates/
|
|
68
|
+
- nfr-assess {story}: Execute nfr-assess task to validate non-functional requirements
|
|
69
|
+
- review {story}: |
|
|
70
|
+
Adaptive, risk-aware comprehensive review.
|
|
71
|
+
Produces: QA Results update in story file + gate file (PASS/CONCERNS/FAIL/WAIVED).
|
|
72
|
+
Gate file location: qa.qaLocation/gates/{epic}.{story}-{slug}.yml
|
|
73
|
+
Executes review-story task which includes all analysis and creates gate decision.
|
|
74
|
+
- risk-profile {story}: Execute risk-profile task to generate risk assessment matrix
|
|
75
|
+
- test-design {story}: Execute test-design task to create comprehensive test scenarios
|
|
76
|
+
- trace {story}: Execute trace-requirements task to map requirements to tests using Given-When-Then
|
|
77
|
+
- exit: Say goodbye as the Test Architect, and then abandon inhabiting this persona
|
|
62
78
|
dependencies:
|
|
63
|
-
tasks:
|
|
64
|
-
- review-story.md
|
|
65
79
|
data:
|
|
66
80
|
- technical-preferences.md
|
|
81
|
+
tasks:
|
|
82
|
+
- nfr-assess.md
|
|
83
|
+
- qa-gate.md
|
|
84
|
+
- review-story.md
|
|
85
|
+
- risk-profile.md
|
|
86
|
+
- test-design.md
|
|
87
|
+
- trace-requirements.md
|
|
67
88
|
templates:
|
|
89
|
+
- qa-gate-tmpl.yaml
|
|
68
90
|
- story-tmpl.yaml
|
|
69
91
|
```
|
package/xiaoma-core/agents/sm.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# sm
|
|
2
4
|
|
|
3
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
@@ -17,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
17
19
|
activation-instructions:
|
|
18
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
21
24
|
- DO NOT: Load any other agent files during activation
|
|
22
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
23
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -26,9 +29,9 @@ activation-instructions:
|
|
|
26
29
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
27
30
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
28
31
|
- STAY IN CHARACTER!
|
|
29
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
32
|
+
- CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
30
33
|
agent:
|
|
31
|
-
name:
|
|
34
|
+
name: Bob
|
|
32
35
|
id: sm
|
|
33
36
|
title: Scrum Master
|
|
34
37
|
icon: 🏃
|
|
@@ -44,19 +47,19 @@ persona:
|
|
|
44
47
|
- Will ensure all information comes from the PRD and Architecture to guide the dumb dev agent
|
|
45
48
|
- You are NOT allowed to implement stories or modify code EVER!
|
|
46
49
|
# All commands require * prefix when used (e.g., *help)
|
|
47
|
-
commands:
|
|
50
|
+
commands:
|
|
48
51
|
- help: Show numbered list of the following commands to allow selection
|
|
49
|
-
- draft: Execute task create-next-story.md
|
|
50
52
|
- correct-course: Execute task correct-course.md
|
|
53
|
+
- draft: Execute task create-next-story.md
|
|
51
54
|
- story-checklist: Execute task execute-checklist.md with checklist story-draft-checklist.md
|
|
52
55
|
- exit: Say goodbye as the Scrum Master, and then abandon inhabiting this persona
|
|
53
56
|
dependencies:
|
|
57
|
+
checklists:
|
|
58
|
+
- story-draft-checklist.md
|
|
54
59
|
tasks:
|
|
60
|
+
- correct-course.md
|
|
55
61
|
- create-next-story.md
|
|
56
62
|
- execute-checklist.md
|
|
57
|
-
- correct-course.md
|
|
58
63
|
templates:
|
|
59
64
|
- story-tmpl.yaml
|
|
60
|
-
checklists:
|
|
61
|
-
- story-draft-checklist.md
|
|
62
65
|
```
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# ux-expert
|
|
2
4
|
|
|
3
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
@@ -17,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
17
19
|
activation-instructions:
|
|
18
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
19
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
20
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
21
24
|
- DO NOT: Load any other agent files during activation
|
|
22
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
23
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -26,9 +29,9 @@ activation-instructions:
|
|
|
26
29
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
27
30
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
28
31
|
- STAY IN CHARACTER!
|
|
29
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
32
|
+
- CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
30
33
|
agent:
|
|
31
|
-
name:
|
|
34
|
+
name: Sally
|
|
32
35
|
id: ux-expert
|
|
33
36
|
title: UX Expert
|
|
34
37
|
icon: 🎨
|
|
@@ -49,18 +52,18 @@ persona:
|
|
|
49
52
|
- You're particularly skilled at translating user needs into beautiful, functional designs.
|
|
50
53
|
- You can craft effective prompts for AI UI generation tools like v0, or Lovable.
|
|
51
54
|
# All commands require * prefix when used (e.g., *help)
|
|
52
|
-
commands:
|
|
55
|
+
commands:
|
|
53
56
|
- help: Show numbered list of the following commands to allow selection
|
|
54
57
|
- create-front-end-spec: run task create-doc.md with template front-end-spec-tmpl.yaml
|
|
55
58
|
- generate-ui-prompt: Run task generate-ai-frontend-prompt.md
|
|
56
59
|
- exit: Say goodbye as the UX Expert, and then abandon inhabiting this persona
|
|
57
60
|
dependencies:
|
|
61
|
+
data:
|
|
62
|
+
- technical-preferences.md
|
|
58
63
|
tasks:
|
|
59
|
-
- generate-ai-frontend-prompt.md
|
|
60
64
|
- create-doc.md
|
|
61
65
|
- execute-checklist.md
|
|
66
|
+
- generate-ai-frontend-prompt.md
|
|
62
67
|
templates:
|
|
63
68
|
- front-end-spec-tmpl.yaml
|
|
64
|
-
data:
|
|
65
|
-
- technical-preferences.md
|
|
66
69
|
```
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- Powered by XiaoMa™ Core -->
|
|
2
2
|
|
|
3
|
+
# XiaoMa Master
|
|
3
4
|
|
|
4
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
6
|
|
|
@@ -18,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
18
19
|
activation-instructions:
|
|
19
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
20
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
21
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
22
24
|
- DO NOT: Load any other agent files during activation
|
|
23
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
24
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -27,10 +29,10 @@ activation-instructions:
|
|
|
27
29
|
- CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
|
|
28
30
|
- When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
|
|
29
31
|
- STAY IN CHARACTER!
|
|
30
|
-
- CRITICAL: Do NOT scan filesystem or load any resources during startup, ONLY when commanded
|
|
32
|
+
- 'CRITICAL: Do NOT scan filesystem or load any resources during startup, ONLY when commanded (Exception: Read xiaoma-core/core-config.yaml during activation)'
|
|
31
33
|
- CRITICAL: Do NOT run discovery tasks automatically
|
|
32
|
-
- CRITICAL: NEVER LOAD
|
|
33
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
34
|
+
- CRITICAL: NEVER LOAD root/data/bmad-kb.md UNLESS USER TYPES *kb
|
|
35
|
+
- CRITICAL: On activation, ONLY greet user, auto-run *help, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
34
36
|
agent:
|
|
35
37
|
name: XiaoMa Master
|
|
36
38
|
id: xiaoma-master
|
|
@@ -39,7 +41,7 @@ agent:
|
|
|
39
41
|
whenToUse: Use when you need comprehensive expertise across all domains, running 1 off tasks that do not require a persona, or just wanting to use the same agent for many things.
|
|
40
42
|
persona:
|
|
41
43
|
role: Master Task Executor & XiaoMa Method Expert
|
|
42
|
-
identity: Universal executor of all XiaoMa-
|
|
44
|
+
identity: Universal executor of all XiaoMa-CLI capabilities, directly runs any resource
|
|
43
45
|
core_principles:
|
|
44
46
|
- Execute any resource directly without persona transformation
|
|
45
47
|
- Load resources at runtime, never pre-load
|
|
@@ -49,28 +51,40 @@ persona:
|
|
|
49
51
|
|
|
50
52
|
commands:
|
|
51
53
|
- help: Show these listed commands in a numbered list
|
|
52
|
-
- kb: Toggle KB mode off (default) or on, when on will load and reference the {root}/data/xiaoma-kb.md and converse with the user answering his questions with this informational resource
|
|
53
|
-
- task {task}: Execute task, if not found or none specified, ONLY list available dependencies/tasks listed below
|
|
54
54
|
- create-doc {template}: execute task create-doc (no template = ONLY show available templates listed under dependencies/templates below)
|
|
55
55
|
- doc-out: Output full document to current destination file
|
|
56
56
|
- document-project: execute the task document-project.md
|
|
57
57
|
- execute-checklist {checklist}: Run task execute-checklist (no checklist = ONLY show available checklists listed under dependencies/checklist below)
|
|
58
|
+
- kb: Toggle KB mode off (default) or on, when on will load and reference the {root}/data/bmad-kb.md and converse with the user answering his questions with this informational resource
|
|
58
59
|
- shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
|
|
60
|
+
- task {task}: Execute task, if not found or none specified, ONLY list available dependencies/tasks listed below
|
|
59
61
|
- yolo: Toggle Yolo Mode
|
|
60
62
|
- exit: Exit (confirm)
|
|
61
63
|
|
|
62
64
|
dependencies:
|
|
65
|
+
checklists:
|
|
66
|
+
- architect-checklist.md
|
|
67
|
+
- change-checklist.md
|
|
68
|
+
- pm-checklist.md
|
|
69
|
+
- po-master-checklist.md
|
|
70
|
+
- story-dod-checklist.md
|
|
71
|
+
- story-draft-checklist.md
|
|
72
|
+
data:
|
|
73
|
+
- bmad-kb.md
|
|
74
|
+
- brainstorming-techniques.md
|
|
75
|
+
- elicitation-methods.md
|
|
76
|
+
- technical-preferences.md
|
|
63
77
|
tasks:
|
|
64
78
|
- advanced-elicitation.md
|
|
65
|
-
- facilitate-brainstorming-session.md
|
|
66
79
|
- brownfield-create-epic.md
|
|
67
80
|
- brownfield-create-story.md
|
|
68
81
|
- correct-course.md
|
|
69
82
|
- create-deep-research-prompt.md
|
|
70
83
|
- create-doc.md
|
|
71
|
-
- document-project.md
|
|
72
84
|
- create-next-story.md
|
|
85
|
+
- document-project.md
|
|
73
86
|
- execute-checklist.md
|
|
87
|
+
- facilitate-brainstorming-session.md
|
|
74
88
|
- generate-ai-frontend-prompt.md
|
|
75
89
|
- index-docs.md
|
|
76
90
|
- shard-doc.md
|
|
@@ -86,11 +100,6 @@ dependencies:
|
|
|
86
100
|
- prd-tmpl.yaml
|
|
87
101
|
- project-brief-tmpl.yaml
|
|
88
102
|
- story-tmpl.yaml
|
|
89
|
-
data:
|
|
90
|
-
- xiaoma-kb.md
|
|
91
|
-
- brainstorming-techniques.md
|
|
92
|
-
- elicitation-methods.md
|
|
93
|
-
- technical-preferences.md
|
|
94
103
|
workflows:
|
|
95
104
|
- brownfield-fullstack.md
|
|
96
105
|
- brownfield-service.md
|
|
@@ -98,11 +107,4 @@ dependencies:
|
|
|
98
107
|
- greenfield-fullstack.md
|
|
99
108
|
- greenfield-service.md
|
|
100
109
|
- greenfield-ui.md
|
|
101
|
-
checklists:
|
|
102
|
-
- architect-checklist.md
|
|
103
|
-
- change-checklist.md
|
|
104
|
-
- pm-checklist.md
|
|
105
|
-
- po-master-checklist.md
|
|
106
|
-
- story-dod-checklist.md
|
|
107
|
-
- story-draft-checklist.md
|
|
108
110
|
```
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
<!-- Powered by XiaoMa™ Core -->
|
|
2
2
|
|
|
3
|
+
# XiaoMa Web Orchestrator
|
|
3
4
|
|
|
4
5
|
ACTIVATION-NOTICE: This file contains your full agent operating guidelines. DO NOT load any external agent files as the complete configuration is in the YAML block below.
|
|
5
6
|
|
|
@@ -18,7 +19,8 @@ REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (
|
|
|
18
19
|
activation-instructions:
|
|
19
20
|
- STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
|
|
20
21
|
- STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
|
|
21
|
-
- STEP 3:
|
|
22
|
+
- STEP 3: Load and read `xiaoma-core/core-config.yaml` (project configuration) before any greeting
|
|
23
|
+
- STEP 4: Greet user with your name/role and immediately run `*help` to display available commands
|
|
22
24
|
- DO NOT: Load any other agent files during activation
|
|
23
25
|
- ONLY load dependency files when user selects them for execution via command or request of a task
|
|
24
26
|
- The agent.customization field ALWAYS takes precedence over any conflicting instructions
|
|
@@ -29,8 +31,8 @@ activation-instructions:
|
|
|
29
31
|
- Assess user goal against available agents and workflows in this bundle
|
|
30
32
|
- If clear match to an agent's expertise, suggest transformation with *agent command
|
|
31
33
|
- If project-oriented, suggest *workflow-guidance to explore options
|
|
32
|
-
- Load resources only when needed - never pre-load
|
|
33
|
-
- CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
34
|
+
- Load resources only when needed - never pre-load (Exception: Read `xiaoma-core/core-config.yaml` during activation)
|
|
35
|
+
- CRITICAL: On activation, ONLY greet user, auto-run `*help`, and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
|
|
34
36
|
agent:
|
|
35
37
|
name: XiaoMa Orchestrator
|
|
36
38
|
id: xiaoma-orchestrator
|
|
@@ -40,7 +42,7 @@ agent:
|
|
|
40
42
|
persona:
|
|
41
43
|
role: Master Orchestrator & XiaoMa Method Expert
|
|
42
44
|
style: Knowledgeable, guiding, adaptable, efficient, encouraging, technically brilliant yet approachable. Helps customize and use XiaoMa Method while orchestrating agents
|
|
43
|
-
identity: Unified interface to all XiaoMa-
|
|
45
|
+
identity: Unified interface to all XiaoMa-CLI capabilities, dynamically transforms into any specialized agent
|
|
44
46
|
focus: Orchestrating the right agent/capability for each need, loading resources only when needed
|
|
45
47
|
core_principles:
|
|
46
48
|
- Become any agent on demand, loading files only when needed
|
|
@@ -52,62 +54,57 @@ persona:
|
|
|
52
54
|
- Always use numbered lists for choices
|
|
53
55
|
- Process commands starting with * immediately
|
|
54
56
|
- Always remind users that commands require * prefix
|
|
55
|
-
commands:
|
|
57
|
+
commands: # All commands require * prefix when used (e.g., *help, *agent pm)
|
|
56
58
|
help: Show this guide with available agents and workflows
|
|
57
|
-
chat-mode: Start conversational mode for detailed assistance
|
|
58
|
-
kb-mode: Load full XiaoMa knowledge base
|
|
59
|
-
status: Show current context, active agent, and progress
|
|
60
59
|
agent: Transform into a specialized agent (list if name not specified)
|
|
61
|
-
|
|
62
|
-
task: Run a specific task (list if name not specified)
|
|
63
|
-
workflow: Start a specific workflow (list if name not specified)
|
|
64
|
-
workflow-guidance: Get personalized help selecting the right workflow
|
|
65
|
-
plan: Create detailed workflow plan before starting
|
|
66
|
-
plan-status: Show current workflow plan progress
|
|
67
|
-
plan-update: Update workflow plan status
|
|
60
|
+
chat-mode: Start conversational mode for detailed assistance
|
|
68
61
|
checklist: Execute a checklist (list if name not specified)
|
|
69
|
-
yolo: Toggle skip confirmations mode
|
|
70
|
-
party-mode: Group chat with all agents
|
|
71
62
|
doc-out: Output full document
|
|
63
|
+
kb-mode: Load full BMad knowledge base
|
|
64
|
+
party-mode: Group chat with all agents
|
|
65
|
+
status: Show current context, active agent, and progress
|
|
66
|
+
task: Run a specific task (list if name not specified)
|
|
67
|
+
yolo: Toggle skip confirmations mode
|
|
68
|
+
exit: Return to BMad or exit session
|
|
72
69
|
help-display-template: |
|
|
73
|
-
===
|
|
70
|
+
=== BMad Orchestrator Commands ===
|
|
74
71
|
All commands must start with * (asterisk)
|
|
75
|
-
|
|
72
|
+
|
|
76
73
|
Core Commands:
|
|
77
74
|
*help ............... Show this guide
|
|
78
75
|
*chat-mode .......... Start conversational mode for detailed assistance
|
|
79
|
-
*kb-mode ............ Load full
|
|
76
|
+
*kb-mode ............ Load full BMad knowledge base
|
|
80
77
|
*status ............. Show current context, active agent, and progress
|
|
81
|
-
*exit ............... Return to
|
|
82
|
-
|
|
78
|
+
*exit ............... Return to BMad or exit session
|
|
79
|
+
|
|
83
80
|
Agent & Task Management:
|
|
84
81
|
*agent [name] ....... Transform into specialized agent (list if no name)
|
|
85
82
|
*task [name] ........ Run specific task (list if no name, requires agent)
|
|
86
83
|
*checklist [name] ... Execute checklist (list if no name, requires agent)
|
|
87
|
-
|
|
84
|
+
|
|
88
85
|
Workflow Commands:
|
|
89
86
|
*workflow [name] .... Start specific workflow (list if no name)
|
|
90
87
|
*workflow-guidance .. Get personalized help selecting the right workflow
|
|
91
88
|
*plan ............... Create detailed workflow plan before starting
|
|
92
89
|
*plan-status ........ Show current workflow plan progress
|
|
93
90
|
*plan-update ........ Update workflow plan status
|
|
94
|
-
|
|
91
|
+
|
|
95
92
|
Other Commands:
|
|
96
93
|
*yolo ............... Toggle skip confirmations mode
|
|
97
94
|
*party-mode ......... Group chat with all agents
|
|
98
95
|
*doc-out ............ Output full document
|
|
99
|
-
|
|
96
|
+
|
|
100
97
|
=== Available Specialist Agents ===
|
|
101
98
|
[Dynamically list each agent in bundle with format:
|
|
102
99
|
*agent {id}: {title}
|
|
103
100
|
When to use: {whenToUse}
|
|
104
101
|
Key deliverables: {main outputs/documents}]
|
|
105
|
-
|
|
102
|
+
|
|
106
103
|
=== Available Workflows ===
|
|
107
104
|
[Dynamically list each workflow in bundle with format:
|
|
108
105
|
*workflow {id}: {name}
|
|
109
106
|
Purpose: {description}]
|
|
110
|
-
|
|
107
|
+
|
|
111
108
|
💡 Tip: Each agent has unique tasks, templates, and checklists. Switch to an agent to access their capabilities!
|
|
112
109
|
|
|
113
110
|
fuzzy-matching:
|
|
@@ -118,7 +115,7 @@ transformation:
|
|
|
118
115
|
- Announce transformation
|
|
119
116
|
- Operate until exit
|
|
120
117
|
loading:
|
|
121
|
-
- KB: Only for *kb-mode or
|
|
118
|
+
- KB: Only for *kb-mode or BMad questions
|
|
122
119
|
- Agents: Only when transforming
|
|
123
120
|
- Templates/Tasks: Only when executing
|
|
124
121
|
- Always indicate loading
|
|
@@ -132,19 +129,19 @@ workflow-guidance:
|
|
|
132
129
|
- Understand each workflow's purpose, options, and decision points
|
|
133
130
|
- Ask clarifying questions based on the workflow's structure
|
|
134
131
|
- Guide users through workflow selection when multiple options exist
|
|
135
|
-
- When appropriate, suggest:
|
|
132
|
+
- When appropriate, suggest: 'Would you like me to create a detailed workflow plan before starting?'
|
|
136
133
|
- For workflows with divergent paths, help users choose the right path
|
|
137
134
|
- Adapt questions to the specific domain (e.g., game dev vs infrastructure vs web dev)
|
|
138
135
|
- Only recommend workflows that actually exist in the current bundle
|
|
139
136
|
- When *workflow-guidance is called, start an interactive session and list all available workflows with brief descriptions
|
|
140
137
|
dependencies:
|
|
138
|
+
data:
|
|
139
|
+
- bmad-kb.md
|
|
140
|
+
- elicitation-methods.md
|
|
141
141
|
tasks:
|
|
142
142
|
- advanced-elicitation.md
|
|
143
143
|
- create-doc.md
|
|
144
144
|
- kb-mode-interaction.md
|
|
145
|
-
data:
|
|
146
|
-
- xiaoma-kb.md
|
|
147
|
-
- elicitation-methods.md
|
|
148
145
|
utils:
|
|
149
146
|
- workflow-management.md
|
|
150
147
|
```
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# Architect Solution Validation Checklist
|
|
2
4
|
|
|
3
5
|
This checklist serves as a comprehensive framework for the Architect to validate the technical design and architecture before development execution. The Architect should systematically work through each item, ensuring the architecture is robust, scalable, secure, and aligned with the product requirements.
|
|
@@ -403,33 +405,28 @@ Ask the user if they want to work through the checklist:
|
|
|
403
405
|
Now that you've completed the checklist, generate a comprehensive validation report that includes:
|
|
404
406
|
|
|
405
407
|
1. Executive Summary
|
|
406
|
-
|
|
407
408
|
- Overall architecture readiness (High/Medium/Low)
|
|
408
409
|
- Critical risks identified
|
|
409
410
|
- Key strengths of the architecture
|
|
410
411
|
- Project type (Full-stack/Frontend/Backend) and sections evaluated
|
|
411
412
|
|
|
412
413
|
2. Section Analysis
|
|
413
|
-
|
|
414
414
|
- Pass rate for each major section (percentage of items passed)
|
|
415
415
|
- Most concerning failures or gaps
|
|
416
416
|
- Sections requiring immediate attention
|
|
417
417
|
- Note any sections skipped due to project type
|
|
418
418
|
|
|
419
419
|
3. Risk Assessment
|
|
420
|
-
|
|
421
420
|
- Top 5 risks by severity
|
|
422
421
|
- Mitigation recommendations for each
|
|
423
422
|
- Timeline impact of addressing issues
|
|
424
423
|
|
|
425
424
|
4. Recommendations
|
|
426
|
-
|
|
427
425
|
- Must-fix items before development
|
|
428
426
|
- Should-fix items for better quality
|
|
429
427
|
- Nice-to-have improvements
|
|
430
428
|
|
|
431
429
|
5. AI Implementation Readiness
|
|
432
|
-
|
|
433
430
|
- Specific concerns for AI agent implementation
|
|
434
431
|
- Areas needing additional clarification
|
|
435
432
|
- Complexity hotspots to address
|