bmad-method 4.27.6 → 5.0.0
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/.bmad-core/agent-teams/team-all.yml +16 -0
- package/.bmad-core/agent-teams/team-fullstack.yml +26 -0
- package/.bmad-core/agent-teams/team-no-ui.yml +15 -0
- package/{bmad-core → .bmad-core}/agents/analyst.md +23 -29
- package/.bmad-core/agents/architect.md +66 -0
- package/.bmad-core/agents/bmad-master.md +104 -0
- package/.bmad-core/agents/bmad-orchestrator.md +81 -0
- package/.bmad-core/agents/dev.md +70 -0
- package/{bmad-core → .bmad-core}/agents/pm.md +24 -24
- package/{bmad-core → .bmad-core}/agents/po.md +24 -27
- package/.bmad-core/agents/qa.md +52 -0
- package/.bmad-core/agents/sm.md +55 -0
- package/.bmad-core/agents/ux-expert.md +66 -0
- package/{bmad-core → .bmad-core}/checklists/change-checklist.md +2 -2
- package/{bmad-core → .bmad-core}/checklists/story-draft-checklist.md +1 -1
- package/.bmad-core/data/bmad-kb.md +47 -0
- package/.bmad-core/schemas/agent-team-schema.yml +153 -0
- package/.bmad-core/tasks/advanced-elicitation.md +92 -0
- package/.bmad-core/tasks/brainstorming-techniques.md +238 -0
- package/.bmad-core/tasks/core-dump.md +74 -0
- package/{expansion-packs/bmad-creator-tools → .bmad-core}/tasks/create-agent.md +11 -9
- package/.bmad-core/tasks/create-doc.md +74 -0
- package/.bmad-core/tasks/create-expansion-pack.md +425 -0
- package/.bmad-core/tasks/create-next-story.md +206 -0
- package/.bmad-core/tasks/create-team.md +229 -0
- package/{bmad-core → .bmad-core}/tasks/doc-migration-task.md +9 -9
- package/{common → .bmad-core}/tasks/execute-checklist.md +6 -2
- package/.bmad-core/tasks/generate-ai-frontend-prompt.md +58 -0
- package/{bmad-core → .bmad-core}/tasks/index-docs.md +7 -3
- package/{bmad-core → .bmad-core}/tasks/shard-doc.md +7 -25
- package/.bmad-core/templates/agent-tmpl.md +58 -0
- package/.bmad-core/templates/architecture-tmpl.md +771 -0
- package/.bmad-core/templates/brownfield-architecture-tmpl.md +542 -0
- package/.bmad-core/templates/brownfield-prd-tmpl.md +240 -0
- package/.bmad-core/templates/competitor-analysis-tmpl.md +289 -0
- package/.bmad-core/templates/expansion-pack-plan-tmpl.md +91 -0
- package/.bmad-core/templates/front-end-architecture-tmpl.md +173 -0
- package/.bmad-core/templates/front-end-spec-tmpl.md +411 -0
- package/.bmad-core/templates/fullstack-architecture-tmpl.md +1016 -0
- package/.bmad-core/templates/market-research-tmpl.md +261 -0
- package/.bmad-core/templates/prd-tmpl.md +200 -0
- package/.bmad-core/templates/project-brief-tmpl.md +228 -0
- package/.bmad-core/templates/simple-project-prd-tmpl.md +461 -0
- package/.bmad-core/templates/story-tmpl.md +61 -0
- package/.bmad-core/templates/web-agent-startup-instructions-template.md +39 -0
- package/.bmad-core/utils/agent-switcher.ide.md +112 -0
- package/.bmad-core/utils/template-format.md +26 -0
- package/.bmad-core/utils/workflow-management.md +224 -0
- package/.bmad-core/web-bundles/agents/analyst.txt +1684 -0
- package/.bmad-core/web-bundles/agents/architect.txt +3584 -0
- package/.bmad-core/web-bundles/agents/bmad-master.txt +9491 -0
- package/.bmad-core/web-bundles/agents/bmad-orchestrator.txt +1466 -0
- package/{dist → .bmad-core/web-bundles}/agents/dev.txt +71 -179
- package/{dist → .bmad-core/web-bundles}/agents/pm.txt +1058 -624
- package/{dist → .bmad-core/web-bundles}/agents/po.txt +138 -337
- package/.bmad-core/web-bundles/agents/qa.txt +129 -0
- package/.bmad-core/web-bundles/agents/sm.txt +658 -0
- package/.bmad-core/web-bundles/agents/ux-expert.txt +1099 -0
- package/.bmad-core/web-bundles/teams/team-all.txt +10757 -0
- package/.bmad-core/web-bundles/teams/team-fullstack.txt +10109 -0
- package/.bmad-core/web-bundles/teams/team-no-ui.txt +8950 -0
- package/.bmad-core/workflows/brownfield-fullstack.yml +116 -0
- package/.bmad-core/workflows/brownfield-service.yml +117 -0
- package/.bmad-core/workflows/brownfield-ui.yml +127 -0
- package/.bmad-core/workflows/greenfield-fullstack.yml +177 -0
- package/.bmad-core/workflows/greenfield-service.yml +143 -0
- package/.bmad-core/workflows/greenfield-ui.yml +172 -0
- package/.claude/commands/analyst.md +63 -0
- package/.claude/commands/architect.md +70 -0
- package/.claude/commands/bmad-master.md +108 -0
- package/.claude/commands/bmad-orchestrator.md +85 -0
- package/.claude/commands/dev.md +74 -0
- package/.claude/commands/pm.md +63 -0
- package/.claude/commands/po.md +64 -0
- package/.claude/commands/qa.md +56 -0
- package/.claude/commands/sm.md +59 -0
- package/.claude/commands/ux-expert.md +70 -0
- package/.cursor/rules/analyst.mdc +77 -0
- package/.cursor/rules/architect.mdc +84 -0
- package/.cursor/rules/bmad-master.mdc +122 -0
- package/.cursor/rules/bmad-orchestrator.mdc +99 -0
- package/.cursor/rules/dev.mdc +88 -0
- package/.cursor/rules/pm.mdc +77 -0
- package/.cursor/rules/po.mdc +78 -0
- package/.cursor/rules/qa.mdc +70 -0
- package/.cursor/rules/sm.mdc +73 -0
- package/.cursor/rules/ux-expert.mdc +84 -0
- package/.roo/.roomodes +95 -0
- package/.roo/README.md +38 -0
- package/.vscode/extensions.json +6 -0
- package/.vscode/settings.json +75 -49
- package/.windsurf/rules/analyst.md +71 -0
- package/.windsurf/rules/architect.md +78 -0
- package/.windsurf/rules/bmad-master.md +116 -0
- package/.windsurf/rules/bmad-orchestrator.md +93 -0
- package/.windsurf/rules/dev.md +82 -0
- package/.windsurf/rules/pm.md +71 -0
- package/.windsurf/rules/po.md +72 -0
- package/.windsurf/rules/qa.md +64 -0
- package/.windsurf/rules/sm.md +67 -0
- package/.windsurf/rules/ux-expert.md +78 -0
- package/CHANGELOG.md +16 -459
- package/CONTRIBUTING.md +5 -168
- package/LICENSE +1 -1
- package/README.md +230 -77
- package/docs/bmad-workflow-guide.md +15 -19
- package/docs/claude-code-guide.md +119 -0
- package/docs/cursor-guide.md +127 -0
- package/docs/roo-code-guide.md +140 -0
- package/docs/sample-output/simple-fullstack-greenfield/prd.md +42 -0
- package/docs/versioning-and-releases.md +16 -8
- package/docs/versions.md +5 -4
- package/docs/windsurf-guide.md +127 -0
- package/expansion-packs/README.md +112 -2
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/README.md +9 -9
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/agents/infra-devops-platform.md +15 -14
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/checklists/infrastructure-checklist.md +1 -1
- package/expansion-packs/infrastructure-devops/manifest.yml +38 -0
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/review-infrastructure.md +4 -4
- package/expansion-packs/{bmad-infrastructure-devops → infrastructure-devops}/tasks/validate-infrastructure.md +4 -4
- package/expansion-packs/infrastructure-devops/templates/infrastructure-architecture-tmpl.md +415 -0
- package/expansion-packs/infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
- package/package.json +11 -19
- package/tools/bmad-npx-wrapper.js +1 -1
- package/tools/builders/web-builder.js +28 -563
- package/tools/cli.js +22 -55
- package/tools/installer/README.md +53 -3
- package/tools/installer/bin/bmad.js +56 -294
- package/tools/installer/config/install.config.yml +139 -0
- package/tools/installer/lib/config-loader.js +34 -198
- package/tools/installer/lib/file-manager.js +7 -200
- package/tools/installer/lib/ide-setup.js +189 -545
- package/tools/installer/lib/installer.js +61 -1171
- package/tools/installer/package-lock.json +3 -3
- package/tools/installer/package.json +4 -4
- package/tools/installer/templates/claude-commands.md +7 -0
- package/tools/installer/templates/cursor-rules.md +22 -0
- package/tools/installer/templates/windsurf-rules.md +22 -0
- package/tools/lib/dependency-resolver.js +22 -22
- package/tools/upgraders/v3-to-v4-upgrader.js +43 -35
- package/tools/version-bump.js +1 -1
- package/tools/yaml-format.js +2 -2
- package/.github/FUNDING.yaml +0 -15
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
- package/.prettierignore +0 -21
- package/.prettierrc +0 -23
- package/bmad-core/agent-teams/team-all.yaml +0 -14
- package/bmad-core/agent-teams/team-fullstack.yaml +0 -18
- package/bmad-core/agent-teams/team-ide-minimal.yaml +0 -10
- package/bmad-core/agent-teams/team-no-ui.yaml +0 -13
- package/bmad-core/agents/architect.md +0 -62
- package/bmad-core/agents/bmad-master.md +0 -88
- package/bmad-core/agents/bmad-orchestrator.md +0 -135
- package/bmad-core/agents/dev.md +0 -56
- package/bmad-core/agents/qa.md +0 -54
- package/bmad-core/agents/sm.md +0 -45
- package/bmad-core/agents/ux-expert.md +0 -53
- package/bmad-core/core-config.yaml +0 -25
- package/bmad-core/data/bmad-kb.md +0 -803
- package/bmad-core/data/brainstorming-techniques.md +0 -36
- package/bmad-core/data/elicitation-methods.md +0 -134
- package/bmad-core/tasks/advanced-elicitation.md +0 -117
- package/bmad-core/tasks/create-brownfield-story.md +0 -355
- package/bmad-core/tasks/create-next-story.md +0 -113
- package/bmad-core/tasks/create-workflow-plan.md +0 -289
- package/bmad-core/tasks/document-project.md +0 -317
- package/bmad-core/tasks/facilitate-brainstorming-session.md +0 -136
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +0 -51
- package/bmad-core/tasks/kb-mode-interaction.md +0 -70
- package/bmad-core/tasks/review-story.md +0 -145
- package/bmad-core/tasks/update-workflow-plan.md +0 -248
- package/bmad-core/tasks/validate-next-story.md +0 -134
- package/bmad-core/templates/architecture-tmpl.yaml +0 -650
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +0 -156
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +0 -476
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +0 -280
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +0 -293
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +0 -206
- package/bmad-core/templates/front-end-spec-tmpl.yaml +0 -349
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +0 -805
- package/bmad-core/templates/market-research-tmpl.yaml +0 -252
- package/bmad-core/templates/prd-tmpl.yaml +0 -202
- package/bmad-core/templates/project-brief-tmpl.yaml +0 -221
- package/bmad-core/templates/story-tmpl.yaml +0 -137
- package/bmad-core/workflows/brownfield-fullstack.yaml +0 -297
- package/bmad-core/workflows/brownfield-service.yaml +0 -187
- package/bmad-core/workflows/brownfield-ui.yaml +0 -197
- package/bmad-core/workflows/greenfield-fullstack.yaml +0 -240
- package/bmad-core/workflows/greenfield-service.yaml +0 -206
- package/bmad-core/workflows/greenfield-ui.yaml +0 -235
- package/common/tasks/create-doc.md +0 -79
- package/common/utils/bmad-doc-template.md +0 -325
- package/common/utils/workflow-management.md +0 -69
- package/dist/agents/analyst.txt +0 -2849
- package/dist/agents/architect.txt +0 -3505
- package/dist/agents/bmad-master.txt +0 -9271
- package/dist/agents/bmad-orchestrator.txt +0 -2006
- package/dist/agents/qa.txt +0 -388
- package/dist/agents/sm.txt +0 -672
- package/dist/agents/ux-expert.txt +0 -987
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +0 -2401
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +0 -1635
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +0 -825
- package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +0 -11504
- package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +0 -2023
- package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +0 -2052
- package/dist/teams/team-all.txt +0 -11572
- package/dist/teams/team-fullstack.txt +0 -10903
- package/dist/teams/team-ide-minimal.txt +0 -4346
- package/dist/teams/team-no-ui.txt +0 -9458
- package/docs/GUIDING-PRINCIPLES.md +0 -91
- package/docs/agentic-tools/claude-code-guide.md +0 -19
- package/docs/agentic-tools/cline-guide.md +0 -16
- package/docs/agentic-tools/cursor-guide.md +0 -14
- package/docs/agentic-tools/gemini-cli-guide.md +0 -32
- package/docs/agentic-tools/github-copilot-guide.md +0 -42
- package/docs/agentic-tools/roo-code-guide.md +0 -15
- package/docs/agentic-tools/trae-guide.md +0 -14
- package/docs/agentic-tools/windsurf-guide.md +0 -14
- package/docs/core-architecture.md +0 -219
- package/docs/expansion-packs.md +0 -280
- package/docs/how-to-contribute-with-pull-requests.md +0 -158
- package/docs/template-markup-references.md +0 -86
- package/docs/user-guide.md +0 -1142
- package/docs/working-in-the-brownfield.md +0 -361
- package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +0 -13
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +0 -59
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -67
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -52
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-design-checklist.md +0 -201
- package/expansion-packs/bmad-2d-phaser-game-dev/checklists/game-story-dod-checklist.md +0 -160
- package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +0 -7
- package/expansion-packs/bmad-2d-phaser-game-dev/data/bmad-kb.md +0 -254
- package/expansion-packs/bmad-2d-phaser-game-dev/data/development-guidelines.md +0 -651
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/advanced-elicitation.md +0 -111
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +0 -216
- package/expansion-packs/bmad-2d-phaser-game-dev/tasks/game-design-brainstorming.md +0 -308
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +0 -613
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +0 -356
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +0 -343
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +0 -253
- package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +0 -484
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-dev-greenfield.yaml +0 -183
- package/expansion-packs/bmad-2d-phaser-game-dev/workflows/game-prototype.yaml +0 -175
- package/expansion-packs/bmad-creator-tools/README.md +0 -8
- package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +0 -54
- package/expansion-packs/bmad-creator-tools/config.yaml +0 -5
- package/expansion-packs/bmad-creator-tools/tasks/generate-expansion-pack.md +0 -1020
- package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +0 -178
- package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +0 -154
- package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +0 -120
- package/expansion-packs/bmad-infrastructure-devops/config.yaml +0 -8
- package/expansion-packs/bmad-infrastructure-devops/data/bmad-kb.md +0 -308
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +0 -424
- package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +0 -629
- package/tools/bump-all-versions.js +0 -107
- package/tools/bump-core-version.js +0 -57
- package/tools/bump-expansion-version.js +0 -78
- package/tools/installer/config/ide-agent-config.yaml +0 -58
- package/tools/installer/config/install.config.yaml +0 -91
- package/tools/lib/yaml-utils.js +0 -29
- package/tools/md-assets/web-agent-startup-instructions.md +0 -39
- package/tools/update-expansion-version.js +0 -54
- /package/{bmad-core → .bmad-core}/checklists/architect-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/checklists/pm-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/checklists/po-master-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/checklists/story-dod-checklist.md +0 -0
- /package/{bmad-core → .bmad-core}/data/technical-preferences.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/brownfield-create-epic.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/brownfield-create-story.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/correct-course.md +0 -0
- /package/{bmad-core → .bmad-core}/tasks/create-deep-research-prompt.md +0 -0
- /package/.github/workflows/{release.yaml → release.yml} +0 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: brownfield-fullstack
|
|
3
|
+
name: Brownfield Full-Stack Enhancement
|
|
4
|
+
description: >-
|
|
5
|
+
Agent workflow for enhancing existing full-stack applications with new features,
|
|
6
|
+
modernization, or significant changes. Handles existing system analysis and safe integration.
|
|
7
|
+
type: brownfield
|
|
8
|
+
project_types:
|
|
9
|
+
- feature-addition
|
|
10
|
+
- refactoring
|
|
11
|
+
- modernization
|
|
12
|
+
- integration-enhancement
|
|
13
|
+
|
|
14
|
+
# For Complex Enhancements (Multiple Stories, Architectural Changes)
|
|
15
|
+
complex_enhancement_sequence:
|
|
16
|
+
- step: scope_assessment
|
|
17
|
+
agent: any
|
|
18
|
+
action: assess complexity
|
|
19
|
+
notes: "First, assess if this is a simple change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
|
|
20
|
+
|
|
21
|
+
- step: project_analysis
|
|
22
|
+
agent: analyst
|
|
23
|
+
action: analyze existing project
|
|
24
|
+
notes: "Review existing documentation, codebase structure, and identify integration points. Document current system understanding before proceeding."
|
|
25
|
+
|
|
26
|
+
- agent: pm
|
|
27
|
+
creates: brownfield-prd.md
|
|
28
|
+
uses: brownfield-prd-tmpl
|
|
29
|
+
requires: existing_project_analysis
|
|
30
|
+
notes: "Creates comprehensive brownfield PRD with existing system analysis and enhancement planning. SAVE OUTPUT: Copy final brownfield-prd.md to your project's docs/ folder."
|
|
31
|
+
|
|
32
|
+
- agent: architect
|
|
33
|
+
creates: brownfield-architecture.md
|
|
34
|
+
uses: brownfield-architecture-tmpl
|
|
35
|
+
requires: brownfield-prd.md
|
|
36
|
+
notes: "Creates brownfield architecture with integration strategy and existing system constraints. SAVE OUTPUT: Copy final brownfield-architecture.md to your project's docs/ folder."
|
|
37
|
+
|
|
38
|
+
- agent: po
|
|
39
|
+
validates: all_artifacts
|
|
40
|
+
uses: po-master-checklist
|
|
41
|
+
notes: "Validates all brownfield documents for integration safety and completeness. May require updates to any document."
|
|
42
|
+
|
|
43
|
+
- agent: various
|
|
44
|
+
updates: any_flagged_documents
|
|
45
|
+
condition: po_checklist_issues
|
|
46
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
47
|
+
|
|
48
|
+
- workflow_end:
|
|
49
|
+
action: move_to_ide
|
|
50
|
+
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
51
|
+
|
|
52
|
+
# For Simple Enhancements (1-3 Stories, Following Existing Patterns)
|
|
53
|
+
simple_enhancement_sequence:
|
|
54
|
+
- step: enhancement_type
|
|
55
|
+
action: choose approach
|
|
56
|
+
notes: "Choose between creating single story (very small change) or epic (1-3 related stories)."
|
|
57
|
+
|
|
58
|
+
- agent: pm|po|sm
|
|
59
|
+
creates: brownfield_epic OR brownfield_story
|
|
60
|
+
uses: brownfield-create-epic OR brownfield-create-story
|
|
61
|
+
notes: "Create focused enhancement with existing system integration. Choose agent based on team preference and context."
|
|
62
|
+
|
|
63
|
+
- workflow_end:
|
|
64
|
+
action: move_to_ide
|
|
65
|
+
notes: "Enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
66
|
+
|
|
67
|
+
flow_diagram: |
|
|
68
|
+
```mermaid
|
|
69
|
+
graph TD
|
|
70
|
+
A[Start: Brownfield Enhancement] --> B{Enhancement Complexity?}
|
|
71
|
+
B -->|Complex/Significant| C[analyst: analyze existing project]
|
|
72
|
+
B -->|Simple| D{1 Story or 2-3 Stories?}
|
|
73
|
+
|
|
74
|
+
C --> E[pm: brownfield-prd.md]
|
|
75
|
+
E --> F[architect: brownfield-architecture.md]
|
|
76
|
+
F --> G[po: validate with po-master-checklist]
|
|
77
|
+
G --> H{PO finds issues?}
|
|
78
|
+
H -->|Yes| I[Return to relevant agent for fixes]
|
|
79
|
+
H -->|No| J[Move to IDE Environment]
|
|
80
|
+
I --> G
|
|
81
|
+
|
|
82
|
+
D -->|1 Story| K[pm/po/sm: brownfield-create-story]
|
|
83
|
+
D -->|2-3 Stories| L[pm/po/sm: brownfield-create-epic]
|
|
84
|
+
K --> M[Move to IDE Environment]
|
|
85
|
+
L --> M
|
|
86
|
+
|
|
87
|
+
style J fill:#90EE90
|
|
88
|
+
style M fill:#90EE90
|
|
89
|
+
style E fill:#FFE4B5
|
|
90
|
+
style F fill:#FFE4B5
|
|
91
|
+
style K fill:#FFB6C1
|
|
92
|
+
style L fill:#FFB6C1
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
decision_guidance:
|
|
96
|
+
use_complex_sequence_when:
|
|
97
|
+
- Enhancement requires multiple coordinated stories (4+)
|
|
98
|
+
- Architectural changes are needed
|
|
99
|
+
- Significant integration work required
|
|
100
|
+
- Risk assessment and mitigation planning necessary
|
|
101
|
+
- Multiple team members will work on related changes
|
|
102
|
+
|
|
103
|
+
use_simple_sequence_when:
|
|
104
|
+
- Enhancement can be completed in 1-3 stories
|
|
105
|
+
- Follows existing project patterns
|
|
106
|
+
- Integration complexity is minimal
|
|
107
|
+
- Risk to existing system is low
|
|
108
|
+
- Change is isolated with clear boundaries
|
|
109
|
+
|
|
110
|
+
handoff_prompts:
|
|
111
|
+
analyst_to_pm: "Existing project analysis complete. Create comprehensive brownfield PRD with integration strategy."
|
|
112
|
+
pm_to_architect: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the integration architecture."
|
|
113
|
+
architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for integration safety."
|
|
114
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
115
|
+
simple_to_ide: "Enhancement defined with existing system integration. Move to IDE environment to begin development."
|
|
116
|
+
complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: brownfield-service
|
|
3
|
+
name: Brownfield Service/API Enhancement
|
|
4
|
+
description: >-
|
|
5
|
+
Agent workflow for enhancing existing backend services and APIs with new features,
|
|
6
|
+
modernization, or performance improvements. Handles existing system analysis and safe integration.
|
|
7
|
+
type: brownfield
|
|
8
|
+
project_types:
|
|
9
|
+
- service-modernization
|
|
10
|
+
- api-enhancement
|
|
11
|
+
- microservice-extraction
|
|
12
|
+
- performance-optimization
|
|
13
|
+
- integration-enhancement
|
|
14
|
+
|
|
15
|
+
# For Complex Service Enhancements (Multiple Stories, Architectural Changes)
|
|
16
|
+
complex_enhancement_sequence:
|
|
17
|
+
- step: scope_assessment
|
|
18
|
+
agent: any
|
|
19
|
+
action: assess complexity
|
|
20
|
+
notes: "First, assess if this is a simple service change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
|
|
21
|
+
|
|
22
|
+
- step: service_analysis
|
|
23
|
+
agent: analyst
|
|
24
|
+
action: analyze existing service
|
|
25
|
+
notes: "Review existing service documentation, codebase, performance metrics, and identify integration dependencies."
|
|
26
|
+
|
|
27
|
+
- agent: pm
|
|
28
|
+
creates: brownfield-prd.md
|
|
29
|
+
uses: brownfield-prd-tmpl
|
|
30
|
+
requires: existing_service_analysis
|
|
31
|
+
notes: "Creates comprehensive brownfield PRD focused on service enhancement with existing system analysis. SAVE OUTPUT: Copy final brownfield-prd.md to your project's docs/ folder."
|
|
32
|
+
|
|
33
|
+
- agent: architect
|
|
34
|
+
creates: brownfield-architecture.md
|
|
35
|
+
uses: brownfield-architecture-tmpl
|
|
36
|
+
requires: brownfield-prd.md
|
|
37
|
+
notes: "Creates brownfield architecture with service integration strategy and API evolution planning. SAVE OUTPUT: Copy final brownfield-architecture.md to your project's docs/ folder."
|
|
38
|
+
|
|
39
|
+
- agent: po
|
|
40
|
+
validates: all_artifacts
|
|
41
|
+
uses: po-master-checklist
|
|
42
|
+
notes: "Validates all brownfield documents for service integration safety and API compatibility. May require updates to any document."
|
|
43
|
+
|
|
44
|
+
- agent: various
|
|
45
|
+
updates: any_flagged_documents
|
|
46
|
+
condition: po_checklist_issues
|
|
47
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
48
|
+
|
|
49
|
+
- workflow_end:
|
|
50
|
+
action: move_to_ide
|
|
51
|
+
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
52
|
+
|
|
53
|
+
# For Simple Service Enhancements (1-3 Stories, Following Existing Patterns)
|
|
54
|
+
simple_enhancement_sequence:
|
|
55
|
+
- step: enhancement_type
|
|
56
|
+
action: choose approach
|
|
57
|
+
notes: "Choose between creating single story (simple API endpoint) or epic (1-3 related service changes)."
|
|
58
|
+
|
|
59
|
+
- agent: pm|po|sm
|
|
60
|
+
creates: brownfield_epic OR brownfield_story
|
|
61
|
+
uses: brownfield-create-epic OR brownfield-create-story
|
|
62
|
+
notes: "Create focused service enhancement with existing API integration. Choose agent based on team preference and context."
|
|
63
|
+
|
|
64
|
+
- workflow_end:
|
|
65
|
+
action: move_to_ide
|
|
66
|
+
notes: "Service enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
67
|
+
|
|
68
|
+
flow_diagram: |
|
|
69
|
+
```mermaid
|
|
70
|
+
graph TD
|
|
71
|
+
A[Start: Service Enhancement] --> B{Enhancement Complexity?}
|
|
72
|
+
B -->|Complex/Significant| C[analyst: analyze existing service]
|
|
73
|
+
B -->|Simple| D{1 Story or 2-3 Stories?}
|
|
74
|
+
|
|
75
|
+
C --> E[pm: brownfield-prd.md]
|
|
76
|
+
E --> F[architect: brownfield-architecture.md]
|
|
77
|
+
F --> G[po: validate with po-master-checklist]
|
|
78
|
+
G --> H{PO finds issues?}
|
|
79
|
+
H -->|Yes| I[Return to relevant agent for fixes]
|
|
80
|
+
H -->|No| J[Move to IDE Environment]
|
|
81
|
+
I --> G
|
|
82
|
+
|
|
83
|
+
D -->|1 Story| K[pm/po/sm: brownfield-create-story]
|
|
84
|
+
D -->|2-3 Stories| L[pm/po/sm: brownfield-create-epic]
|
|
85
|
+
K --> M[Move to IDE Environment]
|
|
86
|
+
L --> M
|
|
87
|
+
|
|
88
|
+
style J fill:#90EE90
|
|
89
|
+
style M fill:#90EE90
|
|
90
|
+
style E fill:#FFE4B5
|
|
91
|
+
style F fill:#FFE4B5
|
|
92
|
+
style K fill:#FFB6C1
|
|
93
|
+
style L fill:#FFB6C1
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
decision_guidance:
|
|
97
|
+
use_complex_sequence_when:
|
|
98
|
+
- Service enhancement requires multiple coordinated stories (4+)
|
|
99
|
+
- API versioning or breaking changes needed
|
|
100
|
+
- Database schema changes required
|
|
101
|
+
- Performance or scalability improvements needed
|
|
102
|
+
- Multiple integration points affected
|
|
103
|
+
|
|
104
|
+
use_simple_sequence_when:
|
|
105
|
+
- Adding simple endpoints or modifying existing ones
|
|
106
|
+
- Enhancement follows existing service patterns
|
|
107
|
+
- API compatibility maintained
|
|
108
|
+
- Risk to existing service is low
|
|
109
|
+
- Change is isolated with clear boundaries
|
|
110
|
+
|
|
111
|
+
handoff_prompts:
|
|
112
|
+
analyst_to_pm: "Service analysis complete. Create comprehensive brownfield PRD with service integration strategy."
|
|
113
|
+
pm_to_architect: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the service architecture."
|
|
114
|
+
architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for service integration safety."
|
|
115
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
116
|
+
simple_to_ide: "Service enhancement defined with existing API integration. Move to IDE environment to begin development."
|
|
117
|
+
complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: brownfield-ui
|
|
3
|
+
name: Brownfield UI/Frontend Enhancement
|
|
4
|
+
description: >-
|
|
5
|
+
Agent workflow for enhancing existing frontend applications with new features,
|
|
6
|
+
modernization, or design improvements. Handles existing UI analysis and safe integration.
|
|
7
|
+
type: brownfield
|
|
8
|
+
project_types:
|
|
9
|
+
- ui-modernization
|
|
10
|
+
- framework-migration
|
|
11
|
+
- design-refresh
|
|
12
|
+
- frontend-enhancement
|
|
13
|
+
|
|
14
|
+
# For Complex UI Enhancements (Multiple Stories, Design Changes)
|
|
15
|
+
complex_enhancement_sequence:
|
|
16
|
+
- step: scope_assessment
|
|
17
|
+
agent: any
|
|
18
|
+
action: assess complexity
|
|
19
|
+
notes: "First, assess if this is a simple UI change (use simple_enhancement_sequence) or complex enhancement requiring full planning."
|
|
20
|
+
|
|
21
|
+
- step: ui_analysis
|
|
22
|
+
agent: analyst
|
|
23
|
+
action: analyze existing UI
|
|
24
|
+
notes: "Review existing frontend application, user feedback, analytics data, and identify improvement areas."
|
|
25
|
+
|
|
26
|
+
- agent: pm
|
|
27
|
+
creates: brownfield-prd.md
|
|
28
|
+
uses: brownfield-prd-tmpl
|
|
29
|
+
requires: existing_ui_analysis
|
|
30
|
+
notes: "Creates comprehensive brownfield PRD focused on UI enhancement with existing system analysis. SAVE OUTPUT: Copy final brownfield-prd.md to your project's docs/ folder."
|
|
31
|
+
|
|
32
|
+
- agent: ux-expert
|
|
33
|
+
creates: front-end-spec.md
|
|
34
|
+
uses: front-end-spec-tmpl
|
|
35
|
+
requires: brownfield-prd.md
|
|
36
|
+
notes: "Creates UI/UX specification for brownfield enhancement that integrates with existing design patterns. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
|
|
37
|
+
|
|
38
|
+
- agent: architect
|
|
39
|
+
creates: brownfield-architecture.md
|
|
40
|
+
uses: brownfield-architecture-tmpl
|
|
41
|
+
requires:
|
|
42
|
+
- brownfield-prd.md
|
|
43
|
+
- front-end-spec.md
|
|
44
|
+
notes: "Creates brownfield frontend architecture with component integration strategy and migration planning. SAVE OUTPUT: Copy final brownfield-architecture.md to your project's docs/ folder."
|
|
45
|
+
|
|
46
|
+
- agent: po
|
|
47
|
+
validates: all_artifacts
|
|
48
|
+
uses: po-master-checklist
|
|
49
|
+
notes: "Validates all brownfield documents for UI integration safety and design consistency. May require updates to any document."
|
|
50
|
+
|
|
51
|
+
- agent: various
|
|
52
|
+
updates: any_flagged_documents
|
|
53
|
+
condition: po_checklist_issues
|
|
54
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
55
|
+
|
|
56
|
+
- workflow_end:
|
|
57
|
+
action: move_to_ide
|
|
58
|
+
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
59
|
+
|
|
60
|
+
# For Simple UI Enhancements (1-3 Stories, Following Existing Design)
|
|
61
|
+
simple_enhancement_sequence:
|
|
62
|
+
- step: enhancement_type
|
|
63
|
+
action: choose approach
|
|
64
|
+
notes: "Choose between creating single story (simple component change) or epic (1-3 related UI changes)."
|
|
65
|
+
|
|
66
|
+
- agent: pm|po|sm
|
|
67
|
+
creates: brownfield_epic OR brownfield_story
|
|
68
|
+
uses: brownfield-create-epic OR brownfield-create-story
|
|
69
|
+
notes: "Create focused UI enhancement with existing design system integration. Choose agent based on team preference and context."
|
|
70
|
+
|
|
71
|
+
- workflow_end:
|
|
72
|
+
action: move_to_ide
|
|
73
|
+
notes: "UI enhancement defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
74
|
+
|
|
75
|
+
flow_diagram: |
|
|
76
|
+
```mermaid
|
|
77
|
+
graph TD
|
|
78
|
+
A[Start: UI Enhancement] --> B{Enhancement Complexity?}
|
|
79
|
+
B -->|Complex/Significant| C[analyst: analyze existing UI]
|
|
80
|
+
B -->|Simple| D{1 Story or 2-3 Stories?}
|
|
81
|
+
|
|
82
|
+
C --> E[pm: brownfield-prd.md]
|
|
83
|
+
E --> F[ux-expert: front-end-spec.md]
|
|
84
|
+
F --> G[architect: brownfield-architecture.md]
|
|
85
|
+
G --> H[po: validate with po-master-checklist]
|
|
86
|
+
H --> I{PO finds issues?}
|
|
87
|
+
I -->|Yes| J[Return to relevant agent for fixes]
|
|
88
|
+
I -->|No| K[Move to IDE Environment]
|
|
89
|
+
J --> H
|
|
90
|
+
|
|
91
|
+
D -->|1 Story| L[pm/po/sm: brownfield-create-story]
|
|
92
|
+
D -->|2-3 Stories| M[pm/po/sm: brownfield-create-epic]
|
|
93
|
+
L --> N[Move to IDE Environment]
|
|
94
|
+
M --> N
|
|
95
|
+
|
|
96
|
+
style K fill:#90EE90
|
|
97
|
+
style N fill:#90EE90
|
|
98
|
+
style E fill:#FFE4B5
|
|
99
|
+
style F fill:#FFE4B5
|
|
100
|
+
style G fill:#FFE4B5
|
|
101
|
+
style L fill:#FFB6C1
|
|
102
|
+
style M fill:#FFB6C1
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
decision_guidance:
|
|
106
|
+
use_complex_sequence_when:
|
|
107
|
+
- UI enhancement requires multiple coordinated stories (4+)
|
|
108
|
+
- Design system changes needed
|
|
109
|
+
- New component patterns required
|
|
110
|
+
- User research and testing needed
|
|
111
|
+
- Multiple team members will work on related changes
|
|
112
|
+
|
|
113
|
+
use_simple_sequence_when:
|
|
114
|
+
- Enhancement can be completed in 1-3 stories
|
|
115
|
+
- Follows existing design patterns exactly
|
|
116
|
+
- Component changes are isolated
|
|
117
|
+
- Risk to existing UI is low
|
|
118
|
+
- Change maintains current user experience
|
|
119
|
+
|
|
120
|
+
handoff_prompts:
|
|
121
|
+
analyst_to_pm: "UI analysis complete. Create comprehensive brownfield PRD with UI integration strategy."
|
|
122
|
+
pm_to_ux: "Brownfield PRD ready. Save it as docs/brownfield-prd.md, then create the UI/UX specification."
|
|
123
|
+
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md, then create the frontend architecture."
|
|
124
|
+
architect_to_po: "Architecture complete. Save it as docs/brownfield-architecture.md. Please validate all artifacts for UI integration safety."
|
|
125
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
126
|
+
simple_to_ide: "UI enhancement defined with existing design integration. Move to IDE environment to begin development."
|
|
127
|
+
complex_complete: "All brownfield planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: greenfield-fullstack
|
|
3
|
+
name: Greenfield Full-Stack Application Development
|
|
4
|
+
description: >-
|
|
5
|
+
Agent workflow for building full-stack applications from concept to development.
|
|
6
|
+
Supports both comprehensive planning for complex projects and rapid prototyping for simple ones.
|
|
7
|
+
type: greenfield
|
|
8
|
+
project_types:
|
|
9
|
+
- web-app
|
|
10
|
+
- saas
|
|
11
|
+
- enterprise-app
|
|
12
|
+
- prototype
|
|
13
|
+
- mvp
|
|
14
|
+
|
|
15
|
+
# For Complex Projects (Production-Ready, Multiple Features)
|
|
16
|
+
complex_project_sequence:
|
|
17
|
+
- agent: analyst
|
|
18
|
+
creates: project-brief.md
|
|
19
|
+
optional_steps:
|
|
20
|
+
- brainstorming_session
|
|
21
|
+
- market_research_prompt
|
|
22
|
+
notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
|
|
23
|
+
|
|
24
|
+
- agent: pm
|
|
25
|
+
creates: prd.md
|
|
26
|
+
requires: project-brief.md
|
|
27
|
+
notes: "Creates PRD from project brief using prd-tmpl. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
|
|
28
|
+
|
|
29
|
+
- agent: ux-expert
|
|
30
|
+
creates: front-end-spec.md
|
|
31
|
+
requires: prd.md
|
|
32
|
+
optional_steps:
|
|
33
|
+
- user_research_prompt
|
|
34
|
+
notes: "Creates UI/UX specification using front-end-spec-tmpl. SAVE OUTPUT: Copy final front-end-spec.md to your project's docs/ folder."
|
|
35
|
+
|
|
36
|
+
- agent: ux-expert
|
|
37
|
+
creates: v0_prompt (optional)
|
|
38
|
+
requires: front-end-spec.md
|
|
39
|
+
condition: user_wants_ai_generation
|
|
40
|
+
notes: "OPTIONAL BUT RECOMMENDED: Generate AI UI prompt for tools like v0, Lovable, etc. Use the generate-ai-frontend-prompt task. User can then generate UI in external tool and download project structure."
|
|
41
|
+
|
|
42
|
+
- agent: architect
|
|
43
|
+
creates: fullstack-architecture.md
|
|
44
|
+
requires:
|
|
45
|
+
- prd.md
|
|
46
|
+
- front-end-spec.md
|
|
47
|
+
optional_steps:
|
|
48
|
+
- technical_research_prompt
|
|
49
|
+
- review_generated_ui_structure
|
|
50
|
+
notes: "Creates comprehensive architecture using fullstack-architecture-tmpl. If user generated UI with v0/Lovable, can incorporate the project structure into architecture. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final fullstack-architecture.md to your project's docs/ folder."
|
|
51
|
+
|
|
52
|
+
- agent: pm
|
|
53
|
+
updates: prd.md (if needed)
|
|
54
|
+
requires: fullstack-architecture.md
|
|
55
|
+
condition: architecture_suggests_prd_changes
|
|
56
|
+
notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
|
|
57
|
+
|
|
58
|
+
- agent: po
|
|
59
|
+
validates: all_artifacts
|
|
60
|
+
uses: po-master-checklist
|
|
61
|
+
notes: "Validates all documents for consistency and completeness. May require updates to any document."
|
|
62
|
+
|
|
63
|
+
- agent: various
|
|
64
|
+
updates: any_flagged_documents
|
|
65
|
+
condition: po_checklist_issues
|
|
66
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
67
|
+
|
|
68
|
+
- project_setup_guidance:
|
|
69
|
+
action: guide_project_structure
|
|
70
|
+
condition: user_has_generated_ui
|
|
71
|
+
notes: "If user generated UI with v0/Lovable: For polyrepo setup, place downloaded project in separate frontend repo alongside backend repo. For monorepo, place in apps/web or packages/frontend directory. Review architecture document for specific guidance."
|
|
72
|
+
|
|
73
|
+
- development_order_guidance:
|
|
74
|
+
action: guide_development_sequence
|
|
75
|
+
notes: "Based on PRD stories: If stories are frontend-heavy, start with frontend project/directory first. If backend-heavy or API-first, start with backend. For tightly coupled features, follow story sequence in monorepo setup. Reference sharded PRD epics for development order."
|
|
76
|
+
|
|
77
|
+
- workflow_end:
|
|
78
|
+
action: move_to_ide
|
|
79
|
+
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
80
|
+
|
|
81
|
+
# For Simple Projects (Prototypes, MVPs, Quick Experiments)
|
|
82
|
+
simple_project_sequence:
|
|
83
|
+
- step: project_scope
|
|
84
|
+
action: assess complexity
|
|
85
|
+
notes: "First, assess if this needs full planning (use complex_project_sequence) or can be a simple prototype/MVP."
|
|
86
|
+
|
|
87
|
+
- agent: analyst
|
|
88
|
+
creates: project-brief.md
|
|
89
|
+
optional_steps:
|
|
90
|
+
- brainstorming_session
|
|
91
|
+
notes: "Creates focused project brief for simple project. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
|
|
92
|
+
|
|
93
|
+
- agent: pm
|
|
94
|
+
creates: simple-project-prd.md
|
|
95
|
+
uses: create doc simple-project-prd OR create-epic OR create-story
|
|
96
|
+
requires: project-brief.md
|
|
97
|
+
notes: "Create simple prd, simple epic or story instead of full PRD for rapid development. Choose based on scope."
|
|
98
|
+
|
|
99
|
+
- workflow_end:
|
|
100
|
+
action: move_to_ide
|
|
101
|
+
notes: "Simple project defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
102
|
+
|
|
103
|
+
flow_diagram: |
|
|
104
|
+
```mermaid
|
|
105
|
+
graph TD
|
|
106
|
+
A[Start: Greenfield Project] --> B{Project Complexity?}
|
|
107
|
+
B -->|Complex/Production| C[analyst: project-brief.md]
|
|
108
|
+
B -->|Simple/Prototype| D[analyst: focused project-brief.md]
|
|
109
|
+
|
|
110
|
+
C --> E[pm: prd.md]
|
|
111
|
+
E --> F[ux-expert: front-end-spec.md]
|
|
112
|
+
F --> F2{Generate v0 prompt?}
|
|
113
|
+
F2 -->|Yes| F3[ux-expert: create v0 prompt]
|
|
114
|
+
F2 -->|No| G[architect: fullstack-architecture.md]
|
|
115
|
+
F3 --> F4[User: generate UI in v0/Lovable]
|
|
116
|
+
F4 --> G
|
|
117
|
+
G --> H{Architecture suggests PRD changes?}
|
|
118
|
+
H -->|Yes| I[pm: update prd.md]
|
|
119
|
+
H -->|No| J[po: validate all artifacts]
|
|
120
|
+
I --> J
|
|
121
|
+
J --> K{PO finds issues?}
|
|
122
|
+
K -->|Yes| L[Return to relevant agent for fixes]
|
|
123
|
+
K -->|No| M[Move to IDE Environment]
|
|
124
|
+
L --> J
|
|
125
|
+
|
|
126
|
+
D --> N[pm: simple epic or story]
|
|
127
|
+
N --> O[Move to IDE Environment]
|
|
128
|
+
|
|
129
|
+
C -.-> C1[Optional: brainstorming]
|
|
130
|
+
C -.-> C2[Optional: market research]
|
|
131
|
+
F -.-> F1[Optional: user research]
|
|
132
|
+
G -.-> G1[Optional: technical research]
|
|
133
|
+
D -.-> D1[Optional: brainstorming]
|
|
134
|
+
|
|
135
|
+
style M fill:#90EE90
|
|
136
|
+
style O fill:#90EE90
|
|
137
|
+
style F3 fill:#E6E6FA
|
|
138
|
+
style F4 fill:#E6E6FA
|
|
139
|
+
style C fill:#FFE4B5
|
|
140
|
+
style E fill:#FFE4B5
|
|
141
|
+
style F fill:#FFE4B5
|
|
142
|
+
style G fill:#FFE4B5
|
|
143
|
+
style D fill:#FFB6C1
|
|
144
|
+
style N fill:#FFB6C1
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
decision_guidance:
|
|
148
|
+
use_complex_sequence_when:
|
|
149
|
+
- Building production-ready applications
|
|
150
|
+
- Multiple team members will be involved
|
|
151
|
+
- Complex feature requirements (4+ stories)
|
|
152
|
+
- Need comprehensive documentation
|
|
153
|
+
- Long-term maintenance expected
|
|
154
|
+
- Enterprise or customer-facing applications
|
|
155
|
+
|
|
156
|
+
use_simple_sequence_when:
|
|
157
|
+
- Building prototypes or MVPs
|
|
158
|
+
- Solo developer or small team
|
|
159
|
+
- Simple requirements (1-3 stories)
|
|
160
|
+
- Quick experiments or proof-of-concepts
|
|
161
|
+
- Short-term or throwaway projects
|
|
162
|
+
- Learning or educational projects
|
|
163
|
+
|
|
164
|
+
handoff_prompts:
|
|
165
|
+
# Complex sequence prompts
|
|
166
|
+
analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
|
|
167
|
+
pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
|
|
168
|
+
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the fullstack architecture."
|
|
169
|
+
architect_review: "Architecture complete. Save it as docs/fullstack-architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
|
|
170
|
+
architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
|
|
171
|
+
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
172
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
173
|
+
complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
174
|
+
|
|
175
|
+
# Simple sequence prompts
|
|
176
|
+
simple_analyst_to_pm: "Focused project brief complete. Save it as docs/project-brief.md, then create simple epic or story for rapid development."
|
|
177
|
+
simple_complete: "Simple project defined. Move to IDE environment to begin development."
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
id: greenfield-service
|
|
3
|
+
name: Greenfield Service/API Development
|
|
4
|
+
description: >-
|
|
5
|
+
Agent workflow for building backend services from concept to development.
|
|
6
|
+
Supports both comprehensive planning for complex services and rapid prototyping for simple APIs.
|
|
7
|
+
type: greenfield
|
|
8
|
+
project_types:
|
|
9
|
+
- rest-api
|
|
10
|
+
- graphql-api
|
|
11
|
+
- microservice
|
|
12
|
+
- backend-service
|
|
13
|
+
- api-prototype
|
|
14
|
+
- simple-service
|
|
15
|
+
|
|
16
|
+
# For Complex Services (Production APIs, Multiple Endpoints)
|
|
17
|
+
complex_service_sequence:
|
|
18
|
+
- agent: analyst
|
|
19
|
+
creates: project-brief.md
|
|
20
|
+
optional_steps:
|
|
21
|
+
- brainstorming_session
|
|
22
|
+
- market_research_prompt
|
|
23
|
+
notes: "Can do brainstorming first, then optional deep research before creating project brief. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
|
|
24
|
+
|
|
25
|
+
- agent: pm
|
|
26
|
+
creates: prd.md
|
|
27
|
+
requires: project-brief.md
|
|
28
|
+
notes: "Creates PRD from project brief using prd-tmpl, focused on API/service requirements. SAVE OUTPUT: Copy final prd.md to your project's docs/ folder."
|
|
29
|
+
|
|
30
|
+
- agent: architect
|
|
31
|
+
creates: architecture.md
|
|
32
|
+
requires: prd.md
|
|
33
|
+
optional_steps:
|
|
34
|
+
- technical_research_prompt
|
|
35
|
+
notes: "Creates backend/service architecture using architecture-tmpl. May suggest changes to PRD stories or new stories. SAVE OUTPUT: Copy final architecture.md to your project's docs/ folder."
|
|
36
|
+
|
|
37
|
+
- agent: pm
|
|
38
|
+
updates: prd.md (if needed)
|
|
39
|
+
requires: architecture.md
|
|
40
|
+
condition: architecture_suggests_prd_changes
|
|
41
|
+
notes: "If architect suggests story changes, update PRD and re-export the complete unredacted prd.md to docs/ folder."
|
|
42
|
+
|
|
43
|
+
- agent: po
|
|
44
|
+
validates: all_artifacts
|
|
45
|
+
uses: po-master-checklist
|
|
46
|
+
notes: "Validates all documents for consistency and completeness. May require updates to any document."
|
|
47
|
+
|
|
48
|
+
- agent: various
|
|
49
|
+
updates: any_flagged_documents
|
|
50
|
+
condition: po_checklist_issues
|
|
51
|
+
notes: "If PO finds issues, return to relevant agent to fix and re-export updated documents to docs/ folder."
|
|
52
|
+
|
|
53
|
+
- workflow_end:
|
|
54
|
+
action: move_to_ide
|
|
55
|
+
notes: "All planning artifacts complete. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
56
|
+
|
|
57
|
+
# For Simple Services (Simple APIs, Single Purpose Services)
|
|
58
|
+
simple_service_sequence:
|
|
59
|
+
- step: service_scope
|
|
60
|
+
action: assess complexity
|
|
61
|
+
notes: "First, assess if this needs full planning (use complex_service_sequence) or can be a simple API/service."
|
|
62
|
+
|
|
63
|
+
- agent: analyst
|
|
64
|
+
creates: project-brief.md
|
|
65
|
+
optional_steps:
|
|
66
|
+
- brainstorming_session
|
|
67
|
+
notes: "Creates focused project brief for simple service. SAVE OUTPUT: Copy final project-brief.md to your project's docs/ folder."
|
|
68
|
+
|
|
69
|
+
- agent: pm
|
|
70
|
+
creates: simple_epic OR single_story
|
|
71
|
+
uses: create-epic OR create-story
|
|
72
|
+
requires: project-brief.md
|
|
73
|
+
notes: "Create simple epic or story for API endpoints instead of full PRD for rapid development."
|
|
74
|
+
|
|
75
|
+
- workflow_end:
|
|
76
|
+
action: move_to_ide
|
|
77
|
+
notes: "Simple service defined. Move to IDE environment to begin development. Explain to the user the IDE Development Workflow next steps: data#bmad-kb:IDE Development Workflow"
|
|
78
|
+
|
|
79
|
+
flow_diagram: |
|
|
80
|
+
```mermaid
|
|
81
|
+
graph TD
|
|
82
|
+
A[Start: Service Development] --> B{Service Complexity?}
|
|
83
|
+
B -->|Complex/Production| C[analyst: project-brief.md]
|
|
84
|
+
B -->|Simple/Prototype| D[analyst: focused project-brief.md]
|
|
85
|
+
|
|
86
|
+
C --> E[pm: prd.md]
|
|
87
|
+
E --> F[architect: architecture.md]
|
|
88
|
+
F --> G{Architecture suggests PRD changes?}
|
|
89
|
+
G -->|Yes| H[pm: update prd.md]
|
|
90
|
+
G -->|No| I[po: validate all artifacts]
|
|
91
|
+
H --> I
|
|
92
|
+
I --> J{PO finds issues?}
|
|
93
|
+
J -->|Yes| K[Return to relevant agent for fixes]
|
|
94
|
+
J -->|No| L[Move to IDE Environment]
|
|
95
|
+
K --> I
|
|
96
|
+
|
|
97
|
+
D --> M[pm: simple epic or story]
|
|
98
|
+
M --> N[Move to IDE Environment]
|
|
99
|
+
|
|
100
|
+
C -.-> C1[Optional: brainstorming]
|
|
101
|
+
C -.-> C2[Optional: market research]
|
|
102
|
+
F -.-> F1[Optional: technical research]
|
|
103
|
+
D -.-> D1[Optional: brainstorming]
|
|
104
|
+
|
|
105
|
+
style L fill:#90EE90
|
|
106
|
+
style N fill:#90EE90
|
|
107
|
+
style C fill:#FFE4B5
|
|
108
|
+
style E fill:#FFE4B5
|
|
109
|
+
style F fill:#FFE4B5
|
|
110
|
+
style D fill:#FFB6C1
|
|
111
|
+
style M fill:#FFB6C1
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
decision_guidance:
|
|
115
|
+
use_complex_sequence_when:
|
|
116
|
+
- Building production APIs or microservices
|
|
117
|
+
- Multiple endpoints and complex business logic
|
|
118
|
+
- Need comprehensive documentation and testing
|
|
119
|
+
- Multiple team members will be involved
|
|
120
|
+
- Long-term maintenance expected
|
|
121
|
+
- Enterprise or external-facing APIs
|
|
122
|
+
|
|
123
|
+
use_simple_sequence_when:
|
|
124
|
+
- Building simple APIs or single-purpose services
|
|
125
|
+
- Few endpoints with straightforward logic
|
|
126
|
+
- Prototyping or proof-of-concept APIs
|
|
127
|
+
- Solo developer or small team
|
|
128
|
+
- Internal tools or utilities
|
|
129
|
+
- Learning or experimental projects
|
|
130
|
+
|
|
131
|
+
handoff_prompts:
|
|
132
|
+
# Complex sequence prompts
|
|
133
|
+
analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
|
|
134
|
+
pm_to_architect: "PRD is ready. Save it as docs/prd.md in your project, then create the service architecture."
|
|
135
|
+
architect_review: "Architecture complete. Save it as docs/architecture.md. Do you suggest any changes to the PRD stories or need new stories added?"
|
|
136
|
+
architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
|
|
137
|
+
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
138
|
+
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
139
|
+
complex_complete: "All planning artifacts validated and saved in docs/ folder. Move to IDE environment to begin development."
|
|
140
|
+
|
|
141
|
+
# Simple sequence prompts
|
|
142
|
+
simple_analyst_to_pm: "Focused project brief complete. Save it as docs/project-brief.md, then create simple epic or story for API development."
|
|
143
|
+
simple_complete: "Simple service defined. Move to IDE environment to begin development."
|