@zeyue0329/xiaoma-cli 1.0.7 → 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 +392 -99
- 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 -114
- 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 -696
- 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/dist/agents/analyst.txt +0 -2882
- package/dist/agents/architect.txt +0 -3543
- 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
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
---
|
|
3
|
+
template:
|
|
4
|
+
id: world-guide-tmpl
|
|
5
|
+
name: World Guide
|
|
6
|
+
version: 1.0
|
|
7
|
+
description: Structured document for geography, cultures, magic systems, and history
|
|
8
|
+
output:
|
|
9
|
+
format: markdown
|
|
10
|
+
filename: "{{world_name}}-world-guide.md"
|
|
11
|
+
|
|
12
|
+
workflow:
|
|
13
|
+
elicitation: true
|
|
14
|
+
allow_skip: false
|
|
15
|
+
|
|
16
|
+
sections:
|
|
17
|
+
- id: overview
|
|
18
|
+
title: World Overview
|
|
19
|
+
instruction: |
|
|
20
|
+
Create comprehensive world overview including:
|
|
21
|
+
- World name and type (fantasy, sci-fi, etc.)
|
|
22
|
+
- Overall tone and atmosphere
|
|
23
|
+
- Technology/magic level
|
|
24
|
+
- Time period equivalent
|
|
25
|
+
|
|
26
|
+
- id: geography
|
|
27
|
+
title: Geography
|
|
28
|
+
instruction: |
|
|
29
|
+
Define the physical world:
|
|
30
|
+
- Continents and regions
|
|
31
|
+
- Key landmarks and natural features
|
|
32
|
+
- Climate zones
|
|
33
|
+
- Important cities/settlements
|
|
34
|
+
elicit: true
|
|
35
|
+
|
|
36
|
+
- id: cultures
|
|
37
|
+
title: Cultures & Factions
|
|
38
|
+
instruction: |
|
|
39
|
+
Detail cultures and factions:
|
|
40
|
+
- Name and description
|
|
41
|
+
- Core values and beliefs
|
|
42
|
+
- Leadership structure
|
|
43
|
+
- Relationships with other groups
|
|
44
|
+
- Conflicts and tensions
|
|
45
|
+
repeatable: true
|
|
46
|
+
elicit: true
|
|
47
|
+
|
|
48
|
+
- id: magic_technology
|
|
49
|
+
title: Magic/Technology System
|
|
50
|
+
instruction: |
|
|
51
|
+
Define the world's special systems:
|
|
52
|
+
- Source of power/technology
|
|
53
|
+
- How it works
|
|
54
|
+
- Who can use it
|
|
55
|
+
- Limitations and costs
|
|
56
|
+
- Impact on society
|
|
57
|
+
elicit: true
|
|
58
|
+
|
|
59
|
+
- id: history
|
|
60
|
+
title: Historical Timeline
|
|
61
|
+
instruction: |
|
|
62
|
+
Create key historical events:
|
|
63
|
+
- Founding events
|
|
64
|
+
- Major wars/conflicts
|
|
65
|
+
- Golden ages
|
|
66
|
+
- Disasters/cataclysms
|
|
67
|
+
- Recent history
|
|
68
|
+
elicit: true
|
|
69
|
+
|
|
70
|
+
- id: economics
|
|
71
|
+
title: Economics & Trade
|
|
72
|
+
instruction: |
|
|
73
|
+
Define economic systems:
|
|
74
|
+
- Currency and trade
|
|
75
|
+
- Major resources
|
|
76
|
+
- Trade routes
|
|
77
|
+
- Economic disparities
|
|
78
|
+
elicit: true
|
|
79
|
+
|
|
80
|
+
- id: religion
|
|
81
|
+
title: Religion & Mythology
|
|
82
|
+
instruction: |
|
|
83
|
+
Detail belief systems:
|
|
84
|
+
- Deities/higher powers
|
|
85
|
+
- Creation myths
|
|
86
|
+
- Religious practices
|
|
87
|
+
- Sacred sites
|
|
88
|
+
- Religious conflicts
|
|
89
|
+
elicit: true
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
<!-- Powered by BMAD™ Core -->
|
|
2
|
+
|
|
3
|
+
# Book Cover Design Assets
|
|
4
|
+
|
|
5
|
+
# ============================================================
|
|
6
|
+
|
|
7
|
+
# This canvas file contains:
|
|
8
|
+
|
|
9
|
+
# 1. Agent definition (cover-designer)
|
|
10
|
+
|
|
11
|
+
# 2. Three tasks
|
|
12
|
+
|
|
13
|
+
# 3. One template
|
|
14
|
+
|
|
15
|
+
# 4. One checklist
|
|
16
|
+
|
|
17
|
+
# ------------------------------------------------------------
|
|
18
|
+
|
|
19
|
+
# ------------------------------------------------------------
|
|
20
|
+
|
|
21
|
+
# agents/cover-designer.md
|
|
22
|
+
|
|
23
|
+
# ------------------------------------------------------------
|
|
24
|
+
|
|
25
|
+
```yaml
|
|
26
|
+
agent:
|
|
27
|
+
name: Iris Vega
|
|
28
|
+
id: cover-designer
|
|
29
|
+
title: Book Cover Designer & KDP Specialist
|
|
30
|
+
icon: 🎨
|
|
31
|
+
whenToUse: Use to generate AI‑ready cover art prompts and assemble a compliant KDP package (front, spine, back).
|
|
32
|
+
customization: null
|
|
33
|
+
persona:
|
|
34
|
+
role: Award‑Winning Cover Artist & Publishing Production Expert
|
|
35
|
+
style: Visual, detail‑oriented, market‑aware, collaborative
|
|
36
|
+
identity: Veteran cover designer whose work has topped Amazon charts across genres; expert in KDP technical specs.
|
|
37
|
+
focus: Translating story essence into compelling visuals that sell while meeting printer requirements.
|
|
38
|
+
core_principles:
|
|
39
|
+
- Audience Hook – Covers must attract target readers within 3 seconds
|
|
40
|
+
- Genre Signaling – Color, typography, and imagery must align with expectations
|
|
41
|
+
- Technical Precision – Always match trim size, bleed, and DPI specs
|
|
42
|
+
- Sales Metadata – Integrate subtitle, series, reviews for maximum conversion
|
|
43
|
+
- Prompt Clarity – Provide explicit AI image prompts with camera, style, lighting, and composition cues
|
|
44
|
+
startup:
|
|
45
|
+
- Greet the user and ask for book details (trim size, page count, genre, mood).
|
|
46
|
+
- Offer to run *generate-cover-brief* task to gather all inputs.
|
|
47
|
+
commands:
|
|
48
|
+
- help: Show available commands
|
|
49
|
+
- brief: Run generate-cover-brief (collect info)
|
|
50
|
+
- design: Run generate-cover-prompts (produce AI prompts)
|
|
51
|
+
- package: Run assemble-kdp-package (full deliverables)
|
|
52
|
+
- exit: Exit persona
|
|
53
|
+
dependencies:
|
|
54
|
+
tasks:
|
|
55
|
+
- generate-cover-brief
|
|
56
|
+
- generate-cover-prompts
|
|
57
|
+
- assemble-kdp-package
|
|
58
|
+
templates:
|
|
59
|
+
- cover-design-brief-tmpl
|
|
60
|
+
checklists:
|
|
61
|
+
- kdp-cover-ready-checklist
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
# ------------------------------------------------------------
|
|
65
|
+
|
|
66
|
+
# tasks/generate-cover-brief.md
|
|
67
|
+
|
|
68
|
+
# ------------------------------------------------------------
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
task:
|
|
73
|
+
id: generate-cover-brief
|
|
74
|
+
name: Generate Cover Brief
|
|
75
|
+
description: Interactive questionnaire that captures all creative and technical parameters for the cover.
|
|
76
|
+
persona_default: cover-designer
|
|
77
|
+
steps:
|
|
78
|
+
|
|
79
|
+
- Ask for title, subtitle, author name, series info.
|
|
80
|
+
- Ask for genre, target audience, comparable titles.
|
|
81
|
+
- Ask for trim size (e.g., 6"x9"), page count, paper color.
|
|
82
|
+
- Ask for mood keywords, primary imagery, color palette.
|
|
83
|
+
- Ask what should appear on back cover (blurb, reviews, author bio, ISBN location).
|
|
84
|
+
- Fill cover-design-brief-tmpl with collected info.
|
|
85
|
+
output: cover-brief.md
|
|
86
|
+
...
|
|
87
|
+
|
|
88
|
+
# ------------------------------------------------------------
|
|
89
|
+
|
|
90
|
+
# tasks/generate-cover-prompts.md
|
|
91
|
+
|
|
92
|
+
# ------------------------------------------------------------
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
task:
|
|
97
|
+
id: generate-cover-prompts
|
|
98
|
+
name: Generate Cover Prompts
|
|
99
|
+
description: Produce AI image generator prompts for front cover artwork plus typography guidance.
|
|
100
|
+
persona_default: cover-designer
|
|
101
|
+
inputs:
|
|
102
|
+
|
|
103
|
+
- cover-brief.md
|
|
104
|
+
steps:
|
|
105
|
+
- Extract mood, genre, imagery from brief.
|
|
106
|
+
- Draft 3‑5 alternative stable diffusion / DALL·E prompts (include style, lens, color keywords).
|
|
107
|
+
- Specify safe negative prompts.
|
|
108
|
+
- Provide font pairing suggestions (Google Fonts) matching genre.
|
|
109
|
+
- Output prompts and typography guidance to cover-prompts.md.
|
|
110
|
+
output: cover-prompts.md
|
|
111
|
+
...
|
|
112
|
+
|
|
113
|
+
# ------------------------------------------------------------
|
|
114
|
+
|
|
115
|
+
# tasks/assemble-kdp-package.md
|
|
116
|
+
|
|
117
|
+
# ------------------------------------------------------------
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
task:
|
|
122
|
+
id: assemble-kdp-package
|
|
123
|
+
name: Assemble KDP Cover Package
|
|
124
|
+
description: Compile final instructions, assets list, and compliance checklist for Amazon KDP upload.
|
|
125
|
+
persona_default: cover-designer
|
|
126
|
+
inputs:
|
|
127
|
+
|
|
128
|
+
- cover-brief.md
|
|
129
|
+
- cover-prompts.md
|
|
130
|
+
steps:
|
|
131
|
+
- Calculate full‑wrap cover dimensions (front, spine, back) using trim size & page count.
|
|
132
|
+
- List required bleed and margin values.
|
|
133
|
+
- Provide layout diagram (ASCII or Mermaid) labeling zones.
|
|
134
|
+
- Insert ISBN placeholder or user‑supplied barcode location.
|
|
135
|
+
- Populate back‑cover content sections (blurb, reviews, author bio).
|
|
136
|
+
- Export combined PDF instructions (design-package.md) with link placeholders for final JPEG/PNG.
|
|
137
|
+
- Execute kdp-cover-ready-checklist; flag any unmet items.
|
|
138
|
+
output: design-package.md
|
|
139
|
+
...
|
|
140
|
+
|
|
141
|
+
# ------------------------------------------------------------
|
|
142
|
+
|
|
143
|
+
# templates/cover-design-brief-tmpl.yaml
|
|
144
|
+
|
|
145
|
+
# ------------------------------------------------------------
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
template:
|
|
150
|
+
id: cover-design-brief-tmpl
|
|
151
|
+
name: Cover Design Brief
|
|
152
|
+
description: Structured form capturing creative + technical details for cover design.
|
|
153
|
+
whenToUse: During generate-cover-brief task.
|
|
154
|
+
exampleOutput: cover-brief.md
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
# Cover Design Brief – {{title}}
|
|
159
|
+
|
|
160
|
+
## Book Metadata
|
|
161
|
+
|
|
162
|
+
- **Title:** {{title}}
|
|
163
|
+
- **Subtitle:** {{subtitle}}
|
|
164
|
+
- **Author:** {{author}}
|
|
165
|
+
- **Series (if any):** {{series}}
|
|
166
|
+
- **Genre:** {{genre}}
|
|
167
|
+
- **Target Audience:** {{audience}}
|
|
168
|
+
|
|
169
|
+
## Technical Specs
|
|
170
|
+
|
|
171
|
+
| Item | Value |
|
|
172
|
+
| ------------ | --------------- |
|
|
173
|
+
| Trim Size | {{trim_size}} |
|
|
174
|
+
| Page Count | {{page_count}} |
|
|
175
|
+
| Paper Color | {{paper_color}} |
|
|
176
|
+
| Print Type | {{print_type}} |
|
|
177
|
+
| Matte/Glossy | {{finish}} |
|
|
178
|
+
|
|
179
|
+
## Creative Direction
|
|
180
|
+
|
|
181
|
+
- **Mood / Tone Keywords:** {{mood_keywords}}
|
|
182
|
+
- **Primary Imagery:** {{imagery}}
|
|
183
|
+
- **Color Palette:** {{colors}}
|
|
184
|
+
- **Font Style Preferences:** {{fonts}}
|
|
185
|
+
|
|
186
|
+
## Back Cover Content
|
|
187
|
+
|
|
188
|
+
- **Blurb:** {{blurb}}
|
|
189
|
+
- **Review Snippets:** {{reviews}}
|
|
190
|
+
- **Author Bio:** {{author_bio}}
|
|
191
|
+
- **ISBN/Barcode:** {{isbn_location}}
|
|
192
|
+
|
|
193
|
+
[[LLM: After drafting, apply tasks#advanced-elicitation]]
|
|
194
|
+
...
|
|
195
|
+
|
|
196
|
+
# ------------------------------------------------------------
|
|
197
|
+
|
|
198
|
+
# checklists/kdp-cover-ready-checklist.md
|
|
199
|
+
|
|
200
|
+
# ------------------------------------------------------------
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
checklist:
|
|
205
|
+
id: kdp-cover-ready-checklist
|
|
206
|
+
name: KDP Cover Ready Checklist
|
|
207
|
+
description: Ensure final cover meets Amazon KDP print specs.
|
|
208
|
+
items:
|
|
209
|
+
|
|
210
|
+
- "[ ] Correct trim size & bleed margins applied"
|
|
211
|
+
- "[ ] 300 DPI images"
|
|
212
|
+
- "[ ] CMYK color profile for print PDF"
|
|
213
|
+
- "[ ] Spine text ≥ 0.0625" away from edges"
|
|
214
|
+
- "[ ] Barcode zone clear of critical art"
|
|
215
|
+
- "[ ] No transparent layers"
|
|
216
|
+
- "[ ] File size < 40MB PDF"
|
|
217
|
+
- "[ ] Front & back text legible at thumbnail size"
|
|
218
|
+
...
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
workflow:
|
|
3
|
+
id: novel-greenfield-workflow
|
|
4
|
+
name: Greenfield Novel Workflow
|
|
5
|
+
description: >-
|
|
6
|
+
End‑to‑end pipeline for writing a brand‑new novel: concept → outline → draft →
|
|
7
|
+
beta feedback → polish → professional critique.
|
|
8
|
+
phases:
|
|
9
|
+
ideation:
|
|
10
|
+
- agent: narrative-designer
|
|
11
|
+
task: brainstorm-premise
|
|
12
|
+
output: concept-brief.md
|
|
13
|
+
- agent: world-builder
|
|
14
|
+
task: build-world
|
|
15
|
+
input: concept-brief.md
|
|
16
|
+
output: world-guide.md
|
|
17
|
+
- agent: character-psychologist
|
|
18
|
+
task: develop-character
|
|
19
|
+
input: concept-brief.md
|
|
20
|
+
output: characters.md
|
|
21
|
+
outlining:
|
|
22
|
+
- agent: plot-architect
|
|
23
|
+
task: analyze-story-structure
|
|
24
|
+
input:
|
|
25
|
+
- concept-brief.md
|
|
26
|
+
- world-guide.md
|
|
27
|
+
- characters.md
|
|
28
|
+
output: story-outline.md
|
|
29
|
+
drafting:
|
|
30
|
+
- agent: editor
|
|
31
|
+
task: create-draft-section
|
|
32
|
+
input: story-outline.md
|
|
33
|
+
repeat: per-chapter
|
|
34
|
+
output: draft-manuscript.md
|
|
35
|
+
- agent: dialog-specialist
|
|
36
|
+
task: workshop-dialog
|
|
37
|
+
input: draft-manuscript.md
|
|
38
|
+
output: dialog-pass.md
|
|
39
|
+
revision:
|
|
40
|
+
- agent: beta-reader
|
|
41
|
+
task: provide-feedback
|
|
42
|
+
input: draft-manuscript.md
|
|
43
|
+
output: beta-notes.md
|
|
44
|
+
- agent: editor
|
|
45
|
+
task: incorporate-feedback
|
|
46
|
+
input:
|
|
47
|
+
- draft-manuscript.md
|
|
48
|
+
- beta-notes.md
|
|
49
|
+
output: polished-manuscript.md
|
|
50
|
+
critique:
|
|
51
|
+
- agent: book-critic
|
|
52
|
+
task: critical-review
|
|
53
|
+
input: polished-manuscript.md
|
|
54
|
+
output: critic-review.md
|
|
55
|
+
completion_criteria:
|
|
56
|
+
- critic-review.md exists
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
---
|
|
3
|
+
workflow:
|
|
4
|
+
id: novel-serial-workflow
|
|
5
|
+
name: Iterative Release Novel Workflow
|
|
6
|
+
description: >-
|
|
7
|
+
Web‑serial cycle with regular releases, reader feedback, and season‑end
|
|
8
|
+
professional critique.
|
|
9
|
+
phases:
|
|
10
|
+
sprint-planning:
|
|
11
|
+
- agent: plot-architect
|
|
12
|
+
task: select-next-arc
|
|
13
|
+
output: release-plan.md
|
|
14
|
+
chapter-loop:
|
|
15
|
+
- agent: editor
|
|
16
|
+
task: create-draft-section
|
|
17
|
+
input: release-plan.md
|
|
18
|
+
repeat: per-chapter
|
|
19
|
+
output: chapter-draft.md
|
|
20
|
+
- agent: dialog-specialist
|
|
21
|
+
task: workshop-dialog
|
|
22
|
+
input: chapter-draft.md
|
|
23
|
+
output: chapter-dialog.md
|
|
24
|
+
- agent: beta-reader
|
|
25
|
+
task: quick-feedback
|
|
26
|
+
input: chapter-dialog.md
|
|
27
|
+
output: chapter-notes.md
|
|
28
|
+
- agent: editor
|
|
29
|
+
task: final-polish
|
|
30
|
+
input:
|
|
31
|
+
- chapter-dialog.md
|
|
32
|
+
- chapter-notes.md
|
|
33
|
+
output: chapter-final.md
|
|
34
|
+
- agent: editor
|
|
35
|
+
task: publish-chapter
|
|
36
|
+
input: chapter-final.md
|
|
37
|
+
output: publication-log.md
|
|
38
|
+
retrospective:
|
|
39
|
+
- agent: beta-reader
|
|
40
|
+
task: analyze-reader-feedback
|
|
41
|
+
input: publication-log.md
|
|
42
|
+
output: retro.md
|
|
43
|
+
season-critique:
|
|
44
|
+
- agent: book-critic
|
|
45
|
+
task: critical-review
|
|
46
|
+
input: publication-log.md
|
|
47
|
+
output: critic-review.md
|
|
48
|
+
completion_criteria:
|
|
49
|
+
- publication-log.md exists
|
|
50
|
+
- critic-review.md exists
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
---
|
|
3
|
+
workflow:
|
|
4
|
+
id: novel-snowflake-workflow
|
|
5
|
+
name: Snowflake Novel Workflow
|
|
6
|
+
description: >-
|
|
7
|
+
10‑step Snowflake Method culminating in professional critic review.
|
|
8
|
+
phases:
|
|
9
|
+
premise:
|
|
10
|
+
- agent: plot-architect
|
|
11
|
+
task: brainstorm-premise
|
|
12
|
+
output: premise.txt
|
|
13
|
+
paragraph:
|
|
14
|
+
- agent: plot-architect
|
|
15
|
+
task: expand-premise
|
|
16
|
+
input: premise.txt
|
|
17
|
+
output: premise-paragraph.md
|
|
18
|
+
characters:
|
|
19
|
+
- agent: character-psychologist
|
|
20
|
+
task: develop-character
|
|
21
|
+
input: premise-paragraph.md
|
|
22
|
+
output: character-summaries.md
|
|
23
|
+
synopsis:
|
|
24
|
+
- agent: plot-architect
|
|
25
|
+
task: expand-synopsis
|
|
26
|
+
input: premise-paragraph.md
|
|
27
|
+
output: synopsis.md
|
|
28
|
+
deep-character:
|
|
29
|
+
- agent: character-psychologist
|
|
30
|
+
task: character-depth-pass
|
|
31
|
+
input: character-summaries.md
|
|
32
|
+
output: characters.md
|
|
33
|
+
scene-list:
|
|
34
|
+
- agent: plot-architect
|
|
35
|
+
task: generate-scene-list
|
|
36
|
+
input:
|
|
37
|
+
- synopsis.md
|
|
38
|
+
- characters.md
|
|
39
|
+
output: scene-list.md
|
|
40
|
+
outline:
|
|
41
|
+
- agent: plot-architect
|
|
42
|
+
task: outline-scenes
|
|
43
|
+
input: scene-list.md
|
|
44
|
+
output: snowflake-outline.md
|
|
45
|
+
drafting:
|
|
46
|
+
- agent: editor
|
|
47
|
+
task: create-draft-section
|
|
48
|
+
input: snowflake-outline.md
|
|
49
|
+
repeat: per-chapter
|
|
50
|
+
output: draft-manuscript.md
|
|
51
|
+
polish:
|
|
52
|
+
- agent: beta-reader
|
|
53
|
+
task: provide-feedback
|
|
54
|
+
input: draft-manuscript.md
|
|
55
|
+
output: beta-notes.md
|
|
56
|
+
- agent: editor
|
|
57
|
+
task: incorporate-feedback
|
|
58
|
+
input:
|
|
59
|
+
- draft-manuscript.md
|
|
60
|
+
- beta-notes.md
|
|
61
|
+
output: final-manuscript.md
|
|
62
|
+
critique:
|
|
63
|
+
- agent: book-critic
|
|
64
|
+
task: critical-review
|
|
65
|
+
input: final-manuscript.md
|
|
66
|
+
output: critic-review.md
|
|
67
|
+
completion_criteria:
|
|
68
|
+
- critic-review.md exists
|
|
69
|
+
# end
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
# workflows/novel-writing.yaml
|
|
3
|
+
name: novel-writing
|
|
4
|
+
title: Novel Writing Workflow
|
|
5
|
+
description: |
|
|
6
|
+
End‑to‑end pipeline for drafting, revising, and polishing a full‑length novel
|
|
7
|
+
using the BMAD™ Creative Writing team.
|
|
8
|
+
|
|
9
|
+
triggers:
|
|
10
|
+
- command: /novel
|
|
11
|
+
- intent: "write a novel"
|
|
12
|
+
|
|
13
|
+
inputs:
|
|
14
|
+
- working_title
|
|
15
|
+
- genre
|
|
16
|
+
- target_word_count
|
|
17
|
+
|
|
18
|
+
agents:
|
|
19
|
+
- plot-architect
|
|
20
|
+
- world-builder
|
|
21
|
+
- character-psychologist
|
|
22
|
+
- genre-specialist
|
|
23
|
+
- narrative-designer
|
|
24
|
+
- dialog-specialist
|
|
25
|
+
- editor
|
|
26
|
+
- beta-reader
|
|
27
|
+
|
|
28
|
+
steps:
|
|
29
|
+
- id: generate_outline
|
|
30
|
+
title: Generate high‑level outline
|
|
31
|
+
agent: plot-architect
|
|
32
|
+
uses: templates/story-outline-tmpl.yaml
|
|
33
|
+
outputs: outline
|
|
34
|
+
|
|
35
|
+
- id: develop_characters
|
|
36
|
+
title: Flesh out characters
|
|
37
|
+
agent: character-psychologist
|
|
38
|
+
inputs: outline
|
|
39
|
+
uses: templates/character-profile-tmpl.yaml
|
|
40
|
+
outputs: character_profiles
|
|
41
|
+
|
|
42
|
+
- id: build_world
|
|
43
|
+
title: Develop setting and worldbuilding
|
|
44
|
+
agent: world-builder
|
|
45
|
+
inputs: outline
|
|
46
|
+
outputs: world_bible
|
|
47
|
+
|
|
48
|
+
- id: scene_list
|
|
49
|
+
title: Expand outline into scene list
|
|
50
|
+
agent: narrative-designer
|
|
51
|
+
inputs:
|
|
52
|
+
- outline
|
|
53
|
+
- character_profiles
|
|
54
|
+
- world_bible
|
|
55
|
+
outputs: scene_list
|
|
56
|
+
|
|
57
|
+
- id: draft
|
|
58
|
+
title: Draft manuscript
|
|
59
|
+
agent: narrative-designer
|
|
60
|
+
repeat_for: scene_list
|
|
61
|
+
outputs: raw_chapters
|
|
62
|
+
|
|
63
|
+
- id: dialogue_pass
|
|
64
|
+
title: Polish dialogue
|
|
65
|
+
agent: dialog-specialist
|
|
66
|
+
inputs: raw_chapters
|
|
67
|
+
outputs: dialogue_polished
|
|
68
|
+
|
|
69
|
+
- id: developmental_edit
|
|
70
|
+
title: Developmental edit
|
|
71
|
+
agent: editor
|
|
72
|
+
inputs:
|
|
73
|
+
- dialogue_polished
|
|
74
|
+
outputs: revised_manuscript
|
|
75
|
+
|
|
76
|
+
- id: beta_read
|
|
77
|
+
title: Beta read and feedback
|
|
78
|
+
agent: beta-reader
|
|
79
|
+
inputs: revised_manuscript
|
|
80
|
+
outputs: beta_notes
|
|
81
|
+
|
|
82
|
+
- id: final_edit
|
|
83
|
+
title: Final copy‑edit and proof
|
|
84
|
+
agent: editor
|
|
85
|
+
inputs:
|
|
86
|
+
- revised_manuscript
|
|
87
|
+
- beta_notes
|
|
88
|
+
outputs: final_manuscript
|
|
89
|
+
|
|
90
|
+
outputs:
|
|
91
|
+
- final_manuscript
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# <!-- Powered by BMAD™ Core -->
|
|
2
|
+
# workflows/screenplay-development.yaml
|
|
3
|
+
name: screenplay-development
|
|
4
|
+
title: Screenplay Development Workflow
|
|
5
|
+
description: |
|
|
6
|
+
Develop a feature‑length screenplay from concept to polished shooting script.
|
|
7
|
+
|
|
8
|
+
triggers:
|
|
9
|
+
- command: /screenplay
|
|
10
|
+
- intent: "write a screenplay"
|
|
11
|
+
|
|
12
|
+
inputs:
|
|
13
|
+
- working_title
|
|
14
|
+
- genre
|
|
15
|
+
- target_length_pages
|
|
16
|
+
|
|
17
|
+
agents:
|
|
18
|
+
- plot-architect
|
|
19
|
+
- character-psychologist
|
|
20
|
+
- genre-specialist
|
|
21
|
+
- narrative-designer
|
|
22
|
+
- dialog-specialist
|
|
23
|
+
- editor
|
|
24
|
+
- beta-reader
|
|
25
|
+
|
|
26
|
+
steps:
|
|
27
|
+
- id: logline
|
|
28
|
+
title: Craft logline & premise
|
|
29
|
+
agent: plot-architect
|
|
30
|
+
outputs: logline
|
|
31
|
+
|
|
32
|
+
- id: beat_sheet
|
|
33
|
+
title: Create beat sheet (Save the Cat, etc.)
|
|
34
|
+
agent: plot-architect
|
|
35
|
+
inputs: logline
|
|
36
|
+
outputs: beat_sheet
|
|
37
|
+
|
|
38
|
+
- id: treatment
|
|
39
|
+
title: Expand into prose treatment
|
|
40
|
+
agent: narrative-designer
|
|
41
|
+
inputs: beat_sheet
|
|
42
|
+
outputs: treatment
|
|
43
|
+
|
|
44
|
+
- id: character_bios
|
|
45
|
+
title: Write character bios
|
|
46
|
+
agent: character-psychologist
|
|
47
|
+
inputs: treatment
|
|
48
|
+
outputs: character_bios
|
|
49
|
+
|
|
50
|
+
- id: first_draft
|
|
51
|
+
title: Draft screenplay
|
|
52
|
+
agent: narrative-designer
|
|
53
|
+
inputs:
|
|
54
|
+
- treatment
|
|
55
|
+
- character_bios
|
|
56
|
+
outputs: draft_script
|
|
57
|
+
|
|
58
|
+
- id: dialogue_polish
|
|
59
|
+
title: Dialogue polish
|
|
60
|
+
agent: dialog-specialist
|
|
61
|
+
inputs: draft_script
|
|
62
|
+
outputs: dialogue_polished_script
|
|
63
|
+
|
|
64
|
+
- id: format_check
|
|
65
|
+
title: Format & technical check (Final Draft / Fountain)
|
|
66
|
+
agent: editor
|
|
67
|
+
inputs: dialogue_polished_script
|
|
68
|
+
outputs: production_ready_script
|
|
69
|
+
|
|
70
|
+
- id: beta_read
|
|
71
|
+
title: Table read feedback
|
|
72
|
+
agent: beta-reader
|
|
73
|
+
inputs: production_ready_script
|
|
74
|
+
outputs: beta_script_notes
|
|
75
|
+
|
|
76
|
+
- id: final_script
|
|
77
|
+
title: Final shooting script
|
|
78
|
+
agent: editor
|
|
79
|
+
inputs:
|
|
80
|
+
- production_ready_script
|
|
81
|
+
- beta_script_notes
|
|
82
|
+
outputs: final_screenplay
|
|
83
|
+
|
|
84
|
+
outputs:
|
|
85
|
+
- final_screenplay
|