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
@@ -0,0 +1,53 @@
1
+ ---
2
+ name: bmad-review-adversarial-general
3
+ description: "Cynically review content and produce findings"
4
+ ---
5
+
6
+ <!-- if possible, run this in a separate subagent or process with read access to the project,
7
+ but no context except the content to review -->
8
+
9
+ <task id="_bmad/core/tasks/review-adversarial-general.xml" name="Adversarial Review (General)">
10
+ <objective>Cynically review content and produce findings</objective>
11
+
12
+ <inputs>
13
+ <input name="content" desc="Content to review - diff, spec, story, doc, or any artifact" />
14
+ <input name="also_consider" required="false"
15
+ desc="Optional areas to keep in mind during review alongside normal adversarial analysis" />
16
+ </inputs>
17
+
18
+ <llm critical="true">
19
+ <i>MANDATORY: Execute ALL steps in the flow section IN EXACT ORDER</i>
20
+ <i>DO NOT skip steps or change the sequence</i>
21
+ <i>HALT immediately when halt-conditions are met</i>
22
+ <i>Each action xml tag within step xml tag is a REQUIRED action to complete that step</i>
23
+
24
+ <i>You are a cynical, jaded reviewer with zero patience for sloppy work</i>
25
+ <i>The content was submitted by a clueless weasel and you expect to find problems</i>
26
+ <i>Be skeptical of everything</i>
27
+ <i>Look for what's missing, not just what's wrong</i>
28
+ <i>Use a precise, professional tone - no profanity or personal attacks</i>
29
+ </llm>
30
+
31
+ <flow>
32
+ <step n="1" title="Receive Content">
33
+ <action>Load the content to review from provided input or context</action>
34
+ <action>If content to review is empty, ask for clarification and abort task</action>
35
+ <action>Identify content type (diff, branch, uncommitted changes, document, etc.)</action>
36
+ </step>
37
+
38
+ <step n="2" title="Adversarial Analysis" critical="true">
39
+ <mandate>Review with extreme skepticism - assume problems exist</mandate>
40
+ <action>Find at least ten issues to fix or improve in the provided content</action>
41
+ </step>
42
+
43
+ <step n="3" title="Present Findings">
44
+ <action>Output findings as a Markdown list (descriptions only)</action>
45
+ </step>
46
+ </flow>
47
+
48
+ <halt-conditions>
49
+ <condition>HALT if zero findings - this is suspicious, re-analyze or ask for guidance</condition>
50
+ <condition>HALT if content is empty or unreadable</condition>
51
+ </halt-conditions>
52
+
53
+ </task>
@@ -0,0 +1,113 @@
1
+ ---
2
+ name: bmad-shard-doc
3
+ description: "Splits large markdown documents into smaller, organized files based on level 2 (default) sections"
4
+ ---
5
+
6
+ <task id="_bmad/core/tasks/shard-doc" name="Shard Document"
7
+ description="Splits large markdown documents into smaller, organized files based on level 2 (default) sections">
8
+ <objective>Split large markdown documents into smaller, organized files based on level 2 sections using @kayvan/markdown-tree-parser tool</objective>
9
+
10
+ <llm critical="true">
11
+ <i>MANDATORY: Execute ALL steps in the flow section IN EXACT ORDER</i>
12
+ <i>DO NOT skip steps or change the sequence</i>
13
+ <i>HALT immediately when halt-conditions are met</i>
14
+ <i>Each action xml tag within step xml tag is a REQUIRED action to complete that step</i>
15
+ <i>Sections outside flow (validation, output, critical-context) provide essential context - review and apply throughout execution</i>
16
+ </llm>
17
+
18
+ <critical-context>
19
+ <i>Uses `npx @kayvan/markdown-tree-parser` to automatically shard documents by level 2 headings and generate an index</i>
20
+ </critical-context>
21
+
22
+ <flow>
23
+ <step n="1" title="Get Source Document">
24
+ <action>Ask user for the source document path if not provided already</action>
25
+ <action>Verify file exists and is accessible</action>
26
+ <action>Verify file is markdown format (.md extension)</action>
27
+ <action if="file not found or not markdown">HALT with error message</action>
28
+ </step>
29
+
30
+ <step n="2" title="Get Destination Folder">
31
+ <action>Determine default destination: same location as source file, folder named after source file without .md extension</action>
32
+ <action>Example: /path/to/architecture.md → /path/to/architecture/</action>
33
+ <action>Ask user for the destination folder path ([y] to confirm use of default: [suggested-path], else enter a new path)</action>
34
+ <action if="user accepts default">Use the suggested destination path</action>
35
+ <action if="user provides custom path">Use the custom destination path</action>
36
+ <action>Verify destination folder exists or can be created</action>
37
+ <action>Check write permissions for destination</action>
38
+ <action if="permission denied">HALT with error message</action>
39
+ </step>
40
+
41
+ <step n="3" title="Execute Sharding">
42
+ <action>Inform user that sharding is beginning</action>
43
+ <action>Execute command: `npx @kayvan/markdown-tree-parser explode [source-document] [destination-folder]`</action>
44
+ <action>Capture command output and any errors</action>
45
+ <action if="command fails">HALT and display error to user</action>
46
+ </step>
47
+
48
+ <step n="4" title="Verify Output">
49
+ <action>Check that destination folder contains sharded files</action>
50
+ <action>Verify index.md was created in destination folder</action>
51
+ <action>Count the number of files created</action>
52
+ <action if="no files created">HALT with error message</action>
53
+ </step>
54
+
55
+ <step n="5" title="Report Completion">
56
+ <action>Display completion report to user including:</action>
57
+ <i>- Source document path and name</i>
58
+ <i>- Destination folder path</i>
59
+ <i>- Number of section files created</i>
60
+ <i>- Confirmation that index.md was created</i>
61
+ <i>- Any tool output or warnings</i>
62
+ <action>Inform user that sharding completed successfully</action>
63
+ </step>
64
+
65
+ <step n="6" title="Handle Original Document">
66
+ <critical>Keeping both the original and sharded versions defeats the purpose of sharding and can cause confusion</critical>
67
+ <action>Present user with options for the original document:</action>
68
+
69
+ <ask>What would you like to do with the original document `[source-document-name]`?
70
+
71
+ Options:
72
+ [d] Delete - Remove the original (recommended - shards can always be recombined)
73
+ [m] Move to archive - Move original to a backup/archive location
74
+ [k] Keep - Leave original in place (NOT recommended - defeats sharding purpose)
75
+
76
+ Your choice (d/m/k):</ask>
77
+
78
+ <check if="user selects 'd' (delete)">
79
+ <action>Delete the original source document file</action>
80
+ <action>Confirm deletion to user: "✓ Original document deleted: [source-document-path]"</action>
81
+ <note>The document can be reconstructed from shards by concatenating all section files in order</note>
82
+ </check>
83
+
84
+ <check if="user selects 'm' (move)">
85
+ <action>Determine default archive location: same directory as source, in an "archive" subfolder</action>
86
+ <action>Example: /path/to/architecture.md → /path/to/archive/architecture.md</action>
87
+ <ask>Archive location ([y] to use default: [default-archive-path], or provide custom path):</ask>
88
+ <action if="user accepts default">Use default archive path</action>
89
+ <action if="user provides custom path">Use custom archive path</action>
90
+ <action>Create archive directory if it doesn't exist</action>
91
+ <action>Move original document to archive location</action>
92
+ <action>Confirm move to user: "✓ Original document moved to: [archive-path]"</action>
93
+ </check>
94
+
95
+ <check if="user selects 'k' (keep)">
96
+ <action>Display warning to user:</action>
97
+ <output>⚠️ WARNING: Keeping both original and sharded versions is NOT recommended.
98
+
99
+ This creates confusion because:
100
+ - The discover_inputs protocol may load the wrong version
101
+ - Updates to one won't reflect in the other
102
+ - You'll have duplicate content taking up space
103
+
104
+ Consider deleting or archiving the original document.</output>
105
+ <action>Confirm user choice: "Original document kept at: [source-document-path]"</action>
106
+ </check>
107
+ </step>
108
+ </flow>
109
+
110
+ <halt-conditions critical="true">
111
+ <i>HALT if npx command fails or produces no output files</i>
112
+ </halt-conditions>
113
+ </task>
package/README.md CHANGED
@@ -32,9 +32,20 @@ curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/ma
32
32
 
