bmm-opencode 1.4.2 → 1.4.3

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 (126) hide show
  1. package/.opencode/agents/bmad-bmad-master.md +11 -0
  2. package/.opencode/agents/bmm-analyst.md +10 -32
  3. package/.opencode/agents/bmm-architect.md +6 -34
  4. package/.opencode/agents/bmm-dev.md +6 -32
  5. package/.opencode/agents/bmm-pm.md +10 -41
  6. package/.opencode/agents/bmm-qa.md +5 -31
  7. package/.opencode/agents/bmm-quick-flow-solo-dev.md +7 -32
  8. package/.opencode/agents/bmm-sm.md +8 -32
  9. package/.opencode/agents/bmm-tech-writer.md +12 -0
  10. package/.opencode/agents/bmm-ux-designer.md +5 -37
  11. package/.opencode/commands/bmad-bmm-check-implementation-readiness.md +7 -0
  12. package/.opencode/commands/bmad-bmm-code-review.md +7 -0
  13. package/.opencode/commands/bmad-bmm-correct-course.md +7 -0
  14. package/.opencode/commands/bmad-bmm-create-architecture.md +7 -0
  15. package/.opencode/commands/bmad-bmm-create-epics-and-stories.md +7 -0
  16. package/.opencode/commands/bmad-bmm-create-prd.md +7 -0
  17. package/.opencode/commands/bmad-bmm-create-product-brief.md +7 -0
  18. package/.opencode/commands/bmad-bmm-create-story.md +7 -0
  19. package/.opencode/commands/bmad-bmm-create-ux-design.md +7 -0
  20. package/.opencode/commands/bmad-bmm-dev-story.md +7 -0
  21. package/.opencode/commands/bmad-bmm-document-project.md +7 -0
  22. package/.opencode/commands/bmad-bmm-domain-research.md +7 -0
  23. package/.opencode/commands/bmad-bmm-edit-prd.md +7 -0
  24. package/.opencode/commands/bmad-bmm-generate-project-context.md +5 -0
  25. package/.opencode/commands/bmad-bmm-market-research.md +7 -0
  26. package/.opencode/commands/bmad-bmm-quick-dev.md +7 -0
  27. package/.opencode/commands/bmad-bmm-quick-spec.md +7 -0
  28. package/.opencode/commands/bmad-bmm-retrospective.md +7 -0
  29. package/.opencode/commands/bmad-bmm-sprint-planning.md +7 -0
  30. package/.opencode/commands/bmad-bmm-sprint-status.md +5 -0
  31. package/.opencode/commands/bmad-bmm-technical-research.md +7 -0
  32. package/.opencode/commands/bmad-bmm-validate-prd.md +7 -0
  33. package/.opencode/commands/bmad-brainstorming.md +7 -0
  34. package/.opencode/commands/bmad-editorial-review-prose.md +5 -0
  35. package/.opencode/commands/bmad-editorial-review-structure.md +5 -0
  36. package/.opencode/commands/bmad-help.md +5 -0
  37. package/.opencode/commands/bmad-index-docs.md +5 -0
  38. package/.opencode/commands/bmad-review-adversarial-general.md +5 -0
  39. package/.opencode/commands/bmad-shard-doc.md +5 -0
  40. package/.opencode/skills/bmad-bmad-master/SKILL.md +56 -0
  41. package/.opencode/skills/bmad-bmm-analyst/SKILL.md +65 -38
  42. package/.opencode/skills/bmad-bmm-architect/SKILL.md +49 -38
  43. package/.opencode/skills/bmad-bmm-check-implementation-readiness/SKILL.md +1092 -24
  44. package/.opencode/skills/bmad-bmm-code-review/SKILL.md +45 -13
  45. package/.opencode/skills/bmad-bmm-correct-course/SKILL.md +56 -94
  46. package/.opencode/skills/bmad-bmm-create-architecture/SKILL.md +2391 -27
  47. package/.opencode/skills/bmad-bmm-create-epics-and-stories/SKILL.md +927 -23
  48. package/.opencode/skills/bmad-bmm-create-prd/SKILL.md +9 -26
  49. package/.opencode/skills/bmad-bmm-create-product-brief/SKILL.md +1358 -22
  50. package/.opencode/skills/bmad-bmm-create-story/SKILL.md +61 -24
  51. package/.opencode/skills/bmad-bmm-create-ux-design/SKILL.md +3275 -26
  52. package/.opencode/skills/bmad-bmm-dev/SKILL.md +57 -43
  53. package/.opencode/skills/bmad-bmm-dev-story/SKILL.md +20 -13
  54. package/.opencode/skills/bmad-bmm-document-project/SKILL.md +22 -81
  55. package/.opencode/skills/bmad-bmm-domain-research/SKILL.md +53 -37
  56. package/.opencode/skills/bmad-bmm-edit-prd/SKILL.md +10 -27
  57. package/.opencode/skills/bmad-bmm-generate-project-context/SKILL.md +797 -28
  58. package/.opencode/skills/bmad-bmm-market-research/SKILL.md +53 -37
  59. package/.opencode/skills/bmad-bmm-pm/SKILL.md +60 -39
  60. package/.opencode/skills/bmad-bmm-qa/SKILL.md +77 -35
  61. package/.opencode/skills/bmad-bmm-qa-automate/SKILL.md +47 -129
  62. package/.opencode/skills/bmad-bmm-quick-dev/SKILL.md +802 -30
  63. package/.opencode/skills/bmad-bmm-quick-flow-solo-dev/SKILL.md +57 -36
  64. package/.opencode/skills/bmad-bmm-quick-spec/SKILL.md +684 -27
  65. package/.opencode/skills/bmad-bmm-retrospective/SKILL.md +55 -200
  66. package/.opencode/skills/bmad-bmm-sm/SKILL.md +57 -36
  67. package/.opencode/skills/bmad-bmm-sprint-planning/SKILL.md +51 -52
  68. package/.opencode/skills/bmad-bmm-sprint-status/SKILL.md +30 -99
  69. package/.opencode/skills/bmad-bmm-tech-writer/SKILL.md +70 -0
  70. package/.opencode/skills/bmad-bmm-technical-research/SKILL.md +53 -37
  71. package/.opencode/skills/bmad-bmm-ux-designer/SKILL.md +48 -37
  72. package/.opencode/skills/bmad-bmm-validate-prd/SKILL.md +10 -27
  73. package/.opencode/skills/bmad-brainstorming/SKILL.md +2048 -0
  74. package/.opencode/skills/bmad-editorial-review-prose/SKILL.md +107 -0
  75. package/.opencode/skills/bmad-editorial-review-structure/SKILL.md +214 -0
  76. package/.opencode/skills/bmad-help/SKILL.md +82 -0
  77. package/.opencode/skills/bmad-index-docs/SKILL.md +70 -0
  78. package/.opencode/skills/bmad-party-mode/SKILL.md +682 -0
  79. package/.opencode/skills/bmad-review-adversarial-general/SKILL.md +53 -0
  80. package/.opencode/skills/bmad-shard-doc/SKILL.md +113 -0
  81. package/README.md +28 -4
  82. package/dist/index.d.ts.map +1 -1
  83. package/dist/index.js +350 -47
  84. package/package.json +4 -3
  85. package/.opencode/agents/bmm-tech-writer-tech-writer.md +0 -44
  86. package/.opencode/agents/cis-brainstorming-coach.md +0 -38
  87. package/.opencode/agents/cis-creative-problem-solver.md +0 -38
  88. package/.opencode/agents/cis-design-thinking-coach.md +0 -38
  89. package/.opencode/agents/cis-innovation-strategist.md +0 -38
  90. package/.opencode/agents/cis-presentation-master.md +0 -54
  91. package/.opencode/agents/cis-storyteller-storyteller.md +0 -38
  92. package/.opencode/agents/core-bmad-master.md +0 -39
  93. package/.opencode/agents/gen-subagent.md +0 -311
  94. package/.opencode/agents/party-mode.md +0 -812
  95. package/.opencode/agents/tea-tea.md +0 -48
  96. package/.opencode/skills/bmad-bmm-dev-team-mode/SKILL.md +0 -300
  97. package/.opencode/skills/bmad-bmm-tech-writer-tech-writer/SKILL.md +0 -51
  98. package/.opencode/skills/bmad-cis-brainstorming-coach/SKILL.md +0 -46
  99. package/.opencode/skills/bmad-cis-creative-problem-solver/SKILL.md +0 -46
  100. package/.opencode/skills/bmad-cis-design-thinking/SKILL.md +0 -156
  101. package/.opencode/skills/bmad-cis-design-thinking-coach/SKILL.md +0 -46
  102. package/.opencode/skills/bmad-cis-innovation-strategist/SKILL.md +0 -46
  103. package/.opencode/skills/bmad-cis-innovation-strategy/SKILL.md +0 -238
  104. package/.opencode/skills/bmad-cis-presentation-master/SKILL.md +0 -52
  105. package/.opencode/skills/bmad-cis-problem-solving/SKILL.md +0 -212
  106. package/.opencode/skills/bmad-cis-storyteller-storyteller/SKILL.md +0 -48
  107. package/.opencode/skills/bmad-cis-storytelling/SKILL.md +0 -290
  108. package/.opencode/skills/bmad-core-bmad-master/SKILL.md +0 -48
  109. package/.opencode/skills/bmad-core-brainstorming/SKILL.md +0 -74
  110. package/.opencode/skills/bmad-core-party-mode/SKILL.md +0 -241
  111. package/.opencode/skills/bmad-core-task-editorial-review-prose/SKILL.md +0 -74
  112. package/.opencode/skills/bmad-core-task-editorial-review-structure/SKILL.md +0 -151
  113. package/.opencode/skills/bmad-core-task-help/SKILL.md +0 -100
  114. package/.opencode/skills/bmad-core-task-index-docs/SKILL.md +0 -46
  115. package/.opencode/skills/bmad-core-task-review-adversarial-general/SKILL.md +0 -36
  116. package/.opencode/skills/bmad-core-task-shard-doc/SKILL.md +0 -80
  117. package/.opencode/skills/bmad-tea-tea/SKILL.md +0 -57
  118. package/.opencode/skills/bmad-tea-teach-me-testing/SKILL.md +0 -106
  119. package/.opencode/skills/bmad-tea-testarch-atdd/SKILL.md +0 -62
  120. package/.opencode/skills/bmad-tea-testarch-automate/SKILL.md +0 -67
  121. package/.opencode/skills/bmad-tea-testarch-ci/SKILL.md +0 -62
  122. package/.opencode/skills/bmad-tea-testarch-framework/SKILL.md +0 -62
  123. package/.opencode/skills/bmad-tea-testarch-nfr/SKILL.md +0 -60
  124. package/.opencode/skills/bmad-tea-testarch-test-design/SKILL.md +0 -76
  125. package/.opencode/skills/bmad-tea-testarch-test-review/SKILL.md +0 -60
  126. package/.opencode/skills/bmad-tea-testarch-trace/SKILL.md +0 -60
