d81e403f01
COMPLETED TASKS: ✅ 06-01: Workout Swap System - Added swapped_from_id to workout_logs - Created workout_swaps table for history - POST /api/workouts/:id/swap endpoint - GET /api/workouts/available endpoint - Reversible swaps with audit trail ✅ 06-02: Muscle Group Recovery Tracking - Created muscle_group_recovery table - Implemented calculateRecoveryScore() function - GET /api/recovery/muscle-groups endpoint - GET /api/recovery/most-recovered endpoint - Auto-tracking on workout log completion ✅ 06-03: Smart Workout Recommendations - GET /api/recommendations/smart-workout endpoint - 7-day workout analysis algorithm - Recovery-based filtering (>30% threshold) - Top 3 recommendations with context - Context-aware reasoning messages DATABASE CHANGES: - Added 4 new tables: muscle_group_recovery, workout_swaps, custom_workouts, custom_workout_exercises - Extended workout_logs with: swapped_from_id, source_type, custom_workout_id, custom_workout_exercise_id - Created 7 new indexes for performance IMPLEMENTATION: - Recovery service with 4 core functions - 2 new route handlers (recovery, smartRecommendations) - Updated workouts router with swap endpoints - Integrated recovery tracking into POST /api/logs - Full error handling and logging TESTING: - Test file created: /backend/test/phase-06-tests.js - Ready for E2E and staging validation STATUS: Ready for frontend integration and production review Branch: feature/06-phase-06
3.5 KiB
3.5 KiB
name, description
| name | description |
|---|---|
| claude-flow-help | Show Claude-Flow commands and usage |
Claude-Flow Commands
🌊 Claude-Flow: Agent Orchestration Platform
Claude-Flow is the ultimate multi-terminal orchestration platform that revolutionizes how you work with Claude Code.
Core Commands
🚀 System Management
./claude-flow start- Start orchestration system./claude-flow start --ui- Start with interactive process management UI./claude-flow status- Check system status./claude-flow monitor- Real-time monitoring./claude-flow stop- Stop orchestration
🤖 Agent Management
./claude-flow agent spawn <type>- Create new agent./claude-flow agent list- List active agents./claude-flow agent info <id>- Agent details./claude-flow agent terminate <id>- Stop agent
📋 Task Management
./claude-flow task create <type> "description"- Create task./claude-flow task list- List all tasks./claude-flow task status <id>- Task status./claude-flow task cancel <id>- Cancel task./claude-flow task workflow <file>- Execute workflow
🧠 Memory Operations
./claude-flow memory store "key" "value"- Store data./claude-flow memory query "search"- Search memory./claude-flow memory stats- Memory statistics./claude-flow memory export <file>- Export memory./claude-flow memory import <file>- Import memory
⚡ SPARC Development
./claude-flow sparc "task"- Run SPARC orchestrator./claude-flow sparc modes- List all 17+ SPARC modes./claude-flow sparc run <mode> "task"- Run specific mode./claude-flow sparc tdd "feature"- TDD workflow./claude-flow sparc info <mode>- Mode details
🐝 Swarm Coordination
./claude-flow swarm "task" --strategy <type>- Start swarm./claude-flow swarm "task" --background- Long-running swarm./claude-flow swarm "task" --monitor- With monitoring./claude-flow swarm "task" --ui- Interactive UI./claude-flow swarm "task" --distributed- Distributed coordination
🌍 MCP Integration
./claude-flow mcp status- MCP server status./claude-flow mcp tools- List available tools./claude-flow mcp config- Show configuration./claude-flow mcp logs- View MCP logs
🤖 Claude Integration
./claude-flow claude spawn "task"- Spawn Claude with enhanced guidance./claude-flow claude batch <file>- Execute workflow configuration
🌟 Quick Examples
Initialize with SPARC:
npx -y claude-flow@latest init --sparc
Start a development swarm:
./claude-flow swarm "Build REST API" --strategy development --monitor --review
Run TDD workflow:
./claude-flow sparc tdd "user authentication"
Store project context:
./claude-flow memory store "project_requirements" "e-commerce platform specs" --namespace project
Spawn specialized agents:
./claude-flow agent spawn researcher --name "Senior Researcher" --priority 8
./claude-flow agent spawn developer --name "Lead Developer" --priority 9
🎯 Best Practices
- Use
./claude-flowinstead ofnpx claude-flowafter initialization - Store important context in memory for cross-session persistence
- Use swarm mode for complex tasks requiring multiple agents
- Enable monitoring for real-time progress tracking
- Use background mode for tasks > 30 minutes