bmad-method 4.17.0 → 4.19.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 (60) hide show
  1. package/.claude/commands/bmad-master.md +0 -1
  2. package/CHANGELOG.md +20 -0
  3. package/bmad-core/core-config.yml +0 -1
  4. package/{bmad-core → common}/tasks/create-doc.md +2 -2
  5. package/{expansion-packs/expansion-creator/common-tasks → common/tasks}/execute-checklist.md +2 -6
  6. package/common/utils/workflow-management.md +69 -0
  7. package/dist/agents/analyst.txt +2 -2
  8. package/dist/agents/architect.txt +4 -8
  9. package/dist/agents/bmad-master.txt +35 -270
  10. package/dist/agents/bmad-orchestrator.txt +33 -187
  11. package/dist/agents/dev.txt +2 -6
  12. package/dist/agents/pm.txt +4 -8
  13. package/dist/agents/po.txt +2 -6
  14. package/dist/agents/sm.txt +2 -6
  15. package/dist/agents/ux-expert.txt +4 -8
  16. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-designer.txt +4 -8
  17. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-developer.txt +2 -6
  18. package/dist/expansion-packs/bmad-2d-phaser-game-dev/agents/game-sm.txt +2 -6
  19. package/dist/expansion-packs/bmad-2d-phaser-game-dev/teams/phaser-2d-nodejs-game-team.txt +35 -193
  20. package/dist/expansion-packs/bmad-infrastructure-devops/agents/infra-devops-platform.txt +2 -2
  21. package/dist/expansion-packs/expansion-creator/agents/bmad-the-creator.txt +5 -5
  22. package/dist/teams/team-all.txt +35 -193
  23. package/dist/teams/team-fullstack.txt +35 -193
  24. package/dist/teams/team-ide-minimal.txt +35 -193
  25. package/dist/teams/team-no-ui.txt +35 -193
  26. package/docs/working-in-the-brownfield.md +2 -2
  27. package/expansion-packs/bmad-2d-phaser-game-dev/config.yml +5 -0
  28. package/expansion-packs/bmad-creator-tools/config.yml +5 -0
  29. package/expansion-packs/{expansion-creator → bmad-creator-tools}/tasks/generate-expansion-pack.md +5 -5
  30. package/expansion-packs/bmad-infrastructure-devops/config.yml +5 -0
  31. package/package.json +1 -1
  32. package/test-ide-paths.js +41 -0
  33. package/tools/builders/web-builder.js +60 -19
  34. package/tools/installer/config/ide-agent-config.yml +58 -0
  35. package/tools/installer/config/install.config.yml +0 -85
  36. package/tools/installer/lib/config-loader.js +89 -41
  37. package/tools/installer/lib/file-manager.js +1 -0
  38. package/tools/installer/lib/ide-setup.js +150 -116
  39. package/tools/installer/lib/installer.js +263 -9
  40. package/tools/installer/package.json +1 -1
  41. package/tools/lib/dependency-resolver.js +15 -0
  42. package/bmad-core/tasks/core-dump.md +0 -74
  43. package/bmad-core/tasks/execute-checklist.md +0 -97
  44. package/bmad-core/utils/file-resolution-context.md +0 -10
  45. package/bmad-core/utils/workflow-management.md +0 -223
  46. package/expansion-packs/bmad-2d-phaser-game-dev/manifest.yml +0 -45
  47. package/expansion-packs/bmad-infrastructure-devops/manifest.yml +0 -23
  48. package/expansion-packs/bmad-infrastructure-devops/tasks/create-doc.md +0 -74
  49. package/expansion-packs/expansion-creator/common-tasks/create-doc.md +0 -74
  50. package/expansion-packs/expansion-creator/manifest.yml +0 -12
  51. package/expansion-packs/expansion-creator/utils/template-format.md +0 -26
  52. package/expansion-packs/expansion-creator/utils/workflow-management.md +0 -223
  53. /package/{bmad-core → common}/utils/template-format.md +0 -0
  54. /package/expansion-packs/{expansion-creator → bmad-creator-tools}/README.md +0 -0
  55. /package/expansion-packs/{expansion-creator → bmad-creator-tools}/agents/bmad-the-creator.md +0 -0
  56. /package/expansion-packs/{expansion-creator → bmad-creator-tools}/tasks/create-agent.md +0 -0
  57. /package/expansion-packs/{expansion-creator → bmad-creator-tools}/templates/agent-teams-tmpl.md +0 -0
  58. /package/expansion-packs/{expansion-creator → bmad-creator-tools}/templates/agent-tmpl.md +0 -0
  59. /package/expansion-packs/{expansion-creator → bmad-creator-tools}/templates/expansion-pack-plan-tmpl.md +0 -0
  60. /package/{bmad-core/utils → tools/md-assets}/web-agent-startup-instructions.md +0 -0
