bmad-method 4.26.0 → 4.27.1

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.
Files changed (109) hide show
  1. package/.vscode/settings.json +2 -0
  2. package/CHANGELOG.md +22 -0
  3. package/README.md +29 -282
  4. package/bmad-core/agent-teams/team-all.yaml +6 -6
  5. package/bmad-core/agent-teams/team-fullstack.yaml +6 -6
  6. package/bmad-core/agent-teams/team-no-ui.yaml +2 -2
  7. package/bmad-core/agents/analyst.md +17 -18
  8. package/bmad-core/agents/architect.md +15 -18
  9. package/bmad-core/agents/bmad-master.md +56 -53
  10. package/bmad-core/agents/bmad-orchestrator.md +24 -23
  11. package/bmad-core/agents/dev.md +10 -10
  12. package/bmad-core/agents/pm.md +17 -20
  13. package/bmad-core/agents/po.md +12 -15
  14. package/bmad-core/agents/qa.md +7 -8
  15. package/bmad-core/agents/sm.md +8 -13
  16. package/bmad-core/agents/ux-expert.md +7 -11
  17. package/bmad-core/core-config.yaml +1 -1
  18. package/bmad-core/data/bmad-kb.md +74 -15
  19. package/bmad-core/data/brainstorming-techniques.md +36 -0
  20. package/bmad-core/data/elicitation-methods.md +134 -0
  21. package/bmad-core/tasks/advanced-elicitation.md +82 -57
  22. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  23. package/bmad-core/templates/architecture-tmpl.yaml +658 -0
  24. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  25. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  26. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  27. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  28. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  29. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  30. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +805 -0
  31. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  32. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  33. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  34. package/bmad-core/templates/story-tmpl.yaml +137 -0
  35. package/bmad-core/utils/plan-management.md +9 -13
  36. package/bmad-core/workflows/greenfield-service.yaml +1 -1
  37. package/common/tasks/create-doc.md +55 -67
  38. package/common/utils/bmad-doc-template.md +325 -0
  39. package/dist/agents/analyst.txt +1312 -1193
  40. package/dist/agents/architect.txt +2484 -2895
  41. package/dist/agents/bmad-master.txt +4680 -4897
  42. package/dist/agents/bmad-orchestrator.txt +400 -195
  43. package/dist/agents/dev.txt +21 -24
  44. package/dist/agents/pm.txt +590 -619
  45. package/dist/agents/po.txt +178 -130
  46. package/dist/agents/qa.txt +159 -48
  47. package/dist/agents/sm.txt +166 -120
  48. package/dist/agents/ux-expert.txt +436 -544
  49. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +1283 -1260
  50. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +642 -591
  51. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +284 -268
  52. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +9258 -4977
  53. package/dist/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.txt +388 -325
  54. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +1144 -1165
  55. package/dist/teams/team-all.txt +4885 -4967
  56. package/dist/teams/team-fullstack.txt +5621 -5693
  57. package/dist/teams/team-ide-minimal.txt +604 -333
  58. package/dist/teams/team-no-ui.txt +5209 -5213
  59. package/docs/agentic-tools/github-copilot-guide.md +29 -9
  60. package/docs/bmad-workflow-guide.md +2 -2
  61. package/expansion-packs/bmad-2d-phaser-game-dev/agent-teams/phaser-2d-nodejs-game-team.yaml +2 -2
  62. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.md +17 -15
  63. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.md +13 -11
  64. package/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.md +13 -11
  65. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  66. package/expansion-packs/bmad-2d-phaser-game-dev/tasks/create-game-story.md +2 -2
  67. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.yaml +613 -0
  68. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.yaml +356 -0
  69. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.yaml +343 -0
  70. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.yaml +253 -0
  71. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.yaml +484 -0
  72. package/expansion-packs/bmad-creator-tools/agents/bmad-the-creator.md +14 -12
  73. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  74. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.yaml +178 -0
  75. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.yaml +154 -0
  76. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.yaml +120 -0
  77. package/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.md +14 -14
  78. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  79. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.yaml +424 -0
  80. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.yaml +629 -0
  81. package/package.json +1 -1
  82. package/tools/builders/web-builder.js +170 -95
  83. package/tools/installer/config/install.config.yaml +2 -2
  84. package/tools/installer/lib/ide-setup.js +2 -2
  85. package/tools/installer/package.json +1 -1
  86. package/tools/lib/dependency-resolver.js +11 -22
  87. package/tools/md-assets/web-agent-startup-instructions.md +10 -10
  88. package/bmad-core/tasks/brainstorming-techniques.md +0 -238
  89. package/bmad-core/templates/architecture-tmpl.md +0 -776
  90. package/bmad-core/templates/brownfield-architecture-tmpl.md +0 -544
  91. package/bmad-core/templates/brownfield-prd-tmpl.md +0 -266
  92. package/bmad-core/templates/competitor-analysis-tmpl.md +0 -291
  93. package/bmad-core/templates/front-end-architecture-tmpl.md +0 -175
  94. package/bmad-core/templates/front-end-spec-tmpl.md +0 -413
  95. package/bmad-core/templates/fullstack-architecture-tmpl.md +0 -1018
  96. package/bmad-core/templates/market-research-tmpl.md +0 -263
  97. package/bmad-core/templates/prd-tmpl.md +0 -202
  98. package/bmad-core/templates/project-brief-tmpl.md +0 -232
  99. package/bmad-core/templates/story-tmpl.md +0 -58
  100. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-architecture-tmpl.md +0 -560
  101. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-brief-tmpl.md +0 -345
  102. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-design-doc-tmpl.md +0 -331
  103. package/expansion-packs/bmad-2d-phaser-game-dev/templates/game-story-tmpl.md +0 -235
  104. package/expansion-packs/bmad-2d-phaser-game-dev/templates/level-design-doc-tmpl.md +0 -470
  105. package/expansion-packs/bmad-creator-tools/templates/agent-teams-tmpl.md +0 -154
  106. package/expansion-packs/bmad-creator-tools/templates/agent-tmpl.md +0 -143
  107. package/expansion-packs/bmad-creator-tools/templates/expansion-pack-plan-tmpl.md +0 -91
  108. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-architecture-tmpl.md +0 -415
  109. package/expansion-packs/bmad-infrastructure-devops/templates/infrastructure-platform-from-arch-tmpl.md +0 -0
