bmad-method 4.24.6 → 4.25.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/bmad-core/agents/analyst.md +8 -5
  3. package/bmad-core/agents/architect.md +7 -5
  4. package/bmad-core/agents/bmad-master.md +19 -22
  5. package/bmad-core/agents/dev.md +20 -28
  6. package/bmad-core/agents/pm.md +6 -4
  7. package/bmad-core/agents/po.md +11 -7
  8. package/bmad-core/agents/qa.md +9 -3
  9. package/bmad-core/agents/sm.md +5 -5
  10. package/bmad-core/agents/ux-expert.md +6 -11
  11. package/bmad-core/checklists/story-draft-checklist.md +1 -1
  12. package/bmad-core/core-config.yaml +1 -1
  13. package/bmad-core/tasks/create-next-story.md +61 -224
  14. package/bmad-core/tasks/review-story.md +18 -8
  15. package/bmad-core/tasks/validate-next-story.md +134 -0
  16. package/bmad-core/templates/project-brief-tmpl.md +4 -2
  17. package/bmad-core/templates/story-tmpl.md +22 -33
  18. package/dist/agents/analyst.txt +10 -6
  19. package/dist/agents/architect.txt +5 -4
  20. package/dist/agents/bmad-master.txt +105 -281
  21. package/dist/agents/dev.txt +155 -26
  22. package/dist/agents/pm.txt +4 -3
  23. package/dist/agents/po.txt +168 -39
  24. package/dist/agents/qa.txt +25 -10
  25. package/dist/agents/sm.txt +87 -262
  26. package/dist/agents/ux-expert.txt +4 -10
  27. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +10 -6
  28. package/dist/teams/team-all.txt +299 -327
  29. package/dist/teams/team-fullstack.txt +191 -62
  30. package/dist/teams/team-ide-minimal.txt +276 -304
  31. package/dist/teams/team-no-ui.txt +187 -52
  32. package/expansion-packs/bmad-2d-phaser-game-dev/config.yaml +1 -1
  33. package/expansion-packs/bmad-creator-tools/config.yaml +1 -1
  34. package/expansion-packs/bmad-infrastructure-devops/config.yaml +1 -1
  35. package/package.json +1 -1
  36. package/tools/installer/package.json +1 -1
@@ -70,10 +70,9 @@ startup:
70
70
  - Only execute tasks when user explicitly requests them
71
71
  commands:
72
72
  - help: Show numbered list of the following commands to allow selection
73
- - chat-mode: Conversational mode with advanced-elicitation for advice
74
- - create|draft: Execute create-next-story
75
- - pivot: Execute `correct-course` task
76
- - checklist {checklist}: Show numbered list of checklists, execute selection
73
+ - draft: Execute task create-next-story
74
+ - correct-course: Execute task correct-course
75
+ - checklist {checklist}: Show numbered list of checklists if not provided, execute task execute-checklist
77
76
  - exit: Say goodbye as the Scrum Master, and then abandon inhabiting this persona
78
77
  dependencies:
79
78
  tasks:
@@ -94,187 +93,62 @@ dependencies:
94
93
 
95
94
  ## Purpose
96
95
 
97
- To identify the next logical story based on project progress and epic definitions, and then to prepare a comprehensive, self-contained, and actionable story file using the `Story Template`. This task ensures the story is enriched with all necessary technical context, requirements, and acceptance criteria, making it ready for efficient implementation by a Developer Agent with minimal need for additional research.
96
+ To identify the next logical story based on project progress and epic definitions, and then to prepare a comprehensive, self-contained, and actionable story file using the `Story Template`. This task ensures the story is enriched with all necessary technical context, requirements, and acceptance criteria, making it ready for efficient implementation by a Developer Agent with minimal need for additional research or finding its own context.
98
97
 
99
- ## Task Execution Instructions
98
+ ## SEQUENTIAL Task Execution (Do not proceed until current Task is complete)
100
99
 
101
- ### 0. Load Core Configuration
102
-
103
- [[LLM: CRITICAL - This MUST be your first step]]
100
+ ### 0. Load Core Configuration and Check Workflow
104
101
 
105
102
  - Load `.bmad-core/core-config.yaml` from the project root
