bmm-opencode 1.2.0 → 1.3.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.
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-bmm-dev-team-mode
|
|
3
|
+
description: "Orchestrate parallel development of multiple stories within an epic. Reads sprint-status.yaml, asks which epic to work on, spawns parallel dev-story and code-review subagents, and loops until epic completion."
|
|
4
|
+
license: MIT
|
|
5
|
+
compatibility: opencode
|
|
6
|
+
metadata:
|
|
7
|
+
source: "bmad-method"
|
|
8
|
+
module: "bmm"
|
|
9
|
+
workflow: "dev-team-mode"
|
|
10
|
+
standalone: "false"
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# dev-team-mode Workflow
|
|
14
|
+
|
|
15
|
+
Orchestrate parallel development of multiple stories within an epic. Reads sprint-status.yaml, asks which epic to work on, spawns parallel dev-story and code-review subagents, and loops until epic completion.
|
|
16
|
+
|
|
17
|
+
**Author:** BMad
|
|
18
|
+
|
|
19
|
+
## How to Use
|
|
20
|
+
|
|
21
|
+
This skill provides a structured workflow. Follow the steps below:
|
|
22
|
+
|
|
23
|
+
## Instructions
|
|
24
|
+
|
|
25
|
+
# Dev Team Mode - Parallel Development Orchestrator
|
|
26
|
+
|
|
27
|
+
<critical>Workflow engine: {project-root}/_bmad/core/tasks/workflow.xml</critical>
|
|
28
|
+
<critical>Config loaded from: {installed_path}/workflow.yaml</critical>
|
|
29
|
+
<critical>Language: {communication_language}</critical>
|
|
30
|
+
|
|
31
|
+
## WORKFLOW OVERVIEW
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
┌─────────────────────────────────────────────────────────────┐
|
|
35
|
+
│ DEV TEAM MODE │
|
|
36
|
+
│ │
|
|
37
|
+
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
|
|
38
|
+
│ │ INIT │───▶│ ANALYZE │───▶│ PARALLEL │ │
|
|
39
|
+
│ │ Step 1 │ │ Step 2 │ │ DEV │ │
|
|
40
|
+
│ │ │ │ │ │ Step 3 │ │
|
|
41
|
+
│ │ 2 prompts│ │dependency│ │ │ │
|
|
42
|
+
│ └──────────┘ └──────────┘ └────┬─────┘ │
|
|
43
|
+
│ │ │
|
|
44
|
+
│ ┌──────────┐ ┌──────────┐ ┌────▼─────┐ │
|
|
45
|
+
│ │ SYNC │◀───│ PARALLEL │◀───│ REVIEW │ │
|
|
46
|
+
│ │ Step 5 │ │ REVIEW │ │ Step 4 │ │
|
|
47
|
+
│ │ │ │ Step 4 │ │ │ │
|
|
48
|
+
│ │loop/exit │ │ │ │adversarial│ │
|
|
49
|
+
│ └────┬─────┘ └──────────┘ └──────────┘ │
|
|
50
|
+
│ │ │
|
|
51
|
+
│ ▼ │
|
|
52
|
+
│ Continue → Step 2 OR Exit │
|
|
53
|
+
└─────────────────────────────────────────────────────────────┘
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## ENTRY POINT
|
|
57
|
+
|
|
58
|
+
### Check Saved State
|
|
59
|
+
|
|
60
|
+
<action>Check for {implementation_artifacts}/dev-team-mode-state.yaml</action>
|
|
61
|
+
|
|
62
|
+
<check if="saved state exists">
|
|
63
|
+
<output>
|
|
64
|
+
## 🔄 Previous Session Found
|
|
65
|
+
|
|
66
|
+
Saved: {{timestamp}}
|
|
67
|
+
Epic: {{selected_epic}}
|
|
68
|
+
Progress: {{completed_count}} completed
|
|
69
|
+
</output>
|
|
70
|
+
|
|
71
|
+
<ask>
|
|
72
|
+
[1] **Resume** - Continue from saved state
|
|
73
|
+
[2] **Fresh** - Ignore saved, start new
|
|
74
|
+
[3] **Delete** - Remove saved state, start new
|
|
75
|
+
|
|
76
|
+
Choose:
|
|
77
|
+
</ask>
|
|
78
|
+
|
|
79
|
+
<routing>
|
|
80
|
+
<if value="1">Restore state, load resume_step</if>
|
|
81
|
+
<else>Delete saved state, continue fresh</else>
|
|
82
|
+
</routing>
|
|
83
|
+
</check>
|
|
84
|
+
|
|
85
|
+
### Fresh Start
|
|
86
|
+
|
|
87
|
+
<load>./steps/step-01-init.md</load>
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## STEP SEQUENCE
|
|
92
|
+
|
|
93
|
+
| Step | Purpose | Key Actions |
|
|
94
|
+
|------|---------|-------------|
|
|
95
|
+
| 1 | Init | 2 selection prompts: epic choice + execution mode |
|
|
96
|
+
| 2 | Analyze | Dependency analysis, build parallel batch |
|
|
97
|
+
| 3 | Dev | Launch dev-story subagents (background) |
|
|
98
|
+
| 4 | Review | Launch code-review subagents (different LLM) |
|
|
99
|
+
| 5 | Sync | Update status, loop or exit decision |
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## TWO-STEP SELECTION (Step 1)
|
|
104
|
+
|
|
105
|
+
### Selection 1: Epic Choice
|
|
106
|
+
|
|
107
|
+
| Option | Behavior |
|
|
108
|
+
|--------|----------|
|
|
109
|
+
| Continue | Resume epic with in-progress/review stories |
|
|
110
|
+
| Select | Manual epic selection |
|
|
111
|
+
| Autopilot | Auto-select, run until all epics done |
|
|
112
|
+
|
|
113
|
+
### Selection 2: Execution Mode
|
|
114
|
+
|
|
115
|
+
| Option | Behavior |
|
|
116
|
+
|--------|----------|
|
|
117
|
+
| Parallel | Multiple stories concurrent (up to max_parallel_agents) |
|
|
118
|
+
| Sequential | One story at a time |
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## CONFIGURATION
|
|
123
|
+
|
|
124
|
+
| Setting | Default | Description |
|
|
125
|
+
|---------|---------|-------------|
|
|
126
|
+
| `max_parallel_agents` | 3 | Max concurrent agents |
|
|
127
|
+
| `max_retry_per_story` | 3 | Retries before blocking |
|
|
128
|
+
| `dev_category` | deep | delegate_task category for dev |
|
|
129
|
+
| `review_category` | ultrabrain | delegate_task category for review |
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## SUBAGENT DELEGATION
|
|
134
|
+
|
|
135
|
+
### Dev-Story
|
|
136
|
+
|
|
137
|
+
```javascript
|
|
138
|
+
delegate_task({
|
|
139
|
+
category: "deep",
|
|
140
|
+
load_skills: ["bmad-bmm-dev-story"],
|
|
141
|
+
run_in_background: true,
|
|
142
|
+
prompt: "..."
|
|
143
|
+
});
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### Code-Review
|
|
147
|
+
|
|
148
|
+
```javascript
|
|
149
|
+
delegate_task({
|
|
150
|
+
category: "ultrabrain",
|
|
151
|
+
load_skills: ["bmad-bmm-code-review"],
|
|
152
|
+
run_in_background: true,
|
|
153
|
+
prompt: "..."
|
|
154
|
+
});
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## STATE SCHEMA
|
|
160
|
+
|
|
161
|
+
```yaml
|
|
162
|
+
workflowType: 'dev-team-mode'
|
|
163
|
+
selected_epic: ''
|
|
164
|
+
epic_mode: '' # continue|selected|autopilot
|
|
165
|
+
execution_mode: '' # parallel|sequential
|
|
166
|
+
parallel_mode: false
|
|
167
|
+
autopilot: false
|
|
168
|
+
parallel_stories: []
|
|
169
|
+
stories_to_review: []
|
|
170
|
+
blocked_stories: []
|
|
171
|
+
active_agents: []
|
|
172
|
+
completed_stories: []
|
|
173
|
+
failed_stories: []
|
|
174
|
+
retry_counts: {}
|
|
175
|
+
loop_count: 0
|
|
176
|
+
phase: 'init' # init|analyzing|dev|dev-running|review|review-running|sync
|
|
177
|
+
started_at: ''
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## EXIT CONDITIONS
|
|
183
|
+
|
|
184
|
+
### Automatic Triggers
|
|
185
|
+
- `*exit`, `stop`, `quit`, `end team`
|
|
186
|
+
- All stories in epic done
|
|
187
|
+
- All remaining stories blocked
|
|
188
|
+
|
|
189
|
+
### Graceful Exit
|
|
190
|
+
1. Save state to sprint-status.yaml
|
|
191
|
+
2. Display summary
|
|
192
|
+
3. Optionally save resumable state
|
|
193
|
+
4. Clean up
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
## ERROR HANDLING
|
|
198
|
+
|
|
199
|
+
| Failure | Action |
|
|
200
|
+
|---------|--------|
|
|
201
|
+
| Dev fails | Retry up to max_retry_per_story |
|
|
202
|
+
| Review fails | Retry with session context |
|
|
203
|
+
| Timeout | Mark needs-retry, continue |
|
|
204
|
+
| Critical | Block, alert user |
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## INTEGRATION
|
|
209
|
+
|
|
210
|
+
| Trigger | Workflow |
|
|
211
|
+
|---------|----------|
|
|
212
|
+
| No sprint-status | `/bmad-bmm-sprint-planning` |
|
|
213
|
+
| Stories in backlog | `/bmad-bmm-create-story` |
|
|
214
|
+
| Epic complete | `/bmad-bmm-retrospective` |
|
|
215
|
+
| Check progress | `/bmad-bmm-sprint-status` |
|
package/README.md
CHANGED
|
@@ -33,14 +33,14 @@ curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/ma
|
|
|
33
33
|
After installation, you have access to:
|
|
34
34
|
|
|
35
35
|
1. **Plugin Tools** - Use `bmm_list`, `bmm_agent`, `bmm_skill` directly
|
|
36
|
-
2. **
|
|
37
|
-
3. **
|
|
36
|
+
2. **19 Specialized Agents** - After `bmm_install`, switch agents using `Tab` key
|
|
37
|
+
3. **62 Workflow Skills** - After `bmm_install`, load skills via slash commands like `/bmad-bmm-create-prd`
|
|
38
38
|
|
|
39
39
|
---
|
|
40
40
|
|
|
41
41
|
## What's Included
|
|
42
42
|
|
|
43
|
-
### Agents (
|
|
43
|
+
### Agents (19)
|
|
44
44
|
|
|
45
45
|
| Agent | Name | Role |
|
|
46
46
|
|-------|------|------|
|
|
@@ -61,8 +61,10 @@ After installation, you have access to:
|
|
|
61
61
|
| `cis-storyteller` | Sophia | Master Storyteller |
|
|
62
62
|
| `core-bmad-master` | BMad Master | Workflow Orchestrator |
|
|
63
63
|
| `tea-tea` | Murat | Test Architect |
|
|
64
|
+
| `party-mode` | - | Multi-Agent Meeting Orchestrator |
|
|
65
|
+
| `gen-subagent` | - | Agent Factory (generates new agents) |
|
|
64
66
|
|
|
65
|
-
### Skills (
|
|
67
|
+
### Skills (62)
|
|
66
68
|
|
|
67
69
|
#### BMM Module (Development Lifecycle)
|
|
68
70
|
- `bmad-bmm-create-product-brief` - Create product briefs
|
|
@@ -77,6 +79,7 @@ After installation, you have access to:
|
|
|
77
79
|
- `bmad-bmm-code-review` - Adversarial code review
|
|
78
80
|
- `bmad-bmm-sprint-planning` - Sprint planning
|
|
79
81
|
- `bmad-bmm-sprint-status` - Sprint status tracking
|
|
82
|
+
- `bmad-bmm-dev-team-mode` - Parallel development orchestrator
|
|
80
83
|
- `bmad-bmm-retrospective` - Sprint retrospectives
|
|
81
84
|
- `bmad-bmm-quick-spec` - Quick tech specs
|
|
82
85
|
- `bmad-bmm-quick-dev` - Quick development
|
|
@@ -135,6 +138,38 @@ Load the bmad-bmm-create-prd skill and help me create a PRD
|
|
|
135
138
|
|
|
136
139
|
---
|
|
137
140
|
|
|
141
|
+
## Update / Upgrade
|
|
142
|
+
|
|
143
|
+
### For Humans
|
|
144
|
+
|
|
145
|
+
Paste this into your LLM agent session:
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
Upgrade bmm-opencode by following the instructions here:
|
|
149
|
+
https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/main/docs/upgrade.md
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### For LLM Agents
|
|
153
|
+
|
|
154
|
+
Fetch the upgrade guide and follow it:
|
|
155
|
+
|
|
156
|
+
```bash
|
|
157
|
+
curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/main/docs/upgrade.md
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
### Version History
|
|
163
|
+
|
|
164
|
+
| Version | Agents | Skills | Changes |
|
|
165
|
+
|---------|--------|--------|---------|
|
|
166
|
+
| 1.3.0 | 19 | 62 | Added `dev-team-mode` parallel development orchestrator |
|
|
167
|
+
| 1.2.0 | 19 | 61 | Added `party-mode`, `gen-subagent`, upgrade docs |
|
|
168
|
+
| 1.1.0 | 17 | 61 | Added bmad-opencode-converter integration |
|
|
169
|
+
| 1.0.1 | 17 | 61 | Initial release |
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
138
173
|
## Source
|
|
139
174
|
|
|
140
175
|
This package is generated from [BMAD-METHOD](https://github.com/bmad-code-org/BMAD-METHOD) using [BMM-opencode-converter](https://github.com/Jack-R-Hong/BMM-opencode-converter).
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bmm-opencode",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "BMAD-METHOD agents and skills for OpenCode - AI agent framework with
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "BMAD-METHOD agents and skills for OpenCode - AI agent framework with 19 specialized agents and 62 workflow skills",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|