folder workflow naming alignment for consistency

This commit is contained in:
Brian Madison 2025-12-15 10:17:58 +08:00
parent 7f742d4af6
commit 1da7705821
54 changed files with 36 additions and 26 deletions

View File

@ -71,7 +71,7 @@ Provides the **HOW** (universal knowledge) while agents provide the **WHAT** (do
### Example: Frame Expert (Technical Diagrams) ### Example: Frame Expert (Technical Diagrams)
```yaml ```yaml
# workflows/diagrams/create-flowchart/workflow.yaml # workflows/excalidraw-diagrams/create-flowchart/workflow.yaml
helpers: '{project-root}/_bmad/core/resources/excalidraw/excalidraw-helpers.md' helpers: '{project-root}/_bmad/core/resources/excalidraw/excalidraw-helpers.md'
json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-instructions.md' json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-instructions.md'
``` ```
@ -79,7 +79,7 @@ json_validation: '{project-root}/_bmad/core/resources/excalidraw/validate-json-i
**Domain-specific additions:** **Domain-specific additions:**
```yaml ```yaml
# workflows/diagrams/_shared/flowchart-templates.yaml # workflows/excalidraw-diagrams/_shared/flowchart-templates.yaml
flowchart: flowchart:
start_node: start_node:
type: ellipse type: ellipse

View File

@ -1,5 +1,5 @@
--- ---
name: brainstorming-session name: brainstorming
description: Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods description: Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods
context_file: '' # Optional context file path for project-specific guidance context_file: '' # Optional context file path for project-specific guidance
--- ---

View File

@ -32,7 +32,7 @@ agent:
description: Guided Research scoped to market, domain, competitive analysis, or technical research (optional) description: Guided Research scoped to market, domain, competitive analysis, or technical research (optional)
- trigger: product-brief - trigger: product-brief
exec: "{project-root}/_bmad/bmm/workflows/1-analysis/product-brief/workflow.md" exec: "{project-root}/_bmad/bmm/workflows/1-analysis/create-product-brief/workflow.md"
description: Create a Product Brief (recommended input for PRD) description: Create a Product Brief (recommended input for PRD)
- trigger: document-project - trigger: document-project

View File

@ -23,19 +23,19 @@ agent:
description: Get workflow status or initialize a workflow if not already done (optional) description: Get workflow status or initialize a workflow if not already done (optional)
- trigger: create-architecture - trigger: create-architecture
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/architecture/workflow.md" exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/create-architecture/workflow.md"
description: Create an Architecture Document to Guide Development of a PRD (required for BMad Method projects) description: Create an Architecture Document to Guide Development of a PRD (required for BMad Method projects)
- trigger: implementation-readiness - trigger: implementation-readiness
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.md" exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md"
description: Validate PRD, UX, Architecture, Epics and stories aligned (Optional but recommended before development) description: Validate PRD, UX, Architecture, Epics and stories aligned (Optional but recommended before development)
- trigger: create-excalidraw-diagram - trigger: create-excalidraw-diagram
workflow: "{project-root}/_bmad/bmm/workflows/diagrams/create-diagram/workflow.yaml" workflow: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml"
description: Create system architecture or technical diagram (Excalidraw) (Use any time you need a diagram) description: Create system architecture or technical diagram (Excalidraw) (Use any time you need a diagram)
- trigger: create-excalidraw-dataflow - trigger: create-excalidraw-dataflow
workflow: "{project-root}/_bmad/bmm/workflows/diagrams/create-dataflow/workflow.yaml" workflow: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml"
description: Create data flow diagram (Excalidraw) (Use any time you need a diagram) description: Create data flow diagram (Excalidraw) (Use any time you need a diagram)
- trigger: party-mode - trigger: party-mode

View File

@ -32,7 +32,7 @@ agent:
description: Create Epics and User Stories from PRD (Required for BMad Method flow AFTER the Architecture is completed) description: Create Epics and User Stories from PRD (Required for BMad Method flow AFTER the Architecture is completed)
- trigger: implementation-readiness - trigger: implementation-readiness
exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.md" exec: "{project-root}/_bmad/bmm/workflows/3-solutioning/check-implementation-readiness/workflow.md"
description: Validate PRD, UX, Architecture, Epics and stories aligned (Optional but recommended before development) description: Validate PRD, UX, Architecture, Epics and stories aligned (Optional but recommended before development)
- trigger: correct-course - trigger: correct-course

View File

@ -30,15 +30,15 @@ agent:
description: Generate Mermaid diagrams (architecture, sequence, flow, ER, class, state) description: Generate Mermaid diagrams (architecture, sequence, flow, ER, class, state)
- trigger: create-excalidraw-flowchart - trigger: create-excalidraw-flowchart
workflow: "{project-root}/_bmad/bmm/workflows/diagrams/create-flowchart/workflow.yaml" workflow: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart/workflow.yaml"
description: Create Excalidraw flowchart for processes and logic flows description: Create Excalidraw flowchart for processes and logic flows
- trigger: create-excalidraw-diagram - trigger: create-excalidraw-diagram
workflow: "{project-root}/_bmad/bmm/workflows/diagrams/create-diagram/workflow.yaml" workflow: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram/workflow.yaml"
description: Create Excalidraw system architecture or technical diagram description: Create Excalidraw system architecture or technical diagram
- trigger: create-excalidraw-dataflow - trigger: create-excalidraw-dataflow
workflow: "{project-root}/_bmad/bmm/workflows/diagrams/create-dataflow/workflow.yaml" workflow: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow/workflow.yaml"
description: Create Excalidraw data flow diagram description: Create Excalidraw data flow diagram
- trigger: validate-doc - trigger: validate-doc

View File

@ -32,7 +32,7 @@ agent:
description: Validate UX Specification and Design Artifacts description: Validate UX Specification and Design Artifacts
- trigger: create-excalidraw-wireframe - trigger: create-excalidraw-wireframe
workflow: "{project-root}/_bmad/bmm/workflows/diagrams/create-wireframe/workflow.yaml" workflow: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe/workflow.yaml"
description: Create website or app wireframe (Excalidraw) description: Create website or app wireframe (Excalidraw)
- trigger: party-mode - trigger: party-mode

View File

@ -1,5 +1,5 @@
--- ---
name: create-epics-stories name: create-epics-and-stories
description: 'Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value. This workflow requires completed PRD + Architecture documents (UX recommended if UI exists) and breaks down requirements into implementation-ready epics and user stories that incorporate all available technical and design context. Creates detailed, actionable stories with complete acceptance criteria for development teams.' description: 'Transform PRD requirements and Architecture decisions into comprehensive stories organized by user value. This workflow requires completed PRD + Architecture documents (UX recommended if UI exists) and breaks down requirements into implementation-ready epics and user stories that incorporate all available technical and design context. Creates detailed, actionable stories with complete acceptance criteria for development teams.'
web_bundle: true web_bundle: true
--- ---

View File

@ -7,8 +7,8 @@ config_source: "{project-root}/_bmad/bmm/config.yaml"
output_folder: "{config_source}:output_folder" output_folder: "{config_source}:output_folder"
# Workflow components # Workflow components
installed_path: "{project-root}/_bmad/bmm/workflows/diagrams/create-dataflow" installed_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-dataflow"
shared_path: "{project-root}/_bmad/bmm/workflows/diagrams/_shared" shared_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/_shared"
instructions: "{installed_path}/instructions.md" instructions: "{installed_path}/instructions.md"
validation: "{installed_path}/checklist.md" validation: "{installed_path}/checklist.md"
@ -21,7 +21,7 @@ templates: "{shared_path}/excalidraw-templates.yaml"
library: "{shared_path}/excalidraw-library.json" library: "{shared_path}/excalidraw-library.json"
# Output file (respects user's configured output_folder) # Output file (respects user's configured output_folder)
default_output_file: "{output_folder}/diagrams/dataflow-{timestamp}.excalidraw" default_output_file: "{output_folder}/excalidraw-diagrams/dataflow-{timestamp}.excalidraw"
standalone: true standalone: true
web_bundle: false web_bundle: false

View File

@ -7,8 +7,8 @@ config_source: "{project-root}/_bmad/bmm/config.yaml"
output_folder: "{config_source}:output_folder" output_folder: "{config_source}:output_folder"
# Workflow components # Workflow components
installed_path: "{project-root}/_bmad/bmm/workflows/diagrams/create-diagram" installed_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-diagram"
shared_path: "{project-root}/_bmad/bmm/workflows/diagrams/_shared" shared_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/_shared"
instructions: "{installed_path}/instructions.md" instructions: "{installed_path}/instructions.md"
validation: "{installed_path}/checklist.md" validation: "{installed_path}/checklist.md"
@ -21,7 +21,7 @@ templates: "{shared_path}/excalidraw-templates.yaml"
library: "{shared_path}/excalidraw-library.json" library: "{shared_path}/excalidraw-library.json"
# Output file (respects user's configured output_folder) # Output file (respects user's configured output_folder)
default_output_file: "{output_folder}/diagrams/diagram-{timestamp}.excalidraw" default_output_file: "{output_folder}/excalidraw-diagrams/diagram-{timestamp}.excalidraw"
standalone: true standalone: true
web_bundle: false web_bundle: false

View File

@ -7,8 +7,8 @@ config_source: "{project-root}/_bmad/bmm/config.yaml"
output_folder: "{config_source}:output_folder" output_folder: "{config_source}:output_folder"
# Workflow components # Workflow components
installed_path: "{project-root}/_bmad/bmm/workflows/diagrams/create-flowchart" installed_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-flowchart"
shared_path: "{project-root}/_bmad/bmm/workflows/diagrams/_shared" shared_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/_shared"
instructions: "{installed_path}/instructions.md" instructions: "{installed_path}/instructions.md"
validation: "{installed_path}/checklist.md" validation: "{installed_path}/checklist.md"
@ -21,7 +21,7 @@ templates: "{shared_path}/excalidraw-templates.yaml"
library: "{shared_path}/excalidraw-library.json" library: "{shared_path}/excalidraw-library.json"
# Output file (respects user's configured output_folder) # Output file (respects user's configured output_folder)
default_output_file: "{output_folder}/diagrams/flowchart-{timestamp}.excalidraw" default_output_file: "{output_folder}/excalidraw-diagrams/flowchart-{timestamp}.excalidraw"
standalone: true standalone: true
web_bundle: false web_bundle: false

View File

@ -7,8 +7,8 @@ config_source: "{project-root}/_bmad/bmm/config.yaml"
output_folder: "{config_source}:output_folder" output_folder: "{config_source}:output_folder"
# Workflow components # Workflow components
installed_path: "{project-root}/_bmad/bmm/workflows/diagrams/create-wireframe" installed_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/create-wireframe"
shared_path: "{project-root}/_bmad/bmm/workflows/diagrams/_shared" shared_path: "{project-root}/_bmad/bmm/workflows/excalidraw-diagrams/_shared"
instructions: "{installed_path}/instructions.md" instructions: "{installed_path}/instructions.md"
validation: "{installed_path}/checklist.md" validation: "{installed_path}/checklist.md"
@ -21,7 +21,7 @@ templates: "{shared_path}/excalidraw-templates.yaml"
library: "{shared_path}/excalidraw-library.json" library: "{shared_path}/excalidraw-library.json"
# Output file (respects user's configured output_folder) # Output file (respects user's configured output_folder)
default_output_file: "{output_folder}/diagrams/wireframe-{timestamp}.excalidraw" default_output_file: "{output_folder}/excalidraw-diagrams/wireframe-{timestamp}.excalidraw"
standalone: true standalone: true
web_bundle: false web_bundle: false

View File

@ -2265,6 +2265,12 @@ If AgentVibes party mode is enabled, immediately trigger TTS with agent's voice:
} else { } else {
// Selective update - preserve user modifications // Selective update - preserve user modifications
await this.fileOps.syncDirectory(sourcePath, targetPath); await this.fileOps.syncDirectory(sourcePath, targetPath);
// Recompile agents (#1133)
const { ModuleManager } = require('../modules/manager');
const moduleManager = new ModuleManager();
await moduleManager.compileModuleAgents(sourcePath, targetPath, 'core', bmadDir);
await this.processAgentFiles(targetPath, 'core');
} }
} }

View File

@ -521,6 +521,10 @@ class ModuleManager {
} else { } else {
// Selective update - preserve user modifications // Selective update - preserve user modifications
await this.syncModule(sourcePath, targetPath); await this.syncModule(sourcePath, targetPath);
// Recompile agents (#1133)
await this.compileModuleAgents(sourcePath, targetPath, moduleName, bmadDir);
await this.processAgentFiles(targetPath, moduleName);
} }
return { return {