106
- - If the file does not exist:
107
- - HALT and inform the user: "core-config.yaml not found. This file is required for story creation. You can:
108
- 1. Copy it from GITHUB BMad-Method/bmad-core/core-config.yaml and configure it for your project
109
- 2. Run the BMad installer against your project to upgrade and add the file automatically
110
- Please add and configure core-config.yaml before proceeding."
111
- - Extract the following key configurations:
112
- - `devStoryLocation`: Where to save story files
113
- - `prd.prdSharded`: Whether PRD is sharded or monolithic
114
- - `prd.prdFile`: Location of monolithic PRD (if not sharded)
115
- - `prd.prdShardedLocation`: Location of sharded epic files
116
- - `prd.epicFilePattern`: Pattern for epic files (e.g., `epic-{n}*.md`)
117
- - `architecture.architectureVersion`: Architecture document version
118
- - `architecture.architectureSharded`: Whether architecture is sharded
119
- - `architecture.architectureFile`: Location of monolithic architecture
120
- - `architecture.architectureShardedLocation`: Location of sharded architecture files
121
- - `workflow.trackProgress`: Whether workflow plan tracking is enabled
122
- - `workflow.planFile`: Location of workflow plan (if tracking enabled)
123
-
124
- ### 0.5 Check Workflow Plan (if configured)
125
-
126
- [[LLM: Check if workflow plan tracking is enabled]]
127
-
128
- - If `workflow.trackProgress: true`, check for active plan at `workflow.planFile`
129
- - If plan exists:
130
- - Parse plan to check if story creation is the expected next step
131
- - If out of sequence and `workflow.enforceSequence: true`:
132
- - Show warning: "The workflow plan indicates you should complete {expected_step} before creating stories."
133
- - Block execution unless user explicitly overrides
134
- - If out of sequence and `workflow.enforceSequence: false`:
135
- - Show warning but allow continuation with confirmation
136
- - Continue with story identification after plan check
103
+ - If the file does not exist, HALT and inform the user: "core-config.yaml not found. This file is required for story creation. You can either: 1) Copy it from GITHUB bmad-core/core-config.yaml and configure it for your project OR 2) Run the BMad installer against your project to upgrade and add the file automatically. Please add and configure core-config.yaml before proceeding."
104
+ - Extract key configurations: `devStoryLocation`, `prd.*`, `architecture.*`, `workflow.*`
105
+ - If `workflow.trackProgress: true`, use `utils/plan-management.md` to check plan sequence and warn if out of order
137
106
 
138
107
  ### 1. Identify Next Story for Preparation
139
108
 
140
- #### 1.1 Locate Epic Files
141
-
142
- - Based on `prdSharded` from config:
143
- - **If `prdSharded: true`**: Look for epic files in `prdShardedLocation` using `epicFilePattern`
144
- - **If `prdSharded: false`**: Load the full PRD from `prdFile` and extract epics from section headings (## Epic N or ### Epic N)
145
-
146
- #### 1.2 Review Existing Stories
147
-
148
- - Check `devStoryLocation` from config (e.g., `docs/stories/`) for existing story files
149
- - If the directory exists and has at least 1 file, find the highest-numbered story file.
150
- - **If a highest story file exists (`{lastEpicNum}.{lastStoryNum}.story.md`):**
151
- - Verify its `Status` is 'Done' (or equivalent).
152
- - If not 'Done', present an alert to the user:
153
-
154
- ```plaintext
155
- ALERT: Found incomplete story:
156
- File: {lastEpicNum}.{lastStoryNum}.story.md
157
- Status: [current status]
158
-
159
- Would you like to:
160
- 1. View the incomplete story details (instructs user to do so, agent does not display)
161
- 2. Cancel new story creation at this time
162
- 3. Accept risk & Override to create the next story in draft
163
-
164
- Please choose an option (1/2/3):
165
- ```
166
-
167
- - Proceed only if user selects option 3 (Override) or if the last story was 'Done'.
168
- - If proceeding: Look for the Epic File for `{lastEpicNum}` (e.g., `epic-{lastEpicNum}*.md`) and parse it to find ALL stories in that epic. **ALWAYS select the next sequential story** (e.g., if last was 2.2, next MUST be 2.3).
169
- - If the next sequential story has unmet prerequisites, present this to the user:
170
-
171
- ```plaintext
172
- ALERT: Next story has unmet prerequisites:
173
- Story: {epicNum}.{storyNum} - {Story Title}
174
- Prerequisites not met: [list specific prerequisites]
175
-
176
- Would you like to:
177
- 1. Create the story anyway (mark prerequisites as pending)
178
- 2. Skip to a different story (requires your specific instruction)
179
- 3. Cancel story creation
180
-
181
- Please choose an option (1/2/3):
182
- ```
183
-
184
- - If there are no more stories in the current epic (e.g., 2.9 was done and there is no 2.10):
185
-
186
- ```plaintext
187
- Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed.
188
-
189
- Would you like to:
190
- 1. Begin Epic {epicNum + 1} with story {epicNum + 1}.1
191
- 2. Select a specific story to work on
192
- 3. Cancel story creation
193
-
194
- Please choose an option (1/2/3):
195
- ```
196
-
197
- - **CRITICAL**: NEVER automatically skip to another epic or non-sequential story. The user MUST explicitly instruct which story to create if skipping the sequential order.
198
-
199
- - **If no story files exist in `docs/stories/`:**
200
- - The next story is ALWAYS 1.1 (the first story of the first epic).
201
- - If story 1.1 has unmet prerequisites, follow the same alert process as above.
202
- - Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}".
109
+ #### 1.1 Locate Epic Files and Review Existing Stories
203
110
 
