mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
## Summary Updated 60+ command files to ensure proper usage of claude-flow MCP tools and GitHub CLI commands. ## Changes ### Command Template Updates - All commands now use `mcp__claude-flow__*` tools instead of direct implementations - GitHub operations use `gh` CLI instead of direct API calls - Added proper parameter structures for all MCP tools - Enhanced error handling and output formatting ### Init Command Enhancement - Modified init to copy revised templates from repository - Created copy-revised-templates.js for template management - Maintains backward compatibility with fallback to generated templates - Ensures consistent command structure across all installations ### Categories Updated - Analysis (2 files): Token efficiency with MCP tools - GitHub (13 files): Complete gh CLI migration - SPARC (18 files): All modes use mcp__claude-flow__sparc_mode - Coordination (3 files): Already compliant - Automation (3 files): Enhanced MCP integration - Swarm (7 files): Complete MCP integration - Memory (3 files): Action-based operations - Monitoring (3 files): Millisecond intervals - Optimization (3 files): CLI command updates - Training (3 files): Pattern types and epochs - Workflows (3 files): Task dependencies - Hooks (6 files): Updated claude-flow usage ### Benefits - Single source of truth for documentation - Easier maintenance and updates - Better quality with proper MCP tools and gh CLI usage - Clearer separation of concerns - Improved reliability and performance Fixes #359 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1.2 KiB
1.2 KiB
Parallel Task Execution
Purpose
Execute independent subtasks in parallel for maximum efficiency.
Coordination Strategy
1. Task Decomposition
Tool: mcp__claude-flow__task_orchestrate
Parameters: {
"task": "Build complete REST API with auth, CRUD operations, and tests",
"strategy": "parallel",
"maxAgents": 8
}
2. Parallel Workflows
The system automatically:
- Identifies independent components
- Assigns specialized agents
- Executes in parallel where possible
- Synchronizes at dependency points
3. Example Breakdown
For the REST API task:
- Agent 1 (Architect): Design API structure
- Agent 2-3 (Coders): Implement auth & CRUD in parallel
- Agent 4 (Tester): Write tests as features complete
- Agent 5 (Documenter): Update docs continuously
CLI Usage
# Execute parallel tasks via CLI
npx claude-flow parallel "Build REST API" --max-agents 8
Performance Gains
- 🚀 2.8-4.4x faster execution
- 💪 Optimal CPU utilization
- 🔄 Automatic load balancing
- 📈 Linear scalability with agents
Monitoring
Tool: mcp__claude-flow__swarm_monitor
Parameters: {"interval": 1000, "swarmId": "current"}
Watch real-time parallel execution progress!