BMAD-WORKFLOW
Agent**BMAD (Business-Minded Agile Development)** - AI-driven agile development automation with role-based agents
Direct slash commands for daily coding tasks without workflow overhead
Claude Code
> /plugin marketplace add stellarlinkco/myclaude
Cursor
Cursor also loads subagents from .claude/agents, so copy this file there to use it in Cursor.
> Direct slash commands for daily coding tasks without workflow overhead
Development Essentials provides focused slash commands for common development tasks. Use these when you need direct implementation without the full workflow structure.
Implement features, add functionality, or write code directly.
**Usage**:
/code "Add input validation for email fields" /code "Implement pagination for user list API" /code "Create database migration for orders table"
**Agent**: `code`
**Best for**:
Analyze and fix bugs with structured debugging approach.
**Usage**:
/debug "Login fails with 500 error on invalid credentials" /debug "Memory leak in background worker process" /debug "Race condition in order processing"
**Agent**: `debug`
**Approach**: 1. Reproduce the issue 2. Analyze root cause 3. Propose solution 4. Implement fix 5. Verify resolution
Create tests, improve test coverage, or test existing code.
**Usage**:
/test "Add unit tests for authentication service" /test "Create integration tests for payment flow" /test "Test edge cases for date parser"
**Agent**: `develop` (testing mode)
**Covers**:
Improve performance, reduce resource usage, or optimize algorithms.
**Usage**:
/optimize "Reduce database queries in dashboard endpoint" /optimize "Speed up report generation process" /optimize "Improve memory usage in data processing pipeline"
**Agent**: `develop` (optimization mode)
**Focus areas**:
Fix specific bugs with focused approach.
**Usage**:
/bugfix "Users can't reset password with special characters" /bugfix "Session expires too quickly on mobile" /bugfix "File upload fails for large files"
**Agent**: `bugfix`
**Process**: 1. Understand the bug 2. Locate problematic code 3. Implement fix 4. Add regression tests 5. Verify fix
Improve code structure, readability, or maintainability without changing behavior.
**Usage**:
/refactor "Extract user validation logic into separate module" /refactor "Simplify nested conditionals in order processing" /refactor "Remove code duplication in API handlers"
**Agent**: `develop` (refactor mode)
**Goals**:
Review code for quality, security, and best practices.
**Usage**:
/review "Check authentication implementation for security issues" /review "Validate API error handling patterns" /review "Assess database schema design"
**Agent**: Independent reviewer
**Review criteria**:
Get technical advice, design patterns, or implementation guidance.
**Usage**:
/ask "Best approach for real-time notifications in React" /ask "How to handle database migrations in production" /ask "Design pattern for plugin system"
**Agent**: Technical consultant
**Provides**:
Generate or improve documentation.
**Usage**:
/docs "Create API documentation for user endpoints" /docs "Add JSDoc comments to utility functions" /docs "Write README for authentication module"
**Agent**: Documentation writer
**Creates**:
Deep reasoning and analysis for complex problems.
**Usage**:
/think "Analyze scalability bottlenecks in current architecture" /think "Evaluate different approaches for data synchronization" /think "Design migration strategy from monolith to microservices"
**Agent**: `gpt5` (deep reasoning)
**Best for**:
# 1. Ask for guidance /ask "Best way to implement rate limiting in Express" # 2. Implement the feature /code "Add rate limiting middleware to API routes" # 3. Add tests /test "Create tests for rate limiting behavior" # 4. Review implementation /review "Validate rate limiting implementation"
# 1. Debug the issue /debug "API returns 500 on concurrent requests" # 2. Fix the bug /bugfix "Add mutex lock to prevent race condition" # 3. Add regression tests /test "Test concurrent request handling"
# 1. Review current code /review "Analyze user service for improvements" # 2. Refactor based on findings /refactor "Simplify user validation logic" # 3. Optimize performance /optimize "Cache frequently accessed user data" # 4. Update documentation /docs "Document user service API"
AI-powered development automation with multi-backend execution (Codex/Claude/Gemini/OpenCode)
**BMAD (Business-Minded Agile Development)** - AI-driven agile development automation with role-based agents
Interactive System Architect agent for technical design with quality scoring and user confirmation
Automated Developer agent for implementing features based on PRD, architecture, and sprint plan
Repository-aware orchestrator agent for workflow coordination, repository analysis, and context management
Interactive Product Owner agent for requirements gathering with quality scoring and user confirmation
Automated QA Engineer agent for comprehensive testing based on requirements and implementation
Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2โฆ
Complete migration plan for converting command-based system to intelligent agent-based system
Accessibility standards and assistive features โ remapping, text scaling, colorblind modes, screen reader support.