@@ -628,9 +628,9 @@ Confirm with the user their preferred interaction style:
628
628
 
629
629
  ### 3. Execute Template
630
630
 
631
- - Load specified template from `templates#*` or the /templates directory
631
+ - Load specified template from `templates#*` or the `{root}/templates directory`
632
632
  - Follow ALL embedded LLM instructions within the template
633
- - Process template markup according to `utils#template-format` conventions
633
+ - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
634
634
 
635
635
  ### 4. Template Processing Rules
636
636
 
@@ -1497,227 +1497,73 @@ Use the **expansion-creator** pack to build your own:
1497
1497
  ==================== START: utils#workflow-management ====================
1498
1498
  # Workflow Management
1499
1499
 
1500
- This utility enables the BMAD orchestrator to manage and execute team workflows.
1500
+ Enables BMAD orchestrator to manage and execute team workflows.
1501
1501
 
1502
- ## Important: Dynamic Workflow Loading
1502
+ ## Dynamic Workflow Loading
1503
1503
 
1504
- The BMAD orchestrator MUST read the available workflows from the current team configuration's `workflows` field. Do not use hardcoded workflow lists. Each team bundle defines its own set of supported workflows based on the agents it includes.
1504
+ Read available workflows from current team configuration's `workflows` field. Each team bundle defines its own supported workflows.
1505
1505
 
1506
- **Critical Distinction**:
1506
+ **Key Commands**:
1507
1507
 
1508
- - When asked "what workflows are available?", show ONLY the workflows defined in the current team bundle's configuration
1509
- - Use `/agent-list` to show agents in the current bundle
1510
- - Use `/workflows` to show workflows in the current bundle, NOT any creation tasks
1511
-
1512
- ### Workflow Descriptions
1513
-
1514
- When displaying workflows, use these descriptions based on the workflow ID:
1515
-
1516
- - **greenfield-fullstack**: Build a new full-stack application from concept to development
1517
- - **brownfield-fullstack**: Enhance an existing full-stack application with new features
1518
- - **greenfield-service**: Build a new backend service or API from concept to development
1519
- - **brownfield-service**: Enhance an existing backend service or API
1520
- - **greenfield-ui**: Build a new frontend/UI application from concept to development
1521
- - **brownfield-ui**: Enhance an existing frontend/UI application
1508
+ - `/workflows` - List workflows in current bundle or workflows folder
1509
+ - `/agent-list` - Show agents in current bundle
1522
1510
 
1523
1511
  ## Workflow Commands
1524
1512
 
1525
1513
  ### /workflows
1526
1514
 
1527
- Lists all available workflows for the current team. The available workflows are determined by the team configuration and may include workflows such as:
1528
-
1529
- - greenfield-fullstack
1530
- - brownfield-fullstack
1531
- - greenfield-service
1532
- - brownfield-service
1533
- - greenfield-ui
1534
- - brownfield-ui
1535
-
1536
- The actual list depends on which team bundle is loaded. When responding to this command, display the workflows that are configured in the current team's `workflows` field.
1537
-
1538
- Example response format:
1539
-
1540
- ```text
1541
- Available workflows for [Team Name]:
1542
- 1. [workflow-id] - [Brief description based on workflow type]
1543
- 2. [workflow-id] - [Brief description based on workflow type]
1544
- [... etc. ...]
1545
-
1546
- Use /workflow-start {number or id} to begin a workflow.
1547
- ```
1515
+ Lists available workflows with titles and descriptions.
1548
1516
 
1549
1517
  ### /workflow-start {workflow-id}
1550
1518
 
