bmad-method 4.27.5 → 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 -30
- 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 -25
- package/{bmad-core → .bmad-core}/agents/po.md +24 -28
- 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.yaml → .bmad-core/workflows/greenfield-fullstack.yml} +77 -140
- 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 -452
- 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 -15
- 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 +5 -123
- package/tools/installer/lib/ide-setup.js +189 -545
- package/tools/installer/lib/installer.js +55 -1136
- 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 -63
- package/bmad-core/agents/bmad-master.md +0 -110
- package/bmad-core/agents/bmad-orchestrator.md +0 -140
- package/bmad-core/agents/dev.md +0 -57
- package/bmad-core/agents/qa.md +0 -55
- package/bmad-core/agents/sm.md +0 -46
- package/bmad-core/agents/ux-expert.md +0 -54
- 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 -114
- 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/utils/plan-management.md +0 -219
- 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-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 -9588
- package/dist/agents/bmad-orchestrator.txt +0 -2232
- package/dist/agents/qa.txt +0 -388
- package/dist/agents/sm.txt +0 -673
- 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 -11730
- 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 -11799
- package/dist/teams/team-fullstack.txt +0 -11129
- package/dist/teams/team-ide-minimal.txt +0 -4573
- package/dist/teams/team-no-ui.txt +0 -9684
- 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 -60
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +0 -68
- package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +0 -53
- 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 -55
- 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."
|
|
@@ -12,7 +12,8 @@ workflow:
|
|
|
12
12
|
- prototype
|
|
13
13
|
- mvp
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
# For Complex Projects (Production-Ready, Multiple Features)
|
|
16
|
+
complex_project_sequence:
|
|
16
17
|
- agent: analyst
|
|
17
18
|
creates: project-brief.md
|
|
18
19
|
optional_steps:
|
|
@@ -73,163 +74,95 @@ workflow:
|
|
|
73
74
|
action: guide_development_sequence
|
|
74
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."
|
|
75
76
|
|
|
76
|
-
-
|
|
77
|
-
action:
|
|
78
|
-
|
|
79
|
-
requires: all_artifacts_in_project
|
|
80
|
-
notes: |
|
|
81
|
-
Shard documents for IDE development:
|
|
82
|
-
- Option A: Use PO agent to shard: @po then ask to shard docs/prd.md
|
|
83
|
-
- Option B: Manual: Drag shard-doc task + docs/prd.md into chat
|
|
84
|
-
- Creates docs/prd/ and docs/architecture/ folders with sharded content
|
|
85
|
-
|
|
86
|
-
- agent: sm
|
|
87
|
-
action: create_story
|
|
88
|
-
creates: story.md
|
|
89
|
-
requires: sharded_docs
|
|
90
|
-
repeats: for_each_epic
|
|
91
|
-
notes: |
|
|
92
|
-
Story creation cycle:
|
|
93
|
-
- SM Agent (New Chat): @sm → *create
|
|
94
|
-
- Creates next story from sharded docs
|
|
95
|
-
- Story starts in "Draft" status
|
|
96
|
-
|
|
97
|
-
- agent: analyst/pm
|
|
98
|
-
action: review_draft_story
|
|
99
|
-
updates: story.md
|
|
100
|
-
requires: story.md
|
|
101
|
-
optional: true
|
|
102
|
-
condition: user_wants_story_review
|
|
103
|
-
notes: |
|
|
104
|
-
OPTIONAL: Review and approve draft story
|
|
105
|
-
- NOTE: story-review task coming soon
|
|
106
|
-
- Review story completeness and alignment
|
|
107
|
-
- Update story status: Draft → Approved
|
|
108
|
-
|
|
109
|
-
- agent: dev
|
|
110
|
-
action: implement_story
|
|
111
|
-
creates: implementation_files
|
|
112
|
-
requires: story.md
|
|
113
|
-
notes: |
|
|
114
|
-
Dev Agent (New Chat): @dev
|
|
115
|
-
- Implements approved story
|
|
116
|
-
- Updates File List with all changes
|
|
117
|
-
- Marks story as "Review" when complete
|
|
118
|
-
|
|
119
|
-
- agent: qa
|
|
120
|
-
action: review_implementation
|
|
121
|
-
updates: implementation_files
|
|
122
|
-
requires: implementation_files
|
|
123
|
-
optional: true
|
|
124
|
-
notes: |
|
|
125
|
-
OPTIONAL: QA Agent (New Chat): @qa → review-story
|
|
126
|
-
- Senior dev review with refactoring ability
|
|
127
|
-
- Fixes small issues directly
|
|
128
|
-
- Leaves checklist for remaining items
|
|
129
|
-
- Updates story status (Review → Done or stays Review)
|
|
130
|
-
|
|
131
|
-
- agent: dev
|
|
132
|
-
action: address_qa_feedback
|
|
133
|
-
updates: implementation_files
|
|
134
|
-
condition: qa_left_unchecked_items
|
|
135
|
-
notes: |
|
|
136
|
-
If QA left unchecked items:
|
|
137
|
-
- Dev Agent (New Chat): Address remaining items
|
|
138
|
-
- Return to QA for final approval
|
|
139
|
-
|
|
140
|
-
- repeat_development_cycle:
|
|
141
|
-
action: continue_for_all_stories
|
|
142
|
-
notes: |
|
|
143
|
-
Repeat story cycle (SM → Dev → QA) for all epic stories
|
|
144
|
-
Continue until all stories in PRD are complete
|
|
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"
|
|
145
80
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
-
|
|
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."
|
|
156
98
|
|
|
157
99
|
- workflow_end:
|
|
158
|
-
action:
|
|
159
|
-
notes:
|
|
160
|
-
All stories implemented and reviewed!
|
|
161
|
-
Project development phase complete.
|
|
162
|
-
|
|
163
|
-
Reference: data#bmad-kb:IDE Development Workflow
|
|
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"
|
|
164
102
|
|
|
165
103
|
flow_diagram: |
|
|
166
104
|
```mermaid
|
|
167
105
|
graph TD
|
|
168
|
-
A[Start: Greenfield Project] --> B
|
|
169
|
-
B
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
G --> H
|
|
180
|
-
H
|
|
181
|
-
|
|
182
|
-
I
|
|
183
|
-
J -->
|
|
184
|
-
|
|
185
|
-
K
|
|
186
|
-
L -->
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
N --> O
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
V --> W
|
|
202
|
-
|
|
203
|
-
B -.-> B1[Optional: brainstorming]
|
|
204
|
-
B -.-> B2[Optional: market research]
|
|
205
|
-
D -.-> D1[Optional: user research]
|
|
206
|
-
E -.-> E1[Optional: technical research]
|
|
207
|
-
|
|
208
|
-
style W fill:#90EE90
|
|
209
|
-
style K fill:#ADD8E6
|
|
210
|
-
style L fill:#ADD8E6
|
|
211
|
-
style O fill:#ADD8E6
|
|
212
|
-
style D3 fill:#E6E6FA
|
|
213
|
-
style D4 fill:#E6E6FA
|
|
214
|
-
style B fill:#FFE4B5
|
|
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
|
|
215
139
|
style C fill:#FFE4B5
|
|
216
|
-
style D fill:#FFE4B5
|
|
217
140
|
style E fill:#FFE4B5
|
|
218
|
-
style
|
|
219
|
-
style
|
|
220
|
-
style
|
|
141
|
+
style F fill:#FFE4B5
|
|
142
|
+
style G fill:#FFE4B5
|
|
143
|
+
style D fill:#FFB6C1
|
|
144
|
+
style N fill:#FFB6C1
|
|
221
145
|
```
|
|
222
146
|
|
|
223
147
|
decision_guidance:
|
|
224
|
-
|
|
148
|
+
use_complex_sequence_when:
|
|
225
149
|
- Building production-ready applications
|
|
226
150
|
- Multiple team members will be involved
|
|
227
|
-
- Complex feature requirements
|
|
151
|
+
- Complex feature requirements (4+ stories)
|
|
228
152
|
- Need comprehensive documentation
|
|
229
153
|
- Long-term maintenance expected
|
|
230
154
|
- Enterprise or customer-facing applications
|
|
231
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
|
+
|
|
232
164
|
handoff_prompts:
|
|
165
|
+
# Complex sequence prompts
|
|
233
166
|
analyst_to_pm: "Project brief is complete. Save it as docs/project-brief.md in your project, then create the PRD."
|
|
234
167
|
pm_to_ux: "PRD is ready. Save it as docs/prd.md in your project, then create the UI/UX specification."
|
|
235
168
|
ux_to_architect: "UI/UX spec complete. Save it as docs/front-end-spec.md in your project, then create the fullstack architecture."
|
|
@@ -237,4 +170,8 @@ workflow:
|
|
|
237
170
|
architect_to_pm: "Please update the PRD with the suggested story changes, then re-export the complete prd.md to docs/."
|
|
238
171
|
updated_to_po: "All documents ready in docs/ folder. Please validate all artifacts for consistency."
|
|
239
172
|
po_issues: "PO found issues with [document]. Please return to [agent] to fix and re-save the updated document."
|
|
240
|
-
|
|
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."
|