204
- ### 2. Gather Core Story Requirements (from Epic)
111
+ - Based on `prdSharded` from config, locate epic files (sharded location/pattern or monolithic PRD sections)
112
+ - If `devStoryLocation` has story files, load the highest `{epicNum}.{storyNum}.story.md` file
113
+ - **If highest story exists:**
114
+ - Verify status is 'Done'. If not, alert user: "ALERT: Found incomplete story! File: {lastEpicNum}.{lastStoryNum}.story.md Status: [current status] You should fix this story first, but would you like to accept risk & override to create the next story in draft?"
115
+ - If proceeding, select next sequential story in the current epic
116
+ - If epic is complete, prompt user: "Epic {epicNum} Complete: All stories in Epic {epicNum} have been completed. Would you like to: 1) Begin Epic {epicNum + 1} with story 1 2) Select a specific story to work on 3) Cancel story creation"
117
+ - **CRITICAL**: NEVER automatically skip to another epic. User MUST explicitly instruct which story to create.
118
+ - **If no story files exist:** The next story is ALWAYS 1.1 (first story of first epic)
119
+ - Announce the identified story to the user: "Identified next story for preparation: {epicNum}.{storyNum} - {Story Title}"
205
120
 
206
- - For the identified story, review its parent Epic (e.g., `epic-{epicNum}*.md` from the location identified in step 1.1).
207
- - Extract: Exact Title, full Goal/User Story statement, initial list of Requirements, all Acceptance Criteria (ACs), and any predefined high-level Tasks.
208
- - Keep a record of this original epic-defined scope for later deviation analysis.
121
+ ### 2. Gather Story Requirements and Previous Story Context
209
122
 
210
- ### 3. Review Previous Story and Extract Dev Notes
123
+ - Extract story requirements from the identified epic file
124
+ - If previous story exists, review Dev Agent Record sections for:
125
+ - Completion Notes and Debug Log References
126
+ - Implementation deviations and technical decisions
127
+ - Challenges encountered and lessons learned
128
+ - Extract relevant insights that inform the current story's preparation
211
129
 
212
- [[LLM: This step is CRITICAL for continuity and learning from implementation experience]]
130
+ ### 3. Gather Architecture Context
213
131
 
214
- - If this is not the first story (i.e., previous story exists):
215
- - Read the previous sequential story from `docs/stories`
216
- - Pay special attention to:
217
- - Dev Agent Record sections (especially Completion Notes and Debug Log References)
218
- - Any deviations from planned implementation
219
- - Technical decisions made during implementation
220
- - Challenges encountered and solutions applied
221
- - Any "lessons learned" or notes for future stories
222
- - Extract relevant insights that might inform the current story's preparation
132
+ #### 3.1 Determine Architecture Reading Strategy
223
133
 
224
- ### 4. Gather & Synthesize Architecture Context
134
+ - **If `architectureVersion: >= v4` and `architectureSharded: true`**: Read `{architectureShardedLocation}/index.md` then follow structured reading order below
135
+ - **Else**: Use monolithic `architectureFile` for similar sections
225
136
 