1551
- Starts a specific workflow and transitions to the first agent.
1552
-
1553
- Example: `/workflow-start greenfield-fullstack`
1519
+ Starts workflow and transitions to first agent.
1554
1520
 
1555
1521
  ### /workflow-status
1556
1522
 
1557
- Shows current workflow progress, completed artifacts, and next steps.
1558
-
1559
- Example response:
1560
-
1561
- ```text
1562
- Current Workflow: Greenfield Full-Stack Development
1563
- Stage: Product Planning (2 of 6)
1564
- Completed:
1565
- ✓ Discovery & Requirements
1566
- - project-brief (completed by Mary)
1567
-
1568
- In Progress:
1569
- ⚡ Product Planning
1570
- - Create PRD (John) - awaiting input
1571
-
1572
- Next: Technical Architecture
1573
- ```
1523
+ Shows current progress, completed artifacts, and next steps.
1574
1524
 
1575
1525
  ### /workflow-resume
1576
1526
 
1577
- Resumes a workflow from where it left off, useful when starting a new chat.
1578
-
1579
- User can provide completed artifacts:
1580
-
1581
- ```text
1582
- User: /workflow-resume greenfield-fullstack
1583
- I have completed: project-brief, PRD
1584
- BMad: I see you've completed Discovery and part of Product Planning.
1585
- Based on the greenfield-fullstack workflow, the next step is:
1586
- - UX Strategy with Sally (ux-expert)
1587
-
1588
- Would you like me to load Sally to continue?
1589
- ```
1527
+ Resumes workflow from last position. User can provide completed artifacts.
1590
1528
 
1591
1529
  ### /workflow-next
1592
1530
 
1593
- Shows the next recommended agent and action in the current workflow.
1594
-
1595
- ## Workflow Execution Flow
1596
-
1597
- ### 1. Starting a Workflow
1531
+ Shows next recommended agent and action.
1598
1532
 
1599
- When a workflow is started:
1533
+ ## Execution Flow
1600
1534
 
1601
- 1. Load the workflow definition
1602
- 2. Identify the first stage and step
1603
- 3. Transition to the required agent
1604
- 4. Provide context about expected inputs/outputs
1605
- 5. Guide artifact creation
1535
+ 1. **Starting**: Load definition Identify first stage → Transition to agent → Guide artifact creation
1606
1536
 
1607
- ### 2. Stage Transitions
1537
+ 2. **Stage Transitions**: Mark complete → Check conditions → Load next agent → Pass artifacts
1608
1538
 
1609
- After each artifact is completed:
1539
+ 3. **Artifact Tracking**: Track status, creator, timestamps in workflow_state
1610
1540
 
1611
- 1. Mark the step as complete
1612
- 2. Check transition conditions
1613
- 3. If stage is complete, move to next stage
1614
- 4. Load the appropriate agent
1615
- 5. Pass relevant artifacts as context
1541
+ 4. **Interruption Handling**: Analyze provided artifacts → Determine position → Suggest next step
1616
1542
 
1617
- ### 3. Artifact Tracking
1543
+ ## Context Passing
1618
1544
 
1619
- Track all created artifacts:
1620
-
1621
- ```yaml
1622
- workflow_state:
1623
- current_workflow: greenfield-fullstack
1624
- current_stage: planning
1625
- current_step: 2
1626
- artifacts:
1627
- project-brief:
1628
- status: completed
1629
- created_by: analyst
1630
- timestamp: 2024-01-15T10:30:00.000Z
1631
- prd:
1632
- status: in-progress
1633
- created_by: pm
1634
- started: 2024-01-15T11:00:00.000Z
1635
- ```
1545
+ When transitioning, pass:
1636
1546
 