@@ -1,263 +0,0 @@
1
- # Market Research Report: {{Project/Product Name}}
2
-
3
- [[LLM: The default path and filename unless specified is docs/market-research.md]]
4
-
5
- [[LLM: This template guides the creation of a comprehensive market research report. Begin by understanding what market insights the user needs and why. Work through each section systematically, using the appropriate analytical frameworks based on the research objectives.]]
6
-
7
- ## Executive Summary
8
-
9
- {{Provide a high-level overview of key findings, market opportunity assessment, and strategic recommendations. Write this section LAST after completing all other sections.}}
10
-
11
- ## Research Objectives & Methodology
12
-
13
- ### Research Objectives
14
-
15
- {{List the primary objectives of this market research:
16
-
17
- - What decisions will this research inform?
18
- - What specific questions need to be answered?
19
- - What are the success criteria for this research?}}
20
-
21
- ### Research Methodology
22
-
23
- {{Describe the research approach:
24
-
25
- - Data sources used (primary/secondary)
26
- - Analysis frameworks applied
27
- - Data collection timeframe
28
- - Limitations and assumptions}}
29
-
30
- ## Market Overview
31
-
32
- ### Market Definition
33
-
34
- {{Define the market being analyzed:
35
-
36
- - Product/service category
37
- - Geographic scope
38
- - Customer segments included
39
- - Value chain position}}
40
-
41
- ### Market Size & Growth
42
-
43
- [[LLM: Guide through TAM, SAM, SOM calculations with clear assumptions. Use one or more approaches:
44
-
45
- - Top-down: Start with industry data, narrow down
46
- - Bottom-up: Build from customer/unit economics
47
- - Value theory: Based on value provided vs. alternatives]]
48
-
49
- #### Total Addressable Market (TAM)
50
-
51
- {{Calculate and explain the total market opportunity}}
52
-
53
- #### Serviceable Addressable Market (SAM)
54
-
55
- {{Define the portion of TAM you can realistically reach}}
56
-
57
- #### Serviceable Obtainable Market (SOM)
58
-
59
- {{Estimate the portion you can realistically capture}}
60
-
61
- ### Market Trends & Drivers
62
-
63
- [[LLM: Analyze key trends shaping the market using appropriate frameworks like PESTEL]]
64
-
65
- #### Key Market Trends
66
-
67
- {{List and explain 3-5 major trends:
68
-
69
- - Trend 1: Description and impact
70
- - Trend 2: Description and impact
71
- - etc.}}
72
-
73
- #### Growth Drivers
74
-
75
- {{Identify primary factors driving market growth}}
76
-
77
- #### Market Inhibitors
78
-
79
- {{Identify factors constraining market growth}}
80
-
81
- ## Customer Analysis
82
-
83
- ### Target Segment Profiles
84
-
85
- [[LLM: For each segment, create detailed profiles including demographics/firmographics, psychographics, behaviors, needs, and willingness to pay]]
86
-
87
- #### Segment 1: {{Segment Name}}
88
-
89
- - **Description:** {{Brief overview}}
90
- - **Size:** {{Number of customers/market value}}
91
- - **Characteristics:** {{Key demographics/firmographics}}
92
- - **Needs & Pain Points:** {{Primary problems they face}}
93
- - **Buying Process:** {{How they make purchasing decisions}}
94
- - **Willingness to Pay:** {{Price sensitivity and value perception}}
95
-
96
- <<REPEAT for each additional segment>>
97
-
98
- ### Jobs-to-be-Done Analysis
99
-
100
- [[LLM: Uncover what customers are really trying to accomplish]]
101
-
102
- #### Functional Jobs
103
-
104
- {{List practical tasks and objectives customers need to complete}}
105
-
106
- #### Emotional Jobs
107
-
108
- {{Describe feelings and perceptions customers seek}}
109
-
110
- #### Social Jobs
111
-
112
- {{Explain how customers want to be perceived by others}}
113
-
114
- ### Customer Journey Mapping
115
-
116
- [[LLM: Map the end-to-end customer experience for primary segments]]
117
-
118
- {{For primary customer segment:
119
-
120
- 1. **Awareness:** How they discover solutions
121
- 2. **Consideration:** Evaluation criteria and process
122
- 3. **Purchase:** Decision triggers and barriers
123
- 4. **Onboarding:** Initial experience expectations
124
- 5. **Usage:** Ongoing interaction patterns
125
- 6. **Advocacy:** Referral and expansion behaviors}}
126
-
127
- ## Competitive Landscape
128
-
129
- ### Market Structure
130
-
131
- {{Describe the overall competitive environment:
132
-
133
- - Number of competitors
134
- - Market concentration
135
- - Competitive intensity}}
136
-
137
- ### Major Players Analysis
138
-
139
- {{For top 3-5 competitors:
140
-
141
- - Company name and brief description
142
- - Market share estimate
143
- - Key strengths and weaknesses
144
- - Target customer focus
145
- - Pricing strategy}}
146
-
147
- ### Competitive Positioning
148
-
149
- {{Analyze how competitors are positioned:
150
-
151
- - Value propositions
152
- - Differentiation strategies
153
- - Market gaps and opportunities}}
154
-
155
- ## Industry Analysis
156
-
157
- ### Porter's Five Forces Assessment
158
-
159
- [[LLM: Analyze each force with specific evidence and implications]]
160
-
161
- #### Supplier Power: {{Low/Medium/High}}
162
-
163
- {{Analysis and implications}}
164
-
165
- #### Buyer Power: {{Low/Medium/High}}
166
-
167
- {{Analysis and implications}}
168
-
169
- #### Competitive Rivalry: {{Low/Medium/High}}
170
-
171
- {{Analysis and implications}}
172
-
173
- #### Threat of New Entry: {{Low/Medium/High}}
174
-
175
- {{Analysis and implications}}
176
-
177
- #### Threat of Substitutes: {{Low/Medium/High}}
178
-
179
- {{Analysis and implications}}
180
-
181
- ### Technology Adoption Lifecycle Stage
182
-
183
- {{Identify where the market is in the adoption curve:
184
-
185
- - Current stage and evidence
186
- - Implications for strategy
187
- - Expected progression timeline}}
188
-
189
- ## Opportunity Assessment
190
-
191
- ### Market Opportunities
192
-
193
- [[LLM: Identify specific opportunities based on the analysis]]
194
-
195
- #### Opportunity 1: {{Name}}
196
-
197
- - **Description:** {{What is the opportunity?}}
198
- - **Size/Potential:** {{Quantify if possible}}
199
- - **Requirements:** {{What's needed to capture it?}}
200
- - **Risks:** {{Key challenges or barriers}}
201
-
202
- <<REPEAT for additional opportunities>>
203
-
204
- ### Strategic Recommendations
205
-
206
- #### Go-to-Market Strategy
207
-
208
- {{Recommend approach for market entry/expansion:
209
-
210
- - Target segment prioritization
211
- - Positioning strategy
212
- - Channel strategy
213
- - Partnership opportunities}}
214
-
215
- #### Pricing Strategy
216
-
217
- {{Based on willingness to pay analysis and competitive landscape:
218
-
219
- - Recommended pricing model
220
- - Price points/ranges
221
- - Value metric
222
- - Competitive positioning}}
223
-
224
- #### Risk Mitigation
225
-
226
- {{Key risks and mitigation strategies:
227
-
228
- - Market risks
229
- - Competitive risks
230
- - Execution risks
231
- - Regulatory/compliance risks}}
232
-
233
- ## Appendices
234
-
235
- ### A. Data Sources
236
-
237
- {{List all sources used in the research}}
238
-
239
- ### B. Detailed Calculations
240
-
241
- {{Include any complex calculations or models}}
242
-
243
- ### C. Additional Analysis
244
-
245
- {{Any supplementary analysis not included in main body}}
246
-
247
- ---
248
-
249
- [[LLM: After completing the document, offer advanced elicitation with these custom options for market research:
250
-
251
- **Market Research Elicitation Actions** 0. Expand market sizing calculations with sensitivity analysis
252
-
253
- 1. Deep dive into a specific customer segment
254
- 2. Analyze an emerging market trend in detail
255
- 3. Compare this market to an analogous market
256
- 4. Stress test market assumptions
257
- 5. Explore adjacent market opportunities
258
- 6. Challenge market definition and boundaries
259
- 7. Generate strategic scenarios (best/base/worst case)
260
- 8. If only we had considered [X market factor]...
261
- 9. Proceed to next section
262
-
263
- These replace the standard elicitation options when working on market research documents.]]
@@ -1,202 +0,0 @@
1
- # {{Project Name}} Product Requirements Document (PRD)
2
-
3
- [[LLM: The default path and filename unless specified is docs/prd.md]]
4
-
5
- [[LLM: If available, review any provided document or ask if any are optionally available: Project Brief]]
6
-
7
- ## Goals and Background Context
8
-
9
- [[LLM: Populate the 2 child sections based on what we have received from user description or the provided brief. Allow user to review the 2 sections and offer changes before proceeding]]
10
-
11
- ### Goals
12
-
13
- [[LLM: Bullet list of 1 line desired outcomes the PRD will deliver if successful - user and project desires]]
14
-
15
- ### Background Context
16
-
17
- [[LLM: 1-2 short paragraphs summarizing the background context, such as what we learned in the brief without being redundant with the goals, what and why this solves a problem, what the current landscape or need is etc...]]
18
-
19
- ### Change Log
20
-
21
- [[LLM: Track document versions and changes]]
22
-
23
- | Date | Version | Description | Author |
24
- | :--- | :------ | :---------- | :----- |
25
-
26
- ## Requirements
27
-
28
- [[LLM: Draft the list of functional and non functional requirements under the two child sections, and immediately execute tasks#advanced-elicitation display]]
29
-
30
- ### Functional
31
-
32
- [[LLM: Each Requirement will be a bullet markdown and an identifier sequence starting with FR`.]]
33
- @{example: - FR6: The Todo List uses AI to detect and warn against adding potentially duplicate todo items that are worded differently.}
34
-
35
- ### Non Functional
36
-
37
- [[LLM: Each Requirement will be a bullet markdown and an identifier sequence starting with NFR`.]]
38
- @{example: - NFR1: AWS service usage **must** aim to stay within free-tier limits where feasible.}
39
-
40
- ^^CONDITION: has_ui^^
41
-
42
- ## User Interface Design Goals
43
-
44
- [[LLM: Capture high-level UI/UX vision to guide Design Architect and to inform story creation. Steps:
45
-
46
- 1. Pre-fill all subsections with educated guesses based on project context
47
- 2. Present the complete rendered section to user
48
- 3. Clearly let the user know where assumptions were made
49
- 4. Ask targeted questions for unclear/missing elements or areas needing more specification
50
- 5. This is NOT detailed UI spec - focus on product vision and user goals
51
- 6. After section completion, immediately apply `tasks#advanced-elicitation` protocol]]
52
-
53
- ### Overall UX Vision
54
-
55
- ### Key Interaction Paradigms
56
-
57
- ### Core Screens and Views
58
-
59
- [[LLM: From a product perspective, what are the most critical screens or views necessary to deliver the the PRD values and goals? This is meant to be Conceptual High Level to Drive Rough Epic or User Stories]]
60
-
61
- @{example}
62
-
63
- - Login Screen
64
- - Main Dashboard
65
- - Item Detail Page
66
- - Settings Page
67
- @{/example}
68
-
69
- ### Accessibility: { None, WCAG, etc }
70
-
71
- ### Branding
72
-
73
- [[LLM: Any known branding elements or style guides that must be incorporated?]]
74
-
75
- @{example}
76
-
77
- - Replicate the look and feel of early 1900s black and white cinema, including animated effects replicating film damage or projector glitches during page or state transitions.
78
- - Attached is the full color pallet and tokens for our corporate branding.
79
- @{/example}
80
-
81
- ### Target Device and Platforms
82
-
83
- @{example}
84
- "Web Responsive, and all mobile platforms", "IPhone Only", "ASCII Windows Desktop"
85
- @{/example}
86
-
87
- ^^/CONDITION: has_ui^^
88
-
89
- ## Technical Assumptions
90
-
91
- [[LLM: Gather technical decisions that will guide the Architect. Steps:
92
-
93
- 1. Check if `data#technical-preferences` or an attached `technical-preferences` file exists - use it to pre-populate choices
94
- 2. Ask user about: languages, frameworks, starter templates, libraries, APIs, deployment targets
95
- 3. For unknowns, offer guidance based on project goals and MVP scope
96
- 4. Document ALL technical choices with rationale (why this choice fits the project)
97
- 5. These become constraints for the Architect - be specific and complete
98
- 6. After section completion, apply `tasks#advanced-elicitation` protocol.]]
99
-
100
- ### Repository Structure: { Monorepo, Polyrepo, etc...}
101
-
102
- ### Service Architecture
103
-
104
- [[LLM: CRITICAL DECISION - Document the high-level service architecture (e.g., Monolith, Microservices, Serverless functions within a Monorepo).]]
105
-
106
- ### Testing requirements
107
-
108
- [[LLM: CRITICAL DECISION - Document the testing requirements, unit only, integration, e2e, manual, need for manual testing convenience methods).]]
109
-
110
- ### Additional Technical Assumptions and Requests
111
-
112
- [[LLM: Throughout the entire process of drafting this document, if any other technical assumptions are raised or discovered appropriate for the architect, add them here as additional bulleted items]]
113
-
114
- ## Epics
115
-
116
- [[LLM: First, present a high-level list of all epics for user approval, the epic_list and immediately execute tasks#advanced-elicitation display. Each epic should have a title and a short (1 sentence) goal statement. This allows the user to review the overall structure before diving into details.
117
-
118
- CRITICAL: Epics MUST be logically sequential following agile best practices:
119
-
120
- - Each epic should deliver a significant, end-to-end, fully deployable increment of testable functionality
121
- - Epic 1 must establish foundational project infrastructure (app setup, Git, CI/CD, core services) unless we are adding new functionality to an existing app, while also delivering an initial piece of functionality, even as simple as a health-check route or display of a simple canary page - remember this when we produce the stories for the first epic!
122
- - Each subsequent epic builds upon previous epics' functionality delivering major blocks of functionality that provide tangible value to users or business when deployed
123
- - Not every project needs multiple epics, an epic needs to deliver value. For example, an API completed can deliver value even if a UI is not complete and planned for a separate epic.
124
- - Err on the side of less epics, but let the user know your rationale and offer options for splitting them if it seems some are too large or focused on disparate things.
125
- - Cross Cutting Concerns should flow through epics and stories and not be final stories. For example, adding a logging framework as a last story of an epic, or at the end of a project as a final epic or story would be terrible as we would not have logging from the beginning.]]
126
-
127
- <<REPEAT: epic_list>>
128
-
129
- - Epic{{epic_number}} {{epic_title}}: {{short_goal}}
130
-
131
- <</REPEAT>>
132
-
133
- @{example: epic_list}
134
-
135
- 1. Foundation & Core Infrastructure: Establish project setup, authentication, and basic user management
136
- 2. Core Business Entities: Create and manage primary domain objects with CRUD operations
137
- 3. User Workflows & Interactions: Enable key user journeys and business processes
138
- 4. Reporting & Analytics: Provide insights and data visualization for users
139
-
140
- @{/example}
141
-
142
- [[LLM: After the epic list is approved, present each `epic_details` with all its stories and acceptance criteria as a complete review unit and immediately execute tasks#advanced-elicitation display, before moving on to the next epic.]]
143
-
144
- <<REPEAT: epic_details>>
145
-
146
- ## Epic {{epic_number}} {{epic_title}}
147
-
148
- {{epic_goal}} [[LLM: Expanded goal - 2-3 sentences describing the objective and value all the stories will achieve]]
149
-
150
- [[LLM: CRITICAL STORY SEQUENCING REQUIREMENTS:
151
-
152
- - Stories within each epic MUST be logically sequential
153
- - Each story should be a "vertical slice" delivering complete functionality aside from early enabler stories for project foundation
154
- - No story should depend on work from a later story or epic
155
- - Identify and note any direct prerequisite stories
156
- - Focus on "what" and "why" not "how" (leave technical implementation to Architect) yet be precise enough to support a logical sequential order of operations from story to story.
157
- - Ensure each story delivers clear user or business value, try to avoid enablers and build them into stories that deliver value.
158
- - Size stories for AI agent execution: Each story must be completable by a single AI agent in one focused session without context overflow
159
- - Think "junior developer working for 2-4 hours" - stories must be small, focused, and self-contained
160
- - If a story seems complex, break it down further as long as it can deliver a vertical slice
161
- - Each story should result in working, testable code before the agent's context window fills]]
162
-
163
- <<REPEAT: story>>
164
-
165
- ### Story {{epic_number}}.{{story_number}} {{story_title}}
166
-
167
- As a {{user_type}},
168
- I want {{action}},
169
- so that {{benefit}}.
170
-
171
- #### Acceptance Criteria
172
-
173
- [[LLM: Define clear, comprehensive, and testable acceptance criteria that:
174
-
175
- - Precisely define what "done" means from a functional perspective
176
- - Are unambiguous and serve as basis for verification
177
- - Include any critical non-functional requirements from the PRD
178
- - Consider local testability for backend/data components
179
- - Specify UI/UX requirements and framework adherence where applicable
180
- - Avoid cross-cutting concerns that should be in other stories or PRD sections]]
181
-
182
- <<REPEAT: criteria>>
183
-
184
- - {{criterion number}}: {{criteria}}
185
-
186
- <</REPEAT>>
187
- <</REPEAT>>
188
- <</REPEAT>>
189
-
190
- ## Checklist Results Report
191
-
192
- [[LLM: Before running the checklist and drafting the prompts, offer to output the full updated PRD. If outputting it, confirm with the user that you will be proceeding to run the checklist and produce the report. Once the user confirms, execute the `pm-checklist` and populate the results in this section.]]
193
-
194
- ## Next Steps
195
-
196
- ### Design Architect Prompt
197
-
198
- [[LLM: This section will contain the prompt for the Design Architect, keep it short and to the point to initiate create architecture mode using this document as input.]]
199
-
200
- ### Architect Prompt
201
-
202
- [[LLM: This section will contain the prompt for the Architect, keep it short and to the point to initiate create architecture mode using this document as input.]]
@@ -1,232 +0,0 @@
1
- ---
2
- defaultOutput: docs/brief.md
3
- ---
4
-
5
- # Project Brief: {{Project Name}}
6
-
7
- [[LLM: This template guides creation of a comprehensive Project Brief that serves as the foundational input for product development.
8
-
9
- Start by asking the user which mode they prefer:
10
-
11
- 1. **Interactive Mode** - Work through each section collaboratively
12
- 2. **YOLO Mode** - Generate complete draft for review and refinement
13
-
14
- Before beginning, understand what inputs are available (brainstorming results, market research, competitive analysis, initial ideas) and gather project context.]]
15
-
16
- ## Executive Summary
17
-
18
- [[LLM: Create a concise overview that captures the essence of the project. Include:
19
-
20
- - Product concept in 1-2 sentences
21
- - Primary problem being solved
22
- - Target market identification
23
- - Key value proposition]]
24
-
25
- {{Write executive summary based on information gathered}}
26
-
27
- ## Problem Statement
28
-
29
- [[LLM: Articulate the problem with clarity and evidence. Address:
30
-
31
- - Current state and pain points
32
- - Impact of the problem (quantify if possible)
33
- - Why existing solutions fall short
34
- - Urgency and importance of solving this now]]
35
-
36
- {{Detailed problem description with supporting evidence}}
37
-
38
- ## Proposed Solution
39
-
40
- [[LLM: Describe the solution approach at a high level. Include:
41
-
42
- - Core concept and approach
43
- - Key differentiators from existing solutions
44
- - Why this solution will succeed where others haven't
45
- - High-level vision for the product]]
46
-
47
- {{Solution description focusing on the "what" and "why", not implementation details}}
48
-
49
- ## Target Users
50
-
51
- [[LLM: Define and characterize the intended users with specificity. For each user segment include:
52
-
53
- - Demographic/firmographic profile
54
- - Current behaviors and workflows
55
- - Specific needs and pain points
56
- - Goals they're trying to achieve]]
57
-
58
- ### Primary User Segment: {{Segment Name}}
59
-
60
- {{Detailed description of primary users}}
61
-
62
- ### Secondary User Segment: {{Segment Name}}
63
-
64
- {{Description of secondary users if applicable}}
65
-
66
- ## Goals & Success Metrics
67
-
68
- [[LLM: Establish clear objectives and how to measure success. Make goals SMART (Specific, Measurable, Achievable, Relevant, Time-bound)]]
69
-
70
- ### Business Objectives
71
-
72
- - {{Objective 1 with metric}}
73
- - {{Objective 2 with metric}}
74
- - {{Objective 3 with metric}}
75
-
76
- ### User Success Metrics
77
-
78
- - {{How users will measure value}}
79
- - {{Engagement metrics}}
80
- - {{Satisfaction indicators}}
81
-
82
- ### Key Performance Indicators (KPIs)
83
-
84
- - {{KPI 1: Definition and target}}
85
- - {{KPI 2: Definition and target}}
86
- - {{KPI 3: Definition and target}}
87
-
88
- ## MVP Scope
89
-
90
- [[LLM: Define the minimum viable product clearly. Be specific about what's in and what's out. Help user distinguish must-haves from nice-to-haves.]]
91
-
92
- ### Core Features (Must Have)
93
-
94
- - **Feature 1:** {{Brief description and why it's essential}}
95
- - **Feature 2:** {{Brief description and why it's essential}}
96
- - **Feature 3:** {{Brief description and why it's essential}}
97
-
98
- ### Out of Scope for MVP
99
-
100
- - {{Feature/capability explicitly not in MVP}}
101
- - {{Feature/capability to be considered post-MVP}}
102
-
103
- ### MVP Success Criteria
104
-
105
- {{Define what constitutes a successful MVP launch}}
106
-
107
- ## Post-MVP Vision
108
-
109
- [[LLM: Outline the longer-term product direction without overcommitting to specifics]]
110
-
111
- ### Phase 2 Features
112
-
113
- {{Next priority features after MVP success}}
114
-
115
- ### Long-term Vision
116
-
117
- {{Where this product could go in 1-2 years}}
118
-
119
- ### Expansion Opportunities
120
-
121
- {{Potential new markets, use cases, or integrations}}
122
-
123
- ## Technical Considerations
124
-
125
- [[LLM: Document known technical constraints and preferences. Note these are initial thoughts, not final decisions.]]
126
-
127
- ### Platform Requirements
128
-
129
- - **Target Platforms:** {{Web, mobile, desktop, etc.}}
130
- - **Browser/OS Support:** {{Specific requirements}}
131
- - **Performance Requirements:** {{Load times, concurrent users, etc.}}
132
-
133
- ### Technology Preferences
134
-
135
- - **Frontend:** {{If any preferences exist}}
136
- - **Backend:** {{If any preferences exist}}
137
- - **Database:** {{If any preferences exist}}
138
- - **Hosting/Infrastructure:** {{Cloud preferences, on-prem requirements}}
139
-
140
- ### Architecture Considerations
141
-
142
- - **Repository Structure:** {{Initial thoughts on monorepo vs. polyrepo}}
143
- - **Service Architecture:** {{Initial thoughts on monolith vs. microservices}}
144
- - **Integration Requirements:** {{Third-party services, APIs}}
145
- - **Security/Compliance:** {{Any specific requirements}}
146
-
147
- ## Constraints & Assumptions
148
-
149
- [[LLM: Clearly state limitations and assumptions to set realistic expectations]]
150
-
151
- ### Constraints
152
-
153
- - **Budget:** {{If known}}
154
- - **Timeline:** {{Target launch date or development timeframe}}
155
- - **Resources:** {{Team size, skill constraints}}
156
- - **Technical:** {{Legacy systems, required tech stack}}
157
-
158
- ### Key Assumptions
159
-
160
- - {{Assumption about users, market, or technology}}
161
- - {{Assumption about resources or support}}
162
- - {{Assumption about external dependencies}}
163
-
164
- ## Risks & Open Questions
165
-
166
- [[LLM: Identify unknowns and potential challenges proactively]]
167
-
168
- ### Key Risks
169
-
170
- - **Risk 1:** {{Description and potential impact}}
171
- - **Risk 2:** {{Description and potential impact}}
172
- - **Risk 3:** {{Description and potential impact}}
173
-
174
- ### Open Questions
175
-
176
- - {{Question needing research or decision}}
177
- - {{Question about technical approach}}
178
- - {{Question about market or users}}
179
-
180
- ### Areas Needing Further Research
181
-
182
- - {{Topic requiring deeper investigation}}
183
- - {{Validation needed before proceeding}}
184
-
185
- ## Appendices
186
-
187
- ### A. Research Summary
188
-
189
- {{If applicable, summarize key findings from:
190
-
191
- - Market research
192
- - Competitive analysis
193
- - User interviews
194
- - Technical feasibility studies}}
195
-
196
- ### B. Stakeholder Input
197
-
198
- {{Key feedback or requirements from stakeholders}}
199
-
200
- ### C. References
201
-
202
- {{Links to relevant documents, research, or examples}}
203
-
204
- ## Next Steps
205
-
206
- ### Immediate Actions
207
-
208
- 1. {{First concrete next step}}
209
- 2. {{Second concrete next step}}
210
- 3. {{Third concrete next step}}
211
-
212
- ### PM Handoff
213
-
214
- This Project Brief provides the full context for {{Project Name}}. Please start in 'PRD Generation Mode', review the brief thoroughly to work with the user to create the PRD section by section as the template indicates, asking for any necessary clarification or suggesting improvements.
215
-
216
- ---
217
-
218
- [[LLM: After completing each major section (not subsections), offer advanced elicitation with these custom options for project briefs:
219
-
220
- **Project Brief Elicitation Actions** 0. Expand section with more specific details
221
-
222
- 1. Validate against similar successful products
223
- 2. Stress test assumptions with edge cases
224
- 3. Explore alternative solution approaches
225
- 4. Analyze resource/constraint trade-offs
226
- 5. Generate risk mitigation strategies
227
- 6. Challenge scope from MVP minimalist view
228
- 7. Brainstorm creative feature possibilities
229
- 8. If only we had [resource/capability/time]...
230
- 9. Proceed to next section
231
-
232
- These replace the standard elicitation options when working on project brief documents.]]