BMAD-METHOD/bmad/bmb/workflows/create-module
Brian Madison cfedecbd53 docs: massive documentation overhaul + introduce Paige (Documentation Guide agent)
## 📚 Complete Documentation Restructure

**BMM Documentation Hub Created:**
- New centralized documentation system at `src/modules/bmm/docs/`
- 18 comprehensive guides organized by topic (7000+ lines total)
- Clear learning paths for greenfield, brownfield, and quick spec flows
- Professional technical writing standards throughout

**New Documentation:**
- `README.md` - Complete documentation hub with navigation
- `quick-start.md` - 15-minute getting started guide
- `agents-guide.md` - Comprehensive 12-agent reference (45 min read)
- `party-mode.md` - Multi-agent collaboration guide (20 min read)
- `scale-adaptive-system.md` - Deep dive on Levels 0-4 (42 min read)
- `brownfield-guide.md` - Existing codebase development (53 min read)
- `quick-spec-flow.md` - Rapid Level 0-1 development (26 min read)
- `workflows-analysis.md` - Phase 1 workflows (12 min read)
- `workflows-planning.md` - Phase 2 workflows (19 min read)
- `workflows-solutioning.md` - Phase 3 workflows (13 min read)
- `workflows-implementation.md` - Phase 4 workflows (33 min read)
- `workflows-testing.md` - Testing & QA workflows (29 min read)
- `workflow-architecture-reference.md` - Architecture workflow deep-dive
- `workflow-document-project-reference.md` - Document-project workflow reference
- `enterprise-agentic-development.md` - Team collaboration patterns
- `faq.md` - Comprehensive Q&A covering all topics
- `glossary.md` - Complete terminology reference
- `troubleshooting.md` - Common issues and solutions

**Documentation Improvements:**
- Removed all version/date footers (git handles versioning)
- Agent customization docs now include full rebuild process
- Cross-referenced links between all guides
- Reading time estimates for all major docs
- Consistent professional formatting and structure

**Consolidated & Streamlined:**
- Module README (`src/modules/bmm/README.md`) streamlined to lean signpost
- Root README polished with better hierarchy and clear CTAs
- Moved docs from root `docs/` to module-specific locations
- Better separation of user docs vs. developer reference

## 🤖 New Agent: Paige (Documentation Guide)

**Role:** Technical documentation specialist and information architect

**Expertise:**
- Professional technical writing standards
- Documentation structure and organization
- Information architecture and navigation
- User-focused content design
- Style guide enforcement

**Status:** Work in progress - Paige will evolve as documentation needs grow

**Integration:**
- Listed in agents-guide.md, glossary.md, FAQ
- Available for all phases (documentation is continuous)
- Can be customized like all BMM agents

## 🔧 Additional Changes

- Updated agent manifest with Paige
- Updated workflow manifest with new documentation workflows
- Fixed workflow-to-agent mappings across all guides
- Improved root README with clearer Quick Start section
- Better module structure explanations
- Enhanced community links with Discord channel names

**Total Impact:**
- 18 new/restructured documentation files
- 7000+ lines of professional technical documentation
- Complete navigation system with cross-references
- Clear learning paths for all user types
- Foundation for knowledge base (coming in beta)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 21:18:33 -06:00
..
installer-templates research will use the web more, use system date to understand what the read current date is. 2025-11-01 00:14:41 -05:00
README.md research will use the web more, use system date to understand what the read current date is. 2025-11-01 00:14:41 -05:00
brainstorm-context.md minor fixes 2025-10-16 21:50:50 -05:00
checklist.md installer improvements 2025-10-28 12:47:45 -05:00
instructions.md installer improvements 2025-10-28 12:47:45 -05:00
module-structure.md installer improvements 2025-10-28 12:47:45 -05:00
workflow.yaml installer improvements 2025-10-28 12:47:45 -05:00
workflow.yaml.bak docs: massive documentation overhaul + introduce Paige (Documentation Guide agent) 2025-11-02 21:18:33 -06:00

