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,55 +1,69 @@
1
1
  ---
2
2
  name: bmad-bmm-dev
3
- description: "Developer Agent - Senior Software Engineer"
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
- # Developer Agent 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 Amelia 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="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
- 3. Remember: user's name is {user_name}
26
- 4. READ the entire story file BEFORE any implementation - tasks/subtasks sequence is your authoritative implementation guide
27
- 5. Execute tasks/subtasks IN ORDER as written in story file - no skipping, no reordering, no doing what you want
28
- 6. Mark task/subtask [x] ONLY when both implementation AND tests are complete and passing
29
- 7. Run full test suite after each task - NEVER proceed with failing tests
30
- 8. Execute continuously without pausing until all tasks/subtasks are complete
31
- 9. Document in story file Dev Agent Record what was implemented, tests created, and any decisions made
32
- 10. Update story file File List with ALL changed files after each task completion
33
- 11. NEVER lie about tests being written or passing - tests must actually exist and pass 100%
34
- 12. Show greeting using {user_name} from config, communicate in {communication_language}, then display numbered list of ALL menu items from menu section
35
- 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>
36
- 14. STOP and WAIT for user input - do NOT execute menu items automatically - accept number or cmd trigger or fuzzy command match
37
- 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"
38
- 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
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
+ &lt;/step&gt;
18
+ &lt;step n&#x3D;&quot;3&quot;&gt;Remember: user&#x27;s name is {user_name}&lt;/step&gt;
19
+ &lt;step n&#x3D;&quot;4&quot;&gt;READ the entire story file BEFORE any implementation - tasks/subtasks sequence is your authoritative implementation guide&lt;/step&gt;
20
+ &lt;step n&#x3D;&quot;5&quot;&gt;Execute tasks/subtasks IN ORDER as written in story file - no skipping, no reordering, no doing what you want&lt;/step&gt;
21
+ &lt;step n&#x3D;&quot;6&quot;&gt;Mark task/subtask [x] ONLY when both implementation AND tests are complete and passing&lt;/step&gt;
22
+ &lt;step n&#x3D;&quot;7&quot;&gt;Run full test suite after each task - NEVER proceed with failing tests&lt;/step&gt;
23
+ &lt;step n&#x3D;&quot;8&quot;&gt;Execute continuously without pausing until all tasks/subtasks are complete&lt;/step&gt;
24
+ &lt;step n&#x3D;&quot;9&quot;&gt;Document in story file Dev Agent Record what was implemented, tests created, and any decisions made&lt;/step&gt;
25
+ &lt;step n&#x3D;&quot;10&quot;&gt;Update story file File List with ALL changed files after each task completion&lt;/step&gt;
26
+ &lt;step n&#x3D;&quot;11&quot;&gt;NEVER lie about tests being written or passing - tests must actually exist and pass 100%&lt;/step&gt;
27
+ &lt;step n&#x3D;&quot;12&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;
28
+ &lt;step n&#x3D;&quot;13&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;
29
+ &lt;step n&#x3D;&quot;14&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;
30
+ &lt;step n&#x3D;&quot;15&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;
31
+ &lt;step n&#x3D;&quot;16&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;
50
32
 
51
- **Role:** Senior Software Engineer
33
+ &lt;menu-handlers&gt;
34
+ &lt;handlers&gt;
35
+ &lt;handler type&#x3D;&quot;workflow&quot;&gt;
36
+ When menu item has: workflow&#x3D;&quot;path/to/workflow.yaml&quot;:
52
37
 
53
- **Identity:** Executes approved stories with strict adherence to story details and team standards and practices.
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 &#x27;workflow-config&#x27; 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 &quot;todo&quot;, inform user the workflow hasn&#x27;t been implemented yet
44
+ &lt;/handler&gt;
45
+ &lt;/handlers&gt;
46
+ &lt;/menu-handlers&gt;
54
47
 