226
- [[LLM: CRITICAL - You MUST gather technical details from the architecture documents. NEVER make up technical details not found in these documents.]]
137
+ #### 3.2 Read Architecture Documents Based on Story Type
227
138
 
228
- #### 4.1 Determine Architecture Document Strategy
139
+ **For ALL Stories:** tech-stack.md, unified-project-structure.md, coding-standards.md, testing-strategy.md
229
140
 
230
- Based on configuration loaded in Step 0:
141
+ **For Backend/API Stories, additionally:** data-models.md, database-schema.md, backend-architecture.md, rest-api-spec.md, external-apis.md
231
142
 
232
- - **If `architectureVersion: v4` and `architectureSharded: true`**:
233
- - Read `{architectureShardedLocation}/index.md` to understand available documentation
234
- - Follow the structured reading order in section 4.2 below
235
-
236
- - **If `architectureVersion: v4` and `architectureSharded: false`**:
237
- - Load the monolithic architecture from `architectureFile`
238
- - Extract relevant sections based on v4 structure (tech stack, project structure, etc.)
239
-
240
- - **If `architectureVersion` is NOT v4**:
241
- - Inform user: "Architecture document is not v4 format. Will use best judgment to find relevant information."
242
- - If `architectureSharded: true`: Search sharded files by filename relevance
243
- - If `architectureSharded: false`: Search within monolithic `architectureFile` for relevant sections
143
+ **For Frontend/UI Stories, additionally:** frontend-architecture.md, components.md, core-workflows.md, data-models.md
244
144
 
245
- #### 4.2 Recommended Reading Order Based on Story Type (v4 Sharded Only)
246
-
247
- [[LLM: Use this structured approach ONLY for v4 sharded architecture. For other versions, use best judgment based on file names and content.]]
248
-
249
- **For ALL Stories:**
250
-
251
- 1. `docs/architecture/tech-stack.md` - Understand technology constraints and versions
252
- 2. `docs/architecture/unified-project-structure.md` - Know where code should be placed
253
- 3. `docs/architecture/coding-standards.md` - Ensure dev follows project conventions
254
- 4. `docs/architecture/testing-strategy.md` - Include testing requirements in tasks
255
-
256
- **For Backend/API Stories, additionally read:**
257
- 5. `docs/architecture/data-models.md` - Data structures and validation rules
258
- 6. `docs/architecture/database-schema.md` - Database design and relationships
259
- 7. `docs/architecture/backend-architecture.md` - Service patterns and structure
260
- 8. `docs/architecture/rest-api-spec.md` - API endpoint specifications
261
- 9. `docs/architecture/external-apis.md` - Third-party integrations (if relevant)
145
+ **For Full-Stack Stories:** Read both Backend and Frontend sections above
262
146
 
263
- **For Frontend/UI Stories, additionally read:**
264
- 5. `docs/architecture/frontend-architecture.md` - Component structure and patterns
265
- 6. `docs/architecture/components.md` - Specific component designs
266
- 7. `docs/architecture/core-workflows.md` - User interaction flows
267
- 8. `docs/architecture/data-models.md` - Frontend data handling
147
+ #### 3.3 Extract Story-Specific Technical Details
268
148
 
269
- **For Full-Stack Stories:**
149
+ Extract ONLY information directly relevant to implementing the current story. Do NOT invent new libraries, patterns, or standards not in the source documents.
270
150
 
271
- - Read both Backend and Frontend sections above
272
-
273
- #### 4.3 Extract Story-Specific Technical Details
274
-
275
- [[LLM: As you read each document, extract ONLY the information directly relevant to implementing the current story. Do NOT include general information unless it directly impacts the story implementation.]]
276
-
277
- For each relevant document, extract:
151
+ Extract:
278
152
 
279
153
  - Specific data models, schemas, or structures the story will use
280
154
  - API endpoints the story must implement or consume
@@ -283,33 +157,22 @@ For each relevant document, extract:
283
157
  - Testing requirements specific to the story's features
284
158
  - Security or performance considerations affecting the story
285
159
 
