Prompt file imported from pc-style/MCF (
.claude/commands/agent/README.md). Copyright stays with the author.
Multi-Agent Development Commands
This directory contains comprehensive agent-based development commands that leverage specialized AI agents for maximum efficiency and quality.
🚀 Available Commands
Core Development Commands
| Command | Description | Use Case |
|---|---|---|
/agent:feature |
Multi-agent feature development from concept to implementation | Complete feature development with comprehensive analysis |
/agent:generate-ag |
Generate project-specific agents tailored to current codebase | Create specialized agents for your specific project needs |
/agent:brainstorm |
Collaborative ideation with multiple specialized agents | Generate innovative ideas and improvement opportunities |
/agent:redesign |
System redesign with modern architecture patterns | Architecture and component redesign with best practices |
/agent:debug |
Comprehensive debugging with multi-agent analysis | Complex issue resolution and root cause analysis |
/agent:optimize |
System optimization across multiple dimensions | Performance, security, and architecture optimization |
/agent:audit |
Comprehensive system auditing and compliance | Security, quality, performance, and compliance audits |
/agent:test |
Comprehensive testing strategy and implementation | Test design, implementation, and execution |
/agent:deploy |
Deployment pipeline design and CI/CD implementation | Infrastructure and deployment automation |
/agent:auto |
🚀 Fully automatic development team | Complete projects from concept to deployment |
/agent:help |
Complete guide to all agent commands | Documentation and usage examples |
🧠Agent Specializations
Core Analysis Agents
- micro-analyzer: Lightweight code analysis with semantic understanding
- semantic-navigator: Pure semantic code exploration and navigation
- micro-researcher: Quick documentation and research tasks
Specialized Development Agents
- api-designer: RESTful/GraphQL API design and implementation
- perf-optimizer: Performance analysis and optimization
- security-auditor: Security analysis and vulnerability detection
- devops-engineer: Infrastructure, deployment, and automation
Utility Agents
- micro-executor: Focused implementation tasks
- docs-researcher: Comprehensive documentation research
âš¡ Key Benefits
Efficiency Gains
- 50-70% token savings through context isolation
- Parallel execution of specialized tasks
- Focused expertise for higher quality results
- Minimal context switching between different domains
Quality Improvements
- Multi-perspective analysis from different specialists
- Comprehensive coverage of all development aspects
- Best practices integration from specialized knowledge
- Risk mitigation through expert validation
Development Workflow
- Structured approach to complex development tasks
- Consistent methodology across different project types
- Documentation generation as part of the process
- Testing and validation built into workflows
🔄 Workflow Patterns
Feature Development Flow
- Analysis → micro-analyzer + semantic-navigator
- Design → api-designer + security-auditor
- Implementation → micro-executor + perf-optimizer
- Validation → security-auditor + micro-analyzer
Debugging Flow
- Issue Analysis → micro-analyzer + semantic-navigator
- Root Cause → perf-optimizer + security-auditor
- Solution → micro-executor + api-designer
- Validation → security-auditor + micro-analyzer
Optimization Flow
- Baseline → perf-optimizer + micro-analyzer
- Analysis → semantic-navigator + security-auditor
- Implementation → micro-executor + devops-engineer
- Validation → perf-optimizer + micro-analyzer
💡 Usage Examples
Feature Development
/agent:feature "user authentication system with OAuth2 and JWT tokens"
/agent:feature "real-time chat functionality with WebSocket support"
/agent:feature "admin dashboard with user management and analytics"
System Redesign
/agent:redesign "authentication system"
/agent:redesign "data persistence layer"
/agent:redesign "API gateway architecture"
Performance Optimization
/agent:optimize "database query performance"
/agent:optimize "frontend rendering speed"
/agent:optimize "API response times"
Comprehensive Auditing
/agent:audit "security vulnerabilities"
/agent:audit "performance bottlenecks"
/agent:audit "code quality and maintainability"
Fully Automatic Development
/agent:auto "build a complete e-commerce platform with user authentication and payment processing"
/agent:auto "implement a real-time chat system with WebSocket support and encryption"
/agent:auto "redesign our entire authentication system with OAuth2 and MFA"
🎯 Integration with MCF
Serena Integration
- Use with
/serena:overviewfor codebase understanding - Combine with
/serena:findfor symbol-level analysis - Integrate with
/serena:analyzefor detailed component analysis
Context Management
- Use with
/context:agentfor complex multi-step tasks - Combine with
/context:purgefor efficient context management - Integrate with
/context:bookmarkfor state preservation
Project Management
- Use with
/project:reviewfor quality validation - Combine with
/project:securityfor security assessment - Integrate with
/project:deployfor deployment management
🚀 Getting Started
Quick Start
- Try a simple feature:
/agent:feature "simple user profile page" - Generate a project agent:
/agent:generate-ag "testing specialist" - Brainstorm improvements:
/agent:brainstorm "user experience"
Advanced Usage
- Complex redesign:
/agent:redesign "entire authentication system" - Performance audit:
/agent:audit "full system performance" - Custom optimization:
/agent:optimize "database and API layer"
Help and Documentation
- Use
/agent:helpfor comprehensive command guide - Check individual command files for detailed specifications
- Monitor agent performance and adjust combinations as needed
📊 Monitoring & Analytics
Agent Performance
- Track token usage and efficiency gains
- Monitor agent combination effectiveness
- Analyze development velocity improvements
- Measure quality and security enhancements
Usage Patterns
- Identify most valuable agent combinations
- Optimize command usage for your workflow
- Track development task completion rates
- Measure time savings and quality improvements
🔧 Technical Details
Command Structure
All agent commands follow the pattern: /agent:<command> [arguments]
Agent Selection
Commands automatically select the most appropriate agent combinations based on the task type and requirements.
Context Management
Each agent operates with isolated context to maximize efficiency and minimize token usage.
Integration Points
All commands integrate seamlessly with existing MCF tools and Serena semantic analysis capabilities.
Your multi-agent development system is ready to supercharge your development workflow! 🎯
For more information, use /agent:help or check individual command documentation.
