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
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Brainstorming Techniques Data
|
|
2
|
-
|
|
3
|
-
## Creative Expansion
|
|
4
|
-
|
|
5
|
-
1. **What If Scenarios**: Ask one provocative question, get their response, then ask another
|
|
6
|
-
2. **Analogical Thinking**: Give one example analogy, ask them to find 2-3 more
|
|
7
|
-
3. **Reversal/Inversion**: Pose the reverse question, let them work through it
|
|
8
|
-
4. **First Principles Thinking**: Ask "What are the fundamentals?" and guide them to break it down
|
|
9
|
-
|
|
10
|
-
## Structured Frameworks
|
|
11
|
-
|
|
12
|
-
5. **SCAMPER Method**: Go through one letter at a time, wait for their ideas before moving to next
|
|
13
|
-
6. **Six Thinking Hats**: Present one hat, ask for their thoughts, then move to next hat
|
|
14
|
-
7. **Mind Mapping**: Start with central concept, ask them to suggest branches
|
|
15
|
-
|
|
16
|
-
## Collaborative Techniques
|
|
17
|
-
|
|
18
|
-
8. **"Yes, And..." Building**: They give idea, you "yes and" it, they "yes and" back - alternate
|
|
19
|
-
9. **Brainwriting/Round Robin**: They suggest idea, you build on it, ask them to build on yours
|
|
20
|
-
10. **Random Stimulation**: Give one random prompt/word, ask them to make connections
|
|
21
|
-
|
|
22
|
-
## Deep Exploration
|
|
23
|
-
|
|
24
|
-
11. **Five Whys**: Ask "why" and wait for their answer before asking next "why"
|
|
25
|
-
12. **Morphological Analysis**: Ask them to list parameters first, then explore combinations together
|
|
26
|
-
13. **Provocation Technique (PO)**: Give one provocative statement, ask them to extract useful ideas
|
|
27
|
-
|
|
28
|
-
## Advanced Techniques
|
|
29
|
-
|
|
30
|
-
14. **Forced Relationships**: Connect two unrelated concepts and ask them to find the bridge
|
|
31
|
-
15. **Assumption Reversal**: Challenge their core assumptions and ask them to build from there
|
|
32
|
-
16. **Role Playing**: Ask them to brainstorm from different stakeholder perspectives
|
|
33
|
-
17. **Time Shifting**: "How would you solve this in 1995? 2030?"
|
|
34
|
-
18. **Resource Constraints**: "What if you had only $10 and 1 hour?"
|
|
35
|
-
19. **Metaphor Mapping**: Use extended metaphors to explore solutions
|
|
36
|
-
20. **Question Storming**: Generate questions instead of answers first
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# Elicitation Methods Data
|
|
2
|
-
|
|
3
|
-
## Core Reflective Methods
|
|
4
|
-
|
|
5
|
-
**Expand or Contract for Audience**
|
|
6
|
-
- Ask whether to 'expand' (add detail, elaborate) or 'contract' (simplify, clarify)
|
|
7
|
-
- Identify specific target audience if relevant
|
|
8
|
-
- Tailor content complexity and depth accordingly
|
|
9
|
-
|
|
10
|
-
**Explain Reasoning (CoT Step-by-Step)**
|
|
11
|
-
- Walk through the step-by-step thinking process
|
|
12
|
-
- Reveal underlying assumptions and decision points
|
|
13
|
-
- Show how conclusions were reached from current role's perspective
|
|
14
|
-
|
|
15
|
-
**Critique and Refine**
|
|
16
|
-
- Review output for flaws, inconsistencies, or improvement areas
|
|
17
|
-
- Identify specific weaknesses from role's expertise
|
|
18
|
-
- Suggest refined version reflecting domain knowledge
|
|
19
|
-
|
|
20
|
-
## Structural Analysis Methods
|
|
21
|
-
|
|
22
|
-
**Analyze Logical Flow and Dependencies**
|
|
23
|
-
- Examine content structure for logical progression
|
|
24
|
-
- Check internal consistency and coherence
|
|
25
|
-
- Identify and validate dependencies between elements
|
|
26
|
-
- Confirm effective ordering and sequencing
|
|
27
|
-
|
|
28
|
-
**Assess Alignment with Overall Goals**
|
|
29
|
-
- Evaluate content contribution to stated objectives
|
|
30
|
-
- Identify any misalignments or gaps
|
|
31
|
-
- Interpret alignment from specific role's perspective
|
|
32
|
-
- Suggest adjustments to better serve goals
|
|
33
|
-
|
|
34
|
-
## Risk and Challenge Methods
|
|
35
|
-
|
|
36
|
-
**Identify Potential Risks and Unforeseen Issues**
|
|
37
|
-
- Brainstorm potential risks from role's expertise
|
|
38
|
-
- Identify overlooked edge cases or scenarios
|
|
39
|
-
- Anticipate unintended consequences
|
|
40
|
-
- Highlight implementation challenges
|
|
41
|
-
|
|
42
|
-
**Challenge from Critical Perspective**
|
|
43
|
-
- Adopt critical stance on current content
|
|
44
|
-
- Play devil's advocate from specified viewpoint
|
|
45
|
-
- Argue against proposal highlighting weaknesses
|
|
46
|
-
- Apply YAGNI principles when appropriate (scope trimming)
|
|
47
|
-
|
|
48
|
-
## Creative Exploration Methods
|
|
49
|
-
|
|
50
|
-
**Tree of Thoughts Deep Dive**
|
|
51
|
-
- Break problem into discrete "thoughts" or intermediate steps
|
|
52
|
-
- Explore multiple reasoning paths simultaneously
|
|
53
|
-
- Use self-evaluation to classify each path as "sure", "likely", or "impossible"
|
|
54
|
-
- Apply search algorithms (BFS/DFS) to find optimal solution paths
|
|
55
|
-
|
|
56
|
-
**Hindsight is 20/20: The 'If Only...' Reflection**
|
|
57
|
-
- Imagine retrospective scenario based on current content
|
|
58
|
-
- Identify the one "if only we had known/done X..." insight
|
|
59
|
-
- Describe imagined consequences humorously or dramatically
|
|
60
|
-
- Extract actionable learnings for current context
|
|
61
|
-
|
|
62
|
-
## Multi-Persona Collaboration Methods
|
|
63
|
-
|
|
64
|
-
**Agile Team Perspective Shift**
|
|
65
|
-
- Rotate through different Scrum team member viewpoints
|
|
66
|
-
- Product Owner: Focus on user value and business impact
|
|
67
|
-
- Scrum Master: Examine process flow and team dynamics
|
|
68
|
-
- Developer: Assess technical implementation and complexity
|
|
69
|
-
- QA: Identify testing scenarios and quality concerns
|
|
70
|
-
|
|
71
|
-
**Stakeholder Round Table**
|
|
72
|
-
- Convene virtual meeting with multiple personas
|
|
73
|
-
- Each persona contributes unique perspective on content
|
|
74
|
-
- Identify conflicts and synergies between viewpoints
|
|
75
|
-
- Synthesize insights into actionable recommendations
|
|
76
|
-
|
|
77
|
-
**Meta-Prompting Analysis**
|
|
78
|
-
- Step back to analyze the structure and logic of current approach
|
|
79
|
-
- Question the format and methodology being used
|
|
80
|
-
- Suggest alternative frameworks or mental models
|
|
81
|
-
- Optimize the elicitation process itself
|
|
82
|
-
|
|
83
|
-
## Advanced 2025 Techniques
|
|
84
|
-
|
|
85
|
-
**Self-Consistency Validation**
|
|
86
|
-
- Generate multiple reasoning paths for same problem
|
|
87
|
-
- Compare consistency across different approaches
|
|
88
|
-
- Identify most reliable and robust solution
|
|
89
|
-
- Highlight areas where approaches diverge and why
|
|
90
|
-
|
|
91
|
-
**ReWOO (Reasoning Without Observation)**
|
|
92
|
-
- Separate parametric reasoning from tool-based actions
|
|
93
|
-
- Create reasoning plan without external dependencies
|
|
94
|
-
- Identify what can be solved through pure reasoning
|
|
95
|
-
- Optimize for efficiency and reduced token usage
|
|
96
|
-
|
|
97
|
-
**Persona-Pattern Hybrid**
|
|
98
|
-
- Combine specific role expertise with elicitation pattern
|
|
99
|
-
- Architect + Risk Analysis: Deep technical risk assessment
|
|
100
|
-
- UX Expert + User Journey: End-to-end experience critique
|
|
101
|
-
- PM + Stakeholder Analysis: Multi-perspective impact review
|
|
102
|
-
|
|
103
|
-
**Emergent Collaboration Discovery**
|
|
104
|
-
- Allow multiple perspectives to naturally emerge
|
|
105
|
-
- Identify unexpected insights from persona interactions
|
|
106
|
-
- Explore novel combinations of viewpoints
|
|
107
|
-
- Capture serendipitous discoveries from multi-agent thinking
|
|
108
|
-
|
|
109
|
-
## Game-Based Elicitation Methods
|
|
110
|
-
|
|
111
|
-
**Red Team vs Blue Team**
|
|
112
|
-
- Red Team: Attack the proposal, find vulnerabilities
|
|
113
|
-
- Blue Team: Defend and strengthen the approach
|
|
114
|
-
- Competitive analysis reveals blind spots
|
|
115
|
-
- Results in more robust, battle-tested solutions
|
|
116
|
-
|
|
117
|
-
**Innovation Tournament**
|
|
118
|
-
- Pit multiple alternative approaches against each other
|
|
119
|
-
- Score each approach across different criteria
|
|
120
|
-
- Crowd-source evaluation from different personas
|
|
121
|
-
- Identify winning combination of features
|
|
122
|
-
|
|
123
|
-
**Escape Room Challenge**
|
|
124
|
-
- Present content as constraints to work within
|
|
125
|
-
- Find creative solutions within tight limitations
|
|
126
|
-
- Identify minimum viable approach
|
|
127
|
-
- Discover innovative workarounds and optimizations
|
|
128
|
-
|
|
129
|
-
## Process Control
|
|
130
|
-
|
|
131
|
-
**Proceed / No Further Actions**
|
|
132
|
-
- Acknowledge choice to finalize current work
|
|
133
|
-
- Accept output as-is or move to next step
|
|
134
|
-
- Prepare to continue without additional elicitation
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
# Advanced Elicitation Task
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
- Provide optional reflective and brainstorming actions to enhance content quality
|
|
6
|
-
- Enable deeper exploration of ideas through structured elicitation techniques
|
|
7
|
-
- Support iterative refinement through multiple analytical perspectives
|
|
8
|
-
- Usable during template-driven document creation or any chat conversation
|
|
9
|
-
|
|
10
|
-
## Usage Scenarios
|
|
11
|
-
|
|
12
|
-
### Scenario 1: Template Document Creation
|
|
13
|
-
|
|
14
|
-
After outputting a section during document creation:
|
|
15
|
-
|
|
16
|
-
1. **Section Review**: Ask user to review the drafted section
|
|
17
|
-
2. **Offer Elicitation**: Present 9 carefully selected elicitation methods
|
|
18
|
-
3. **Simple Selection**: User types a number (0-8) to engage method, or 9 to proceed
|
|
19
|
-
4. **Execute & Loop**: Apply selected method, then re-offer choices until user proceeds
|
|
20
|
-
|
|
21
|
-
### Scenario 2: General Chat Elicitation
|
|
22
|
-
|
|
23
|
-
User can request advanced elicitation on any agent output:
|
|
24
|
-
|
|
25
|
-
- User says "do advanced elicitation" or similar
|
|
26
|
-
- Agent selects 9 relevant methods for the context
|
|
27
|
-
- Same simple 0-9 selection process
|
|
28
|
-
|
|
29
|
-
## Task Instructions
|
|
30
|
-
|
|
31
|
-
### 1. Intelligent Method Selection
|
|
32
|
-
|
|
33
|
-
**Context Analysis**: Before presenting options, analyze:
|
|
34
|
-
|
|
35
|
-
- **Content Type**: Technical specs, user stories, architecture, requirements, etc.
|
|
36
|
-
- **Complexity Level**: Simple, moderate, or complex content
|
|
37
|
-
- **Stakeholder Needs**: Who will use this information
|
|
38
|
-
- **Risk Level**: High-impact decisions vs routine items
|
|
39
|
-
- **Creative Potential**: Opportunities for innovation or alternatives
|
|
40
|
-
|
|
41
|
-
**Method Selection Strategy**:
|
|
42
|
-
|
|
43
|
-
1. **Always Include Core Methods** (choose 3-4):
|
|
44
|
-
- Expand or Contract for Audience
|
|
45
|
-
- Critique and Refine
|
|
46
|
-
- Identify Potential Risks
|
|
47
|
-
- Assess Alignment with Goals
|
|
48
|
-
|
|
49
|
-
2. **Context-Specific Methods** (choose 4-5):
|
|
50
|
-
- **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
|
|
51
|
-
- **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
|
|
52
|
-
- **Creative Content**: Innovation Tournament, Escape Room Challenge
|
|
53
|
-
- **Strategic Content**: Red Team vs Blue Team, Hindsight Reflection
|
|
54
|
-
|
|
55
|
-
3. **Always Include**: "Proceed / No Further Actions" as option 9
|
|
56
|
-
|
|
57
|
-
### 2. Section Context and Review
|
|
58
|
-
|
|
59
|
-
When invoked after outputting a section:
|
|
60
|
-
|
|
61
|
-
1. **Provide Context Summary**: Give a brief 1-2 sentence summary of what the user should look for in the section just presented
|
|
62
|
-
|
|
63
|
-
2. **Explain Visual Elements**: If the section contains diagrams, explain them briefly before offering elicitation options
|
|
64
|
-
|
|
65
|
-
3. **Clarify Scope Options**: If the section contains multiple distinct items, inform the user they can apply elicitation actions to:
|
|
66
|
-
- The entire section as a whole
|
|
67
|
-
- Individual items within the section (specify which item when selecting an action)
|
|
68
|
-
|
|
69
|
-
### 3. Present Elicitation Options
|
|
70
|
-
|
|
71
|
-
**Review Request Process:**
|
|
72
|
-
|
|
73
|
-
- Ask the user to review the drafted section
|
|
74
|
-
- In the SAME message, inform them they can suggest direct changes OR select an elicitation method
|
|
75
|
-
- Present 9 intelligently selected methods (0-8) plus "Proceed" (9)
|
|
76
|
-
- Keep descriptions short - just the method name
|
|
77
|
-
- Await simple numeric selection
|
|
78
|
-
|
|
79
|
-
**Action List Presentation Format:**
|
|
80
|
-
|
|
81
|
-
```text
|
|
82
|
-
**Advanced Elicitation Options**
|
|
83
|
-
Choose a number (0-8) or 9 to proceed:
|
|
84
|
-
|
|
85
|
-
0. [Method Name]
|
|
86
|
-
1. [Method Name]
|
|
87
|
-
2. [Method Name]
|
|
88
|
-
3. [Method Name]
|
|
89
|
-
4. [Method Name]
|
|
90
|
-
5. [Method Name]
|
|
91
|
-
6. [Method Name]
|
|
92
|
-
7. [Method Name]
|
|
93
|
-
8. [Method Name]
|
|
94
|
-
9. Proceed / No Further Actions
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
**Response Handling:**
|
|
98
|
-
|
|
99
|
-
- **Numbers 0-8**: Execute the selected method, then re-offer the choice
|
|
100
|
-
- **Number 9**: Proceed to next section or continue conversation
|
|
101
|
-
- **Direct Feedback**: Apply user's suggested changes and continue
|
|
102
|
-
|
|
103
|
-
### 4. Method Execution Framework
|
|
104
|
-
|
|
105
|
-
**Execution Process:**
|
|
106
|
-
|
|
107
|
-
1. **Retrieve Method**: Access the specific elicitation method from the elicitation-methods data file
|
|
108
|
-
2. **Apply Context**: Execute the method from your current role's perspective
|
|
109
|
-
3. **Provide Results**: Deliver insights, critiques, or alternatives relevant to the content
|
|
110
|
-
4. **Re-offer Choice**: Present the same 9 options again until user selects 9 or gives direct feedback
|
|
111
|
-
|
|
112
|
-
**Execution Guidelines:**
|
|
113
|
-
|
|
114
|
-
- **Be Concise**: Focus on actionable insights, not lengthy explanations
|
|
115
|
-
- **Stay Relevant**: Tie all elicitation back to the specific content being analyzed
|
|
116
|
-
- **Identify Personas**: For multi-persona methods, clearly identify which viewpoint is speaking
|
|
117
|
-
- **Maintain Flow**: Keep the process moving efficiently
|
|
@@ -1,355 +0,0 @@
|
|
|
1
|
-
# Create Brownfield Story Task
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
|
|
5
|
-
Create detailed, implementation-ready stories for brownfield projects where traditional sharded PRD/architecture documents may not exist. This task bridges the gap between various documentation formats (document-project output, brownfield PRDs, epics, or user documentation) and executable stories for the Dev agent.
|
|
6
|
-
|
|
7
|
-
## When to Use This Task
|
|
8
|
-
|
|
9
|
-
**Use this task when:**
|
|
10
|
-
|
|
11
|
-
- Working on brownfield projects with non-standard documentation
|
|
12
|
-
- Stories need to be created from document-project output
|
|
13
|
-
- Working from brownfield epics without full PRD/architecture
|
|
14
|
-
- Existing project documentation doesn't follow BMad v4+ structure
|
|
15
|
-
- Need to gather additional context from user during story creation
|
|
16
|
-
|
|
17
|
-
**Use create-next-story when:**
|
|
18
|
-
|
|
19
|
-
- Working with properly sharded PRD and v4 architecture documents
|
|
20
|
-
- Following standard greenfield or well-documented brownfield workflow
|
|
21
|
-
- All technical context is available in structured format
|
|
22
|
-
|
|
23
|
-
## Task Execution Instructions
|
|
24
|
-
|
|
25
|
-
### 0. Check Workflow Plan and Documentation Context
|
|
26
|
-
|
|
27
|
-
[[LLM: Check for workflow plan first, then available documentation]]
|
|
28
|
-
|
|
29
|
-
#### 0.1 Check Workflow Plan
|
|
30
|
-
|
|
31
|
-
- Load core-config.yaml and check if `workflow.trackProgress: true`
|
|
32
|
-
- If yes, check for active plan at `workflow.planFile`
|
|
33
|
-
- If plan exists:
|
|
34
|
-
- Verify story creation aligns with current plan step
|
|
35
|
-
- If out of sequence, warn user (enforce based on config)
|
|
36
|
-
- Note which step this story creation corresponds to
|
|
37
|
-
|
|
38
|
-
#### 0.2 Determine Documentation Context
|
|
39
|
-
|
|
40
|
-
Check for available documentation in this order:
|
|
41
|
-
|
|
42
|
-
1. **Sharded PRD/Architecture** (docs/prd/, docs/architecture/)
|
|
43
|
-
- If found, recommend using create-next-story task instead
|
|
44
|
-
|
|
45
|
-
2. **Brownfield Architecture Document** (docs/brownfield-architecture.md or similar)
|
|
46
|
-
- Created by document-project task
|
|
47
|
-
- Contains actual system state, technical debt, workarounds
|
|
48
|
-
|
|
49
|
-
3. **Brownfield PRD** (docs/prd.md)
|
|
50
|
-
- May contain embedded technical details
|
|
51
|
-
|
|
52
|
-
4. **Epic Files** (docs/epics/ or similar)
|
|
53
|
-
- Created by brownfield-create-epic task
|
|
54
|
-
|
|
55
|
-
5. **User-Provided Documentation**
|
|
56
|
-
- Ask user to specify location and format
|
|
57
|
-
|
|
58
|
-
### 1. Story Identification and Context Gathering
|
|
59
|
-
|
|
60
|
-
#### 1.1 Identify Story Source
|
|
61
|
-
|
|
62
|
-
Based on available documentation:
|
|
63
|
-
|
|
64
|
-
- **From Brownfield PRD**: Extract stories from epic sections
|
|
65
|
-
- **From Epic Files**: Read epic definition and story list
|
|
66
|
-
- **From User Direction**: Ask user which specific enhancement to implement
|
|
67
|
-
- **No Clear Source**: Work with user to define the story scope
|
|
68
|
-
|
|
69
|
-
#### 1.2 Gather Essential Context
|
|
70
|
-
|
|
71
|
-
[[LLM: For brownfield stories, you MUST gather enough context for safe implementation. Be prepared to ask the user for missing information.]]
|
|
72
|
-
|
|
73
|
-
**Required Information Checklist:**
|
|
74
|
-
|
|
75
|
-
- [ ] What existing functionality might be affected?
|
|
76
|
-
- [ ] What are the integration points with current code?
|
|
77
|
-
- [ ] What patterns should be followed (with examples)?
|
|
78
|
-
- [ ] What technical constraints exist?
|
|
79
|
-
- [ ] Are there any "gotchas" or workarounds to know about?
|
|
80
|
-
|
|
81
|
-
If any required information is missing, ask the user:
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
I need additional context for this brownfield story:
|
|
85
|
-
|
|
86
|
-
Missing Information:
|
|
87
|
-
- [List specific missing items]
|
|
88
|
-
|
|
89
|
-
Please provide:
|
|
90
|
-
1. [Specific question about integration]
|
|
91
|
-
2. [Specific question about patterns]
|
|
92
|
-
3. [Specific question about constraints]
|
|
93
|
-
|
|
94
|
-
Or point me to documentation that contains this information.
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### 2. Extract Technical Context from Available Sources
|
|
98
|
-
|
|
99
|
-
#### 2.1 From Document-Project Output
|
|
100
|
-
|
|
101
|
-
If using brownfield-architecture.md from document-project:
|
|
102
|
-
|
|
103
|
-
- **Technical Debt Section**: Note any workarounds affecting this story
|
|
104
|
-
- **Key Files Section**: Identify files that will need modification
|
|
105
|
-
- **Integration Points**: Find existing integration patterns
|
|
106
|
-
- **Known Issues**: Check if story touches problematic areas
|
|
107
|
-
- **Actual Tech Stack**: Verify versions and constraints
|
|
108
|
-
|
|
109
|
-
#### 2.2 From Brownfield PRD
|
|
110
|
-
|
|
111
|
-
If using brownfield PRD:
|
|
112
|
-
|
|
113
|
-
- **Technical Constraints Section**: Extract all relevant constraints
|
|
114
|
-
- **Integration Requirements**: Note compatibility requirements
|
|
115
|
-
- **Code Organization**: Follow specified patterns
|
|
116
|
-
- **Risk Assessment**: Understand potential impacts
|
|
117
|
-
|
|
118
|
-
#### 2.3 From User Documentation
|
|
119
|
-
|
|
120
|
-
[[LLM: When working with non-BMad documentation, actively extract and organize the information into categories the Dev agent will need]]
|
|
121
|
-
|
|
122
|
-
Ask the user to help identify:
|
|
123
|
-
|
|
124
|
-
- Relevant technical specifications
|
|
125
|
-
- Existing code examples to follow
|
|
126
|
-
- Integration requirements
|
|
127
|
-
- Testing approaches used in the project
|
|
128
|
-
|
|
129
|
-
### 3. Story Creation with Progressive Detail Gathering
|
|
130
|
-
|
|
131
|
-
#### 3.1 Create Initial Story Structure
|
|
132
|
-
|
|
133
|
-
Start with the story template, filling in what's known:
|
|
134
|
-
|
|
135
|
-
```markdown
|
|
136
|
-
# Story {{Enhancement Title}}
|
|
137
|
-
|
|
138
|
-
## Status: Draft
|
|
139
|
-
|
|
140
|
-
## Story
|
|
141
|
-
As a {{user_type}},
|
|
142
|
-
I want {{enhancement_capability}},
|
|
143
|
-
so that {{value_delivered}}.
|
|
144
|
-
|
|
145
|
-
## Context Source
|
|
146
|
-
[[LLM: Document where story requirements came from]]
|
|
147
|
-
- Source Document: {{document name/type}}
|
|
148
|
-
- Enhancement Type: {{single feature/bug fix/integration/etc}}
|
|
149
|
-
- Existing System Impact: {{brief assessment}}
|
|
150
|
-
```
|
|
151
|
-
|
|
152
|
-
#### 3.2 Develop Acceptance Criteria
|
|
153
|
-
|
|
154
|
-
[[LLM: For brownfield, ALWAYS include criteria about maintaining existing functionality]]
|
|
155
|
-
|
|
156
|
-
Standard structure:
|
|
157
|
-
|
|
158
|
-
1. New functionality works as specified
|
|
159
|
-
2. Existing {{affected feature}} continues to work unchanged
|
|
160
|
-
3. Integration with {{existing system}} maintains current behavior
|
|
161
|
-
4. No regression in {{related area}}
|
|
162
|
-
5. Performance remains within acceptable bounds
|
|
163
|
-
|
|
164
|
-
#### 3.3 Gather Technical Guidance
|
|
165
|
-
|
|
166
|
-
[[LLM: This is where you'll need to be interactive with the user if information is missing]]
|
|
167
|
-
|
|
168
|
-
Create Dev Technical Guidance section with available information:
|
|
169
|
-
|
|
170
|
-
```markdown
|
|
171
|
-
## Dev Technical Guidance
|
|
172
|
-
|
|
173
|
-
### Existing System Context
|
|
174
|
-
[Extract from available documentation]
|
|
175
|
-
|
|
176
|
-
### Integration Approach
|
|
177
|
-
[Based on patterns found or ask user]
|
|
178
|
-
|
|
179
|
-
### Technical Constraints
|
|
180
|
-
[From documentation or user input]
|
|
181
|
-
|
|
182
|
-
### Missing Information
|
|
183
|
-
[[LLM: List anything you couldn't find that dev will need]]
|
|
184
|
-
- [ ] {{missing item 1}}
|
|
185
|
-
- [ ] {{missing item 2}}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
If critical information is missing, pause and ask:
|
|
189
|
-
|
|
190
|
-
```
|
|
191
|
-
To complete the technical guidance for this story, I need:
|
|
192
|
-
|
|
193
|
-
1. **{{Missing Category}}**:
|
|
194
|
-
- Specifically: {{what you need to know}}
|
|
195
|
-
- Why needed: {{how it impacts implementation}}
|
|
196
|
-
|
|
197
|
-
Can you provide this information or point me to relevant code/docs?
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
### 4. Task Generation with Safety Checks
|
|
201
|
-
|
|
202
|
-
#### 4.1 Generate Implementation Tasks
|
|
203
|
-
|
|
204
|
-
Based on gathered context, create tasks that:
|
|
205
|
-
|
|
206
|
-
- Include exploration tasks if system understanding is incomplete
|
|
207
|
-
- Add verification tasks for existing functionality
|
|
208
|
-
- Include rollback considerations
|
|
209
|
-
- Reference specific files/patterns when known
|
|
210
|
-
|
|
211
|
-
Example task structure for brownfield:
|
|
212
|
-
|
|
213
|
-
```markdown
|
|
214
|
-
## Tasks / Subtasks
|
|
215
|
-
|
|
216
|
-
- [ ] Task 1: Analyze existing {{component/feature}} implementation
|
|
217
|
-
- [ ] Review {{specific files}} for current patterns
|
|
218
|
-
- [ ] Document integration points
|
|
219
|
-
- [ ] Identify potential impacts
|
|
220
|
-
|
|
221
|
-
- [ ] Task 2: Implement {{new functionality}}
|
|
222
|
-
- [ ] Follow pattern from {{example file}}
|
|
223
|
-
- [ ] Integrate with {{existing component}}
|
|
224
|
-
- [ ] Maintain compatibility with {{constraint}}
|
|
225
|
-
|
|
226
|
-
- [ ] Task 3: Verify existing functionality
|
|
227
|
-
- [ ] Test {{existing feature 1}} still works
|
|
228
|
-
- [ ] Verify {{integration point}} behavior unchanged
|
|
229
|
-
- [ ] Check performance impact
|
|
230
|
-
|
|
231
|
-
- [ ] Task 4: Add tests
|
|
232
|
-
- [ ] Unit tests following {{project test pattern}}
|
|
233
|
-
- [ ] Integration test for {{integration point}}
|
|
234
|
-
- [ ] Update existing tests if needed
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
### 5. Risk Assessment and Mitigation
|
|
238
|
-
|
|
239
|
-
[[LLM: CRITICAL for brownfield - always include risk assessment]]
|
|
240
|
-
|
|
241
|
-
Add section for brownfield-specific risks:
|
|
242
|
-
|
|
243
|
-
```markdown
|
|
244
|
-
## Risk Assessment
|
|
245
|
-
|
|
246
|
-
### Implementation Risks
|
|
247
|
-
- **Primary Risk**: {{main risk to existing system}}
|
|
248
|
-
- **Mitigation**: {{how to address}}
|
|
249
|
-
- **Verification**: {{how to confirm safety}}
|
|
250
|
-
|
|
251
|
-
### Rollback Plan
|
|
252
|
-
- {{Simple steps to undo changes if needed}}
|
|
253
|
-
|
|
254
|
-
### Safety Checks
|
|
255
|
-
- [ ] Existing {{feature}} tested before changes
|
|
256
|
-
- [ ] Changes can be feature-flagged or isolated
|
|
257
|
-
- [ ] Rollback procedure documented
|
|
258
|
-
```
|
|
259
|
-
|
|
260
|
-
### 6. Final Story Validation
|
|
261
|
-
|
|
262
|
-
Before finalizing:
|
|
263
|
-
|
|
264
|
-
1. **Completeness Check**:
|
|
265
|
-
- [ ] Story has clear scope and acceptance criteria
|
|
266
|
-
- [ ] Technical context is sufficient for implementation
|
|
267
|
-
- [ ] Integration approach is defined
|
|
268
|
-
- [ ] Risks are identified with mitigation
|
|
269
|
-
|
|
270
|
-
2. **Safety Check**:
|
|
271
|
-
- [ ] Existing functionality protection included
|
|
272
|
-
- [ ] Rollback plan is feasible
|
|
273
|
-
- [ ] Testing covers both new and existing features
|
|
274
|
-
|
|
275
|
-
3. **Information Gaps**:
|
|
276
|
-
- [ ] All critical missing information gathered from user
|
|
277
|
-
- [ ] Remaining unknowns documented for dev agent
|
|
278
|
-
- [ ] Exploration tasks added where needed
|
|
279
|
-
|
|
280
|
-
### 7. Story Output Format
|
|
281
|
-
|
|
282
|
-
Save the story with appropriate naming:
|
|
283
|
-
|
|
284
|
-
- If from epic: `docs/stories/epic-{n}-story-{m}.md`
|
|
285
|
-
- If standalone: `docs/stories/brownfield-{feature-name}.md`
|
|
286
|
-
- If sequential: Follow existing story numbering
|
|
287
|
-
|
|
288
|
-
Include header noting documentation context:
|
|
289
|
-
|
|
290
|
-
```markdown
|
|
291
|
-
# Story: {{Title}}
|
|
292
|
-
|
|
293
|
-
<!-- Source: {{documentation type used}} -->
|
|
294
|
-
<!-- Context: Brownfield enhancement to {{existing system}} -->
|
|
295
|
-
|
|
296
|
-
## Status: Draft
|
|
297
|
-
[Rest of story content...]
|
|
298
|
-
```
|
|
299
|
-
|
|
300
|
-
### 8. Handoff Communication
|
|
301
|
-
|
|
302
|
-
Provide clear handoff to the user:
|
|
303
|
-
|
|
304
|
-
```text
|
|
305
|
-
Brownfield story created: {{story title}}
|
|
306
|
-
|
|
307
|
-
Source Documentation: {{what was used}}
|
|
308
|
-
Story Location: {{file path}}
|
|
309
|
-
|
|
310
|
-
Key Integration Points Identified:
|
|
311
|
-
- {{integration point 1}}
|
|
312
|
-
- {{integration point 2}}
|
|
313
|
-
|
|
314
|
-
Risks Noted:
|
|
315
|
-
- {{primary risk}}
|
|
316
|
-
|
|
317
|
-
{{If missing info}}:
|
|
318
|
-
Note: Some technical details were unclear. The story includes exploration tasks to gather needed information during implementation.
|
|
319
|
-
|
|
320
|
-
Next Steps:
|
|
321
|
-
1. Review story for accuracy
|
|
322
|
-
2. Verify integration approach aligns with your system
|
|
323
|
-
3. Approve story or request adjustments
|
|
324
|
-
4. Dev agent can then implement with safety checks
|
|
325
|
-
```
|
|
326
|
-
|
|
327
|
-
### 9. Update Workflow Plan (if applicable)
|
|
328
|
-
|
|
329
|
-
[[LLM: After successful story creation]]
|
|
330
|
-
|
|
331
|
-
- If workflow plan tracking is enabled and story was created successfully:
|
|
332
|
-
- Call update-workflow-plan task to mark step complete
|
|
333
|
-
- Parameters: task: create-brownfield-story, step_id: {from plan check}, status: complete
|
|
334
|
-
- If plan shows next recommended step, include it in handoff message
|
|
335
|
-
|
|
336
|
-
## Success Criteria
|
|
337
|
-
|
|
338
|
-
The brownfield story creation is successful when:
|
|
339
|
-
|
|
340
|
-
1. Story can be implemented without requiring dev to search multiple documents
|
|
341
|
-
2. Integration approach is clear and safe for existing system
|
|
342
|
-
3. All available technical context has been extracted and organized
|
|
343
|
-
4. Missing information has been identified and addressed
|
|
344
|
-
5. Risks are documented with mitigation strategies
|
|
345
|
-
6. Story includes verification of existing functionality
|
|
346
|
-
7. Rollback approach is defined
|
|
347
|
-
|
|
348
|
-
## Important Notes
|
|
349
|
-
|
|
350
|
-
- This task is specifically for brownfield projects with non-standard documentation
|
|
351
|
-
- Always prioritize existing system safety over new features
|
|
352
|
-
- When in doubt, add exploration and verification tasks
|
|
353
|
-
- It's better to ask the user for clarification than make assumptions
|
|
354
|
-
- Each story should be self-contained for the dev agent
|
|
355
|
-
- Include references to existing code patterns when available
|