@@ -1,205 +1,60 @@
1
1
  ---
2
2
  name: bmad-bmm-retrospective
3
3
  description: "Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic"
4
- license: MIT
5
- compatibility: opencode
6
- metadata:
7
- source: "bmad-method"
8
- module: "bmm"
9
- workflow: "retrospective"
10
- standalone: false
11
4
  ---
12
5
 
13
- # retrospective Workflow
14
-
15
- Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic
16
-
17
- **Author:** BMad
18
-
19
- ## How to Use
20
-
21
- This skill provides a structured workflow. Follow the steps below:
22
-
23
- ## Workflow Steps
24
-
25
- ### Step 1: Epic Discovery - Find Completed Epic with Priority Logic
26
-
27
- **Actions:**
28
- - Explain to {user_name} the epic discovery process using natural dialogue
29
- - PRIORITY 1: Check {sprint_status_file} first
30
- - Load the FULL file: {sprint_status_file}
31
- - Read ALL development_status entries
32
- - Find the highest epic number with at least one story marked "done"
33
- - Extract epic number from keys like "epic-X-retrospective" or story keys like "X-Y-story-name"
34
- - Set {{detected_epic}} = highest epic number found with completed stories
35
- - Present finding to user with context
36
- - WAIT for {user_name} to confirm or correct
37
- - Set {{epic_number}} = {{detected_epic}}
38
- - Set {{epic_number}} = user-provided number
39
- - PRIORITY 2: Ask user directly
40
- - WAIT for {user_name} to provide epic number
41
- - Set {{epic_number}} = user-provided number
42
- - PRIORITY 3: Fallback to stories folder
43
- - Scan {story_directory} for highest numbered story files
44
- - Extract epic numbers from story filenames (pattern: epic-X-Y-story-name.md)
45
- - Set {{detected_epic}} = highest epic number found
46
- - WAIT for {user_name} to confirm or correct
47
- - Set {{epic_number}} = confirmed number
48
- - Once {{epic_number}} is determined, verify epic completion status
49
- - Find all stories for epic {{epic_number}} in {sprint_status_file}:
50
-
51
- - Look for keys starting with "{{epic_number}}-" (e.g., "1-1-", "1-2-", etc.)
52
- - Exclude epic key itself ("epic-{{epic_number}}")
53
- - Exclude retrospective key ("epic-{{epic_number}}-retrospective")
54
- - Count total stories found for this epic
55
- - Count stories with status = "done"
56
- - Collect list of pending story keys (status != "done")
57
- - Determine if complete: true if all stories are done, false otherwise
58
- - HALT
59
-
60
- **Questions to ask:**
61
- - Continue with incomplete epic? (yes/no)
62
-
63
- ### Step 2: Deep Story Analysis - Extract Lessons from Implementation
64
-
65
- **Actions:**
66
- - For each story in epic {{epic_number}}, read the complete story file from {story_directory}/{{epic_number}}-{{story_num}}-\*.md
67
- - Extract and analyze from each story:
68
- - Synthesize patterns across all stories:
69
- - Store this synthesis - these patterns will drive the retrospective discussion
70
-
71
- ### Step 3: Load and Integrate Previous Epic Retrospective
72
-
73
- **Actions:**
74
- - Calculate previous epic number: {{prev_epic_num}} = {{epic_number}} - 1
75
- - Search for previous retrospective using pattern: {retrospectives_folder}/epic-{{prev_epic_num}}-retro-*.md
76
- - Read the complete previous retrospective file
77
- - Extract key elements:
78
- - Cross-reference with current epic execution:
79
- - Prepare "continuity insights" for the retrospective discussion
80
- - Identify wins where previous lessons were applied successfully:
81
- - Identify missed opportunities where previous lessons were ignored:
82
- - Set {{first_retrospective}} = true
83
- - Set {{first_retrospective}} = true
84
-
85
- ### Step 4: Preview Next Epic with Change Detection
86
-
87
- **Actions:**
88
- - Calculate next epic number: {{next_epic_num}} = {{epic_number}} + 1
89
- - Attempt to load next epic using selective loading strategy:
90
- - Check if file exists: {planning_artifacts}/epic\*/epic-{{next_epic_num}}.md
91
- - Load {planning_artifacts}/*epic*/epic-{{next_epic_num}}.md
92
- - Set {{next_epic_source}} = "sharded"
93
- - Check if file exists: {planning_artifacts}/epic\*.md
94
- - Load entire epics document
95
- - Extract Epic {{next_epic_num}} section
96
- - Set {{next_epic_source}} = "whole"
97
- - Analyze next epic for:
98
- - Identify dependencies on completed work:
99
- - Note potential gaps or preparation needed:
100
- - Check for technical prerequisites:
101
- - Set {{next_epic_exists}} = true
102
- - Set {{next_epic_exists}} = false
103
-
104
- ### Step 5: Initialize Retrospective with Rich Context
105
-
106
- **Actions:**
107
- - Load agent configurations from {agent_manifest}
108
- - Identify which agents participated in Epic {{epic_number}} based on story records
109
- - Ensure key roles present: Product Owner, Scrum Master (facilitating), Devs, Testing/QA, Architect
110
- - WAIT for {user_name} to respond or indicate readiness
111
-
112
- ### Step 6: Epic Review Discussion - What Went Well, What Didn't
113
-
114
- **Actions:**
115
- - Bob (Scrum Master) naturally turns to {user_name} to engage them in the discussion
116
- - WAIT for {user_name} to respond - this is a KEY USER INTERACTION moment
117
- - After {user_name} responds, have 1-2 team members react to or build on what {user_name} shared
118
- - Continue facilitating natural dialogue, periodically bringing {user_name} back into the conversation
119
- - After covering successes, guide the transition to challenges with care
120
- - WAIT for {user_name} to respond and help facilitate the conflict resolution
121
- - Use {user_name}'s response to guide the discussion toward systemic understanding rather than blame
122
- - Continue the discussion, weaving in patterns discovered from the deep story analysis (Step 2)
123
- - WAIT for {user_name} to share their observations
124
- - Continue the retrospective discussion, creating moments where:
125
- - WAIT for {user_name} to respond
126
- - Use the previous retro follow-through as a learning moment about commitment and accountability
127
- - Allow team members to add any final thoughts on the epic review
128
- - Ensure {user_name} has opportunity to add their perspective
129
-
130
- ### Step 7: Next Epic Preparation Discussion - Interactive and Collaborative
131
-
132
- **Actions:**
133
- - Skip to Step 8
134
- - WAIT for {user_name} to share their assessment
135
- - Use {user_name}'s input to guide deeper exploration of preparation needs
136
- - WAIT for {user_name} to provide direction on preparation approach
137
- - Create space for debate and disagreement about priorities
138
- - WAIT for {user_name} to validate or adjust the preparation strategy
139
- - Continue working through preparation needs across all dimensions:
140
- - For each preparation area, facilitate team discussion that:
141
- - WAIT for {user_name} final validation of preparation plan
142
-
143
- ### Step 8: Synthesize Action Items with Significant Change Detection
144
-
145
- **Actions:**
146
- - Synthesize themes from Epic {{epic_number}} review discussion into actionable improvements
147
- - Create specific action items with:
148
- - Ensure action items are SMART:
149
- - WAIT for {user_name} to help resolve priority discussions
150
- - CRITICAL ANALYSIS - Detect if discoveries require epic updates
151
- - Check if any of the following are true based on retrospective discussion:
152
- - WAIT for {user_name} to decide on how to handle the significant changes
153
- - Add epic review session to critical path if user agrees
154
- - Give each agent with assignments a moment to acknowledge their ownership
155
- - Ensure {user_name} approves the complete action plan
156
-
157
- ### Step 9: Critical Readiness Exploration - Interactive Deep Dive
158
-
159
- **Actions:**
160
- - Explore testing and quality state through natural conversation
161
- - WAIT for {user_name} to describe testing status
162
- - WAIT for {user_name} to assess quality readiness
163
- - Add testing completion to critical path
164
- - Explore deployment and release status
165
- - WAIT for {user_name} to provide deployment status
166
- - WAIT for {user_name} to clarify deployment timeline
167
- - Add deployment milestone to critical path with agreed timeline
168
- - Explore stakeholder acceptance
169
- - WAIT for {user_name} to describe stakeholder acceptance status
170
- - WAIT for {user_name} decision
171
- - Add stakeholder acceptance to critical path if user agrees
172
- - Explore technical health and stability
173
- - WAIT for {user_name} to assess codebase health
174
- - WAIT for {user_name} decision
175
- - Add stability work to preparation sprint if user agrees
176
- - Explore unresolved blockers
177
- - WAIT for {user_name} to surface any blockers
178
- - Assign blocker resolution to appropriate agent
179
- - Add to critical path with priority and deadline
180
- - Synthesize the readiness assessment
181
- - WAIT for {user_name} to confirm or correct the assessment
182
-
183
- ### Step 10: Retrospective Closure with Celebration and Commitment
184
-
185
- **Actions:**
186
- - WAIT for {user_name} to share final reflections
187
- - Prepare to save retrospective summary document
188
-
189
- ### Step 11: Save Retrospective and Update Sprint Status
190
-
191
- **Actions:**
192
- - Ensure retrospectives folder exists: {retrospectives_folder}
193
- - Create folder if it doesn't exist
194
- - Generate comprehensive retrospective summary document including:
195
- - Format retrospective document as readable markdown with clear sections
196
- - Set filename: {retrospectives_folder}/epic-{{epic_number}}-retro-{date}.md
197
- - Save retrospective document
198
- - Update {sprint_status_file} to mark retrospective as completed
199
- - Load the FULL file: {sprint_status_file}
200
- - Find development_status key "epic-{{epic_number}}-retrospective"
201
- - Verify current status (typically "optional" or "pending")
202
- - Update development_status["epic-{{epic_number}}-retrospective"] = "done"
203
- - Save file, preserving ALL comments and structure including STATUS DEFINITIONS
204
-
205
- ### Step 12: Final Summary and Handoff
6
+ # Retrospective - Epic Completion Review Workflow
7
+ name: "retrospective"
8
+ description: "Run after epic completion to review overall success, extract lessons learned, and explore if new information emerged that might impact the next epic"
9
+ author: "BMad"
10
+
11
+ config_source: "{project-root}/_bmad/bmm/config.yaml"
12
+ output_folder: "{config_source}:implementation_artifacts}"
13
+ user_name: "{config_source}:user_name"
14
+ communication_language: "{config_source}:communication_language"
15
+ user_skill_level: "{config_source}:user_skill_level"
16
+ document_output_language: "{config_source}:document_output_language"
17
+ date: system-generated
18
+ planning_artifacts: "{config_source}:planning_artifacts"
19
+ implementation_artifacts: "{config_source}:implementation_artifacts"
20
+
21
+ installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/retrospective"
22
+ template: false
23
+ instructions: "{installed_path}/instructions.md"
24
+
25
+ required_inputs:
26
+ - agent_manifest: "{project-root}/_bmad/_config/agent-manifest.csv"
27
+
28
+ # Smart input file references - handles both whole docs and sharded docs
29
+ # Priority: Whole document first, then sharded version
30
+ # Strategy: SELECTIVE LOAD - only load the completed epic and relevant retrospectives
31
+ input_file_patterns:
32
+ epics:
33
+ description: "The completed epic for retrospective"
34
+ whole: "{planning_artifacts}/*epic*.md"
35
+ sharded_index: "{planning_artifacts}/*epic*/index.md"
36
+ sharded_single: "{planning_artifacts}/*epic*/epic-{{epic_num}}.md"
37
+ load_strategy: "SELECTIVE_LOAD"
38
+ previous_retrospective:
39
+ description: "Previous epic's retrospective (optional)"
40
+ pattern: "{implementation_artifacts}/**/epic-{{prev_epic_num}}-retro-*.md"
41
+ load_strategy: "SELECTIVE_LOAD"
42
+ architecture:
43
+ description: "System architecture for context"
44
+ whole: "{planning_artifacts}/*architecture*.md"
45
+ sharded: "{planning_artifacts}/*architecture*/*.md"
46
+ load_strategy: "FULL_LOAD"
47
+ prd:
48
+ description: "Product requirements for context"
49
+ whole: "{planning_artifacts}/*prd*.md"
50
+ sharded: "{planning_artifacts}/*prd*/*.md"
51
+ load_strategy: "FULL_LOAD"
52
+ document_project:
53
+ description: "Brownfield project documentation (optional)"
54
+ sharded: "{planning_artifacts}/*.md"
55
+ load_strategy: "INDEX_GUIDED"
56
+
57
+ # Required files
58
+ sprint_status_file: "{implementation_artifacts}/sprint-status.yaml"
59
+ story_directory: "{implementation_artifacts}"
60
+ retrospectives_folder: "{implementation_artifacts}"
@@ -1,49 +1,70 @@
1
1
  ---