README.md

Create Module Workflow

Interactive scaffolding system creating complete BMad modules with agents, workflows, tasks, and installation infrastructure.

Table of Contents

Quick Start

# Basic invocation
workflow create-module

# With module brief input
workflow create-module --input module-brief-{name}-{date}.md

# Via BMad Builder
*create-module

Workflow Phases

Phase 1: Concept Definition

  • Define module purpose and audience
  • Establish module code (kebab-case) and name
  • Choose category (Domain, Creative, Technical, Business, Personal)
  • Plan component architecture

Module Brief Integration:

  • Auto-detects existing briefs
  • Uses as pre-populated blueprint
  • Accelerates planning phase

Phase 2: Architecture Planning

  • Create directory hierarchy
  • Setup configuration system
  • Define installer structure
  • Establish component folders

Phase 3: Component Creation

  • Optional first agent creation
  • Optional first workflow creation
  • Component placeholder generation
  • Integration validation

Phase 4: Installation Setup

  • Create install-config.yaml
  • Configure deployment questions
  • Setup installer logic
  • Post-install messaging

Phase 5: Documentation

  • Generate comprehensive README
  • Create development roadmap
  • Provide quick commands
  • Document next steps

Output Structure

Generated Directory

bmad/{module-code}/
├── agents/              # Agent definitions
├── workflows/           # Workflow processes
├── tasks/              # Reusable tasks
├── templates/          # Document templates
├── data/               # Module data files
├── _module-installer/  # Installation logic
│   ├── install-config.yaml
│   └── installer.js
├── README.md           # Module documentation
├── TODO.md            # Development roadmap
└── config.yaml        # Runtime configuration

Configuration Files

install-config.yaml - Installation questions

questions:
  - id: user_name
    prompt: 'Your name?'
    default: 'User'
  - id: output_folder
    prompt: 'Output location?'
    default: './output'

config.yaml - Generated from user answers during install

user_name: 'John Doe'
output_folder: './my-output'

Module Components

Agents

  • Full module agents with workflows
  • Expert agents with sidecars
  • Simple utility agents

Workflows

  • Multi-step guided processes
  • Configuration-driven
  • Web bundle support

Tasks

  • Reusable operations
  • Agent-agnostic
  • Modular components

Templates

  • Document structures
  • Output formats
  • Report templates

Best Practices

Planning

  1. Use module-brief workflow first - Creates comprehensive blueprint
  2. Define clear scope - Avoid feature creep
  3. Plan component interactions - Map agent/workflow relationships

Structure

  1. Follow conventions - Use established patterns
  2. Keep components focused - Single responsibility
  3. Document thoroughly - Clear README and inline docs

Development

  1. Start with core agent - Build primary functionality first
  2. Create key workflows - Essential processes before edge cases
  3. Test incrementally - Validate as you build

Installation

  1. Minimal config questions - Only essential settings
  2. Smart defaults - Sensible out-of-box experience
  3. Clear post-install - Guide users to first steps

Integration Points

With Other Workflows

  • module-brief - Strategic planning input
  • create-agent - Agent component creation
  • create-workflow - Workflow building
  • redoc - Documentation maintenance

With BMad Core

  • Uses core framework capabilities
  • Integrates with module system
  • Follows BMad conventions

Examples

Domain-Specific Module

Category: Domain-Specific
Code: legal-advisor
Components:
- Contract Review Agent
- Compliance Workflow
- Legal Templates

Creative Module

Category: Creative
Code: story-builder
Components:
- Narrative Agent
- Plot Workflow
- Character Templates

Technical Module

Category: Technical
Code: api-tester
Components:
- Test Runner Agent
- API Validation Workflow
- Test Report Templates

Workflow Files

create-module/
├── workflow.yaml          # Configuration
├── instructions.md        # Step guide
├── checklist.md          # Validation
├── module-structure.md   # Architecture
├── installer-templates/  # Install files
└── README.md            # This file