286
- #### 4.4 Document Source References
287
-
288
- [[LLM: ALWAYS cite the source document and section for each technical detail you include. This helps the dev agent verify information if needed.]]
289
-
290
- Format references as: `[Source: architecture/{filename}.md#{section}]`
160
+ ALWAYS cite source documents: `[Source: architecture/{filename}.md#{section}]`
291
161
 
292
- ### 5. Verify Project Structure Alignment
162
+ ### 4. Verify Project Structure Alignment
293
163
 
294
- - Cross-reference the story's requirements and anticipated file manipulations with the Project Structure Guide from `docs/architecture/unified-project-structure.md`.
295
- - Ensure any file paths, component locations, or module names implied by the story align with defined structures.
296
- - Document any structural conflicts, necessary clarifications, or undefined components/paths in a "Project Structure Notes" section within the story draft.
164
+ - Cross-reference story requirements with Project Structure Guide from `docs/architecture/unified-project-structure.md`
165
+ - Ensure file paths, component locations, or module names align with defined structures
166
+ - Document any structural conflicts in "Project Structure Notes" section within the story draft
297
167
 
298
- ### 6. Populate Story Template with Full Context
168
+ ### 5. Populate Story Template with Full Context
299
169
 
300
- - Create a new story file: `{devStoryLocation}/{epicNum}.{storyNum}.story.md` (using location from config).
301
- - Use the Story Template to structure the file.
302
- - Fill in:
303
- - Story `{EpicNum}.{StoryNum}: {Short Title Copied from Epic File}`
304
- - `Status: Draft`
305
- - `Story` (User Story statement from Epic)
306
- - `Acceptance Criteria (ACs)` (from Epic, to be refined if needed based on context)
307
- - **`Dev Technical Guidance` section (CRITICAL):**
308
-
309
- [[LLM: This section MUST contain ONLY information extracted from the architecture shards. NEVER invent or assume technical details.]]
310
-
311
- - Include ALL relevant technical details gathered from Steps 3 and 4, organized by category:
312
- - **Previous Story Insights**: Key learnings or considerations from the previous story
170
+ - Create new story file: `{devStoryLocation}/{epicNum}.{storyNum}.story.md` using Story Template
171
+ - Fill in basic story information: Title, Status (Draft), Story statement, Acceptance Criteria from Epic
172
+ - **`Dev Notes` section (CRITICAL):**
173
+ - CRITICAL: This section MUST contain ONLY information extracted from architecture documents. NEVER invent or assume technical details.
174
+ - Include ALL relevant technical details from Steps 2-3, organized by category:
175
+ - **Previous Story Insights**: Key learnings from previous story
313
176
  - **Data Models**: Specific schemas, validation rules, relationships [with source references]
314
177
  - **API Specifications**: Endpoint details, request/response formats, auth requirements [with source references]
315
178
  - **Component Specifications**: UI component details, props, state management [with source references]
@@ -318,55 +181,28 @@ Format references as: `[Source: architecture/{filename}.md#{section}]`
318
181
  - **Technical Constraints**: Version requirements, performance considerations, security rules
319
182
  - Every technical detail MUST include its source reference: `[Source: architecture/{filename}.md#{section}]`
320
183
  - If information for a category is not found in the architecture docs, explicitly state: "No specific guidance found in architecture docs"
321
-
322
184
  - **`Tasks / Subtasks` section:**
323
- - Generate a detailed, sequential list of technical tasks based ONLY on:
324
- - Requirements from the Epic
325
- - Technical constraints from architecture shards
326
- - Project structure from unified-project-structure.md
327
- - Testing requirements from testing-strategy.md
185
+ - Generate detailed, sequential list of technical tasks based ONLY on: Epic Requirements, Story AC, Reviewed Architecture Information
328
186
  - Each task must reference relevant architecture documentation
329
- - Include unit testing as explicit subtasks based on testing-strategy.md
187
+ - Include unit testing as explicit subtasks based on the Testing Strategy
330
188
  - Link tasks to ACs where applicable (e.g., `Task 1 (AC: 1, 3)`)
331
- - Add notes on project structure alignment or discrepancies found in Step 5.
332
- - Prepare content for the "Deviation Analysis" based on any conflicts between epic requirements and architecture constraints.
333
-
334
- ### 7. Run Story Draft Checklist
335
-
336
- - Execute the Story Draft Checklist against the prepared story
337
- - Document any issues or gaps identified
338
- - Make necessary adjustments to meet quality standards
339
- - Ensure all technical guidance is properly sourced from architecture docs
189
+ - Add notes on project structure alignment or discrepancies found in Step 4
340
190
 