1637
- ### 4. Workflow Interruption Handling
1638
-
1639
- When user returns after interruption:
1640
-
1641
- 1. Ask if continuing previous workflow
1642
- 2. Request any completed artifacts
1643
- 3. Analyze provided artifacts
1644
- 4. Determine workflow position
1645
- 5. Suggest next appropriate step
1646
-
1647
- Example:
1648
-
1649
- ```text
1650
- User: I'm working on a new app. Here's my PRD and architecture doc.
1651
- BMad: I see you have a PRD and architecture document. Based on these artifacts,
1652
- it looks like you're following the greenfield-fullstack workflow and have completed
1653
- stages 1-3. The next recommended step would be:
1654
-
1655
- Stage 4: Validation & Refinement
1656
- - Load Sarah (Product Owner) to validate all artifacts
1657
-
1658
- Would you like to continue with this workflow?
1659
- ```
1660
-
1661
- ## Workflow Context Passing
1662
-
1663
- When transitioning between agents, pass:
1664
-
1665
- 1. Previous artifacts created
1666
- 2. Current workflow stage
1667
- 3. Expected outputs
1668
- 4. Any decisions or constraints identified
1669
-
1670
- Example transition:
1671
-
1672
- ```text
1673
- BMad: Great! John has completed the PRD. According to the greenfield-fullstack workflow,
1674
- the next step is UX Strategy with Sally.
1675
-
1676
- /ux-expert
1677
-
1678
- Sally: I see we're in the Product Planning stage of the greenfield-fullstack workflow.
1679
- I have access to:
1680
- - Project Brief from Mary
1681
- - PRD from John
1682
-
1683
- Let's create the UX strategy and UI specifications. First, let me review
1684
- the PRD to understand the features we're designing for...
1685
- ```
1547
+ - Previous artifacts
1548
+ - Current workflow stage
1549
+ - Expected outputs
1550
+ - Decisions/constraints
1686
1551
 
1687
1552
  ## Multi-Path Workflows
1688
1553
 
1689
- Some workflows may have multiple paths:
1554
+ Handle conditional paths by asking clarifying questions when needed.
1690
1555
 
1691
- ```yaml
1692
- conditional_paths:
1693
- - condition: project_type == 'mobile'
1694
- next_stage: mobile-specific-design
1695
- - condition: project_type == 'web'
1696
- next_stage: web-architecture
1697
- - default: fullstack-architecture
1698
- ```
1556
+ ## Best Practices
1699
1557
 
1700
- Handle these by asking clarifying questions when needed.
1558
+ 1. Show progress
1559
+ 2. Explain transitions
1560
+ 3. Preserve context
1561
+ 4. Allow flexibility
1562
+ 5. Track state
1701
1563
 
1702
- ## Workflow Best Practices
1564
+ ## Agent Integration
1703
1565
 
1704
- 1. **Always show progress** - Users should know where they are
1705
- 2. **Explain transitions** - Why moving to next agent
1706
- 3. **Preserve context** - Pass relevant information forward
1707
- 4. **Allow flexibility** - Users can skip or modify steps
1708
- 5. **Track everything** - Maintain complete workflow state
1709
-
1710
- ## Integration with Agents
1711
-
1712
- Each agent should be workflow-aware:
1713
-
1714
- - Know which workflow is active
1715
- - Understand their role in the workflow
1716
- - Access previous artifacts
1717
- - Know expected outputs
1718
- - Guide toward workflow goals
1719
-
1720
- This creates a seamless experience where the entire team works together toward the workflow's objectives.
1566
+ Agents should be workflow-aware: know active workflow, their role, access artifacts, understand expected outputs.
1721
1567
  ==================== END: utils#workflow-management ====================
1722
1568
 
1723
1569
  ==================== START: utils#template-format ====================
@@ -3801,13 +3647,9 @@ The story creation is successful when:
3801
3647
 
3802
3648
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
3803
3649
 
3804
- ## Context
3805
-
3806
- The BMAD Method uses various checklists to ensure quality and completeness of different artifacts. Each checklist contains embedded prompts and instructions to guide the LLM through thorough validation and advanced elicitation. The checklists automatically identify their required artifacts and guide the validation process.
3807
-
3808
3650
  ## Available Checklists
3809
3651
 
3810
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the bmad-core/checklists folder to select the appropriate one to run.
3652
+ If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
3811
3653
 
3812
3654
  ## Instructions
3813
3655
 
@@ -3816,7 +3658,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
3816
3658
  - If user or the task being run provides a checklist name:
3817
3659
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
3818
3660
  - If multiple matches found, ask user to clarify
3819
- - Load the appropriate checklist from bmad-core/checklists/
3661
+ - Load the appropriate checklist from {root}/checklists/
3820
3662
  - If no checklist specified:
3821
3663
  - Ask the user which checklist they want to use
3822
3664
  - Present the available options from the files in the checklists folder
