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.
- package/.opencode/agents/bmad-bmad-master.md +11 -0
- package/.opencode/agents/bmm-analyst.md +10 -32
- package/.opencode/agents/bmm-architect.md +6 -34
- package/.opencode/agents/bmm-dev.md +6 -32
- package/.opencode/agents/bmm-pm.md +10 -41
- package/.opencode/agents/bmm-qa.md +5 -31
- package/.opencode/agents/bmm-quick-flow-solo-dev.md +7 -32
- package/.opencode/agents/bmm-sm.md +8 -32
- package/.opencode/agents/bmm-tech-writer.md +12 -0
- package/.opencode/agents/bmm-ux-designer.md +5 -37
- package/.opencode/commands/bmad-bmm-check-implementation-readiness.md +7 -0
- package/.opencode/commands/bmad-bmm-code-review.md +7 -0
- package/.opencode/commands/bmad-bmm-correct-course.md +7 -0
- package/.opencode/commands/bmad-bmm-create-architecture.md +7 -0
- package/.opencode/commands/bmad-bmm-create-epics-and-stories.md +7 -0
- package/.opencode/commands/bmad-bmm-create-prd.md +7 -0
- package/.opencode/commands/bmad-bmm-create-product-brief.md +7 -0
- package/.opencode/commands/bmad-bmm-create-story.md +7 -0
- package/.opencode/commands/bmad-bmm-create-ux-design.md +7 -0
- package/.opencode/commands/bmad-bmm-dev-story.md +7 -0
- package/.opencode/commands/bmad-bmm-document-project.md +7 -0
- package/.opencode/commands/bmad-bmm-domain-research.md +7 -0
- package/.opencode/commands/bmad-bmm-edit-prd.md +7 -0
- package/.opencode/commands/bmad-bmm-generate-project-context.md +5 -0
- package/.opencode/commands/bmad-bmm-market-research.md +7 -0
- package/.opencode/commands/bmad-bmm-quick-dev.md +7 -0
- package/.opencode/commands/bmad-bmm-quick-spec.md +7 -0
- package/.opencode/commands/bmad-bmm-retrospective.md +7 -0
- package/.opencode/commands/bmad-bmm-sprint-planning.md +7 -0
- package/.opencode/commands/bmad-bmm-sprint-status.md +5 -0
- package/.opencode/commands/bmad-bmm-technical-research.md +7 -0
- package/.opencode/commands/bmad-bmm-validate-prd.md +7 -0
- package/.opencode/commands/bmad-brainstorming.md +7 -0
- package/.opencode/commands/bmad-editorial-review-prose.md +5 -0
- package/.opencode/commands/bmad-editorial-review-structure.md +5 -0
- package/.opencode/commands/bmad-help.md +5 -0
- package/.opencode/commands/bmad-index-docs.md +5 -0
- package/.opencode/commands/bmad-review-adversarial-general.md +5 -0
- package/.opencode/commands/bmad-shard-doc.md +5 -0
- package/.opencode/skills/bmad-bmad-master/SKILL.md +56 -0
- package/.opencode/skills/bmad-bmm-analyst/SKILL.md +65 -38
- package/.opencode/skills/bmad-bmm-architect/SKILL.md +49 -38
- package/.opencode/skills/bmad-bmm-check-implementation-readiness/SKILL.md +1092 -24
- package/.opencode/skills/bmad-bmm-code-review/SKILL.md +45 -13
- package/.opencode/skills/bmad-bmm-correct-course/SKILL.md +56 -94
- package/.opencode/skills/bmad-bmm-create-architecture/SKILL.md +2391 -27
- package/.opencode/skills/bmad-bmm-create-epics-and-stories/SKILL.md +927 -23
- package/.opencode/skills/bmad-bmm-create-prd/SKILL.md +9 -26
- package/.opencode/skills/bmad-bmm-create-product-brief/SKILL.md +1358 -22
- package/.opencode/skills/bmad-bmm-create-story/SKILL.md +61 -24
- package/.opencode/skills/bmad-bmm-create-ux-design/SKILL.md +3275 -26
- package/.opencode/skills/bmad-bmm-dev/SKILL.md +57 -43
- package/.opencode/skills/bmad-bmm-dev-story/SKILL.md +20 -13
- package/.opencode/skills/bmad-bmm-document-project/SKILL.md +22 -81
- package/.opencode/skills/bmad-bmm-domain-research/SKILL.md +53 -37
- package/.opencode/skills/bmad-bmm-edit-prd/SKILL.md +10 -27
- package/.opencode/skills/bmad-bmm-generate-project-context/SKILL.md +797 -28
- package/.opencode/skills/bmad-bmm-market-research/SKILL.md +53 -37
- package/.opencode/skills/bmad-bmm-pm/SKILL.md +60 -39
- package/.opencode/skills/bmad-bmm-qa/SKILL.md +77 -35
- package/.opencode/skills/bmad-bmm-qa-automate/SKILL.md +47 -129
- package/.opencode/skills/bmad-bmm-quick-dev/SKILL.md +802 -30
- package/.opencode/skills/bmad-bmm-quick-flow-solo-dev/SKILL.md +57 -36
- package/.opencode/skills/bmad-bmm-quick-spec/SKILL.md +684 -27
- package/.opencode/skills/bmad-bmm-retrospective/SKILL.md +55 -200
- package/.opencode/skills/bmad-bmm-sm/SKILL.md +57 -36
- package/.opencode/skills/bmad-bmm-sprint-planning/SKILL.md +51 -52
- package/.opencode/skills/bmad-bmm-sprint-status/SKILL.md +30 -99
- package/.opencode/skills/bmad-bmm-tech-writer/SKILL.md +70 -0
- package/.opencode/skills/bmad-bmm-technical-research/SKILL.md +53 -37
- package/.opencode/skills/bmad-bmm-ux-designer/SKILL.md +48 -37
- package/.opencode/skills/bmad-bmm-validate-prd/SKILL.md +10 -27
- package/.opencode/skills/bmad-brainstorming/SKILL.md +2048 -0
- package/.opencode/skills/bmad-editorial-review-prose/SKILL.md +107 -0
- package/.opencode/skills/bmad-editorial-review-structure/SKILL.md +214 -0
- package/.opencode/skills/bmad-help/SKILL.md +82 -0
- package/.opencode/skills/bmad-index-docs/SKILL.md +70 -0
- package/.opencode/skills/bmad-party-mode/SKILL.md +682 -0
- package/.opencode/skills/bmad-review-adversarial-general/SKILL.md +53 -0
- package/.opencode/skills/bmad-shard-doc/SKILL.md +113 -0
- package/README.md +28 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +350 -47
- package/package.json +4 -3
- package/.opencode/agents/bmm-tech-writer-tech-writer.md +0 -44
- package/.opencode/agents/cis-brainstorming-coach.md +0 -38
- package/.opencode/agents/cis-creative-problem-solver.md +0 -38
- package/.opencode/agents/cis-design-thinking-coach.md +0 -38
- package/.opencode/agents/cis-innovation-strategist.md +0 -38
- package/.opencode/agents/cis-presentation-master.md +0 -54
- package/.opencode/agents/cis-storyteller-storyteller.md +0 -38
- package/.opencode/agents/core-bmad-master.md +0 -39
- package/.opencode/agents/gen-subagent.md +0 -311
- package/.opencode/agents/party-mode.md +0 -812
- package/.opencode/agents/tea-tea.md +0 -48
- package/.opencode/skills/bmad-bmm-dev-team-mode/SKILL.md +0 -300
- package/.opencode/skills/bmad-bmm-tech-writer-tech-writer/SKILL.md +0 -51
- package/.opencode/skills/bmad-cis-brainstorming-coach/SKILL.md +0 -46
- package/.opencode/skills/bmad-cis-creative-problem-solver/SKILL.md +0 -46
- package/.opencode/skills/bmad-cis-design-thinking/SKILL.md +0 -156
- package/.opencode/skills/bmad-cis-design-thinking-coach/SKILL.md +0 -46
- package/.opencode/skills/bmad-cis-innovation-strategist/SKILL.md +0 -46
- package/.opencode/skills/bmad-cis-innovation-strategy/SKILL.md +0 -238
- package/.opencode/skills/bmad-cis-presentation-master/SKILL.md +0 -52
- package/.opencode/skills/bmad-cis-problem-solving/SKILL.md +0 -212
- package/.opencode/skills/bmad-cis-storyteller-storyteller/SKILL.md +0 -48
- package/.opencode/skills/bmad-cis-storytelling/SKILL.md +0 -290
- package/.opencode/skills/bmad-core-bmad-master/SKILL.md +0 -48
- package/.opencode/skills/bmad-core-brainstorming/SKILL.md +0 -74
- package/.opencode/skills/bmad-core-party-mode/SKILL.md +0 -241
- package/.opencode/skills/bmad-core-task-editorial-review-prose/SKILL.md +0 -74
- package/.opencode/skills/bmad-core-task-editorial-review-structure/SKILL.md +0 -151
- package/.opencode/skills/bmad-core-task-help/SKILL.md +0 -100
- package/.opencode/skills/bmad-core-task-index-docs/SKILL.md +0 -46
- package/.opencode/skills/bmad-core-task-review-adversarial-general/SKILL.md +0 -36
- package/.opencode/skills/bmad-core-task-shard-doc/SKILL.md +0 -80
- package/.opencode/skills/bmad-tea-tea/SKILL.md +0 -57
- package/.opencode/skills/bmad-tea-teach-me-testing/SKILL.md +0 -106
- package/.opencode/skills/bmad-tea-testarch-atdd/SKILL.md +0 -62
- package/.opencode/skills/bmad-tea-testarch-automate/SKILL.md +0 -67
- package/.opencode/skills/bmad-tea-testarch-ci/SKILL.md +0 -62
- package/.opencode/skills/bmad-tea-testarch-framework/SKILL.md +0 -62
- package/.opencode/skills/bmad-tea-testarch-nfr/SKILL.md +0 -60
- package/.opencode/skills/bmad-tea-testarch-test-design/SKILL.md +0 -76
- package/.opencode/skills/bmad-tea-testarch-test-review/SKILL.md +0 -60
- package/.opencode/skills/bmad-tea-testarch-trace/SKILL.md +0 -60
|
@@ -1,55 +1,69 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bmad-bmm-dev
|
|
3
|
-
description: "Developer Agent
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: opencode
|
|
6
|
-
metadata:
|
|
7
|
-
source: "bmad-method"
|
|
8
|
-
module: "bmm"
|
|
9
|
-
agent: "dev"
|
|
10
|
-
icon: "💻"
|
|
3
|
+
description: "Developer Agent"
|
|
11
4
|
---
|
|
12
5
|
|
|
13
|
-
|
|
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
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
2. 🚨 IMMEDIATE ACTION REQUIRED - BEFORE ANY OUTPUT:
|
|
8
|
+
```xml
|
|
9
|
+
<agent id="dev.agent.yaml" name="Amelia" title="Developer Agent" 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
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
## Available Commands
|
|
41
|
-
|
|
42
|
-
- **MH or fuzzy match on menu or help**: [MH] Redisplay Menu Help
|
|
43
|
-
- **CH or fuzzy match on chat**: [CH] Chat with the Agent about anything
|
|
44
|
-
- **DS or fuzzy match on dev-story**: [DS] Dev Story: Write the next or specified stories tests and code. (workflow: `{project-root}/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml`)
|
|
45
|
-
- **CR or fuzzy match on code-review**: [CR] Code Review: Initiate a comprehensive code review across multiple quality facets. For best results, use a fresh context and a different quality LLM if available (workflow: `{project-root}/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml`)
|
|
46
|
-
- **PM or fuzzy match on party-mode**: [PM] Start Party Mode (exec: `{project-root}/_bmad/core/workflows/party-mode/workflow.md`)
|
|
47
|
-
- **DA or fuzzy match on exit, leave, goodbye or dismiss agent**: [DA] Dismiss Agent
|
|
48
|
-
|
|
49
|
-
## Persona
|
|
17
|
+
</step>
|
|
18
|
+
<step n="3">Remember: user's name is {user_name}</step>
|
|
19
|
+
<step n="4">READ the entire story file BEFORE any implementation - tasks/subtasks sequence is your authoritative implementation guide</step>
|
|
20
|
+
<step n="5">Execute tasks/subtasks IN ORDER as written in story file - no skipping, no reordering, no doing what you want</step>
|
|
21
|
+
<step n="6">Mark task/subtask [x] ONLY when both implementation AND tests are complete and passing</step>
|
|
22
|
+
<step n="7">Run full test suite after each task - NEVER proceed with failing tests</step>
|
|
23
|
+
<step n="8">Execute continuously without pausing until all tasks/subtasks are complete</step>
|
|
24
|
+
<step n="9">Document in story file Dev Agent Record what was implemented, tests created, and any decisions made</step>
|
|
25
|
+
<step n="10">Update story file File List with ALL changed files after each task completion</step>
|
|
26
|
+
<step n="11">NEVER lie about tests being written or passing - tests must actually exist and pass 100%</step>
|
|
27
|
+
<step n="12">Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section</step>
|
|
28
|
+
<step n="13">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></step>
|
|
29
|
+
<step n="14">STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match</step>
|
|
30
|
+
<step n="15">On user input: Number → process menu item[n] | Text → case-insensitive substring match | Multiple matches → ask user to clarify | No match → show "Not recognized"</step>
|
|
31
|
+
<step n="16">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</step>
|
|
50
32
|
|
|
51
|
-
|
|
33
|
+
<menu-handlers>
|
|
34
|
+
<handlers>
|
|
35
|
+
<handler type="workflow">
|
|
36
|
+
When menu item has: workflow="path/to/workflow.yaml":
|
|
52
37
|
|
|
53
|
-
|
|
38
|
+
1. CRITICAL: Always LOAD {project-root}/_bmad/core/tasks/workflow.xml
|
|
39
|
+
2. Read the complete file - this is the CORE OS for processing BMAD workflows
|
|
40
|
+
3. Pass the yaml path as 'workflow-config' parameter to those instructions
|
|
41
|
+
4. Follow workflow.xml instructions precisely following all steps
|
|
42
|
+
5. Save outputs after completing EACH workflow step (never batch multiple steps together)
|
|
43
|
+
6. If workflow.yaml path is "todo", inform user the workflow hasn't been implemented yet
|
|
44
|
+
</handler>
|
|
45
|
+
</handlers>
|
|
46
|
+
</menu-handlers>
|
|
54
47
|
|
|
55
|
-
|
|
48
|
+
<rules>
|
|
49
|
+
<r>ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.</r>
|
|
50
|
+
<r> Stay in character until exit selected</r>
|
|
51
|
+
<r> Display Menu items as the item dictates and in the order given.</r>
|
|
52
|
+
<r> Load files ONLY when executing a user chosen workflow or a command requires it, EXCEPTION: agent activation step 2 config.yaml</r>
|
|
53
|
+
</rules>
|
|
54
|
+
</activation> <persona>
|
|
55
|
+
<role>Senior Software Engineer</role>
|
|
56
|
+
<identity>Executes approved stories with strict adherence to story details and team standards and practices.</identity>
|
|
57
|
+
<communication_style>Ultra-succinct. Speaks in file paths and AC IDs - every statement citable. No fluff, all precision.</communication_style>
|
|
58
|
+
<principles>- All existing and new tests must pass 100% before story is ready for review - Every task/subtask must be covered by comprehensive unit tests before marking an item complete</principles>
|
|
59
|
+
</persona>
|
|
60
|
+
<menu>
|
|
61
|
+
<item cmd="MH or fuzzy match on menu or help">[MH] Redisplay Menu Help</item>
|
|
62
|
+
<item cmd="CH or fuzzy match on chat">[CH] Chat with the Agent about anything</item>
|
|
63
|
+
<item cmd="DS or fuzzy match on dev-story" workflow="{project-root}/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml">[DS] Dev Story: Write the next or specified stories tests and code.</item>
|
|
64
|
+
<item cmd="CR or fuzzy match on code-review" workflow="{project-root}/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml">[CR] Code Review: Initiate a comprehensive code review across multiple quality facets. For best results, use a fresh context and a different quality LLM if available</item>
|
|
65
|
+
<item cmd="PM or fuzzy match on party-mode" exec="{project-root}/_bmad/core/workflows/party-mode/workflow.md">[PM] Start Party Mode</item>
|
|
66
|
+
<item cmd="DA or fuzzy match on exit, leave, goodbye or dismiss agent">[DA] Dismiss Agent</item>
|
|
67
|
+
</menu>
|
|
68
|
+
</agent>
|
|
69
|
+
```
|
|
@@ -1,21 +1,28 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bmad-bmm-dev-story
|
|
3
3
|
description: "Execute a story by implementing tasks/subtasks, writing tests, validating, and updating the story file per acceptance criteria"
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: opencode
|
|
6
|
-
metadata:
|
|
7
|
-
source: "bmad-method"
|
|
8
|
-
module: "bmm"
|
|
9
|
-
workflow: "dev-story"
|
|
10
|
-
standalone: false
|
|
11
4
|
---
|
|
12
5
|
|
|
13
|
-
|
|
6
|
+
name: dev-story
|
|
7
|
+
description: "Execute a story by implementing tasks/subtasks, writing tests, validating, and updating the story file per acceptance criteria"
|
|
8
|
+
author: "BMad"
|
|
14
9
|
|
|
15
|
-
|
|
10
|
+
# Critical variables from config
|
|
11
|
+
config_source: "{project-root}/_bmad/bmm/config.yaml"
|
|
12
|
+
output_folder: "{config_source}:output_folder"
|
|
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
|
+
story_dir: "{config_source}:implementation_artifacts"
|
|
18
|
+
date: system-generated
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
# Workflow components
|
|
21
|
+
installed_path: "{project-root}/_bmad/bmm/workflows/4-implementation/dev-story"
|
|
22
|
+
instructions: "{installed_path}/instructions.xml"
|
|
23
|
+
validation: "{installed_path}/checklist.md"
|
|
18
24
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
story_file: "" # Explicit story path; auto-discovered if empty
|
|
26
|
+
implementation_artifacts: "{config_source}:implementation_artifacts"
|
|
27
|
+
sprint_status: "{implementation_artifacts}/sprint-status.yaml"
|
|
28
|
+
project_context: "**/project-context.md"
|
|
@@ -1,86 +1,27 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bmad-bmm-document-project
|
|
3
3
|
description: "Analyzes and documents brownfield projects by scanning codebase, architecture, and patterns to create comprehensive reference documentation for AI-assisted development"
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: opencode
|
|
6
|
-
metadata:
|
|
7
|
-
source: "bmad-method"
|
|
8
|
-
module: "bmm"
|
|
9
|
-
workflow: "document-project"
|
|
10
|
-
standalone: false
|
|
11
4
|
---
|
|
12
5
|
|
|
13
|
-
#
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
|
|
35
|
-
**Questions to ask:**
|
|
36
|
-
- Continue anyway to document planning artifacts? (y/n)
|
|
37
|
-
- Continue with documentation? (y/n)
|
|
38
|
-
|
|
39
|
-
### Step 2: Check for resumability and determine workflow mode
|
|
40
|
-
|
|
41
|
-
**Actions:**
|
|
42
|
-
- Check for existing state file at: {output_folder}/project-scan-report.json
|
|
43
|
-
- Read state file and extract: timestamps, mode, scan_level, current_step, completed_steps, project_classification
|
|
44
|
-
- Extract cached project_type_id(s) from state file if present
|
|
45
|
-
- Calculate age of state file (current time - last_updated)
|
|
46
|
-
- Set resume_mode = true
|
|
47
|
-
- Set workflow_mode = {{mode}}
|
|
48
|
-
- Load findings summaries from state file
|
|
49
|
-
- Load cached project_type_id(s) from state file
|
|
50
|
-
- For each cached project_type_id, load ONLY the corresponding row from: {documentation_requirements_csv}
|
|
51
|
-
- Skip loading project-types.csv and architecture_registry.csv (not needed on resume)
|
|
52
|
-
- Store loaded doc requirements for use in remaining steps
|
|
53
|
-
- Display: "Resuming {{workflow_mode}} from {{current_step}} with cached project type(s): {{cached_project_types}}"
|
|
54
|
-
- Read fully and follow: {installed_path}/workflows/deep-dive-instructions.md with resume context
|
|
55
|
-
- Read fully and follow: {installed_path}/workflows/full-scan-instructions.md with resume context
|
|
56
|
-
- Create archive directory: {output_folder}/.archive/
|
|
57
|
-
- Move old state file to: {output_folder}/.archive/project-scan-report-{{timestamp}}.json
|
|
58
|
-
- Set resume_mode = false
|
|
59
|
-
- Continue to Step 0.5
|
|
60
|
-
- Display: "Exiting workflow without changes."
|
|
61
|
-
- Exit workflow
|
|
62
|
-
- Display: "Found old state file (>24 hours). Starting fresh scan."
|
|
63
|
-
- Archive old state file to: {output_folder}/.archive/project-scan-report-{{timestamp}}.json
|
|
64
|
-
- Set resume_mode = false
|
|
65
|
-
- Continue to Step 0.5
|
|
66
|
-
|
|
67
|
-
**Questions to ask:**
|
|
68
|
-
- I found an in-progress workflow state from {{last_updated}}.
|
|
69
|
-
|
|
70
|
-
**Current Progress:**
|
|
71
|
-
|
|
72
|
-
- Mode: {{mode}}
|
|
73
|
-
- Scan Level: {{scan_level}}
|
|
74
|
-
- Completed Steps: {{completed_steps_count}}/{{total_steps}}
|
|
75
|
-
- Last Step: {{current_step}}
|
|
76
|
-
- Project Type(s): {{cached_project_types}}
|
|
77
|
-
|
|
78
|
-
Would you like to:
|
|
79
|
-
|
|
80
|
-
1. **Resume from where we left off** - Continue from step {{current_step}}
|
|
81
|
-
2. **Start fresh** - Archive old state and begin new scan
|
|
82
|
-
3. **Cancel** - Exit without changes
|
|
83
|
-
|
|
84
|
-
Your choice [1/2/3]:
|
|
85
|
-
|
|
86
|
-
### Step 4: Update status and complete
|
|
6
|
+
# Document Project Workflow Configuration
|
|
7
|
+
name: "document-project"
|
|
8
|
+
version: "1.2.0"
|
|
9
|
+
description: "Analyzes and documents brownfield projects by scanning codebase, architecture, and patterns to create comprehensive reference documentation for AI-assisted development"
|
|
10
|
+
author: "BMad"
|
|
11
|
+
|
|
12
|
+
# Critical variables
|
|
13
|
+
config_source: "{project-root}/_bmad/bmm/config.yaml"
|
|
14
|
+
output_folder: "{config_source}:project_knowledge"
|
|
15
|
+
user_name: "{config_source}:user_name"
|
|
16
|
+
communication_language: "{config_source}:communication_language"
|
|
17
|
+
document_output_language: "{config_source}:document_output_language"
|
|
18
|
+
user_skill_level: "{config_source}:user_skill_level"
|
|
19
|
+
date: system-generated
|
|
20
|
+
|
|
21
|
+
# Module path and component files
|
|
22
|
+
installed_path: "{project-root}/_bmad/bmm/workflows/document-project"
|
|
23
|
+
instructions: "{installed_path}/instructions.md"
|
|
24
|
+
validation: "{installed_path}/checklist.md"
|
|
25
|
+
|
|
26
|
+
# Required data files - CRITICAL for project type detection and documentation requirements
|
|
27
|
+
documentation_requirements_csv: "{installed_path}/documentation-requirements.csv"
|
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bmad-bmm-domain-research
|
|
3
3
|
description: "Conduct domain research covering industry analysis, regulations, technology trends, and ecosystem dynamics using current web data and verified sources."
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: opencode
|
|
6
|
-
metadata:
|
|
7
|
-
source: "bmad-method"
|
|
8
|
-
module: "bmm"
|
|
9
|
-
workflow: "domain-research"
|
|
10
|
-
standalone: false
|
|
11
4
|
---
|
|
12
5
|
|
|
13
|
-
# domain-research Workflow
|
|
14
|
-
|
|
15
|
-
Conduct domain research covering industry analysis, regulations, technology trends, and ecosystem dynamics using current web data and verified sources.
|
|
16
|
-
|
|
17
|
-
## How to Use
|
|
18
|
-
|
|
19
|
-
This skill provides a structured workflow. Follow the steps below:
|
|
20
|
-
|
|
21
|
-
## Instructions
|
|
22
|
-
|
|
23
6
|
# Domain Research Workflow
|
|
24
7
|
|
|
25
8
|
**Goal:** Conduct comprehensive domain/industry research using current web data and verified sources to produce complete research documents with compelling narratives and proper citations.
|
|
@@ -32,40 +15,73 @@ This skill provides a structured workflow. Follow the steps below:
|
|
|
32
15
|
|
|
33
16
|
## CONFIGURATION
|
|
34
17
|
|
|
35
|
-
Load config from
|
|
36
|
-
-
|
|
37
|
-
-
|
|
38
|
-
-
|
|
18
|
+
Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
|
|
19
|
+
- `project_name`, `output_folder`, `planning_artifacts`, `user_name`
|
|
20
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
21
|
+
- `date` as a system-generated value
|
|
39
22
|
|
|
40
23
|
## QUICK TOPIC DISCOVERY
|
|
41
24
|
|
|
42
|
-
|
|
25
|
+
"Welcome {{user_name}}! Let's get started with your **domain/industry research**.
|
|
43
26
|
|
|
44
27
|
**What domain, industry, or sector do you want to research?**
|
|
45
28
|
|
|
46
29
|
For example:
|
|
47
|
-
-
|
|
48
|
-
-
|
|
49
|
-
-
|
|
50
|
-
-
|
|
30
|
+
- 'The healthcare technology industry'
|
|
31
|
+
- 'Sustainable packaging regulations in Europe'
|
|
32
|
+
- 'Construction and building materials sector'
|
|
33
|
+
- 'Or any other domain you have in mind...'"
|
|
51
34
|
|
|
52
35
|
### Topic Clarification
|
|
53
36
|
|
|
54
|
-
Based on the user
|
|
55
|
-
1. **Core Domain**:
|
|
56
|
-
2. **Research Goals**:
|
|
57
|
-
3. **Scope**:
|
|
37
|
+
Based on the user's topic, briefly clarify:
|
|
38
|
+
1. **Core Domain**: "What specific aspect of [domain] are you most interested in?"
|
|
39
|
+
2. **Research Goals**: "What do you hope to achieve with this research?"
|
|
40
|
+
3. **Scope**: "Should we focus broadly or dive deep into specific aspects?"
|
|
58
41
|
|
|
59
42
|
## ROUTE TO DOMAIN RESEARCH STEPS
|
|
60
43
|
|
|
61
44
|
After gathering the topic and goals:
|
|
62
45
|
|
|
63
|
-
1. Set
|
|
64
|
-
2. Set
|
|
65
|
-
3. Set
|
|
66
|
-
4. Create the starter output file:
|
|
67
|
-
5. Load:
|
|
46
|
+
1. Set `research_type = "domain"`
|
|
47
|
+
2. Set `research_topic = [discovered topic from discussion]`
|
|
48
|
+
3. Set `research_goals = [discovered goals from discussion]`
|
|
49
|
+
4. Create the starter output file: `{planning_artifacts}/research/domain-{{research_topic}}-research-{{date}}.md` with exact copy of the `./research.template.md` contents
|
|
50
|
+
5. Load: `./domain-steps/step-01-init.md` with topic context
|
|
51
|
+
|
|
52
|
+
**Note:** The discovered topic from the discussion should be passed to the initialization step, so it doesn't need to ask "What do you want to research?" again - it can focus on refining the scope for domain research.
|
|
53
|
+
|
|
54
|
+
**✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`**
|
|
55
|
+
|
|
56
|
+
## Template
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
stepsCompleted: []
|
|
60
|
+
inputDocuments: []
|
|
61
|
+
workflowType: 'research'
|
|
62
|
+
lastStep: 1
|
|
63
|
+
research_type: '{{research_type}}'
|
|
64
|
+
research_topic: '{{research_topic}}'
|
|
65
|
+
research_goals: '{{research_goals}}'
|
|
66
|
+
user_name: '{{user_name}}'
|
|
67
|
+
date: '{{date}}'
|
|
68
|
+
web_research_enabled: true
|
|
69
|
+
source_verification: true
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
# Research Report: {{research_type}}
|
|
73
|
+
|
|
74
|
+
**Date:** {{date}}
|
|
75
|
+
**Author:** {{user_name}}
|
|
76
|
+
**Research Type:** {{research_type}}
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## Research Overview
|
|
81
|
+
|
|
82
|
+
[Research overview and methodology will be appended here]
|
|
83
|
+
|
|
84
|
+
---
|
|
68
85
|
|
|
69
|
-
|
|
86
|
+
<!-- Content will be appended sequentially through research workflow steps -->
|
|
70
87
|
|
|
71
|
-
**✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`**
|
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: bmad-bmm-edit-prd
|
|
3
3
|
description: "Edit and improve an existing PRD - enhance clarity, completeness, and quality"
|
|
4
|
-
license: MIT
|
|
5
|
-
compatibility: opencode
|
|
6
|
-
metadata:
|
|
7
|
-
source: "bmad-method"
|
|
8
|
-
module: "bmm"
|
|
9
|
-
workflow: "edit-prd"
|
|
10
|
-
standalone: false
|
|
11
4
|
---
|
|
12
5
|
|
|
13
|
-
# edit-prd Workflow
|
|
14
|
-
|
|
15
|
-
Edit and improve an existing PRD - enhance clarity, completeness, and quality
|
|
16
|
-
|
|
17
|
-
## How to Use
|
|
18
|
-
|
|
19
|
-
This skill provides a structured workflow. Follow the steps below:
|
|
20
|
-
|
|
21
|
-
## Instructions
|
|
22
|
-
|
|
23
6
|
# PRD Edit Workflow
|
|
24
7
|
|
|
25
8
|
**Goal:** Edit and improve existing PRDs through structured enhancement workflow.
|
|
@@ -37,7 +20,7 @@ This uses **step-file architecture** for disciplined execution:
|
|
|
37
20
|
- **Micro-file Design**: Each step is a self contained instruction file that is a part of an overall workflow that must be followed exactly
|
|
38
21
|
- **Just-In-Time Loading**: Only the current step file is in memory - never load future step files until told to do so
|
|
39
22
|
- **Sequential Enforcement**: Sequence within the step files must be completed in order, no skipping or optimization allowed
|
|
40
|
-
- **State Tracking**: Document progress in output file frontmatter using
|
|
23
|
+
- **State Tracking**: Document progress in output file frontmatter using `stepsCompleted` array when a workflow produces a document
|
|
41
24
|
- **Append-Only Building**: Build documents by appending content as directed to the output file
|
|
42
25
|
|
|
43
26
|
### Step Processing Rules
|
|
@@ -45,8 +28,8 @@ This uses **step-file architecture** for disciplined execution:
|
|
|
45
28
|
1. **READ COMPLETELY**: Always read the entire step file before taking any action
|
|
46
29
|
2. **FOLLOW SEQUENCE**: Execute all numbered sections in order, never deviate
|
|
47
30
|
3. **WAIT FOR INPUT**: If a menu is presented, halt and wait for user selection
|
|
48
|
-
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects
|
|
49
|
-
5. **SAVE STATE**: Update
|
|
31
|
+
4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects 'C' (Continue)
|
|
32
|
+
5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
|
|
50
33
|
6. **LOAD NEXT**: When directed, read fully and follow the next step file
|
|
51
34
|
|
|
52
35
|
### Critical Rules (NO EXCEPTIONS)
|
|
@@ -65,16 +48,16 @@ This uses **step-file architecture** for disciplined execution:
|
|
|
65
48
|
|
|
66
49
|
Load and read full config from {main_config} and resolve:
|
|
67
50
|
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
51
|
+
- `project_name`, `output_folder`, `planning_artifacts`, `user_name`
|
|
52
|
+
- `communication_language`, `document_output_language`, `user_skill_level`
|
|
53
|
+
- `date` as system-generated current datetime
|
|
71
54
|
|
|
72
|
-
✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the configured
|
|
55
|
+
✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the configured `{communication_language}`.
|
|
73
56
|
|
|
74
57
|
### 2. Route to Edit Workflow
|
|
75
58
|
|
|
76
|
-
|
|
59
|
+
"**Edit Mode: Improving an existing PRD.**"
|
|
77
60
|
|
|
78
|
-
Prompt for PRD path:
|
|
61
|
+
Prompt for PRD path: "Which PRD would you like to edit? Please provide the path to the PRD.md file."
|
|
79
62
|
|
|
80
|
-
Then read fully and follow:
|
|
63
|
+
Then read fully and follow: `{editWorkflow}` (steps-e/step-e-01-discovery.md)
|