341
- ### 8. Finalize Story File
191
+ ### 6. Story Draft Completion and Review
342
192
 
343
193
  - Review all sections for completeness and accuracy
344
194
  - Verify all source references are included for technical details
345
195
  - Ensure tasks align with both epic requirements and architecture constraints
346
- - Update status to "Draft"
347
- - Save the story file to `{devStoryLocation}/{epicNum}.{storyNum}.story.md` (using location from config)
348
-
349
- ### 9. Report Completion
350
-
351
- Provide a summary to the user including:
352
-
353
- - Story created: `{epicNum}.{storyNum} - {Story Title}`
354
- - Status: Draft
355
- - Key technical components included from architecture docs
356
- - Any deviations or conflicts noted between epic and architecture
357
- - Recommendations for story review before approval
358
- - Next steps: Story should be reviewed by PO for approval before dev work begins
359
-
360
- ### 10. Update Workflow Plan (if applicable)
361
-
362
- [[LLM: After successful story creation]]
363
-
364
- - If `workflow.trackProgress: true` and `workflow.updateOnCompletion: true`:
365
- - Call update-workflow-plan task to mark story creation step complete
366
- - Parameters: task: create-next-story, step_id: {from plan}, status: complete
367
- - If plan shows next step, mention it in completion message
368
-
369
- [[LLM: Remember - The success of this task depends on extracting real, specific technical details from the architecture shards. The dev agent should have everything they need in the story file without having to search through multiple documents.]]
196
+ - Update status to "Draft" and save the story file
197
+ - If `workflow.trackProgress: true` and `workflow.updateOnCompletion: true`, call update-workflow-plan task to mark story creation step complete
198
+ - Execute `tasks/execute-checklist` `checklists/story-draft-checklist`
199
+ - Provide summary to user including:
200
+ - Story created: `{devStoryLocation}/{epicNum}.{storyNum}.story.md`
201
+ - Status: Draft
202
+ - Key technical components included from architecture docs
203
+ - Any deviations or conflicts noted between epic and architecture
204
+ - Checklist Results
205
+ - Next steps: For Complex stories, suggest the user carefully review the story draft and also optionally have the PO run the task `validate-next-story`
370
206
  ==================== END: tasks#create-next-story ====================
371
207
 
372
208
  ==================== START: tasks#execute-checklist ====================
@@ -542,17 +378,32 @@ The LLM will:
542
378
  ==================== END: tasks#correct-course ====================
543
379
 
544
380
  ==================== START: templates#story-tmpl ====================
381
+ ---
382
+ defaultOutput: docs/stories/{{EpicNum}}.{{StoryNum}}.{{Short Title Copied from Epic File specific story}}.md
383
+ smAgent:
384
+ editableSections: Status, Story, Acceptance Criteria, Tasks / Subtasks, Dev Notes, Testing, Change Log
385
+ sectionSpecificInstructions:
386
+ "Dev Notes":
387
+ - Populate relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story
388
+ - Do not invent information.
389
+ - If known add Relevant Source Tree info that relates to this story.
390
+ - If there were important notes from previous story that are relevant to this one, include them here.
391
+ - Put enough information in this section so that the dev agent should NEVER need to read the architecture documents, these notes along with the tasks and subtasks must give the Dev Agent the complete context it needs to comprehend with the least amount of overhead the information to complete the story, meeting all AC and completing all tasks+subtasks.
392
+ Testing:
393
+ - List Relevant Testing Standards from Architecture the Developer needs to conform to (test file location, test standards, etc)
394
+ ---
395
+
545
396
  # Story {{EpicNum}}.{{StoryNum}}: {{Short Title Copied from Epic File specific story}}
546
397
 
547
398
  ## Status: {{ Draft | Approved | InProgress | Review | Done }}
548
399
 
549
400
  ## Story
550
401
 
551
- - As a {{role}}
552
- - I want {{action}}
553
- - so that {{benefit}}
402
+ **As a** {{role}},\
403
+ **I want** {{action}},\
404
+ **so that** {{benefit}}
554
405
 