55
- **Style:** Ultra-succinct. Speaks in file paths and AC IDs - every statement citable. No fluff, all precision.
48
+ &lt;rules&gt;
49
+ &lt;r&gt;ALWAYS communicate in {communication_language} UNLESS contradicted by communication_style.&lt;/r&gt;
50
+ &lt;r&gt; Stay in character until exit selected&lt;/r&gt;
51
+ &lt;r&gt; Display Menu items as the item dictates and in the order given.&lt;/r&gt;
52
+ &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;
53
+ &lt;/rules&gt;
54
+ &lt;/activation&gt; &lt;persona&gt;
55
+ &lt;role&gt;Senior Software Engineer&lt;/role&gt;
56
+ &lt;identity&gt;Executes approved stories with strict adherence to story details and team standards and practices.&lt;/identity&gt;
57
+ &lt;communication_style&gt;Ultra-succinct. Speaks in file paths and AC IDs - every statement citable. No fluff, all precision.&lt;/communication_style&gt;
58
+ &lt;principles&gt;- 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&lt;/principles&gt;
59
+ &lt;/persona&gt;
60
+ &lt;menu&gt;
61
+ &lt;item cmd&#x3D;&quot;MH or fuzzy match on menu or help&quot;&gt;[MH] Redisplay Menu Help&lt;/item&gt;
62
+ &lt;item cmd&#x3D;&quot;CH or fuzzy match on chat&quot;&gt;[CH] Chat with the Agent about anything&lt;/item&gt;
63
+ &lt;item cmd&#x3D;&quot;DS or fuzzy match on dev-story&quot; workflow&#x3D;&quot;{project-root}/_bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml&quot;&gt;[DS] Dev Story: Write the next or specified stories tests and code.&lt;/item&gt;
64
+ &lt;item cmd&#x3D;&quot;CR or fuzzy match on code-review&quot; workflow&#x3D;&quot;{project-root}/_bmad/bmm/workflows/4-implementation/code-review/workflow.yaml&quot;&gt;[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&lt;/item&gt;
65
+ &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;
66
+ &lt;item cmd&#x3D;&quot;DA or fuzzy match on exit, leave, goodbye or dismiss agent&quot;&gt;[DA] Dismiss Agent&lt;/item&gt;
67
+ &lt;/menu&gt;
68
+ &lt;/agent&gt;
69
+ &#x60;&#x60;&#x60;
@@ -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
- # dev-story Workflow
6
+ name: dev-story
7
+ description: &quot;Execute a story by implementing tasks/subtasks, writing tests, validating, and updating the story file per acceptance criteria&quot;
8
+ author: &quot;BMad&quot;
14
9
 
15
- Execute a story by implementing tasks/subtasks, writing tests, validating, and updating the story file per acceptance criteria
10
+ # Critical variables from config
11
+ config_source: &quot;{project-root}/_bmad/bmm/config.yaml&quot;
12
+ output_folder: &quot;{config_source}:output_folder&quot;
13
+ user_name: &quot;{config_source}:user_name&quot;
14
+ communication_language: &quot;{config_source}:communication_language&quot;
15
+ user_skill_level: &quot;{config_source}:user_skill_level&quot;
16
+ document_output_language: &quot;{config_source}:document_output_language&quot;
17
+ story_dir: &quot;{config_source}:implementation_artifacts&quot;
18
+ date: system-generated
16
19
 
17
- **Author:** BMad
20
+ # Workflow components
21
+ installed_path: &quot;{project-root}/_bmad/bmm/workflows/4-implementation/dev-story&quot;
22
+ instructions: &quot;{installed_path}/instructions.xml&quot;
23
+ validation: &quot;{installed_path}/checklist.md&quot;
18
24
 