33
33
  After installation, you have access to:
34
34
 
35
- 1. **Plugin Tools** - Use `bmm_list`, `bmm_agent`, `bmm_skill` directly
35
+ 1. **Plugin Tools** - Use `bmm_list`, `bmm_agent`, `bmm_skill`, `bmm_agent_workflows`, `bmm_suggest_workflows` directly
36
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`
37
+ 3. **61 Workflow Skills** - After `bmm_install`, load skills via slash commands like `/bmad-bmm-create-prd`
38
+
39
+ ### New: Workflow Suggestions for Agents
40
+
41
+ When you @mention an agent, you can now discover their available workflows:
42
+
43
+ ```
44
+ Use bmm_suggest_workflows with agent bmm-dev to see available workflows
45
+ Use bmm_agent_workflows to see all agent-workflow mappings
46
+ ```
47
+
48
+ This helps OpenCode provide better autocomplete suggestions when mentioning agents.
38
49
 
39
50
  ---
40
51
 
@@ -64,7 +75,7 @@ After installation, you have access to:
64
75
  | `party-mode` | - | Multi-Agent Meeting Orchestrator |
65
76
  | `gen-subagent` | - | Agent Factory (generates new agents) |
66
77
 
67
- ### Skills (62)
78
+ ### Skills (61)
68
79
 
69
80
  #### BMM Module (Development Lifecycle)
70
81
  - `bmad-bmm-create-product-brief` - Create product briefs
@@ -79,7 +90,6 @@ After installation, you have access to:
79
90
  - `bmad-bmm-code-review` - Adversarial code review
80
91
  - `bmad-bmm-sprint-planning` - Sprint planning
81
92
  - `bmad-bmm-sprint-status` - Sprint status tracking
82
- - `bmad-bmm-dev-team-mode` - Parallel development orchestrator
83
93
  - `bmad-bmm-retrospective` - Sprint retrospectives
84
94
  - `bmad-bmm-quick-spec` - Quick tech specs
85
95
  - `bmad-bmm-quick-dev` - Quick development
@@ -116,8 +126,20 @@ After installation, you have access to:
116
126
  Use bmm_list to see all available agents and skills
117
127
  Use bmm_skill with name bmad-bmm-create-prd to get the PRD creation workflow
118
128
  Use bmm_install to copy everything to my project
129
+ Use bmm_agent_workflows to see all agent-workflow mappings
130
+ Use bmm_suggest_workflows with agent bmm-dev to see workflows for a specific agent
119
131
  ```
