Midtrans-Middleware/.trae/rules/bmad-workflow-bmb-edit-modu...

1.7 KiB

edit-module Workflow Rule

This rule defines the edit-module workflow.

Workflow Description

Edit existing BMAD modules (structure, agents, workflows, documentation) while following all best practices

Workflow Definition

Edit Module - Module Editor Configuration

name: "edit-module" description: "Edit existing BMAD modules (structure, agents, workflows, documentation) while following all best practices" author: "BMad"

Critical variables load from config_source

config_source: "{project-root}/.bmad/bmb/config.yaml" communication_language: "{config_source}:communication_language" user_name: "{config_source}:user_name"

Required Data Files - Critical for understanding module conventions

module_structure_guide: "{project-root}/.bmad/bmb/workflows/create-module/module-structure.md"

Related workflow editors

agent_editor: "{project-root}/.bmad/bmb/workflows/edit-agent/workflow.yaml" workflow_editor: "{project-root}/.bmad/bmb/workflows/edit-workflow/workflow.yaml"

Reference examples - for learning patterns

bmm_module_dir: "{project-root}/.bmad/bmm/" bmb_module_dir: "{project-root}/.bmad/bmb/" cis_module_dir: "{project-root}/.bmad/cis/" existing_agents_dir: "{project-root}/.bmad//agents/" existing_workflows_dir: "{project-root}/.bmad//workflows/"

Module path and component files

installed_path: "{project-root}/.bmad/bmb/workflows/edit-module" template: false # This is an action workflow - no template needed instructions: "{installed_path}/instructions.md" validation: "{installed_path}/checklist.md"

standalone: true

Web bundle configuration

Usage

Reference this workflow with @workflow-edit-module to execute the guided workflow.

Module

Part of the BMAD BMB module.