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>
2.0 KiB
2.0 KiB
Development Workflow Coordination
Purpose
Structure Claude Code's approach to complex development tasks for maximum efficiency.
Step-by-Step Coordination
1. Initialize Development Framework
Tool: mcp__claude-flow__swarm_init
Parameters: {"topology": "hierarchical", "maxAgents": 8, "strategy": "specialized"}
Creates hierarchical structure for organized, top-down development.
2. Define Development Perspectives
Tool: mcp__claude-flow__agent_spawn
Parameters: {
"type": "architect",
"name": "System Design",
"capabilities": ["api-design", "database-schema"]
}
Tool: mcp__claude-flow__agent_spawn
Parameters: {
"type": "coder",
"name": "Implementation Focus",
"capabilities": ["nodejs", "typescript", "express"]
}
Tool: mcp__claude-flow__agent_spawn
Parameters: {
"type": "tester",
"name": "Quality Assurance",
"capabilities": ["unit-testing", "integration-testing"]
}
Sets up architectural and implementation thinking patterns.
3. Coordinate Implementation
Tool: mcp__claude-flow__task_orchestrate
Parameters: {
"task": "Build REST API with authentication",
"strategy": "parallel",
"priority": "high",
"dependencies": ["database setup", "auth system"]
}
4. Monitor Progress
Tool: mcp__claude-flow__task_status
Parameters: {"taskId": "api-build-task-123"}
What Claude Code Actually Does
- Uses Write tool to create new files
- Uses Edit/MultiEdit tools for code modifications
- Uses Bash tool for testing and building
- Uses TodoWrite tool for task tracking
- Follows coordination patterns for systematic implementation
Remember: All code is written by Claude Code using its native tools!
CLI Usage
# Start development workflow via CLI
npx claude-flow workflow dev "REST API with auth"
# Create custom workflow
npx claude-flow workflow create --name "api-dev" --steps "design,implement,test,deploy"
# Execute saved workflow
npx claude-flow workflow execute api-dev