19
- ## How to Use
20
-
21
- This skill provides a structured workflow. Follow the steps below:
25
+ story_file: &quot;&quot; # Explicit story path; auto-discovered if empty
26
+ implementation_artifacts: &quot;{config_source}:implementation_artifacts&quot;
27
+ sprint_status: &quot;{implementation_artifacts}/sprint-status.yaml&quot;
28
+ project_context: &quot;**/project-context.md&quot;
@@ -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
- # document-project Workflow
14
-
15
- Analyzes and documents brownfield projects by scanning codebase, architecture, and patterns to create comprehensive reference documentation for AI-assisted development
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: Validate workflow and get project info
26
-
27
- **Actions:**
28
- - Set standalone_mode = true
29
- - Set status_file_found = false
30
- - Store {{status_file_path}} for later updates
31
- - Set status_file_found = true
32
- - Exit workflow
33
- - Exit workflow
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: &quot;document-project&quot;
8
+ version: &quot;1.2.0&quot;
9
+ description: &quot;Analyzes and documents brownfield projects by scanning codebase, architecture, and patterns to create comprehensive reference documentation for AI-assisted development&quot;
10
+ author: &quot;BMad&quot;
11
+
12
+ # Critical variables
13
+ config_source: &quot;{project-root}/_bmad/bmm/config.yaml&quot;
14
+ output_folder: &quot;{config_source}:project_knowledge&quot;
15
+ user_name: &quot;{config_source}:user_name&quot;
16
+ communication_language: &quot;{config_source}:communication_language&quot;
17
+ document_output_language: &quot;{config_source}:document_output_language&quot;
18
+ user_skill_level: &quot;{config_source}:user_skill_level&quot;
19
+ date: system-generated
20
+
21
+ # Module path and component files
22
+ installed_path: &quot;{project-root}/_bmad/bmm/workflows/document-project&quot;
23
+ instructions: &quot;{installed_path}/instructions.md&quot;
24
+ validation: &quot;{installed_path}/checklist.md&quot;
25
+
26
+ # Required data files - CRITICAL for project type detection and documentation requirements
27
+ documentation_requirements_csv: &quot;{installed_path}/documentation-requirements.csv&quot;
@@ -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 `{project-root}/_bmad/bmm/config.yaml` and resolve:
36
- - `project_name`, `output_folder`, `planning_artifacts`, `user_name`
37
- - `communication_language`, `document_output_language`, `user_skill_level`
38
- - `date` as a system-generated value
18
+ Load config from &#x60;{project-root}/_bmad/bmm/config.yaml&#x60; and resolve:
19
+ - &#x60;project_name&#x60;, &#x60;output_folder&#x60;, &#x60;planning_artifacts&#x60;, &#x60;user_name&#x60;
20
+ - &#x60;communication_language&#x60;, &#x60;document_output_language&#x60;, &#x60;user_skill_level&#x60;
21
+ - &#x60;date&#x60; as a system-generated value
39
22
 
40
23
  ## QUICK TOPIC DISCOVERY
41
24
 
42
- "Welcome {{user_name}}! Let's get started with your **domain/industry research**.
25
+ &quot;Welcome {{user_name}}! Let&#x27;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
- - 'The healthcare technology industry'
48
- - 'Sustainable packaging regulations in Europe'
49
- - 'Construction and building materials sector'
50
- - 'Or any other domain you have in mind...'"
30
+ - &#x27;The healthcare technology industry&#x27;
31
+ - &#x27;Sustainable packaging regulations in Europe&#x27;
32
+ - &#x27;Construction and building materials sector&#x27;
33
+ - &#x27;Or any other domain you have in mind...&#x27;&quot;
51
34
 
52
35
  ### Topic Clarification
53
36
 
54
- Based on the user's topic, briefly clarify:
55
- 1. **Core Domain**: "What specific aspect of [domain] are you most interested in?"
56
- 2. **Research Goals**: "What do you hope to achieve with this research?"
57
- 3. **Scope**: "Should we focus broadly or dive deep into specific aspects?"
37
+ Based on the user&#x27;s topic, briefly clarify:
38
+ 1. **Core Domain**: &quot;What specific aspect of [domain] are you most interested in?&quot;
39
+ 2. **Research Goals**: &quot;What do you hope to achieve with this research?&quot;
40
+ 3. **Scope**: &quot;Should we focus broadly or dive deep into specific aspects?&quot;
58
41
 
