23 KiB
BMad Technical Writing Expansion Pack
Transform your AI into a complete technical book writing studio with specialized agents for technical authors, trainers, and documentation specialists.
📚 Overview
The Technical Writing Expansion Pack extends BMad-Method with a comprehensive suite of tools for creating high-quality technical books, tutorials, and instructional content. Whether you're writing for PacktPub, O'Reilly, Manning, or self-publishing, this pack provides structured AI assistance throughout your technical writing process.
Key Features
- 🤖 13 Specialized Agents - Complete writing team with 10 required agents (greenfield planning/writing/review + brownfield book analysis) + 3 optional agents (Learning Path Designer, Sample Code Maintainer, Version Manager) for advanced scenarios
- 📝 33 Core Tasks - Full chapter development, API documentation, diagram design, publishing workflows, PLUS learning path design, code repository setup, version matrix testing, solutions creation, index generation, screenshot management, publisher packaging, MEAP preparation, self-publishing prep, preface/appendix creation, diagram set design, cross-reference validation, and brownfield tasks
- 📋 31 Quality Checklists - Technical accuracy, security, performance, publisher compliance, accessibility, visual quality, PLUS cross-platform compatibility, inclusive language, readability, index completeness, citation accuracy, final manuscript review, book proposals, self-publishing standards, repository quality, MEAP readiness, and brownfield checklists
- 🎯 18 Professional Templates - Book planning, chapter development, API reference, diagrams, preface, appendix, publishing, brownfield templates, PLUS glossary entry template
- 📚 6 Knowledge Bases - Comprehensive publisher guidelines and technical writing standards
- 🔄 15 Workflows - Section-driven development, publisher-specific submission workflows (PacktPub, O'Reilly, Manning, Self-Publishing), brownfield workflows for edition updates, and complete book lifecycle management
📖 Documentation
New to Technical Writing Pack? Start here!
🚀 Quick Start
- Quick Reference Card - One-page cheat sheet (5 min read)
- Getting Started Tutorial - Write your first chapter hands-on (1-2 hours)
- User Guide - Complete system overview (60-90 min read)
📚 Complete Documentation
- Documentation Index - Navigation hub for all documentation
- Process Flows - Visual workflow diagrams
- Agent Reference Guide - All 13 agents in detail
- Workflow Guide - All 15 workflows explained
- Template Gallery - All 18 templates with examples
- Task Reference - All 33 tasks organized by phase
- Checklist Reference - All 31 checklists with quality gates
- FAQ - Frequently asked questions
- Troubleshooting - Common issues and solutions
See docs/README.md for complete documentation map with 13 guides + 4 examples (~35,000 words).
✍️ Included Agents
Planning & Design Team (Sprint 1)
- Instructional Designer 🎓 - Learning objectives, pedagogical structure, and instructional scaffolding
- Tutorial Architect 🏗️ - Hands-on tutorial design, exercise creation, and progressive learning paths
- Code Curator 🔧 - Code example development, testing, version management, and quality assurance
Review & Publishing Team (Sprint 2)
- Technical Reviewer 🔍 - Technical accuracy verification, security audits, best practices validation
- Technical Editor ✍️ - Clarity improvement, style consistency, publisher formatting, accessibility
- Book Publisher 📦 - Publication preparation, manuscript packaging, publisher-specific formatting
Specialist Team (Sprint 3)
- API Documenter 📚 - API reference documentation, technical specifications, glossaries, and appendices
- Screenshot Specialist 📸 - Visual documentation, technical diagrams, screenshot planning, and annotations
- Exercise Creator 🏋️ - Practice problems, assessments, exercises aligned with learning objectives
Brownfield Team (Sprint 4)
- Book Analyst 📖 - Existing book analysis, revision planning, 2nd/3rd edition updates, version migrations, pattern extraction, and reviewer feedback incorporation
Optional Specialist Team (Sprint 5)
- Learning Path Designer 🗺️ - Prerequisite mapping, skill progression design, knowledge scaffolding, learning flow validation (can merge with Instructional Designer for simpler deployments)
- Sample Code Maintainer 🔧 - Code repository management, CI/CD pipelines, dependency management, automated testing (can merge with Code Curator for simpler deployments)
- Version Manager 🔢 - Multi-version compatibility testing, platform-specific code handling, version matrix management (can merge with Code Curator for simpler deployments)
🚀 Installation
Via BMad Installer
npx bmad-method install
# Select "Technical Book Writing Studio" from the expansion packs list
Manual Installation
- Clone or download this expansion pack
- Copy to your BMad Method installation:
cp -r bmad-technical-writing/* ~/bmad-method/expansion-packs/bmad-technical-writing/ - Run the BMad installer to register the pack
💡 Usage
Quick Start
# Activate individual agents in your IDE
# Greenfield agents (new book writing)
/bmad-tw:instructional-designer
/bmad-tw:tutorial-architect
/bmad-tw:code-curator
/bmad-tw:technical-reviewer
/bmad-tw:technical-editor
/bmad-tw:book-publisher
/bmad-tw:api-documenter
/bmad-tw:screenshot-specialist
/bmad-tw:exercise-creator
# Brownfield agent (existing book updates)
/bmad-tw:book-analyst
Core Workflows (Sprint 2, 2.5, 2.6)
Book Planning Workflow (Sprint 2.5) - Complete book planning from concept to approved outline:
- Book Publisher drafts comprehensive book proposal
- Instructional Designer creates detailed book outline
- Instructional Designer validates learning progression
- Technical Editor reviews outline for clarity
- Book Publisher verifies publisher requirements
Chapter Development Workflow v2.0 (Sprint 2, refactored Sprint 2.6) - Complete chapter creation from outline to publisher-ready:
Section-Driven Approach (NEW in v2.0):
- Tutorial Architect creates chapter outline
- Tutorial Architect + Instructional Designer plan sections (section-planning-workflow)
- For each section: Code Curator + Tutorial Architect + Technical Reviewer develop section (section-development-workflow)
- Tutorial Architect + Technical Editor + Technical Reviewer assemble chapter (chapter-assembly-workflow)
- Final validation and publication readiness
Traditional Approach (Original, still supported):
- Tutorial Architect creates chapter outline
- Code Curator develops and tests all code examples
- Tutorial Architect writes complete chapter draft
- Technical Reviewer performs comprehensive technical review
- Tutorial Architect revises based on review feedback
- Technical Editor performs professional copy editing
- Tutorial Architect finalizes chapter for publication
Section Planning Workflow (Sprint 2.6) - Break chapter into deliverable sections (BMad story analog):
- Tutorial Architect analyzes chapter outline
- Tutorial Architect identifies section boundaries (5-8 sections)
- Tutorial Architect creates section plans with acceptance criteria
- Instructional Designer validates learning flow
- Tutorial Architect finalizes section list
Section Development Workflow (Sprint 2.6) - Write one section (2-5 pages):
- Code Curator develops section code examples
- Code Curator tests all code
- Tutorial Architect writes section content
- Technical Reviewer performs focused section review
- Tutorial Architect revises section
- Tutorial Architect finalizes section (DONE)
Chapter Assembly Workflow (Sprint 2.6) - Integrate completed sections (BMad Sprint Review analog):
- Tutorial Architect merges all completed sections
- Tutorial Architect improves transitions
- Instructional Designer validates learning flow
- Technical Reviewer performs full chapter review
- Tutorial Architect revises based on feedback
- Technical Editor performs copy editing
- Tutorial Architect finalizes chapter for publication
Tutorial Creation Workflow (Sprint 2) - Build effective hands-on tutorials:
- Instructional Designer designs learning path
- Tutorial Architect creates step-by-step structure
- Code Curator develops and tests tutorial code
- Tutorial Architect writes complete tutorial
- Code Curator tests end-to-end
- Tutorial Architect revises based on testing
- Instructional Designer validates learning effectiveness
Code Example Workflow (Sprint 2.5) - Develop, test, and document code examples:
- Code Curator develops code example
- Code Curator tests on all target platforms
- Code Curator verifies code quality
- Code Curator performs security review
- Code Curator adds comprehensive documentation
Technical Review Workflow (Sprint 2.5) - Comprehensive expert review of chapter:
- Technical Reviewer verifies technical accuracy
- Code Curator reviews all code examples
- Technical Reviewer validates best practices
- Technical Reviewer compiles comprehensive report
Common Use Cases
- Book Planning - Create comprehensive book outlines with learning objectives
- Chapter Development - Full workflow from outline to publication-ready manuscript
- Code Example Creation - Develop, test, and document working code examples
- Technical Review - Verify accuracy, security, and best practices
- Editorial Polish - Ensure clarity, consistency, and publisher compliance
- Quality Assurance - 15 checklists covering all aspects of technical writing quality
📋 Key Components
Templates (15 Total)
Sprint 1 (Planning):
book-outline-tmpl.yaml- Complete book structure with learning pathchapter-outline-tmpl.yaml- Individual chapter planning with exercisescode-example-tmpl.yaml- Code examples with explanations and testing
Sprint 2 (Writing & Publishing):
chapter-draft-tmpl.yaml- Complete chapter manuscript structuretechnical-review-report-tmpl.yaml- Review findings and recommendationstutorial-section-tmpl.yaml- Step-by-step tutorial structureexercise-set-tmpl.yaml- Practice exercises with solutionsbook-proposal-tmpl.yaml- Publisher proposal documentintroduction-tmpl.yaml- Chapter introduction structure
Sprint 2.6 (Section-Driven Development):
section-plan-tmpl.yaml- Section plan with acceptance criteria (BMad story analog)
Sprint 3 (Specialist Templates):
learning-objectives-tmpl.yaml- Learning objective definition with Bloom's Taxonomyapi-reference-tmpl.yaml- API documentation structure with parameters and examplesdiagram-spec-tmpl.yaml- Technical diagram specificationspreface-tmpl.yaml- Book preface/foreword structureappendix-tmpl.yaml- Appendix content structure
Tasks (15 Total)
Sprint 1 (Planning):
design-book-outline.md- Create publisher-aligned book structurescreate-code-example.md- Develop tested, documented code examplestest-code-examples.md- Automated testing workflow for all examplescreate-learning-objectives.md- Define measurable learning outcomescreate-chapter-outline.md- Plan chapter structure and content
Sprint 2 (Writing & Review):
write-chapter-draft.md- Complete chapter manuscript writing workflowtechnical-review-chapter.md- Comprehensive chapter review workflowcopy-edit-chapter.md- Editorial polish workflowdevelop-tutorial.md- Hands-on tutorial creation workflowdesign-exercises.md- Exercise creation workflow
Sprint 3 (Specialist Tasks):
generate-api-docs.md- API reference documentation workflowcreate-diagram-spec.md- Diagram design workflow with accessibilitywrite-introduction.md- Chapter introduction creation with hooks and objectiveswrite-summary.md- Chapter summary creation with reinforcementbuild-glossary.md- Glossary compilation workflow
Checklists (18 Total)
Sprint 1 (Quality Foundations):
- Learning objectives validation
- Code quality verification
- Code testing requirements
- Tutorial effectiveness
- Chapter completeness
- Exercise difficulty assessment
- Prerequisite clarity
- Version compatibility
Sprint 2 (Review & Publishing):
- Technical accuracy checklist
- Security best practices checklist
- Performance considerations checklist
- PacktPub submission checklist
- O'Reilly format checklist
- Manning MEAP checklist
- Accessibility checklist
Sprint 3 (Visual & Documentation Quality):
- Diagram clarity checklist
- Screenshot quality checklist
- Glossary accuracy checklist
Workflows (12 Core Workflows)
Sprint 2:
chapter-development-workflow.yaml- Complete chapter creation workflow (v2.0 - refactored Sprint 2.6)tutorial-creation-workflow.yaml- Tutorial development workflow
Sprint 2.5:
book-planning-workflow.yaml- Book planning from concept to approved outlinecode-example-workflow.yaml- Code example development and testingtechnical-review-workflow.yaml- Comprehensive technical review
Sprint 2.6 (Section-Driven Development):
section-planning-workflow.yaml- Break chapter into sections (BMad epic → stories analog)section-development-workflow.yaml- Write one section (BMad story development analog)chapter-assembly-workflow.yaml- Merge sections into chapter (BMad sprint review analog)
Sprint 3 (Publisher-Specific Workflows):
packtpub-submission-workflow.yaml- PacktPub submission preparation workfloworeilly-submission-workflow.yaml- O'Reilly submission preparation workflowmanning-meap-workflow.yaml- Manning MEAP chapter preparation workflowself-publishing-workflow.yaml- Self-publishing preparation (Leanpub/KDP/Gumroad)
Knowledge Bases (6 Total)
bmad-kb.md- Core technical writing methodologybook-structures.md- PacktPub, O'Reilly, Manning formatslearning-frameworks.md- Bloom's Taxonomy, scaffolding principlescode-style-guides.md- Python, JavaScript, Java standards (COMPLETE)publisher-guidelines.md- Publisher-specific requirements (EXPANDED in Sprint 2)technical-writing-standards.md- Writing standards (COMPLETE in Sprint 2)
🎯 Use Cases
Technical Book Writing
- Plan complete book structure with learning objectives
- Design hands-on tutorials and exercises
- Create and test code examples across versions
- Validate pedagogical effectiveness
Course Material Development
- Structure learning paths for technical courses
- Create progressive tutorial sequences
- Develop practice exercises with solutions
- Ensure prerequisite clarity
Documentation Writing
- Design tutorial-based documentation
- Create working code examples
- Structure content for different learning styles
- Validate instructional effectiveness
Book Updates (Brownfield)
- Update existing books for new framework versions
- Add new chapters to existing content
- Refresh code examples for current standards
- Incorporate technical reviewer feedback
🤝 Contributing
We welcome contributions! Please:
- Fork the repository
- Create a feature branch
- Follow BMad Method conventions
- Submit a PR with clear description
📄 License
This expansion pack follows the same license as BMad Method core.
🙏 Credits
Created by Wes for the BMad Method community.
Special thanks to Brian (BMad) for creating the BMad Method framework.
Version: 0.3.0 (Sprint 3 - Specialist Agents & Publisher Workflows Complete) Compatible with: BMad Method v4.0+ Last Updated: 2025
✅ Sprint Status
Sprint 1 (Complete): Planning and design foundation
- ✅ 3 planning agents (Instructional Designer, Tutorial Architect, Code Curator)
- ✅ 5 core tasks for book and chapter planning
- ✅ 8 quality checklists
- ✅ 3 templates for planning
- ✅ 6 knowledge bases (initial versions)
Sprint 2 (Complete): Review, workflows, and quality assurance
- ✅ 3 review agents (Technical Reviewer, Technical Editor, Book Publisher)
- ✅ 5 additional tasks for writing and review
- ✅ 7 additional checklists (technical, security, performance, publisher, accessibility)
- ✅ 6 additional templates for writing and publishing
- ✅ 2 core workflows (chapter development, tutorial creation)
- ✅ Expanded knowledge bases (publisher guidelines, writing standards)
Sprint 2.5 (Complete): Workflow orchestration completion
- ✅ 3 additional workflows: Book Planning Workflow, Code Example Workflow, Technical Review Workflow
- ✅ Total: 5 core workflows for complete book development
- ✅ Version bumped to 0.2.5
Sprint 2.6 (Complete): Section-driven development (BMad story analog)
- ✅ 3 section-level workflows: Section Planning, Section Development, Chapter Assembly
- ✅ 1 new template: Section Plan Template (section acceptance criteria)
- ✅ Refactored Chapter Development Workflow v2.0 (orchestrates section workflows)
- ✅ Total: 8 core workflows, 10 templates
- ✅ Section-driven approach enables incremental chapter writing (2-5 pages per section)
- ✅ Perfect analog to BMad's story-driven development workflow
- ✅ Parallel section development supported
- ✅ Backward compatible: Traditional full-chapter approach still supported
- ✅ Version bumped to 0.2.6
Sprint 3 (Complete): Specialist agents and publisher workflows
- ✅ 3 specialist agents: API Documenter, Screenshot Specialist, Exercise Creator
- ✅ 5 specialist templates: Learning Objectives, API Reference, Diagram Spec, Preface, Appendix
- ✅ 5 specialist tasks: Generate API Docs, Create Diagram Spec, Write Introduction, Write Summary, Build Glossary
- ✅ 4 publisher-specific submission workflows: PacktPub, O'Reilly, Manning MEAP, Self-Publishing
- ✅ 3 visual/documentation checklists: Diagram Clarity, Screenshot Quality, Glossary Accuracy
- ✅ Total: 9 agents, 15 templates, 15 tasks, 12 workflows, 18 checklists
- ✅ Agent team bundle for web UI (technical-book-team.yaml)
- ✅ Complete technical writing system from planning through publication
- ✅ Version bumped to 0.3.0 (beta - specialist agents complete)
Sprint 4 (Complete): Brownfield book authoring support - v1.0.0 PRODUCTION RELEASE
- ✅ 1 brownfield agent: Book Analyst (existing book analysis and revision planning specialist)
- ✅ 2 brownfield templates: Book Analysis Report, Revision Plan
- ✅ 5 brownfield tasks: Analyze Existing Book, Plan Book Revision, Update Chapter for Version, Extract Code Patterns, Incorporate Reviewer Feedback
- ✅ 3 brownfield workflows: Book Edition Update, Incorporate Review Feedback, Add Chapter to Existing Book
- ✅ 3 brownfield checklists: Version Update, Revision Completeness, Existing Book Integration
- ✅ Total: 10 agents, 15 templates, 20 tasks, 12 workflows, 21 checklists
- ✅ Brownfield capabilities: 2nd/3rd edition updates, technology version migrations (Python 3.9→3.12), chapter additions to existing books, systematic reviewer feedback incorporation
- ✅ Pattern extraction for maintaining consistency in existing books
- ✅ Surgical update workflows that preserve learning flow and voice/tone
- ✅ Version bumped to 1.0.0 (production ready - complete greenfield + brownfield support)
Sprint 5 (Complete): 100% Research Coverage Achievement - v1.1.0 COMPREHENSIVE RELEASE
- ✅ 3 optional agents: Learning Path Designer (prerequisite mapping), Sample Code Maintainer (repository/CI/CD management), Version Manager (multi-version compatibility testing)
- ✅ 13 remaining tasks: design-learning-path, setup-code-repository, version-matrix-check, create-solutions, create-index-entries, take-screenshots, package-for-publisher, prepare-meap-chapter, self-publish-prep, create-preface, create-appendix, design-diagram-set, validate-cross-references
- ✅ 10 additional checklists: cross-platform, inclusive-language, readability, index-completeness, citation-accuracy, final-manuscript, book-proposal, self-publishing-standards, repository-quality, meap-readiness
- ✅ 1 new template: glossary-entry-tmpl.yaml
- ✅ Total: 13 agents (10 required + 3 optional), 18 templates, 33 tasks, 15 workflows, 31 checklists
- ✅ Optional agents can work standalone or merge with existing agents for flexibility
- ✅ Complete coverage of all authoring workflows from planning through publication
- ✅ Enhanced quality assurance with comprehensive checklist coverage
- ✅ Advanced scenarios supported: learning path design, code repository automation, multi-version testing
- ✅ 100% coverage of research specifications achieved
- ✅ Version bumped to 1.1.0 (comprehensive - all research requirements implemented)
📚 Section-Driven Development Approach (NEW in Sprint 2.6)
The section-driven approach mirrors BMad's story-driven development workflow, enabling incremental chapter writing:
Key Concepts:
- Section = Story analog: Each section is a 2-5 page deliverable unit with clear acceptance criteria
- Incremental progress: Track "Chapter 3: 5 of 8 sections complete" like story completion
- Parallel development: Multiple sections can be developed simultaneously if dependencies allow
- Work-in-progress reviews: Review sections as they're completed, not waiting for full chapter
- Story-driven iteration: Write → Review → Polish cycle at section level
Typical Chapter Breakdown:
- 20-page chapter = 5-8 sections
- Small section: 2-3 pages, 1 concept, 1 code example (3 story points)
- Medium section: 3-4 pages, 1-2 concepts, 2 code examples (5 story points)
- Large section: 4-5 pages, 2-3 concepts, 2-3 code examples (8 story points)
Workflow Mapping:
| BMad Software Dev | Book Writing (Section-Driven) |
|---|---|
| PRD Creation | book-planning-workflow → book outline |
| Architecture | chapter-planning → chapter outline |
| Epic Breakdown | section-planning-workflow → section list |
| Story Development | section-development-workflow → completed section |
| Sprint Review | chapter-assembly-workflow → integrated chapter |
| Release | publisher-submission → published chapter |
When to Use Section-Driven:
- Chapters 15+ pages (too large for single sitting)
- Want incremental progress tracking
- Need parallel development capability
- Prefer iterative story-driven approach
- Want to review work before full chapter complete
When to Use Traditional:
- Short chapters (<10-12 pages)
- Simple reference sections
- Author prefers writing full chapter at once
- Chapter already partially written
🚧 Roadmap
Future Enhancements (Post-v1.1.0):
- Video tutorial support and transcription tools
- Internationalization and translation workflows
- Audio/podcast supplement tools
- Interactive exercise platform integration
- AI-powered diagram generation from descriptions
- Advanced code quality automation (linting, security scanning)
- Multi-book series planning and cross-book consistency tools
- Publishing platform API integrations (Leanpub, KDP automation)