120
132
 
133
+ #### Discover Agent Workflows
134
+
135
+ The plugin now provides tools to discover which workflows are available for each agent:
136
+
137
+ - **`bmm_agent_workflows`**: Lists all agents with their available workflows
138
+ - **`bmm_suggest_workflows({ agent: "bmm-dev" })`**: Get detailed workflow information for a specific agent
139
+ - **`bmm_agent({ name: "bmm-pm" })`**: Now includes workflow information in the agent details
140
+
141
+ These tools enable OpenCode to provide intelligent autocomplete suggestions when you @mention agents.
142
+
121
143
  ### Switch to an agent (after bmm_install)
122
144
 
123
145
  Press `Tab` or use the agent switch keybind, then select an agent.
@@ -163,6 +185,7 @@ curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/ma
163
185
 
164
186
  | Version | Agents | Skills | Changes |
165
187
  |---------|--------|--------|---------|
188
+ | 1.4.3 | 19 | 62 | Sprint-planning: auto-calculate story depends_on with priority cascade (explicit > prose > sequential default) |
166
189
  | 1.4.2 | 19 | 62 | Party-mode: structured decision options + background agent progress monitoring |
167
190
  | 1.4.1 | 19 | 62 | Dev-team-mode: show session_id and progress monitoring for background agents |
168
191
  | 1.4.0 | 19 | 62 | Add per-agent LLM model configuration with multi-provider alternatives |
@@ -170,6 +193,7 @@ curl -s https://raw.githubusercontent.com/Jack-R-Hong/BMM-opencode/refs/heads/ma
170
193
  | 1.3.1 | 19 | 62 | Party-mode: agent titles with first impressions |
171
194
  | 1.3.0 | 19 | 62 | Added `dev-team-mode` parallel development orchestrator |
172
195
  | 1.2.0 | 19 | 61 | Added `party-mode`, `gen-subagent`, upgrade docs |
196
+
173
197
  | 1.1.0 | 17 | 61 | Added bmad-opencode-converter integration |
174
198
  | 1.0.1 | 17 | 61 | Initial release |
175
199
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAiOlD,eAAO,MAAM,SAAS,EAAE,MAkLvB,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAkflD,eAAO,MAAM,SAAS,EAAE,MA0SvB,CAAC;AAEF,eAAe,SAAS,CAAC"}