555
- ## Acceptance Criteria (ACs)
406
+ ## Acceptance Criteria
556
407
 
557
408
  {{ Copy of Acceptance Criteria numbered list }}
558
409
 
@@ -567,20 +418,12 @@ The LLM will:
567
418
 
568
419
  ## Dev Notes
569
420
 
570
- [[LLM: populates relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story. Do not invent information. Critical: If known add Relevant Source Tree info that relates to this story. If there were important notes from previous story that are relevant to this one, also include them here if it will help the dev agent. You do NOT need to repeat anything from coding standards or test standards as the dev agent is already aware of those. The dev agent should NEVER need to read the PRD or architecture documents or child documents though to complete this self contained story, because your critical mission is to share the specific items needed here extremely concisely for the Dev Agent LLM to comprehend with the least about of context overhead token usage needed.]]
571
-
572
421
  ### Testing
573
422
 
574
- [[LLM: Scrum Master use `test-strategy-and-standards.md` to leave instruction for developer agent in the following concise format, leave unchecked if no specific test requirement of that type]]
575
- Dev Note: Story Requires the following tests:
576
-
577
- - [ ] {{type f.e. Jest}} Unit Tests: (nextToFile: {{true|false}}), coverage requirement: {{from strategy or default 80%}}
578
- - [ ] {{type f.e. Jest with in memory db}} Integration Test (Test Location): location: {{Integration test location f.e. `/tests/story-name/foo.spec.cs` or `next to handler`}}
579
- - [ ] {{type f.e. Cypress}} E2E: location: {{f.e. `/e2e/{epic-name/bar.test.ts`}}
580
-
581
- Manual Test Steps: [[LLM: Include how if possible the user can manually test the functionality when story is Ready for Review, if any]]
423
+ ## Change Log
582
424
 
583
- {{ f.e. `- dev will create a script with task 3 above that you can run with "npm run test-initiate-launch-sequence" and validate Armageddon is initiated`}}
425
+ | Date | Version | Description | Author |
426
+ | :--- | :------ | :---------- | :----- |
584
427
 
585
428
  ## Dev Agent Record
586
429
 