2
2
  name: bmad-bmm-sm
3
- description: "Scrum Master - Technical Scrum Master + Story Preparation Specialist"
4
- license: MIT
5
- compatibility: opencode
6
- metadata:
7
- source: "bmad-method"
8
- module: "bmm"
9
- agent: "sm"
10
- icon: "🏃"
3
+ description: "Scrum Master"
11
4
  ---
12
5
 
13
- # Scrum Master Agent Skill
6
+ You must fully embody this agent's persona and follow all activation instructions exactly as specified. NEVER break character until given an exit command.
14
7
 
15
- Invoke this skill to activate the Bob agent persona.
16
-
17
- ## Activation Steps
18
-
19
- 1. Load persona from this current agent file (already in context)
20
- 2. 🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
8
+ ```xml
9
+ <agent id="sm.agent.yaml" name="Bob" title="Scrum Master" icon="🏃">
10
+ <activation critical="MANDATORY">
11
+ <step n="1">Load persona from this current agent file (already in context)</step>
12
+ <step n="2">🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
21
13
  - Load and read {project-root}/_bmad/bmm/config.yaml NOW
22
14
  - Store ALL fields as session variables: {user_name}, {communication_language}, {output_folder}
23
15
  - VERIFY: If config not loaded, STOP and report error to user
24
16
  - DO NOT PROCEED to step 3 until config is successfully loaded and variables stored
25
- 3. Remember: user's name is {user_name}
26
- 4. Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section
27
- 5. Let {user_name} know they can type command `/bmad-help` at any time to get advice on what to do next, and that they can combine that with what they need help with <example>`/bmad-help where should I start with an idea I have that does XYZ`</example>
28
- 6. STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match
29
- 7. On user input: Number process menu item[n] | Text case-insensitive substring match | Multiple matches ask user to clarify | No match show "Not recognized"
30
- 8. When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions
31
-
32
- ## Available Commands
33
-
34
- - **MH or fuzzy match on menu or help**: [MH] Redisplay Menu Help
35
- - **CH or fuzzy match on chat**: [CH] Chat with the Agent about anything
36
- - **SP or fuzzy match on sprint-planning**: [SP] Sprint Planning: Generate or update the record that will sequence the tasks to complete the full project that the dev agent will follow (workflow: `{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml`)
37
- - **CS or fuzzy match on create-story**: [CS] Context Story: Prepare a story with all required context for implementation for the developer agent (workflow: `{project-root}/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml`)
38
- - **ER or fuzzy match on epic-retrospective**: [ER] Epic Retrospective: Party Mode review of all work completed across an epic. (workflow: `{project-root}/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml`)
39
- - **CC or fuzzy match on correct-course**: [CC] Course Correction: Use this so we can determine how to proceed if major need for change is discovered mid implementation (workflow: `{project-root}/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml`)
40
- - **PM or fuzzy match on party-mode**: [PM] Start Party Mode (exec: `{project-root}/_bmad/core/workflows/party-mode/workflow.md`)
41
- - **DA or fuzzy match on exit, leave, goodbye or dismiss agent**: [DA] Dismiss Agent
17
+ &lt;/step&gt;
18
+ &lt;step n&#x3D;&quot;3&quot;&gt;Remember: user&#x27;s name is {user_name}&lt;/step&gt;
19
+
20
+ &lt;step n&#x3D;&quot;4&quot;&gt;Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section&lt;/step&gt;
21
+ &lt;step n&#x3D;&quot;5&quot;&gt;Let {user_name} know they can type command &#x60;/bmad-help&#x60; at any time to get advice on what to do next, and that they can combine that with what they need help with &lt;example&gt;&#x60;/bmad-help where should I start with an idea I have that does XYZ&#x60;&lt;/example&gt;&lt;/step&gt;
22
+ &lt;step n&#x3D;&quot;6&quot;&gt;STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match&lt;/step&gt;
23
+ &lt;step n&#x3D;&quot;7&quot;&gt;On user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show &quot;Not recognized&quot;&lt;/step&gt;
24
+ &lt;step n&#x3D;&quot;8&quot;&gt;When processing a menu item: Check menu-handlers section below - extract any attributes from the selected menu item (workflow, exec, tmpl, data, action, validate-workflow) and follow the corresponding handler instructions&lt;/step&gt;
42
25
 
43
- ## Persona
26
+ &lt;menu-handlers&gt;
27
+ &lt;handlers&gt;
28
+ &lt;handler type&#x3D;&quot;workflow&quot;&gt;
29
+ When menu item has: workflow&#x3D;&quot;path/to/workflow.yaml&quot;:
44
30
 
45
- **Role:** Technical Scrum Master + Story Preparation Specialist
31
+ 1. CRITICAL: Always LOAD {project-root}/_bmad/core/tasks/workflow.xml
32
+ 2. Read the complete file - this is the CORE OS for processing BMAD workflows
33
+ 3. Pass the yaml path as &#x27;workflow-config&#x27; parameter to those instructions
34
+ 4. Follow workflow.xml instructions precisely following all steps
35
+ 5. Save outputs after completing EACH workflow step (never batch multiple steps together)
36
+ 6. If workflow.yaml path is &quot;todo&quot;, inform user the workflow hasn&#x27;t been implemented yet
37
+ &lt;/handler&gt;
38
+ &lt;handler type&#x3D;&quot;data&quot;&gt;
39
+ When menu item has: data&#x3D;&quot;path/to/file.json|yaml|yml|csv|xml&quot;
40
+ Load the file first, parse according to extension
41
+ Make available as {data} variable to subsequent handler operations
42
+ &lt;/handler&gt;
46
43
 
47
- **Identity:** Certified Scrum Master with deep technical background. Expert in agile ceremonies, story preparation, and creating clear actionable user stories.
44
+ &lt;/handlers&gt;
45
+ &lt;/menu-handlers&gt;
48
46
 
49
- **Style:** Crisp and checklist-driven. Every word has a purpose, every requirement crystal clear. Zero tolerance for ambiguity.
47
+ &lt;rules&gt;
48
+ &lt;r&gt;ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.&lt;/r&gt;
49
+ &lt;r&gt; Stay in character until exit selected&lt;/r&gt;
50
+ &lt;r&gt; Display Menu items as the item dictates and in the order given.&lt;/r&gt;
51
+ &lt;r&gt; Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml&lt;/r&gt;
52
+ &lt;/rules&gt;
53
+ &lt;/activation&gt; &lt;persona&gt;
54
+ &lt;role&gt;Technical Scrum Master + Story Preparation Specialist&lt;/role&gt;
55
+ &lt;identity&gt;Certified Scrum Master with deep technical background. Expert in agile ceremonies, story preparation, and creating clear actionable user stories.&lt;/identity&gt;
56
+ &lt;communication_style&gt;Crisp and checklist-driven. Every word has a purpose, every requirement crystal clear. Zero tolerance for ambiguity.&lt;/communication_style&gt;
57
+ &lt;principles&gt;- I strive to be a servant leader and conduct myself accordingly, helping with any task and offering suggestions - I love to talk about Agile process and theory whenever anyone wants to talk about it&lt;/principles&gt;
58
+ &lt;/persona&gt;
59
+ &lt;menu&gt;
60
+ &lt;item cmd&#x3D;&quot;MH or fuzzy match on menu or help&quot;&gt;[MH] Redisplay Menu Help&lt;/item&gt;
61
+ &lt;item cmd&#x3D;&quot;CH or fuzzy match on chat&quot;&gt;[CH] Chat with the Agent about anything&lt;/item&gt;
62
+ &lt;item cmd&#x3D;&quot;SP or fuzzy match on sprint-planning&quot; workflow&#x3D;&quot;{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml&quot;&gt;[SP] Sprint Planning: Generate or update the record that will sequence the tasks to complete the full project that the dev agent will follow&lt;/item&gt;
63
+ &lt;item cmd&#x3D;&quot;CS or fuzzy match on create-story&quot; workflow&#x3D;&quot;{project-root}/_bmad/bmm/workflows/4-implementation/create-story/workflow.yaml&quot;&gt;[CS] Context Story: Prepare a story with all required context for implementation for the developer agent&lt;/item&gt;
64
+ &lt;item cmd&#x3D;&quot;ER or fuzzy match on epic-retrospective&quot; workflow&#x3D;&quot;{project-root}/_bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml&quot; data&#x3D;&quot;{project-root}/_bmad/_config/agent-manifest.csv&quot;&gt;[ER] Epic Retrospective: Party Mode review of all work completed across an epic.&lt;/item&gt;
65
+ &lt;item cmd&#x3D;&quot;CC or fuzzy match on correct-course&quot; workflow&#x3D;&quot;{project-root}/_bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml&quot;&gt;[CC] Course Correction: Use this so we can determine how to proceed if major need for change is discovered mid implementation&lt;/item&gt;
66
+ &lt;item cmd&#x3D;&quot;PM or fuzzy match on party-mode&quot; exec&#x3D;&quot;{project-root}/_bmad/core/workflows/party-mode/workflow.md&quot;&gt;[PM] Start Party Mode&lt;/item&gt;
67
+ &lt;item cmd&#x3D;&quot;DA or fuzzy match on exit, leave, goodbye or dismiss agent&quot;&gt;[DA] Dismiss Agent&lt;/item&gt;
68
+ &lt;/menu&gt;
69
+ &lt;/agent&gt;
70
+ &#x60;&#x60;&#x60;
@@ -1,57 +1,56 @@
1
1
  ---
2
2
  name: bmad-bmm-sprint-planning
3
3
  description: "Generate and manage the sprint status tracking file for Phase 4 implementation, extracting all epics and stories from epic files and tracking their status through the development lifecycle"
4
- license: MIT
5
- compatibility: opencode
6
- metadata:
7
- source: "bmad-method"
8
- module: "bmm"
9
- workflow: "sprint-planning"
10
- standalone: false
11
4
  ---
12
5
 
13
- # sprint-planning Workflow
14
-
15
- Generate and manage the sprint status tracking file for Phase 4 implementation, extracting all epics and stories from epic files and tracking their status through the development lifecycle
16
-
17
- **Author:** BMad
18
-
19
- ## How to Use
20
-
21
- This skill provides a structured workflow. Follow the steps below:
22
-
23
- ## Workflow Steps
24
-
25
- ### Step 1: Parse epic files and extract all work items
26
-
27
- **Actions:**
28
- - Communicate in {communication_language} with {user_name}
29
- - Look for all files matching `{epics_pattern}` in {epics_location}
30
- - Could be a single `epics.md` file or multiple `epic-1.md`, `epic-2.md` files
31
- - For each epic file found, extract:
32
- - Build complete inventory of all epics and stories from all epic files
33
-
34
- ### Step 2: Build sprint status structure
35
-
36
- **Actions:**
37
- - For each epic found, create entries in this order:
38
-
39
- ### Step 3: Apply intelligent status detection
40
-
41
- **Actions:**
42
- - For each story, detect current status by checking files:
43
-
44
- ### Step 4: Generate sprint status file
45
-
46
- **Actions:**
47
- - Create or update {status_file} with:
48
- - Write the complete sprint status YAML to {status_file}
49
- - CRITICAL: Metadata appears TWICE - once as comments (#) for documentation, once as YAML key:value fields for parsing
50
- - Ensure all items are ordered: epic, its stories, its retrospective, next epic...
51
-
52
- ### Step 5: Validate and report
53
-
54
- **Actions:**
55
- - Perform validation checks:
56
- - Count totals:
57
- - Display completion summary to {user_name} in {communication_language}:
6
+ name: sprint-planning
7
+ description: &quot;Generate and manage the sprint status tracking file for Phase 4 implementation, extracting all epics and stories from epic files and tracking their status through the development lifecycle&quot;
8
+ author: &quot;BMad&quot;
9
+
10
+ # Critical variables from config
11
+ config_source: &quot;{project-root}/_bmad/bmm/config.yaml&quot;
12
+ user_name: &quot;{config_source}:user_name&quot;
13
+ communication_language: &quot;{config_source}:communication_language&quot;
14
+ date: system-generated
15
+ implementation_artifacts: &quot;{config_source}:implementation_artifacts&quot;
16
+ planning_artifacts: &quot;{config_source}:planning_artifacts&quot;
17
+ output_folder: &quot;{implementation_artifacts}&quot;
18
+
19
+ # Workflow components
20
+ installed_path: &quot;{project-root}/_bmad/bmm/workflows/4-implementation/sprint-planning&quot;
21
+ instructions: &quot;{installed_path}/instructions.md&quot;
22
+ template: &quot;{installed_path}/sprint-status-template.yaml&quot;
23
+ validation: &quot;{installed_path}/checklist.md&quot;
24
+
25
+ # Variables and inputs
26
+ variables:
27
+ # Project context
28
+ project_context: &quot;**/project-context.md&quot;
29
+ # Project identification
30
+ project_name: &quot;{config_source}:project_name&quot;
31
+
32
+ # Tracking system configuration
33
+ tracking_system: &quot;file-system&quot; # Options: file-system, Future will support other options from config of mcp such as jira, linear, trello
34
+ project_key: &quot;NOKEY&quot; # Placeholder for tracker integrations; file-system uses a no-op key
35
+ story_location: &quot;{config_source}:implementation_artifacts&quot; # Relative path for file-system, Future will support URL for Jira/Linear/Trello
36
+ story_location_absolute: &quot;{config_source}:implementation_artifacts&quot; # Absolute path for file operations
37
+
38
+ # Source files (file-system only)
39
+ epics_location: &quot;{planning_artifacts}&quot; # Directory containing epic*.md files
40
+ epics_pattern: &quot;epic*.md&quot; # Pattern to find epic files
41
+
42
+ # Output configuration
43
+ status_file: &quot;{implementation_artifacts}/sprint-status.yaml&quot;
44
+
45
+ # Smart input file references - handles both whole docs and sharded docs
46
+ # Priority: Whole document first, then sharded version
47
+ # Strategy: FULL LOAD - sprint planning needs ALL epics to build complete status
48
+ input_file_patterns:
49
+ epics:
50
+ description: &quot;All epics with user stories&quot;
51
+ whole: &quot;{output_folder}/*epic*.md&quot;
52
+ sharded: &quot;{output_folder}/*epic*/*.md&quot;
53
+ load_strategy: &quot;FULL_LOAD&quot;
54
+
55
+ # Output configuration
56
+ default_output_file: &quot;{status_file}&quot;
@@ -1,104 +1,35 @@
1
1
  ---
2
2
  name: bmad-bmm-sprint-status
3
3
  description: "Summarize sprint-status.yaml, surface risks, and route to the right implementation workflow."
4
- license: MIT
5
- compatibility: opencode
6
- metadata:
7
- source: "bmad-method"
8
- module: "bmm"
9
- workflow: "sprint-status"
10
- standalone: false
11
4
  ---
12
5
 
13
- # sprint-status Workflow
14
-
15
- Summarize sprint-status.yaml, surface risks, and route to the right implementation workflow.
16
-
17
- **Author:** BMad
18
-
19
- ## How to Use
20
-
21
- This skill provides a structured workflow. Follow the steps below:
22
-
23
- ## Workflow Steps
24
-
25
- ### Step 0: Determine execution mode
26
-
27
- **Actions:**
28
- - Set mode = {{mode}} if provided by caller; otherwise mode = "interactive"
29
- - Jump to Step 20
30
- - Jump to Step 30
31
- - Continue to Step 1
32
-
33
- ### Step 1: Locate sprint status file
34
-
35
- **Actions:**
36
- - Try {sprint_status_file}
37
- - Exit workflow
38
- - Continue to Step 2
39
-
40
- ### Step 2: Read and parse sprint-status.yaml
41
-
42
- **Actions:**
43
- - Read the FULL file: {sprint_status_file}
44
- - Parse fields: generated, project, project_key, tracking_system, story_location
45
- - Parse development_status map. Classify keys:
46
- - Map legacy story status "drafted" → "ready-for-dev"
47
- - Count story statuses: backlog, ready-for-dev, in-progress, review, done
48
- - Map legacy epic status "contexted" → "in-progress"
49
- - Count epic statuses: backlog, in-progress, done
50
- - Count retrospective statuses: optional, done
51
- - Validate all statuses against known values:
52
- - Update sprint-status.yaml with corrected values
53
- - Re-parse the file with corrected statuses
54
- - Detect risks:
55
-
56
- **Questions to ask:**
57
- - How should these be corrected?
58
- {{#each invalid_entries}}
59
- {{@index}}. {{key}}: "{{status}}" → [select valid status]
60
- {{/each}}
61
-
62
- Enter corrections (e.g., "1=in-progress, 2=backlog") or "skip" to continue without fixing:
63
-
64
- ### Step 3: Select next action recommendation
65
-
66
- **Actions:**
67
- - Pick the next recommended workflow using priority:
68
- - Store selected recommendation as: next_story_id, next_workflow_id, next_agent (SM/DEV as appropriate)
69
-
70
- ### Step 4: Display summary
71
-
72
- ### Step 5: Offer actions
73
-
74
- **Actions:**
75
- - Display the full contents of {sprint_status_file}
76
- - Exit workflow
77
-
78
- **Questions to ask:**
79
- - Pick an option:
80
- 1) Run recommended workflow now
81
- 2) Show all stories grouped by status
82
- 3) Show raw sprint-status.yaml
83
- 4) Exit
84
- Choice:
85
-
86
- ### Step 20: Data mode output
87
-
88
- **Actions:**
89
- - Load and parse {sprint_status_file} same as Step 2
90
- - Compute recommendation same as Step 3
91
- - Return to caller
92
-
93
- ### Step 30: Validate sprint-status file
94
-
95
- **Actions:**
96
- - Check that {sprint_status_file} exists
97
- - Return
98
- - Read and parse {sprint_status_file}
99
- - Validate required metadata fields exist: generated, project, project_key, tracking_system, story_location
100
- - Return
101
- - Verify development_status section exists with at least one entry
102
- - Return
103
- - Validate all status values against known valid statuses:
104
- - Return
6
+ # Sprint Status - Implementation Tracker
7
+ name: sprint-status
8
+ description: &quot;Summarize sprint-status.yaml, surface risks, and route to the right implementation workflow.&quot;
9
+ author: &quot;BMad&quot;
10
+
11
+ # Critical variables from config
12
+ config_source: &quot;{project-root}/_bmad/bmm/config.yaml&quot;
13
+ output_folder: &quot;{config_source}:output_folder&quot;
14
+ user_name: &quot;{config_source}:user_name&quot;
15
+ communication_language: &quot;{config_source}:communication_language&quot;
16
+ document_output_language: &quot;{config_source}:document_output_language&quot;
17
+ date: system-generated
18
+ implementation_artifacts: &quot;{config_source}:implementation_artifacts&quot;
19
+ planning_artifacts: &quot;{config_source}:planning_artifacts&quot;
20
+
21
+ # Workflow components
22
+ installed_path: &quot;{project-root}/_bmad/bmm/workflows/4-implementation/sprint-status&quot;
23
+ instructions: &quot;{installed_path}/instructions.md&quot;
24
+
25
+ # Inputs
26
+ variables:
27
+ sprint_status_file: &quot;{implementation_artifacts}/sprint-status.yaml&quot;
28
+ tracking_system: &quot;file-system&quot;
29
+
30
+ # Smart input file references
31
+ input_file_patterns:
32
+ sprint_status:
33
+ description: &quot;Sprint status file generated by sprint-planning&quot;
34
+ whole: &quot;{implementation_artifacts}/sprint-status.yaml&quot;
35
+ load_strategy: &quot;FULL_LOAD&quot;