@zeyue0329/xiaoma-cli 1.0.8 → 1.0.10
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/.github/FORK_GUIDE.md +106 -0
- package/.github/FUNDING.yaml +15 -0
- package/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
- package/.github/workflows/discord.yaml +26 -0
- package/.github/workflows/format-check.yaml +44 -0
- package/.github/workflows/manual-release.yaml +174 -0
- package/.github/workflows/pr-validation.yaml +55 -0
- package/.husky/pre-commit +3 -0
- package/.vscode/settings.json +26 -1
- package/CHANGELOG.md +686 -0
- package/CONTRIBUTING.md +250 -0
- package/LICENSE +6 -1
- package/common/tasks/create-doc.md +2 -0
- 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/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +2103 -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 +8486 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-architect.txt +3210 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-designer.txt +3244 -0
- package/dist/expansion-packs/bmad-2d-unity-game-dev/agents/game-developer.txt +317 -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 +12854 -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 +6071 -0
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2079 -0
- 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/eslint.config.mjs +119 -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 +143 -149
- 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 +390 -150
- package/tools/installer/config/ide-agent-config.yaml +1 -1
- package/tools/installer/config/install.config.yaml +60 -9
- package/tools/installer/lib/config-loader.js +55 -51
- package/tools/installer/lib/file-manager.js +92 -117
- package/tools/installer/lib/ide-base-setup.js +57 -56
- package/tools/installer/lib/ide-setup.js +821 -414
- package/tools/installer/lib/installer.js +924 -699
- 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 +31 -33
- package/tools/installer/package.json +24 -23
- package/tools/lib/dependency-resolver.js +39 -43
- package/tools/lib/yaml-utils.js +7 -7
- package/tools/md-assets/web-agent-startup-instructions.md +6 -6
- 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 +203 -294
- package/tools/version-bump.js +41 -26
- package/tools/xiaoma-npx-wrapper.js +14 -14
- package/tools/yaml-format.js +56 -43
- package/xiaoma-core/agent-teams/team-all.yaml +3 -2
- package/xiaoma-core/agent-teams/team-fullstack.yaml +2 -1
- package/xiaoma-core/agent-teams/team-ide-minimal.yaml +1 -0
- package/xiaoma-core/agent-teams/team-no-ui.yaml +2 -1
- package/xiaoma-core/agents/analyst.md +20 -17
- package/xiaoma-core/agents/architect.md +15 -14
- package/xiaoma-core/agents/{xiaoma-master.md → bmad-master.md} +29 -27
- package/xiaoma-core/agents/{xiaoma-orchestrator.md → bmad-orchestrator.md} +36 -39
- 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/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} +48 -42
- 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 +5 -3
- 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/README.md +0 -532
- package/XiaoMa-Web/345/244/232/346/231/272/350/203/275/344/275/2230-1/351/241/271/347/233/256/345/274/200/345/217/221/345/256/214/346/225/264/346/214/207/345/215/227.md +0 -977
- package/XiaoMa-Web/347/216/260/346/234/211/351/241/271/347/233/256/351/234/200/346/261/202/345/274/200/345/217/221/345/256/214/346/225/264/346/214/207/345/215/227.md +0 -873
- package/XiaoMa-Web/347/272/257/345/211/215/347/253/257/351/241/271/347/233/256Claude-Code/345/274/200/345/217/221/345/256/214/346/225/264/346/214/207/345/215/227.md +0 -372
- package/XiaoMa-Web/351/241/271/347/233/256/346/200/273/347/273/223/346/212/245/345/221/212.md +0 -310
- package/dist/agents/analyst.txt +0 -2882
- package/dist/agents/architect.txt +0 -3543
- package/dist/agents/dev-cn.txt +0 -428
- package/dist/agents/dev.txt +0 -428
- package/dist/agents/pm.txt +0 -2229
- package/dist/agents/po.txt +0 -1364
- package/dist/agents/qa.txt +0 -386
- package/dist/agents/sm.txt +0 -668
- package/dist/agents/ux-expert.txt +0 -701
- package/dist/agents/xiaoma-master.txt +0 -8756
- package/dist/agents/xiaoma-orchestrator.txt +0 -1490
- package/dist/teams/team-all.txt +0 -11062
- package/dist/teams/team-fullstack.txt +0 -10392
- package/dist/teams/team-ide-minimal.txt +0 -3507
- package/dist/teams/team-no-ui.txt +0 -8951
- package/docs/quick-start.md +0 -179
- package/tools/bmad-npx-wrapper.js +0 -39
- package/tools/installer/package-lock.json +0 -704
- 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
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# Create Brownfield Story Task
|
|
2
4
|
|
|
3
5
|
## Purpose
|
|
@@ -11,7 +13,7 @@ Create detailed, implementation-ready stories for brownfield projects where trad
|
|
|
11
13
|
- Working on brownfield projects with non-standard documentation
|
|
12
14
|
- Stories need to be created from document-project output
|
|
13
15
|
- Working from brownfield epics without full PRD/architecture
|
|
14
|
-
- Existing project documentation doesn't follow
|
|
16
|
+
- Existing project documentation doesn't follow BMad v4+ structure
|
|
15
17
|
- Need to gather additional context from user during story creation
|
|
16
18
|
|
|
17
19
|
**Use create-next-story when:**
|
|
@@ -128,7 +130,7 @@ Critical: For brownfield, ALWAYS include criteria about maintaining existing fun
|
|
|
128
130
|
Standard structure:
|
|
129
131
|
|
|
130
132
|
1. New functionality works as specified
|
|
131
|
-
2. Existing {{affected feature}} continues to work unchanged
|
|
133
|
+
2. Existing {{affected feature}} continues to work unchanged
|
|
132
134
|
3. Integration with {{existing system}} maintains current behavior
|
|
133
135
|
4. No regression in {{related area}}
|
|
134
136
|
5. Performance remains within acceptable bounds
|
|
@@ -139,16 +141,19 @@ Critical: This is where you'll need to be interactive with the user if informati
|
|
|
139
141
|
|
|
140
142
|
Create Dev Technical Guidance section with available information:
|
|
141
143
|
|
|
142
|
-
|
|
144
|
+
````markdown
|
|
143
145
|
## Dev Technical Guidance
|
|
144
146
|
|
|
145
147
|
### Existing System Context
|
|
148
|
+
|
|
146
149
|
[Extract from available documentation]
|
|
147
150
|
|
|
148
151
|
### Integration Approach
|
|
152
|
+
|
|
149
153
|
[Based on patterns found or ask user]
|
|
150
154
|
|
|
151
155
|
### Technical Constraints
|
|
156
|
+
|
|
152
157
|
[From documentation or user input]
|
|
153
158
|
|
|
154
159
|
### Missing Information
|
|
@@ -191,6 +196,7 @@ Example task structure for brownfield:
|
|
|
191
196
|
- [ ] Integration test for {{integration point}}
|
|
192
197
|
- [ ] Update existing tests if needed
|
|
193
198
|
```
|
|
199
|
+
````
|
|
194
200
|
|
|
195
201
|
### 5. Risk Assessment and Mitigation
|
|
196
202
|
|
|
@@ -202,14 +208,17 @@ Add section for brownfield-specific risks:
|
|
|
202
208
|
## Risk Assessment
|
|
203
209
|
|
|
204
210
|
### Implementation Risks
|
|
211
|
+
|
|
205
212
|
- **Primary Risk**: {{main risk to existing system}}
|
|
206
213
|
- **Mitigation**: {{how to address}}
|
|
207
214
|
- **Verification**: {{how to confirm safety}}
|
|
208
215
|
|
|
209
216
|
### Rollback Plan
|
|
217
|
+
|
|
210
218
|
- {{Simple steps to undo changes if needed}}
|
|
211
219
|
|
|
212
220
|
### Safety Checks
|
|
221
|
+
|
|
213
222
|
- [ ] Existing {{feature}} tested before changes
|
|
214
223
|
- [ ] Changes can be feature-flagged or isolated
|
|
215
224
|
- [ ] Rollback procedure documented
|
|
@@ -252,6 +261,7 @@ Include header noting documentation context:
|
|
|
252
261
|
<!-- Context: Brownfield enhancement to {{existing system}} -->
|
|
253
262
|
|
|
254
263
|
## Status: Draft
|
|
264
|
+
|
|
255
265
|
[Rest of story content...]
|
|
256
266
|
```
|
|
257
267
|
|
|
@@ -272,7 +282,7 @@ Key Integration Points Identified:
|
|
|
272
282
|
Risks Noted:
|
|
273
283
|
- {{primary risk}}
|
|
274
284
|
|
|
275
|
-
{{If missing info}}:
|
|
285
|
+
{{If missing info}}:
|
|
276
286
|
Note: Some technical details were unclear. The story includes exploration tasks to gather needed information during implementation.
|
|
277
287
|
|
|
278
288
|
Next Steps:
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# Create Deep Research Prompt Task
|
|
2
4
|
|
|
3
5
|
This task helps create comprehensive research prompts for various types of deep analysis. It can process inputs from brainstorming sessions, project briefs, market research, or specific research questions to generate targeted prompts for deeper investigation.
|
|
@@ -21,63 +23,54 @@ CRITICAL: First, help the user select the most appropriate research focus based
|
|
|
21
23
|
Present these numbered options to the user:
|
|
22
24
|
|
|
23
25
|
1. **Product Validation Research**
|
|
24
|
-
|
|
25
26
|
- Validate product hypotheses and market fit
|
|
26
27
|
- Test assumptions about user needs and solutions
|
|
27
28
|
- Assess technical and business feasibility
|
|
28
29
|
- Identify risks and mitigation strategies
|
|
29
30
|
|
|
30
31
|
2. **Market Opportunity Research**
|
|
31
|
-
|
|
32
32
|
- Analyze market size and growth potential
|
|
33
33
|
- Identify market segments and dynamics
|
|
34
34
|
- Assess market entry strategies
|
|
35
35
|
- Evaluate timing and market readiness
|
|
36
36
|
|
|
37
37
|
3. **User & Customer Research**
|
|
38
|
-
|
|
39
38
|
- Deep dive into user personas and behaviors
|
|
40
39
|
- Understand jobs-to-be-done and pain points
|
|
41
40
|
- Map customer journeys and touchpoints
|
|
42
41
|
- Analyze willingness to pay and value perception
|
|
43
42
|
|
|
44
43
|
4. **Competitive Intelligence Research**
|
|
45
|
-
|
|
46
44
|
- Detailed competitor analysis and positioning
|
|
47
45
|
- Feature and capability comparisons
|
|
48
46
|
- Business model and strategy analysis
|
|
49
47
|
- Identify competitive advantages and gaps
|
|
50
48
|
|
|
51
49
|
5. **Technology & Innovation Research**
|
|
52
|
-
|
|
53
50
|
- Assess technology trends and possibilities
|
|
54
51
|
- Evaluate technical approaches and architectures
|
|
55
52
|
- Identify emerging technologies and disruptions
|
|
56
53
|
- Analyze build vs. buy vs. partner options
|
|
57
54
|
|
|
58
55
|
6. **Industry & Ecosystem Research**
|
|
59
|
-
|
|
60
56
|
- Map industry value chains and dynamics
|
|
61
57
|
- Identify key players and relationships
|
|
62
58
|
- Analyze regulatory and compliance factors
|
|
63
59
|
- Understand partnership opportunities
|
|
64
60
|
|
|
65
61
|
7. **Strategic Options Research**
|
|
66
|
-
|
|
67
62
|
- Evaluate different strategic directions
|
|
68
63
|
- Assess business model alternatives
|
|
69
64
|
- Analyze go-to-market strategies
|
|
70
65
|
- Consider expansion and scaling paths
|
|
71
66
|
|
|
72
67
|
8. **Risk & Feasibility Research**
|
|
73
|
-
|
|
74
68
|
- Identify and assess various risk factors
|
|
75
69
|
- Evaluate implementation challenges
|
|
76
70
|
- Analyze resource requirements
|
|
77
71
|
- Consider regulatory and legal implications
|
|
78
72
|
|
|
79
73
|
9. **Custom Research Focus**
|
|
80
|
-
|
|
81
74
|
- User-defined research objectives
|
|
82
75
|
- Specialized domain investigation
|
|
83
76
|
- Cross-functional research needs
|
|
@@ -246,13 +239,11 @@ CRITICAL: collaborate with the user to develop specific, actionable research que
|
|
|
246
239
|
### 5. Review and Refinement
|
|
247
240
|
|
|
248
241
|
1. **Present Complete Prompt**
|
|
249
|
-
|
|
250
242
|
- Show the full research prompt
|
|
251
243
|
- Explain key elements and rationale
|
|
252
244
|
- Highlight any assumptions made
|
|
253
245
|
|
|
254
246
|
2. **Gather Feedback**
|
|
255
|
-
|
|
256
247
|
- Are the objectives clear and correct?
|
|
257
248
|
- Do the questions address all concerns?
|
|
258
249
|
- Is the scope appropriate?
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# Create Next Story Task
|
|
2
4
|
|
|
3
5
|
## Purpose
|
|
@@ -9,7 +11,7 @@ To identify the next logical story based on project progress and epic definition
|
|
|
9
11
|
### 0. Load Core Configuration and Check Workflow
|
|
10
12
|
|
|
11
13
|
- Load `{root}/core-config.yaml` from the project root
|
|
12
|
-
- If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story creation. You can either: 1) Copy it from GITHUB
|
|
14
|
+
- If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story creation. You can either: 1) Copy it from GITHUB bmad-core/core-config.yaml and configure it for your project OR 2) Run the BMad installer against your project to upgrade and add the file automatically. Please add and configure core-config.yaml before proceeding."
|
|
13
15
|
- Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`, `workflow.*`
|
|
14
16
|
|
|
15
17
|
### 1. Identify Next Story for Preparation
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# Document an Existing Project
|
|
2
4
|
|
|
3
5
|
## Purpose
|
|
@@ -111,9 +113,9 @@ This document captures the CURRENT STATE of the [Project Name] codebase, includi
|
|
|
111
113
|
|
|
112
114
|
### Change Log
|
|
113
115
|
|
|
114
|
-
| Date
|
|
115
|
-
|
|
116
|
-
| [Date] | 1.0
|
|
116
|
+
| Date | Version | Description | Author |
|
|
117
|
+
| ------ | ------- | --------------------------- | --------- |
|
|
118
|
+
| [Date] | 1.0 | Initial brownfield analysis | [Analyst] |
|
|
117
119
|
|
|
118
120
|
## Quick Reference - Key Files and Entry Points
|
|
119
121
|
|
|
@@ -136,11 +138,11 @@ This document captures the CURRENT STATE of the [Project Name] codebase, includi
|
|
|
136
138
|
|
|
137
139
|
### Actual Tech Stack (from package.json/requirements.txt)
|
|
138
140
|
|
|
139
|
-
| Category
|
|
140
|
-
|
|
141
|
-
| Runtime
|
|
142
|
-
| Framework | Express
|
|
143
|
-
| Database
|
|
141
|
+
| Category | Technology | Version | Notes |
|
|
142
|
+
| --------- | ---------- | ------- | -------------------------- |
|
|
143
|
+
| Runtime | Node.js | 16.x | [Any constraints] |
|
|
144
|
+
| Framework | Express | 4.18.2 | [Custom middleware?] |
|
|
145
|
+
| Database | PostgreSQL | 13 | [Connection pooling setup] |
|
|
144
146
|
|
|
145
147
|
etc...
|
|
146
148
|
|
|
@@ -179,6 +181,7 @@ project-root/
|
|
|
179
181
|
### Data Models
|
|
180
182
|
|
|
181
183
|
Instead of duplicating, reference actual model files:
|
|
184
|
+
|
|
182
185
|
- **User Model**: See `src/models/User.js`
|
|
183
186
|
- **Order Model**: See `src/models/Order.js`
|
|
184
187
|
- **Related Types**: TypeScript definitions in `src/types/`
|
|
@@ -208,10 +211,10 @@ Instead of duplicating, reference actual model files:
|
|
|
208
211
|
|
|
209
212
|
### External Services
|
|
210
213
|
|
|
211
|
-
| Service
|
|
212
|
-
|
|
213
|
-
| Stripe
|
|
214
|
-
| SendGrid | Emails
|
|
214
|
+
| Service | Purpose | Integration Type | Key Files |
|
|
215
|
+
| -------- | -------- | ---------------- | ------------------------------ |
|
|
216
|
+
| Stripe | Payments | REST API | `src/integrations/stripe/` |
|
|
217
|
+
| SendGrid | Emails | SDK | `src/services/emailService.js` |
|
|
215
218
|
|
|
216
219
|
etc...
|
|
217
220
|
|
|
@@ -256,6 +259,7 @@ npm run test:integration # Runs integration tests (requires local DB)
|
|
|
256
259
|
### Files That Will Need Modification
|
|
257
260
|
|
|
258
261
|
Based on the enhancement requirements, these files will be affected:
|
|
262
|
+
|
|
259
263
|
- `src/services/userService.js` - Add new user fields
|
|
260
264
|
- `src/models/User.js` - Update schema
|
|
261
265
|
- `src/routes/userRoutes.js` - New endpoints
|
|
@@ -338,4 +342,4 @@ Apply the advanced elicitation task after major sections to refine based on user
|
|
|
338
342
|
- References actual files rather than duplicating content when possible
|
|
339
343
|
- Documents technical debt, workarounds, and constraints honestly
|
|
340
344
|
- For brownfield projects with PRD: Provides clear enhancement impact analysis
|
|
341
|
-
- The goal is PRACTICAL documentation for AI agents doing real work
|
|
345
|
+
- The goal is PRACTICAL documentation for AI agents doing real work
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
## <!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
2
3
|
docOutputLocation: docs/brainstorming-session-results.md
|
|
3
|
-
template:
|
|
4
|
+
template: '{root}/templates/brainstorming-output-tmpl.yaml'
|
|
5
|
+
|
|
4
6
|
---
|
|
5
7
|
|
|
6
8
|
# Facilitate Brainstorming Session Task
|
|
@@ -43,7 +45,7 @@ If user selects Option 1, present numbered list of techniques from the brainstor
|
|
|
43
45
|
1. Apply selected technique according to data file description
|
|
44
46
|
2. Keep engaging with technique until user indicates they want to:
|
|
45
47
|
- Choose a different technique
|
|
46
|
-
- Apply current ideas to a new technique
|
|
48
|
+
- Apply current ideas to a new technique
|
|
47
49
|
- Move to convergent phase
|
|
48
50
|
- End session
|
|
49
51
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# Index Documentation Task
|
|
2
4
|
|
|
3
5
|
## Purpose
|
|
@@ -11,14 +13,12 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
|
|
|
11
13
|
### Required Steps
|
|
12
14
|
|
|
13
15
|
1. First, locate and scan:
|
|
14
|
-
|
|
15
16
|
- The `docs/` directory and all subdirectories
|
|
16
17
|
- The existing `docs/index.md` file (create if absent)
|
|
17
18
|
- All markdown (`.md`) and text (`.txt`) files in the documentation structure
|
|
18
19
|
- Note the folder structure for hierarchical organization
|
|
19
20
|
|
|
20
21
|
2. For the existing `docs/index.md`:
|
|
21
|
-
|
|
22
22
|
- Parse current entries
|
|
23
23
|
- Note existing file references and descriptions
|
|
24
24
|
- Identify any broken links or missing files
|
|
@@ -26,7 +26,6 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
|
|
|
26
26
|
- Preserve existing folder sections
|
|
27
27
|
|
|
28
28
|
3. For each documentation file found:
|
|
29
|
-
|
|
30
29
|
- Extract the title (from first heading or filename)
|
|
31
30
|
- Generate a brief description by analyzing the content
|
|
32
31
|
- Create a relative markdown link to the file
|
|
@@ -35,7 +34,6 @@ You are now operating as a Documentation Indexer. Your goal is to ensure all doc
|
|
|
35
34
|
- If missing or outdated, prepare an update
|
|
36
35
|
|
|
37
36
|
4. For any missing or non-existent files found in index:
|
|
38
|
-
|
|
39
37
|
- Present a list of all entries that reference non-existent files
|
|
40
38
|
- For each entry:
|
|
41
39
|
- Show the full entry details (title, path, description)
|
|
@@ -88,7 +86,6 @@ Documents within the `another-folder/` directory:
|
|
|
88
86
|
### [Nested Document](./another-folder/document.md)
|
|
89
87
|
|
|
90
88
|
Description of nested document.
|
|
91
|
-
|
|
92
89
|
```
|
|
93
90
|
|
|
94
91
|
### Index Entry Format
|
|
@@ -157,7 +154,6 @@ For each file referenced in the index but not found in the filesystem:
|
|
|
157
154
|
### Special Cases
|
|
158
155
|
|
|
159
156
|
1. **Sharded Documents**: If a folder contains an `index.md` file, treat it as a sharded document:
|
|
160
|
-
|
|
161
157
|
- Use the folder's `index.md` title as the section title
|
|
162
158
|
- List the folder's documents as subsections
|
|
163
159
|
- Note in the description that this is a multi-part document
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
1
3
|
# KB Mode Interaction Task
|
|
2
4
|
|
|
3
5
|
## Purpose
|
|
4
6
|
|
|
5
|
-
Provide a user-friendly interface to the
|
|
7
|
+
Provide a user-friendly interface to the BMad knowledge base without overwhelming users with information upfront.
|
|
6
8
|
|
|
7
9
|
## Instructions
|
|
8
10
|
|
|
9
|
-
When entering KB mode (
|
|
11
|
+
When entering KB mode (\*kb-mode), follow these steps:
|
|
10
12
|
|
|
11
13
|
### 1. Welcome and Guide
|
|
12
14
|
|
|
@@ -18,16 +20,16 @@ Offer a concise list of main topic areas the user might want to explore:
|
|
|
18
20
|
|
|
19
21
|
**What would you like to know more about?**
|
|
20
22
|
|
|
21
|
-
1. **Setup & Installation** - Getting started with
|
|
23
|
+
1. **Setup & Installation** - Getting started with BMad
|
|
22
24
|
2. **Workflows** - Choosing the right workflow for your project
|
|
23
25
|
3. **Web vs IDE** - When to use each environment
|
|
24
26
|
4. **Agents** - Understanding specialized agents and their roles
|
|
25
27
|
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
26
|
-
6. **Agile Process** - How
|
|
27
|
-
7. **Configuration** - Customizing
|
|
28
|
-
8. **Best Practices** - Tips for effective
|
|
28
|
+
6. **Agile Process** - How BMad implements Agile methodologies
|
|
29
|
+
7. **Configuration** - Customizing BMad for your needs
|
|
30
|
+
8. **Best Practices** - Tips for effective BMad usage
|
|
29
31
|
|
|
30
|
-
Or ask me about anything else related to
|
|
32
|
+
Or ask me about anything else related to BMad-Method!
|
|
31
33
|
|
|
32
34
|
### 3. Respond Contextually
|
|
33
35
|
|
|
@@ -48,27 +50,27 @@ Or ask me about anything else related to XiaoMa-Method!
|
|
|
48
50
|
When user is done or wants to exit KB mode:
|
|
49
51
|
|
|
50
52
|
- Summarize key points discussed if helpful
|
|
51
|
-
- Remind them they can return to KB mode anytime with
|
|
53
|
+
- Remind them they can return to KB mode anytime with \*kb-mode
|
|
52
54
|
- Suggest next steps based on what was discussed
|
|
53
55
|
|
|
54
56
|
## Example Interaction
|
|
55
57
|
|
|
56
|
-
**User**:
|
|
58
|
+
**User**: \*kb-mode
|
|
57
59
|
|
|
58
|
-
**Assistant**: I've entered KB mode and have access to the full
|
|
60
|
+
**Assistant**: I've entered KB mode and have access to the full BMad knowledge base. I can help you with detailed information about any aspect of BMad-Method.
|
|
59
61
|
|
|
60
62
|
**What would you like to know more about?**
|
|
61
63
|
|
|
62
|
-
1. **Setup & Installation** - Getting started with
|
|
64
|
+
1. **Setup & Installation** - Getting started with BMad
|
|
63
65
|
2. **Workflows** - Choosing the right workflow for your project
|
|
64
66
|
3. **Web vs IDE** - When to use each environment
|
|
65
67
|
4. **Agents** - Understanding specialized agents and their roles
|
|
66
68
|
5. **Documents** - PRDs, Architecture, Stories, and more
|
|
67
|
-
6. **Agile Process** - How
|
|
68
|
-
7. **Configuration** - Customizing
|
|
69
|
-
8. **Best Practices** - Tips for effective
|
|
69
|
+
6. **Agile Process** - How BMad implements Agile methodologies
|
|
70
|
+
7. **Configuration** - Customizing BMad for your needs
|
|
71
|
+
8. **Best Practices** - Tips for effective BMad usage
|
|
70
72
|
|
|
71
|
-
Or ask me about anything else related to
|
|
73
|
+
Or ask me about anything else related to BMad-Method!
|
|
72
74
|
|
|
73
75
|
**User**: Tell me about workflows
|
|
74
76
|
|