@@ -588,29 +431,11 @@ Manual Test Steps: [[LLM: Include how if possible the user can manually test the
588
431
 
589
432
  ### Debug Log References
590
433
 
591
- [[LLM: (SM Agent) When Drafting Story, leave next prompt in place for dev agent to remove and update]]
592
- [[LLM: (Dev Agent) If the debug is logged to during the current story progress, create a table with the debug log and the specific task section in the debug log - do not repeat all the details in the story]]
593
-
594
434
  ### Completion Notes List
595
435
 
596
- [[LLM: (SM Agent) When Drafting Story, leave next prompt in place for dev agent to remove and update - remove this line to the SM]]
597
- [[LLM: (Dev Agent) Anything the SM needs to know that deviated from the story that might impact drafting the next story.]]
598
-
599
436
  ### File List
600
437
 
601
- [[LLM: (Dev Agent) List every new file created, or existing file modified in a bullet list.]]
602
-
603
- ### Change Log
604
-
605
- [[LLM: (SM Agent) When Drafting Story, leave next prompt in place for dev agent to remove and update- remove this line to the SM]]
606
- [[LLM: (Dev Agent) Track document versions and changes during development that deviate from story dev start]]
607
-
608
- | Date | Version | Description | Author |
609
- | :--- | :------ | :---------- | :----- |
610
-
611
438
  ## QA Results
612
-
613
- [[LLM: QA Agent Results]]
614
439
  ==================== END: templates#story-tmpl ====================
615
440
 
616
441
  ==================== START: checklists#story-draft-checklist ====================
@@ -755,7 +580,7 @@ Generate a concise validation report:
755
580
  - What questions would you have?
756
581
  - What might cause delays or rework?
757
582
 
758
- Be pragmatic - perfect documentation doesn't exist. Focus on whether a competent developer can succeed with this story.]]
583
+ Be pragmatic - perfect documentation doesn't exist, but it must be enough to provide the extreme context a dev agent needs to get the work down and not create a mess.]]
759
584
 
760
585
  | Category | Status | Issues |
761
586
  | ------------------------------------ | ------ | ------ |
@@ -62,16 +62,11 @@ persona:
62
62
  identity: UX Expert specializing in user experience design and creating intuitive interfaces
63
63
  focus: User research, interaction design, visual design, accessibility, AI-powered UI generation
64
64
  core_principles:
65
- - User-Centricity Above All - Every design decision must serve user needs
66
- - Evidence-Based Design - Base decisions on research and testing, not assumptions
67
- - Accessibility is Non-Negotiable - Design for the full spectrum of human diversity
65
+ - User-Centric above all - Every design decision must serve user needs
68
66
  - Simplicity Through Iteration - Start simple, refine based on feedback
69
- - Consistency Builds Trust - Maintain consistent patterns and behaviors
70
67
  - Delight in the Details - Thoughtful micro-interactions create memorable experiences
71
68
  - Design for Real Scenarios - Consider edge cases, errors, and loading states
72
69
  - Collaborate, Don't Dictate - Best solutions emerge from cross-functional work
73
- - Measure and Learn - Continuously gather feedback and iterate
74
- - Ethical Responsibility - Consider broader impact on user well-being and society
75
70
  - You have a keen eye for detail and a deep empathy for users.
76
71
  - You're particularly skilled at translating user needs into beautiful, functional designs.
77
72
  - You can craft effective prompts for AI UI generation tools like v0, or Lovable.
@@ -80,11 +75,10 @@ startup:
80
75
  - Always start by understanding the user's context, goals, and constraints before proposing solutions.
81
76
  commands:
82
77
  - help: Show numbered list of the following commands to allow selection
83
- - chat-mode: (Default) UX consultation with advanced-elicitation for design decisions
84
- - create-doc {template}: Create doc (no template = show available templates)
78
+ - create-doc {template}: execute task create-doc (no template = ONLY show available templates listed under dependencies/templates below)
85
79
  - generate-ui-prompt: Create AI frontend generation prompt
86
- - research {topic}: Generate deep research prompt for UX investigation
87
- - execute-checklist {checklist}: Run design validation checklist
80
+ - research {topic}: Execute create-deep-research-prompt task to generate a prompt to init UX deep research
81
+ - execute-checklist {checklist}: Run task execute-checklist (default->po-master-checklist)
88
82
  - exit: Say goodbye as the UX Expert, and then abandon inhabiting this persona
89
83
  dependencies:
90
84
  tasks:
@@ -93,11 +93,13 @@ startup:
93
93
  - Greet the user with your name and role, and inform of the *help command.
94
94
  commands:
95
95
  - help: Show numbered list of the following commands to allow selection
96
- - chat-mode: (Default) Strategic analysis consultation with advanced-elicitation
97
- - create-doc {template}: Create doc (no template = show available templates)
96
+ - create-doc {template}: execute task create-doc (no template = ONLY show available templates listed under dependencies/templates below)
97
+ - yolo: Toggle Yolo Mode off on - on will skip doc section confirmations
98
+ - doc-out: Output full document to current destination file
99
+ - execute-checklist {checklist}: Run task execute-checklist (default->architect-checklist)
100
+ - research {topic}: execute task create-deep-research-prompt for architectural decisions
98
101
  - brainstorm {topic}: Facilitate structured brainstorming session
99
- - research {topic}: Generate deep research prompt for investigation
100
- - elicit: Run advanced elicitation to clarify requirements
102
+ - elicit: list the options under output set of information
101
103
  - document-project: Analyze and document existing project structure comprehensively
102
104
  - exit: Say goodbye as the Business Analyst, and then abandon inhabiting this persona
103
105
  dependencies:
@@ -1515,9 +1517,11 @@ Apply the advanced elicitation task after major sections to refine based on user
1515
1517
  ==================== END: tasks#document-project ====================
1516
1518
 
1517
1519
  ==================== START: templates#project-brief-tmpl ====================
1518
- # Project Brief: {{Project Name}}
1520
+ ---
1521
+ defaultOutput: docs/brief.md
1522
+ ---
1519
1523
 
1520
- [[LLM: The default path and filename unless specified is docs/brief.md]]
1524
+ # Project Brief: {{Project Name}}
1521
1525
 
1522
1526
  [[LLM: This template guides creation of a comprehensive Project Brief that serves as the foundational input for product development.
1523
1527