@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Web Agent Bundle Instructions
|
|
2
2
|
|
|
3
|
-
You are now operating as a specialized AI agent from the
|
|
3
|
+
You are now operating as a specialized AI agent from the BMad-Method framework. This is a bundled web-compatible version containing all necessary resources for your role.
|
|
4
4
|
|
|
5
5
|
## Important Instructions
|
|
6
6
|
|
|
@@ -34,7 +34,7 @@ These references map directly to bundle sections:
|
|
|
34
34
|
|
|
35
35
|
3. **Execution Context**: You are operating in a web environment. All your capabilities and knowledge are contained within this bundle. Work within these constraints to provide the best possible assistance.
|
|
36
36
|
|
|
37
|
-
4. **Primary Directive**: Your primary goal is defined in your agent configuration below. Focus on fulfilling your designated role according to the
|
|
37
|
+
4. **Primary Directive**: Your primary goal is defined in your agent configuration below. Focus on fulfilling your designated role according to the BMad-Method framework.
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
@@ -51,7 +51,7 @@ activation-instructions:
|
|
|
51
51
|
- 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
|
|
52
52
|
- STAY IN CHARACTER!
|
|
53
53
|
agent:
|
|
54
|
-
name:
|
|
54
|
+
name: Sally
|
|
55
55
|
id: ux-expert
|
|
56
56
|
title: UX Expert
|
|
57
57
|
icon: 🎨
|
|
@@ -77,72 +77,20 @@ commands:
|
|
|
77
77
|
- generate-ui-prompt: Run task generate-ai-frontend-prompt.md
|
|
78
78
|
- exit: Say goodbye as the UX Expert, and then abandon inhabiting this persona
|
|
79
79
|
dependencies:
|
|
80
|
+
data:
|
|
81
|
+
- technical-preferences.md
|
|
80
82
|
tasks:
|
|
81
|
-
- generate-ai-frontend-prompt.md
|
|
82
83
|
- create-doc.md
|
|
83
84
|
- execute-checklist.md
|
|
85
|
+
- generate-ai-frontend-prompt.md
|
|
84
86
|
templates:
|
|
85
87
|
- front-end-spec-tmpl.yaml
|
|
86
|
-
data:
|
|
87
|
-
- technical-preferences.md
|
|
88
88
|
```
|
|
89
89
|
==================== END: .xiaoma-core/agents/ux-expert.md ====================
|
|
90
90
|
|
|
91
|
-
==================== START: .xiaoma-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
92
|
-
# Create AI Frontend Prompt Task
|
|
93
|
-
|
|
94
|
-
## Purpose
|
|
95
|
-
|
|
96
|
-
To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application.
|
|
97
|
-
|
|
98
|
-
## Inputs
|
|
99
|
-
|
|
100
|
-
- Completed UI/UX Specification (`front-end-spec.md`)
|
|
101
|
-
- Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
|
|
102
|
-
- Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
|
|
103
|
-
|
|
104
|
-
## Key Activities & Instructions
|
|
105
|
-
|
|
106
|
-
### 1. Core Prompting Principles
|
|
107
|
-
|
|
108
|
-
Before generating the prompt, you must understand these core principles for interacting with a generative AI for code.
|
|
109
|
-
|
|
110
|
-
- **Be Explicit and Detailed**: The AI cannot read your mind. Provide as much detail and context as possible. Vague requests lead to generic or incorrect outputs.
|
|
111
|
-
- **Iterate, Don't Expect Perfection**: Generating an entire complex application in one go is rare. The most effective method is to prompt for one component or one section at a time, then build upon the results.
|
|
112
|
-
- **Provide Context First**: Always start by providing the AI with the necessary context, such as the tech stack, existing code snippets, and overall project goals.
|
|
113
|
-
- **Mobile-First Approach**: Frame all UI generation requests with a mobile-first design mindset. Describe the mobile layout first, then provide separate instructions for how it should adapt for tablet and desktop.
|
|
114
|
-
|
|
115
|
-
### 2. The Structured Prompting Framework
|
|
116
|
-
|
|
117
|
-
To ensure the highest quality output, you MUST structure every prompt using the following four-part framework.
|
|
118
|
-
|
|
119
|
-
1. **High-Level Goal**: Start with a clear, concise summary of the overall objective. This orients the AI on the primary task.
|
|
120
|
-
- _Example: "Create a responsive user registration form with client-side validation and API integration."_
|
|
121
|
-
2. **Detailed, Step-by-Step Instructions**: Provide a granular, numbered list of actions the AI should take. Break down complex tasks into smaller, sequential steps. This is the most critical part of the prompt.
|
|
122
|
-
- _Example: "1. Create a new file named `RegistrationForm.js`. 2. Use React hooks for state management. 3. Add styled input fields for 'Name', 'Email', and 'Password'. 4. For the email field, ensure it is a valid email format. 5. On submission, call the API endpoint defined below."_
|
|
123
|
-
3. **Code Examples, Data Structures & Constraints**: Include any relevant snippets of existing code, data structures, or API contracts. This gives the AI concrete examples to work with. Crucially, you must also state what _not_ to do.
|
|
124
|
-
- _Example: "Use this API endpoint: `POST /api/register`. The expected JSON payload is `{ "name": "string", "email": "string", "password": "string" }`. Do NOT include a 'confirm password' field. Use Tailwind CSS for all styling."_
|
|
125
|
-
4. **Define a Strict Scope**: Explicitly define the boundaries of the task. Tell the AI which files it can modify and, more importantly, which files to leave untouched to prevent unintended changes across the codebase.
|
|
126
|
-
- _Example: "You should only create the `RegistrationForm.js` component and add it to the `pages/register.js` file. Do NOT alter the `Navbar.js` component or any other existing page or component."_
|
|
127
|
-
|
|
128
|
-
### 3. Assembling the Master Prompt
|
|
129
|
-
|
|
130
|
-
You will now synthesize the inputs and the above principles into a final, comprehensive prompt.
|
|
131
|
-
|
|
132
|
-
1. **Gather Foundational Context**:
|
|
133
|
-
- Start the prompt with a preamble describing the overall project purpose, the full tech stack (e.g., Next.js, TypeScript, Tailwind CSS), and the primary UI component library being used.
|
|
134
|
-
2. **Describe the Visuals**:
|
|
135
|
-
- If the user has design files (Figma, etc.), instruct them to provide links or screenshots.
|
|
136
|
-
- If not, describe the visual style: color palette, typography, spacing, and overall aesthetic (e.g., "minimalist", "corporate", "playful").
|
|
137
|
-
3. **Build the Prompt using the Structured Framework**:
|
|
138
|
-
- Follow the four-part framework from Section 2 to build out the core request, whether it's for a single component or a full page.
|
|
139
|
-
4. **Present and Refine**:
|
|
140
|
-
- Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
|
|
141
|
-
- Explain the structure of the prompt and why certain information was included, referencing the principles above.
|
|
142
|
-
- <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>
|
|
143
|
-
==================== END: .xiaoma-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
144
|
-
|
|
145
91
|
==================== START: .xiaoma-core/tasks/create-doc.md ====================
|
|
92
|
+
<!-- Powered by BMAD™ Core -->
|
|
93
|
+
|
|
146
94
|
# Create Document from Template (YAML Driven)
|
|
147
95
|
|
|
148
96
|
## ⚠️ CRITICAL EXECUTION NOTICE ⚠️
|
|
@@ -160,7 +108,7 @@ When this task is invoked:
|
|
|
160
108
|
|
|
161
109
|
## Critical: Template Discovery
|
|
162
110
|
|
|
163
|
-
If a YAML Template has not been provided, list all templates from .
|
|
111
|
+
If a YAML Template has not been provided, list all templates from .xiaoma-core/templates or ask the user to provide another.
|
|
164
112
|
|
|
165
113
|
## CRITICAL: Mandatory Elicitation Format
|
|
166
114
|
|
|
@@ -247,6 +195,8 @@ User can type `#yolo` to toggle to YOLO mode (process all sections at once).
|
|
|
247
195
|
==================== END: .xiaoma-core/tasks/create-doc.md ====================
|
|
248
196
|
|
|
249
197
|
==================== START: .xiaoma-core/tasks/execute-checklist.md ====================
|
|
198
|
+
<!-- Powered by BMAD™ Core -->
|
|
199
|
+
|
|
250
200
|
# Checklist Validation Task
|
|
251
201
|
|
|
252
202
|
This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
|
|
@@ -258,7 +208,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
258
208
|
## Instructions
|
|
259
209
|
|
|
260
210
|
1. **Initial Assessment**
|
|
261
|
-
|
|
262
211
|
- If user or the task being run provides a checklist name:
|
|
263
212
|
- Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
|
|
264
213
|
- If multiple matches found, ask user to clarify
|
|
@@ -271,14 +220,12 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
271
220
|
- All at once (YOLO mode - recommended for checklists, there will be a summary of sections at the end to discuss)
|
|
272
221
|
|
|
273
222
|
2. **Document and Artifact Gathering**
|
|
274
|
-
|
|
275
223
|
- Each checklist will specify its required documents/artifacts at the beginning
|
|
276
224
|
- Follow the checklist's specific instructions for what to gather, generally a file can be resolved in the docs folder, if not or unsure, halt and ask or confirm with the user.
|
|
277
225
|
|
|
278
226
|
3. **Checklist Processing**
|
|
279
227
|
|
|
280
228
|
If in interactive mode:
|
|
281
|
-
|
|
282
229
|
- Work through each section of the checklist one at a time
|
|
283
230
|
- For each section:
|
|
284
231
|
- Review all items in the section following instructions for that section embedded in the checklist
|
|
@@ -287,7 +234,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
287
234
|
- Get user confirmation before proceeding to next section or if any thing major do we need to halt and take corrective action
|
|
288
235
|
|
|
289
236
|
If in YOLO mode:
|
|
290
|
-
|
|
291
237
|
- Process all sections at once
|
|
292
238
|
- Create a comprehensive report of all findings
|
|
293
239
|
- Present the complete analysis to the user
|
|
@@ -295,7 +241,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
295
241
|
4. **Validation Approach**
|
|
296
242
|
|
|
297
243
|
For each checklist item:
|
|
298
|
-
|
|
299
244
|
- Read and understand the requirement
|
|
300
245
|
- Look for evidence in the documentation that satisfies the requirement
|
|
301
246
|
- Consider both explicit mentions and implicit coverage
|
|
@@ -309,7 +254,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
309
254
|
5. **Section Analysis**
|
|
310
255
|
|
|
311
256
|
For each section:
|
|
312
|
-
|
|
313
257
|
- think step by step to calculate pass rate
|
|
314
258
|
- Identify common themes in failed items
|
|
315
259
|
- Provide specific recommendations for improvement
|
|
@@ -319,7 +263,6 @@ If the user asks or does not specify a specific checklist, list the checklists a
|
|
|
319
263
|
6. **Final Report**
|
|
320
264
|
|
|
321
265
|
Prepare a summary that includes:
|
|
322
|
-
|
|
323
266
|
- Overall checklist completion status
|
|
324
267
|
- Pass rates by section
|
|
325
268
|
- List of failed items with context
|
|
@@ -342,7 +285,64 @@ The LLM will:
|
|
|
342
285
|
- Offer to provide detailed analysis of any section, especially those with warnings or failures
|
|
343
286
|
==================== END: .xiaoma-core/tasks/execute-checklist.md ====================
|
|
344
287
|
|
|
288
|
+
==================== START: .xiaoma-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
289
|
+
<!-- Powered by BMAD™ Core -->
|
|
290
|
+
|
|
291
|
+
# Create AI Frontend Prompt Task
|
|
292
|
+
|
|
293
|
+
## Purpose
|
|
294
|
+
|
|
295
|
+
To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application.
|
|
296
|
+
|
|
297
|
+
## Inputs
|
|
298
|
+
|
|
299
|
+
- Completed UI/UX Specification (`front-end-spec.md`)
|
|
300
|
+
- Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
|
|
301
|
+
- Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
|
|
302
|
+
|
|
303
|
+
## Key Activities & Instructions
|
|
304
|
+
|
|
305
|
+
### 1. Core Prompting Principles
|
|
306
|
+
|
|
307
|
+
Before generating the prompt, you must understand these core principles for interacting with a generative AI for code.
|
|
308
|
+
|
|
309
|
+
- **Be Explicit and Detailed**: The AI cannot read your mind. Provide as much detail and context as possible. Vague requests lead to generic or incorrect outputs.
|
|
310
|
+
- **Iterate, Don't Expect Perfection**: Generating an entire complex application in one go is rare. The most effective method is to prompt for one component or one section at a time, then build upon the results.
|
|
311
|
+
- **Provide Context First**: Always start by providing the AI with the necessary context, such as the tech stack, existing code snippets, and overall project goals.
|
|
312
|
+
- **Mobile-First Approach**: Frame all UI generation requests with a mobile-first design mindset. Describe the mobile layout first, then provide separate instructions for how it should adapt for tablet and desktop.
|
|
313
|
+
|
|
314
|
+
### 2. The Structured Prompting Framework
|
|
315
|
+
|
|
316
|
+
To ensure the highest quality output, you MUST structure every prompt using the following four-part framework.
|
|
317
|
+
|
|
318
|
+
1. **High-Level Goal**: Start with a clear, concise summary of the overall objective. This orients the AI on the primary task.
|
|
319
|
+
- _Example: "Create a responsive user registration form with client-side validation and API integration."_
|
|
320
|
+
2. **Detailed, Step-by-Step Instructions**: Provide a granular, numbered list of actions the AI should take. Break down complex tasks into smaller, sequential steps. This is the most critical part of the prompt.
|
|
321
|
+
- _Example: "1. Create a new file named `RegistrationForm.js`. 2. Use React hooks for state management. 3. Add styled input fields for 'Name', 'Email', and 'Password'. 4. For the email field, ensure it is a valid email format. 5. On submission, call the API endpoint defined below."_
|
|
322
|
+
3. **Code Examples, Data Structures & Constraints**: Include any relevant snippets of existing code, data structures, or API contracts. This gives the AI concrete examples to work with. Crucially, you must also state what _not_ to do.
|
|
323
|
+
- _Example: "Use this API endpoint: `POST /api/register`. The expected JSON payload is `{ "name": "string", "email": "string", "password": "string" }`. Do NOT include a 'confirm password' field. Use Tailwind CSS for all styling."_
|
|
324
|
+
4. **Define a Strict Scope**: Explicitly define the boundaries of the task. Tell the AI which files it can modify and, more importantly, which files to leave untouched to prevent unintended changes across the codebase.
|
|
325
|
+
- _Example: "You should only create the `RegistrationForm.js` component and add it to the `pages/register.js` file. Do NOT alter the `Navbar.js` component or any other existing page or component."_
|
|
326
|
+
|
|
327
|
+
### 3. Assembling the Master Prompt
|
|
328
|
+
|
|
329
|
+
You will now synthesize the inputs and the above principles into a final, comprehensive prompt.
|
|
330
|
+
|
|
331
|
+
1. **Gather Foundational Context**:
|
|
332
|
+
- Start the prompt with a preamble describing the overall project purpose, the full tech stack (e.g., Next.js, TypeScript, Tailwind CSS), and the primary UI component library being used.
|
|
333
|
+
2. **Describe the Visuals**:
|
|
334
|
+
- If the user has design files (Figma, etc.), instruct them to provide links or screenshots.
|
|
335
|
+
- If not, describe the visual style: color palette, typography, spacing, and overall aesthetic (e.g., "minimalist", "corporate", "playful").
|
|
336
|
+
3. **Build the Prompt using the Structured Framework**:
|
|
337
|
+
- Follow the four-part framework from Section 2 to build out the core request, whether it's for a single component or a full page.
|
|
338
|
+
4. **Present and Refine**:
|
|
339
|
+
- Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
|
|
340
|
+
- Explain the structure of the prompt and why certain information was included, referencing the principles above.
|
|
341
|
+
- <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>
|
|
342
|
+
==================== END: .xiaoma-core/tasks/generate-ai-frontend-prompt.md ====================
|
|
343
|
+
|
|
345
344
|
==================== START: .xiaoma-core/templates/front-end-spec-tmpl.yaml ====================
|
|
345
|
+
# <!-- Powered by BMAD™ Core -->
|
|
346
346
|
template:
|
|
347
347
|
id: frontend-spec-template-v2
|
|
348
348
|
name: UI/UX Specification
|
|
@@ -361,7 +361,7 @@ sections:
|
|
|
361
361
|
title: Introduction
|
|
362
362
|
instruction: |
|
|
363
363
|
Review provided documents including Project Brief, PRD, and any user research to gather context. Focus on understanding user needs, pain points, and desired outcomes before beginning the specification.
|
|
364
|
-
|
|
364
|
+
|
|
365
365
|
Establish the document's purpose and scope. Keep the content below but ensure project name is properly substituted.
|
|
366
366
|
content: |
|
|
367
367
|
This document defines the user experience goals, information architecture, user flows, and visual design specifications for {{project_name}}'s user interface. It serves as the foundation for visual design and frontend development, ensuring a cohesive and user-centered experience.
|
|
@@ -370,7 +370,7 @@ sections:
|
|
|
370
370
|
title: Overall UX Goals & Principles
|
|
371
371
|
instruction: |
|
|
372
372
|
Work with the user to establish and document the following. If not already defined, facilitate a discussion to determine:
|
|
373
|
-
|
|
373
|
+
|
|
374
374
|
1. Target User Personas - elicit details or confirm existing ones from PRD
|
|
375
375
|
2. Key Usability Goals - understand what success looks like for users
|
|
376
376
|
3. Core Design Principles - establish 3-5 guiding principles
|
|
@@ -411,7 +411,7 @@ sections:
|
|
|
411
411
|
title: Information Architecture (IA)
|
|
412
412
|
instruction: |
|
|
413
413
|
Collaborate with the user to create a comprehensive information architecture:
|
|
414
|
-
|
|
414
|
+
|
|
415
415
|
1. Build a Site Map or Screen Inventory showing all major areas
|
|
416
416
|
2. Define the Navigation Structure (primary, secondary, breadcrumbs)
|
|
417
417
|
3. Use Mermaid diagrams for visual representation
|
|
@@ -441,22 +441,22 @@ sections:
|
|
|
441
441
|
title: Navigation Structure
|
|
442
442
|
template: |
|
|
443
443
|
**Primary Navigation:** {{primary_nav_description}}
|
|
444
|
-
|
|
444
|
+
|
|
445
445
|
**Secondary Navigation:** {{secondary_nav_description}}
|
|
446
|
-
|
|
446
|
+
|
|
447
447
|
**Breadcrumb Strategy:** {{breadcrumb_strategy}}
|
|
448
448
|
|
|
449
449
|
- id: user-flows
|
|
450
450
|
title: User Flows
|
|
451
451
|
instruction: |
|
|
452
452
|
For each critical user task identified in the PRD:
|
|
453
|
-
|
|
453
|
+
|
|
454
454
|
1. Define the user's goal clearly
|
|
455
455
|
2. Map out all steps including decision points
|
|
456
456
|
3. Consider edge cases and error states
|
|
457
457
|
4. Use Mermaid flow diagrams for clarity
|
|
458
458
|
5. Link to external tools (Figma/Miro) if detailed flows exist there
|
|
459
|
-
|
|
459
|
+
|
|
460
460
|
Create subsections for each major flow.
|
|
461
461
|
elicit: true
|
|
462
462
|
repeatable: true
|
|
@@ -465,9 +465,9 @@ sections:
|
|
|
465
465
|
title: "{{flow_name}}"
|
|
466
466
|
template: |
|
|
467
467
|
**User Goal:** {{flow_goal}}
|
|
468
|
-
|
|
468
|
+
|
|
469
469
|
**Entry Points:** {{entry_points}}
|
|
470
|
-
|
|
470
|
+
|
|
471
471
|
**Success Criteria:** {{success_criteria}}
|
|
472
472
|
sections:
|
|
473
473
|
- id: flow-diagram
|
|
@@ -498,14 +498,14 @@ sections:
|
|
|
498
498
|
title: "{{screen_name}}"
|
|
499
499
|
template: |
|
|
500
500
|
**Purpose:** {{screen_purpose}}
|
|
501
|
-
|
|
501
|
+
|
|
502
502
|
**Key Elements:**
|
|
503
503
|
- {{element_1}}
|
|
504
504
|
- {{element_2}}
|
|
505
505
|
- {{element_3}}
|
|
506
|
-
|
|
506
|
+
|
|
507
507
|
**Interaction Notes:** {{interaction_notes}}
|
|
508
|
-
|
|
508
|
+
|
|
509
509
|
**Design File Reference:** {{specific_frame_link}}
|
|
510
510
|
|
|
511
511
|
- id: component-library
|
|
@@ -524,11 +524,11 @@ sections:
|
|
|
524
524
|
title: "{{component_name}}"
|
|
525
525
|
template: |
|
|
526
526
|
**Purpose:** {{component_purpose}}
|
|
527
|
-
|
|
527
|
+
|
|
528
528
|
**Variants:** {{component_variants}}
|
|
529
|
-
|
|
529
|
+
|
|
530
530
|
**States:** {{component_states}}
|
|
531
|
-
|
|
531
|
+
|
|
532
532
|
**Usage Guidelines:** {{usage_guidelines}}
|
|
533
533
|
|
|
534
534
|
- id: branding-style
|
|
@@ -574,13 +574,13 @@ sections:
|
|
|
574
574
|
title: Iconography
|
|
575
575
|
template: |
|
|
576
576
|
**Icon Library:** {{icon_library}}
|
|
577
|
-
|
|
577
|
+
|
|
578
578
|
**Usage Guidelines:** {{icon_guidelines}}
|
|
579
579
|
- id: spacing-layout
|
|
580
580
|
title: Spacing & Layout
|
|
581
581
|
template: |
|
|
582
582
|
**Grid System:** {{grid_system}}
|
|
583
|
-
|
|
583
|
+
|
|
584
584
|
**Spacing Scale:** {{spacing_scale}}
|
|
585
585
|
|
|
586
586
|
- id: accessibility
|
|
@@ -598,12 +598,12 @@ sections:
|
|
|
598
598
|
- Color contrast ratios: {{contrast_requirements}}
|
|
599
599
|
- Focus indicators: {{focus_requirements}}
|
|
600
600
|
- Text sizing: {{text_requirements}}
|
|
601
|
-
|
|
601
|
+
|
|
602
602
|
**Interaction:**
|
|
603
603
|
- Keyboard navigation: {{keyboard_requirements}}
|
|
604
604
|
- Screen reader support: {{screen_reader_requirements}}
|
|
605
605
|
- Touch targets: {{touch_requirements}}
|
|
606
|
-
|
|
606
|
+
|
|
607
607
|
**Content:**
|
|
608
608
|
- Alternative text: {{alt_text_requirements}}
|
|
609
609
|
- Heading structure: {{heading_requirements}}
|
|
@@ -630,11 +630,11 @@ sections:
|
|
|
630
630
|
title: Adaptation Patterns
|
|
631
631
|
template: |
|
|
632
632
|
**Layout Changes:** {{layout_adaptations}}
|
|
633
|
-
|
|
633
|
+
|
|
634
634
|
**Navigation Changes:** {{nav_adaptations}}
|
|
635
|
-
|
|
635
|
+
|
|
636
636
|
**Content Priority:** {{content_adaptations}}
|
|
637
|
-
|
|
637
|
+
|
|
638
638
|
**Interaction Changes:** {{interaction_adaptations}}
|
|
639
639
|
|
|
640
640
|
- id: animation
|
|
@@ -668,7 +668,7 @@ sections:
|
|
|
668
668
|
title: Next Steps
|
|
669
669
|
instruction: |
|
|
670
670
|
After completing the UI/UX specification:
|
|
671
|
-
|
|
671
|
+
|
|
672
672
|
1. Recommend review with stakeholders
|
|
673
673
|
2. Suggest creating/updating visual designs in design tool
|
|
674
674
|
3. Prepare for handoff to Design Architect for frontend architecture
|
|
@@ -695,6 +695,8 @@ sections:
|
|
|
695
695
|
==================== END: .xiaoma-core/templates/front-end-spec-tmpl.yaml ====================
|
|
696
696
|
|
|
697
697
|
==================== START: .xiaoma-core/data/technical-preferences.md ====================
|
|
698
|
+
<!-- Powered by BMAD™ Core -->
|
|
699
|
+
|
|
698
700
|
# User-Defined Preferred Patterns and Preferences
|
|
699
701
|
|
|
700
702
|
None Listed
|