@@ -528,9 +528,9 @@ Confirm with the user their preferred interaction style:
528
528
 
529
529
  ### 3. Execute Template
530
530
 
531
- - Load specified template from `templates#*` or the /templates directory
531
+ - Load specified template from `templates#*` or the `{root}/templates directory`
532
532
  - Follow ALL embedded LLM instructions within the template
533
- - Process template markup according to `utils#template-format` conventions
533
+ - Process template markup according to `utils#template-format` or `{root}/utils/template-format` conventions
534
534
 
535
535
  ### 4. Template Processing Rules
536
536
 
@@ -1397,227 +1397,73 @@ Use the **expansion-creator** pack to build your own:
1397
1397
  ==================== START: utils#workflow-management ====================
1398
1398
  # Workflow Management
1399
1399
 
1400
- This utility enables the BMAD orchestrator to manage and execute team workflows.
1400
+ Enables BMAD orchestrator to manage and execute team workflows.
1401
1401
 
1402
- ## Important: Dynamic Workflow Loading
1402
+ ## Dynamic Workflow Loading
1403
1403
 
1404
- The BMAD orchestrator MUST read the available workflows from the current team configuration's `workflows` field. Do not use hardcoded workflow lists. Each team bundle defines its own set of supported workflows based on the agents it includes.
1404
+ Read available workflows from current team configuration's `workflows` field. Each team bundle defines its own supported workflows.
1405
1405
 
1406
- **Critical Distinction**:
1406
+ **Key Commands**:
1407
1407
 
1408
- - When asked "what workflows are available?", show ONLY the workflows defined in the current team bundle's configuration
1409
- - Use `/agent-list` to show agents in the current bundle
1410
- - Use `/workflows` to show workflows in the current bundle, NOT any creation tasks
1411
-
1412
- ### Workflow Descriptions
1413
-
1414
- When displaying workflows, use these descriptions based on the workflow ID:
1415
-
1416
- - **greenfield-fullstack**: Build a new full-stack application from concept to development
1417
- - **brownfield-fullstack**: Enhance an existing full-stack application with new features
1418
- - **greenfield-service**: Build a new backend service or API from concept to development
1419
- - **brownfield-service**: Enhance an existing backend service or API
1420
- - **greenfield-ui**: Build a new frontend/UI application from concept to development
1421
- - **brownfield-ui**: Enhance an existing frontend/UI application
1408
+ - `/workflows` - List workflows in current bundle or workflows folder
1409
+ - `/agent-list` - Show agents in current bundle
1422
1410
 
1423
1411
  ## Workflow Commands
1424
1412
 
1425
1413
  ### /workflows
1426
1414
 
1427
- Lists all available workflows for the current team. The available workflows are determined by the team configuration and may include workflows such as:
1428
-
1429
- - greenfield-fullstack
1430
- - brownfield-fullstack
1431
- - greenfield-service
1432
- - brownfield-service
1433
- - greenfield-ui
1434
- - brownfield-ui
1435
-
1436
- The actual list depends on which team bundle is loaded. When responding to this command, display the workflows that are configured in the current team's `workflows` field.
1437
-
1438
- Example response format:
1439
-
1440
- ```text
1441
- Available workflows for [Team Name]:
1442
- 1. [workflow-id] - [Brief description based on workflow type]
1443
- 2. [workflow-id] - [Brief description based on workflow type]
1444
- [... etc. ...]
1445
-
1446
- Use /workflow-start {number or id} to begin a workflow.
1447
- ```
1415
+ Lists available workflows with titles and descriptions.
1448
1416
 
1449
1417
  ### /workflow-start {workflow-id}
1450
1418
 
1451
- Starts a specific workflow and transitions to the first agent.
1452
-
1453
- Example: `/workflow-start greenfield-fullstack`
1419
+ Starts workflow and transitions to first agent.
1454
1420
 
1455
1421
  ### /workflow-status
1456
1422
 