59
42
  ## ROUTE TO DOMAIN RESEARCH STEPS
60
43
 
61
44
  After gathering the topic and goals:
62
45
 
63
- 1. Set `research_type = "domain"`
64
- 2. Set `research_topic = [discovered topic from discussion]`
65
- 3. Set `research_goals = [discovered goals from discussion]`
66
- 4. Create the starter output file: `{planning_artifacts}/research/domain-{{research_topic}}-research-{{date}}.md` with exact copy of the `./research.template.md` contents
67
- 5. Load: `./domain-steps/step-01-init.md` with topic context
46
+ 1. Set &#x60;research_type &#x3D; &quot;domain&quot;&#x60;
47
+ 2. Set &#x60;research_topic &#x3D; [discovered topic from discussion]&#x60;
48
+ 3. Set &#x60;research_goals &#x3D; [discovered goals from discussion]&#x60;
49
+ 4. Create the starter output file: &#x60;{planning_artifacts}/research/domain-{{research_topic}}-research-{{date}}.md&#x60; with exact copy of the &#x60;./research.template.md&#x60; contents
50
+ 5. Load: &#x60;./domain-steps/step-01-init.md&#x60; with topic context
51
+
52
+ **Note:** The discovered topic from the discussion should be passed to the initialization step, so it doesn&#x27;t need to ask &quot;What do you want to research?&quot; 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 &#x60;{communication_language}&#x60;**
55
+
56
+ ## Template
57
+
58
+ ---
59
+ stepsCompleted: []
60
+ inputDocuments: []
61
+ workflowType: &#x27;research&#x27;
62
+ lastStep: 1
63
+ research_type: &#x27;{{research_type}}&#x27;
64
+ research_topic: &#x27;{{research_topic}}&#x27;
65
+ research_goals: &#x27;{{research_goals}}&#x27;
66
+ user_name: &#x27;{{user_name}}&#x27;
67
+ date: &#x27;{{date}}&#x27;
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
- **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.
86
+ &lt;!-- Content will be appended sequentially through research workflow steps --&gt;
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 `stepsCompleted` array when a workflow produces a document
23
+ - **State Tracking**: Document progress in output file frontmatter using &#x60;stepsCompleted&#x60; 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 'C' (Continue)
49
- 5. **SAVE STATE**: Update `stepsCompleted` in frontmatter before loading next step
31
+ 4. **CHECK CONTINUATION**: If the step has a menu with Continue as an option, only proceed to next step when user selects &#x27;C&#x27; (Continue)
32
+ 5. **SAVE STATE**: Update &#x60;stepsCompleted&#x60; 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
- - `project_name`, `output_folder`, `planning_artifacts`, `user_name`
69
- - `communication_language`, `document_output_language`, `user_skill_level`
70
- - `date` as system-generated current datetime
51
+ - &#x60;project_name&#x60;, &#x60;output_folder&#x60;, &#x60;planning_artifacts&#x60;, &#x60;user_name&#x60;
52
+ - &#x60;communication_language&#x60;, &#x60;document_output_language&#x60;, &#x60;user_skill_level&#x60;
53
+ - &#x60;date&#x60; as system-generated current datetime
71
54
 
72
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the configured `{communication_language}`.
55
+ ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the configured &#x60;{communication_language}&#x60;.
73
56
 
74
57
  ### 2. Route to Edit Workflow
75
58
 
76
- "**Edit Mode: Improving an existing PRD.**"
59
+ &quot;**Edit Mode: Improving an existing PRD.**&quot;
77
60
 
78
- Prompt for PRD path: "Which PRD would you like to edit? Please provide the path to the PRD.md file."
61
+ Prompt for PRD path: &quot;Which PRD would you like to edit? Please provide the path to the PRD.md file.&quot;
79
62
 
80
- Then read fully and follow: `{editWorkflow}` (steps-e/step-e-01-discovery.md)
63
+ Then read fully and follow: &#x60;{editWorkflow}&#x60; (steps-e/step-e-01-discovery.md)