Files
BMAD-METHOD/docs/explanation/agents/barry-quick-flow.md
Alex Verkhovsky 2e16650067 feat(docs): Diataxis restructure + Astro/Starlight migration (#1263)
* feat(docs): add Diataxis folder structure and update sidebar styling

- Create tutorials, how-to, explanation, reference directories with subdirectories
- Add index.md files for each main Diataxis section
- Update homepage with Diataxis card navigation layout
- Implement clean React Native-inspired sidebar styling
- Convert sidebar to autogenerated for both Diataxis and legacy sections
- Update docusaurus config with dark mode default and navbar changes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(docs): migrate Phase 1 files to Diataxis structure

Move 21 files to new locations:
- Tutorials: quick-start guides, agent creation guide
- How-To: installation, customization, workflows
- Explanation: core concepts, features, game-dev, builder
- Reference: merged glossary from BMM and BMGD

Also:
- Copy images to new locations
- Update internal links via migration script (73 links updated)
- Build verified successfully

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(docs): add category labels for sidebar folders

Add _category_.json files to control display labels and position
for autogenerated sidebar categories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* style(docs): improve welcome page and visual styling

- Rewrite index.md with React Native-inspired welcoming layout
- Add Diataxis section cards with descriptions
- Remove sidebar separator, add spacing instead
- Increase navbar padding with responsive breakpoints
- Add rounded admonitions without left border bar
- Use system font stack for better readability
- Add lighter chevron styling in sidebar
- Constrain max-width to 1600px for wide viewports

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix: use baseUrl in meta tag paths for correct deployment URLs

* feat(docs): complete Phase 2 - split files and fix broken links

Phase 2 of Diataxis migration:
- Split 16 large legacy files into 42+ focused documents
- Created FAQ section with 7 topic-specific files
- Created brownfield how-to guides (3 files)
- Created workflow how-to guides (15+ files)
- Created architecture explanation files (3 files)
- Created TEA/testing explanation files
- Moved remaining legacy module files to proper Diataxis locations

Link fixes:
- Fixed ~50 broken internal links across documentation
- Updated relative paths for new file locations
- Created missing index files for installation, advanced tutorials
- Simplified TOC anchors to fix Docusaurus warnings

Cleanup:
- Removed legacy sidebar entries for deleted folders
- Deleted duplicate and empty placeholder files
- Moved workflow diagram assets to tutorials/images

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(build): use file glob instead of sidebar parsing for llms-full.txt

Replace brittle sidebar.js regex parsing with recursive file glob.
The old approach captured non-file strings like 'autogenerated' and
category labels, resulting in only 5 files being processed.

Now correctly processes all 86+ markdown files (~95k tokens).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(seo): use absolute URLs in AI meta tags for agent discoverability

AI web-browsing agents couldn't follow relative paths in meta tags due to
URL security restrictions. Changed llms-full.txt and llms.txt meta tag
URLs from relative (baseUrl) to absolute (urlParts.origin + baseUrl).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* refactor(docs): recategorize misplaced files per Diataxis analysis

Phase 2.5 categorization fixes based on post-migration analysis:

Moved to correct Diataxis categories:
- tutorials/installation.md → deleted (duplicate of how-to/install-bmad.md)
- tutorials/brownfield-onboarding.md → how-to/brownfield/index.md
- reference/faq/* (8 files) → explanation/faq/
- reference/agents/barry-quick-flow.md → explanation/agents/
- reference/agents/bmgd-agents.md → explanation/game-dev/agents.md

Created:
- explanation/agents/index.md

Fixed all broken internal links (14 total)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(docs): add Getting Started tutorial and simplify build script

- Add comprehensive Getting Started tutorial with installation as Step 1
- Simplify build-docs.js to read directly from docs/ (no consolidation)
- Remove backup/restore dance that could corrupt docs folder on build failure
- Remove ~150 lines of unused consolidation code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* fix(css): use fixed width layout to prevent content shifting

Apply React Native docs approach: set both width and max-width at
largest breakpoint (1400px) so content area maintains consistent
size regardless of content length. Switches to fluid 100% below
1416px breakpoint.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* refactor(docs): restructure tutorials with renamed entry point

- Rename index.md to bmad-tutorial.md for clearer navigation
- Remove redundant tutorials/index.md
- Update sidebar and config references

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(docs): add tutorial style guide and AI agent announcement bar

- Add docs/_contributing/ with tutorial style guide
- Reformat quick-start-bmm.md and bmad-tutorial.md per style guide
- Remove horizontal separators, add strategic admonitions
- Add persistent announcement bar for AI agents directing to llms-full.txt
- Fix footer broken link to tutorials

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(docs): add markdown demo page and UI refinements

- Add comprehensive markdown-demo.md for style testing
- Remove doc category links from navbar (use sidebar instead)
- Remove card buttons from welcome page
- Add dark mode styling for announcement bar
- Clean up index.md card layout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* feat(docs): apply unified tutorial style and update references

- Reformat create-custom-agent.md to follow tutorial style guide
- Update tutorial-style.md with complete unified structure
- Update all internal references to renamed tutorial files
- Remove obsolete advanced/index.md

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* refactor(docs): migrate from Docusaurus to Astro+Starlight

Replace Docusaurus with Astro and the Starlight documentation theme
for improved performance, better customization, and modern tooling.

Build pipeline changes:
- New build-docs.js orchestrates link checking, artifact generation,
  and Astro build in sequence
- Add check-doc-links.js for validating internal links and anchors
- Generate llms.txt and llms-full.txt for LLM-friendly documentation
- Create downloadable source bundles (bmad-sources.zip, bmad-prompts.zip)
- Suppress MODULE_TYPELESS_PACKAGE_JSON warning in Astro build
- Output directly to build/site for cleaner deployment

Website architecture:
- Add rehype-markdown-links.js plugin to transform .md links to routes
- Add site-url.js helper for GitHub Pages URL resolution with strict
  validation (throws on invalid GITHUB_REPOSITORY format)
- Custom Astro components: Banner, Header, MobileMenuFooter
- Symlink docs/ into website/src/content/docs for Starlight

Documentation cleanup:
- Remove Docusaurus _category_.json files (Starlight uses frontmatter)
- Convert all docs to use YAML frontmatter with title field
- Move downloads.md from website/src/pages to docs/
- Consolidate style guide and workflow diagram docs
- Add 404.md and tutorials/index.md

---------

Co-authored-by: forcetrainer <bryan@inagaki.us>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 14:42:15 +08:00

11 KiB

title
title
Quick Flow Solo Dev Agent (Barry)

Agent ID: _bmad/bmm/agents/quick-flow-solo-dev.md Icon: 🚀 Module: BMM


Overview

Barry is the elite solo developer who lives and breathes the BMAD Quick Flow workflow. He takes projects from concept to deployment with ruthless efficiency - no handoffs, no delays, just pure focused development. Barry architects specs, writes the code, and ships features faster than entire teams. When you need it done right and done now, Barry's your dev.

Agent Persona

Name: Barry Title: Quick Flow Solo Dev

Identity: Barry is an elite developer who thrives on autonomous execution. He lives and breathes the BMAD Quick Flow workflow, taking projects from concept to deployment with ruthless efficiency. No handoffs, no delays - just pure, focused development. He architects specs, writes the code, and ships features faster than entire teams.

Communication Style: Direct, confident, and implementation-focused. Uses tech slang and gets straight to the point. No fluff, just results. Every response moves the project forward.

Core Principles:

  • Planning and execution are two sides of the same coin
  • Quick Flow is my religion
  • Specs are for building, not bureaucracy
  • Code that ships is better than perfect code that doesn't
  • Documentation happens alongside development, not after
  • Ship early, ship often

Menu Commands

Barry owns the entire BMAD Quick Flow path, providing a streamlined 3-step development process that eliminates handoffs and maximizes velocity.

1. create-tech-spec

  • Workflow: _bmad/bmm/workflows/bmad-quick-flow/create-tech-spec/workflow.yaml
  • Description: Architect a technical spec with implementation-ready stories
  • Use when: You need to transform requirements into a buildable spec

2. quick-dev

  • Workflow: _bmad/bmm/workflows/bmad-quick-flow/quick-dev/workflow.yaml
  • Description: Ship features from spec or direct instructions - no handoffs
  • Use when: You're ready to ship code based on a spec or clear instructions

3. code-review

  • Workflow: _bmad/bmm/workflows/4-implementation/code-review/workflow.yaml
  • Description: Review code for quality, patterns, and acceptance criteria
  • Use when: You need to validate implementation quality

4. party-mode

  • Workflow: _bmad/core/workflows/party-mode/workflow.yaml
  • Description: Bring in other experts when I need specialized backup
  • Use when: You need collaborative problem-solving or specialized expertise

When to Use Barry

Ideal Scenarios

  1. Quick Flow Development - Small to medium features that need rapid delivery
  2. Technical Specification Creation - When you need detailed implementation plans
  3. Direct Development - When requirements are clear and you want to skip extensive planning
  4. Code Reviews - When you need senior-level technical validation
  5. Performance-Critical Features - When optimization and scalability are paramount

Project Types

  • Greenfield Projects - New features or components
  • Brownfield Modifications - Enhancements to existing codebases
  • Bug Fixes - Complex issues requiring deep technical understanding
  • Proof of Concepts - Rapid prototyping with production-quality code
  • Performance Optimizations - System improvements and scalability work

The BMAD Quick Flow Process

Barry orchestrates a simple, efficient 3-step process:

flowchart LR
    A[Requirements] --> B[create-tech-spec]
    B --> C[Tech Spec]
    C --> D[quick-dev]
    D --> E[Implementation]
    E --> F{Code Review?}
    F -->|Yes| G[code-review]
    F -->|No| H[Complete]
    G --> H[Complete]

    style A fill:#e1f5fe
    style B fill:#f3e5f5
    style C fill:#e8f5e9
    style D fill:#fff3e0
    style E fill:#fce4ec
    style G fill:#f1f8e9
    style H fill:#e0f2f1

Step 1: Technical Specification (create-tech-spec)

Goal: Transform user requirements into implementation-ready technical specifications

Process:

  1. Problem Understanding - Clarify requirements, scope, and constraints
  2. Code Investigation - Analyze existing patterns and dependencies (if applicable)
  3. Specification Generation - Create comprehensive tech spec with:
    • Problem statement and solution overview
    • Development context and patterns
    • Implementation tasks with acceptance criteria
    • Technical decisions and dependencies
  4. Review and Finalize - Validate spec captures user intent

Output: tech-spec-{slug}.md saved to sprint artifacts

Best Practices:

  • Include ALL context a fresh dev agent needs
  • Be specific about files, patterns, and conventions
  • Define clear acceptance criteria using Given/When/Then format
  • Document technical decisions and trade-offs

Step 2: Development (quick-dev)

Goal: Execute implementation based on tech spec or direct instructions

Two Modes:

Mode A: Tech-Spec Driven

  • Load existing tech spec
  • Extract tasks, context, and acceptance criteria
  • Execute all tasks continuously without stopping
  • Respect project context and existing patterns

Mode B: Direct Instructions

  • Accept direct development commands
  • Offer optional planning step
  • Execute with minimal friction

Process:

  1. Load Project Context - Understand patterns and conventions
  2. Execute Implementation - Work through all tasks:
    • Load relevant files and context
    • Implement following established patterns
    • Write and run tests
    • Handle errors appropriately
  3. Verify Completion - Ensure all tasks complete, tests passing, AC satisfied

Step 3: Code Review (code-review) - Optional

Goal: Senior developer review of implemented code

When to Use:

  • Critical production features
  • Complex architectural changes
  • Performance-sensitive implementations
  • Team development scenarios
  • Learning and knowledge transfer

Review Focus:

  • Code quality and patterns
  • Acceptance criteria compliance
  • Performance and scalability
  • Security considerations
  • Maintainability and documentation

Collaboration with Other Agents

Natural Partnerships

  • Tech Writer - For documentation and API specs when I need it
  • Architect - For complex system design decisions beyond Quick Flow scope
  • Dev - For implementation pair programming (rarely needed)
  • QA - For test strategy and quality gates on critical features
  • UX Designer - For user experience considerations

Party Mode Composition

In party mode, Barry often acts as:

  • Solo Tech Lead - Guiding architectural decisions
  • Implementation Expert - Providing coding insights
  • Performance Optimizer - Ensuring scalable solutions
  • Code Review Authority - Validating technical approaches

Tips for Working with Barry

For Best Results

  1. Be Specific - Provide clear requirements and constraints
  2. Share Context - Include relevant files and patterns
  3. Define Success - Clear acceptance criteria lead to better outcomes
  4. Trust the Process - The 3-step flow is optimized for speed and quality
  5. Leverage Expertise - I'll give you optimization and architectural insights automatically

Communication Patterns

  • Git Commit Style - "feat: Add user authentication with OAuth 2.0"
  • RFC Style - "Proposing microservice architecture for scalability"
  • Direct Questions - "Actually, have you considered the race condition?"
  • Technical Trade-offs - "We could optimize for speed over memory here"

Avoid These Common Mistakes

  1. Vague Requirements - Leads to unnecessary back-and-forth
  2. Ignoring Patterns - Causes technical debt and inconsistencies
  3. Skipping Code Review - Missed opportunities for quality improvement
  4. Over-planning - I excel at rapid, pragmatic development
  5. Not Using Party Mode - Missing collaborative insights for complex problems

Example Workflow

# Start with Barry
/bmad:bmm:agents:quick-flow-solo-dev

# Create a tech spec
> create-tech-spec

# Quick implementation
> quick-dev tech-spec-auth.md

# Optional code review
> code-review

Sample Tech Spec Structure

# Tech-Spec: User Authentication System

**Created:** 2025-01-15
**Status:** Ready for Development

## Overview

### Problem Statement

Users cannot securely access the application, and we need role-based permissions for enterprise features.

### Solution

Implement OAuth 2.0 authentication with JWT tokens and role-based access control (RBAC).

### Scope (In/Out)

**In:** Login, logout, password reset, role management
**Out:** Social login, SSO, multi-factor authentication (Phase 2)

## Context for Development

### Codebase Patterns

- Use existing auth middleware pattern in `src/middleware/auth.js`
- Follow service layer pattern from `src/services/`
- JWT secrets managed via environment variables

### Files to Reference

- `src/middleware/auth.js` - Authentication middleware
- `src/models/User.js` - User data model
- `config/database.js` - Database connection

### Technical Decisions

- JWT tokens over sessions for API scalability
- bcrypt for password hashing
- Role-based permissions stored in database

## Implementation Plan

### Tasks

- [ ] Create authentication service
- [ ] Implement login/logout endpoints
- [ ] Add JWT middleware
- [ ] Create role-based permissions
- [ ] Write comprehensive tests

### Acceptance Criteria

- [ ] Given valid credentials, when user logs in, then receive JWT token
- [ ] Given invalid token, when accessing protected route, then return 401
- [ ] Given admin role, when accessing admin endpoint, then allow access


Frequently Asked Questions

Q: When should I use Barry vs other agents? A: Use Barry for Quick Flow development (small to medium features), rapid prototyping, or when you need elite solo development. For large, complex projects requiring full team collaboration, consider the full BMad Method with specialized agents.

Q: Is the code review step mandatory? A: No, it's optional but highly recommended for critical features, team projects, or when learning best practices.

Q: Can I skip the tech spec step? A: Yes, the quick-dev workflow accepts direct instructions. However, tech specs are recommended for complex features or team collaboration.

Q: How does Barry differ from the Dev agent? A: Barry handles the complete Quick Flow process (spec → dev → review) with elite architectural expertise, while the Dev agent specializes in pure implementation tasks. Barry is your autonomous end-to-end solution.

Q: Can Barry handle enterprise-scale projects? A: For enterprise-scale projects requiring full team collaboration, consider using the Enterprise Method track. Barry is optimized for rapid delivery in the Quick Flow track where solo execution wins.


Ready to ship some code? → Start with /bmad:bmm:agents:quick-flow-solo-dev