1457
- Shows current workflow progress, completed artifacts, and next steps.
1458
-
1459
- Example response:
1460
-
1461
- ```text
1462
- Current Workflow: Greenfield Full-Stack Development
1463
- Stage: Product Planning (2 of 6)
1464
- Completed:
1465
- ✓ Discovery & Requirements
1466
- - project-brief (completed by Mary)
1467
-
1468
- In Progress:
1469
- ⚡ Product Planning
1470
- - Create PRD (John) - awaiting input
1471
-
1472
- Next: Technical Architecture
1473
- ```
1423
+ Shows current progress, completed artifacts, and next steps.
1474
1424
 
1475
1425
  ### /workflow-resume
1476
1426
 
1477
- Resumes a workflow from where it left off, useful when starting a new chat.
1478
-
1479
- User can provide completed artifacts:
1480
-
1481
- ```text
1482
- User: /workflow-resume greenfield-fullstack
1483
- I have completed: project-brief, PRD
1484
- BMad: I see you've completed Discovery and part of Product Planning.
1485
- Based on the greenfield-fullstack workflow, the next step is:
1486
- - UX Strategy with Sally (ux-expert)
1487
-
1488
- Would you like me to load Sally to continue?
1489
- ```
1427
+ Resumes workflow from last position. User can provide completed artifacts.
1490
1428
 
1491
1429
  ### /workflow-next
1492
1430
 
1493
- Shows the next recommended agent and action in the current workflow.
1494
-
1495
- ## Workflow Execution Flow
1496
-
1497
- ### 1. Starting a Workflow
1431
+ Shows next recommended agent and action.
1498
1432
 
1499
- When a workflow is started:
1433
+ ## Execution Flow
1500
1434
 
1501
- 1. Load the workflow definition
1502
- 2. Identify the first stage and step
1503
- 3. Transition to the required agent
1504
- 4. Provide context about expected inputs/outputs
1505
- 5. Guide artifact creation
1435
+ 1. **Starting**: Load definition Identify first stage → Transition to agent → Guide artifact creation
1506
1436
 
1507
- ### 2. Stage Transitions
1437
+ 2. **Stage Transitions**: Mark complete → Check conditions → Load next agent → Pass artifacts
1508
1438
 
1509
- After each artifact is completed:
1439
+ 3. **Artifact Tracking**: Track status, creator, timestamps in workflow_state
1510
1440
 
1511
- 1. Mark the step as complete
1512
- 2. Check transition conditions
1513
- 3. If stage is complete, move to next stage
1514
- 4. Load the appropriate agent
1515
- 5. Pass relevant artifacts as context
1441
+ 4. **Interruption Handling**: Analyze provided artifacts → Determine position → Suggest next step
1516
1442
 
1517
- ### 3. Artifact Tracking
1443
+ ## Context Passing
1518
1444
 
1519
- Track all created artifacts:
1520
-
1521
- ```yaml
1522
- workflow_state:
1523
- current_workflow: greenfield-fullstack
1524
- current_stage: planning
1525
- current_step: 2
1526
- artifacts:
1527
- project-brief:
1528
- status: completed
1529
- created_by: analyst
1530
- timestamp: 2024-01-15T10:30:00.000Z
1531
- prd:
1532
- status: in-progress
1533
- created_by: pm
1534
- started: 2024-01-15T11:00:00.000Z
1535
- ```
1445
+ When transitioning, pass:
1536
1446
 
1537
- ### 4. Workflow Interruption Handling
1538
-
1539
- When user returns after interruption:
1540
-
1541
- 1. Ask if continuing previous workflow
1542
- 2. Request any completed artifacts
1543
- 3. Analyze provided artifacts
1544
- 4. Determine workflow position
1545
- 5. Suggest next appropriate step
1546
-
1547
- Example:
1548
-
1549
- ```text
1550
- User: I'm working on a new app. Here's my PRD and architecture doc.
1551
- BMad: I see you have a PRD and architecture document. Based on these artifacts,
1552
- it looks like you're following the greenfield-fullstack workflow and have completed
1553
- stages 1-3. The next recommended step would be:
1554
-
1555
- Stage 4: Validation & Refinement
1556
- - Load Sarah (Product Owner) to validate all artifacts
1557
-
1558
- Would you like to continue with this workflow?
1559
- ```
1560
-
1561
- ## Workflow Context Passing
1562
-
1563
- When transitioning between agents, pass:
1564
-
1565
- 1. Previous artifacts created
1566
- 2. Current workflow stage
1567
- 3. Expected outputs
1568
- 4. Any decisions or constraints identified
1569
-
1570
- Example transition:
1571
-
1572
- ```text
1573
- BMad: Great! John has completed the PRD. According to the greenfield-fullstack workflow,
1574
- the next step is UX Strategy with Sally.
1575
-
1576
- /ux-expert
1577
-
1578
- Sally: I see we're in the Product Planning stage of the greenfield-fullstack workflow.
1579
- I have access to:
1580
- - Project Brief from Mary
1581
- - PRD from John
1582
-
1583
- Let's create the UX strategy and UI specifications. First, let me review
1584
- the PRD to understand the features we're designing for...
1585
- ```
1447
+ - Previous artifacts
1448
+ - Current workflow stage
1449
+ - Expected outputs
1450
+ - Decisions/constraints
1586
1451
 
1587
1452
  ## Multi-Path Workflows
1588
1453
 
1589
- Some workflows may have multiple paths:
1454
+ Handle conditional paths by asking clarifying questions when needed.
1590
1455
 
1591
- ```yaml
1592
- conditional_paths:
1593
- - condition: project_type == 'mobile'
1594
- next_stage: mobile-specific-design
1595
- - condition: project_type == 'web'
1596
- next_stage: web-architecture
1597
- - default: fullstack-architecture
1598
- ```
1456
+ ## Best Practices
1599
1457
 
1600
- Handle these by asking clarifying questions when needed.
1458
+ 1. Show progress
1459
+ 2. Explain transitions
1460
+ 3. Preserve context
1461
+ 4. Allow flexibility
1462
+ 5. Track state
1601
1463
 
1602
- ## Workflow Best Practices
1464
+ ## Agent Integration
1603
1465
 
1604
- 1. **Always show progress** - Users should know where they are
1605
- 2. **Explain transitions** - Why moving to next agent
1606
- 3. **Preserve context** - Pass relevant information forward
1607
- 4. **Allow flexibility** - Users can skip or modify steps
1608
- 5. **Track everything** - Maintain complete workflow state
1609
-
1610
- ## Integration with Agents
1611
-
1612
- Each agent should be workflow-aware:
1613
-
1614
- - Know which workflow is active
1615
- - Understand their role in the workflow
1616
- - Access previous artifacts
1617
- - Know expected outputs
1618
- - Guide toward workflow goals
1619
-
1620
- This creates a seamless experience where the entire team works together toward the workflow's objectives.
1466
+ Agents should be workflow-aware: know active workflow, their role, access artifacts, understand expected outputs.
1621
1467
  ==================== END: utils#workflow-management ====================
1622
1468
 
1623
1469
  ==================== START: utils#template-format ====================
@@ -1654,13 +1500,9 @@ Templates in the BMAD method use standardized markup for AI processing. These co
1654
1500
 
1655
1501
  This task provides instructions for validating documentation against checklists. The agent MUST follow these instructions to ensure thorough and systematic validation of documents.
1656
1502
 
1657
- ## Context
1658
-
1659
- The BMAD Method uses various checklists to ensure quality and completeness of different artifacts. Each checklist contains embedded prompts and instructions to guide the LLM through thorough validation and advanced elicitation. The checklists automatically identify their required artifacts and guide the validation process.
1660
-
1661
1503
  ## Available Checklists
1662
1504
 
1663
- If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the bmad-core/checklists folder to select the appropriate one to run.
1505
+ If the user asks or does not specify a specific checklist, list the checklists available to the agent persona. If the task is being run not with a specific agent, tell the user to check the {root}/checklists folder to select the appropriate one to run.
1664
1506
 
1665
1507
  ## Instructions
1666
1508
 
@@ -1669,7 +1511,7 @@ If the user asks or does not specify a specific checklist, list the checklists a
1669
1511
  - If user or the task being run provides a checklist name:
1670
1512
  - Try fuzzy matching (e.g. "architecture checklist" -> "architect-checklist")
1671
1513
  - If multiple matches found, ask user to clarify
1672
- - Load the appropriate checklist from bmad-core/checklists/
1514
+ - Load the appropriate checklist from {root}/checklists/
1673
1515
  - If no checklist specified:
1674
1516
  - Ask the user which checklist they want to use
1675
1517
  - Present the available options from the files in the checklists folder