ruflo

🎯 Use Cases

/docs/use-cases--workflows/use-cases

👨‍💻 Development & Code Quality

ScenarioWhat It SolvesHow To Do It
Code ReviewGet thorough reviews with security, performance, and style checksnpx ruflo@latest agent spawn -t reviewer --name pr-review
Test GenerationAuto-generate unit, integration, and e2e tests for existing codenpx ruflo@latest agent spawn -t tester --name test-gen
RefactoringSafely restructure code while maintaining behaviornpx ruflo@latest hive-mind spawn "Refactor user service to repository pattern"
Bug FixingDiagnose and fix bugs with full context analysisnpx ruflo@latest hive-mind spawn "Fix race condition in checkout flow"

🔒 Security & Compliance

ScenarioWhat It SolvesHow To Do It
Security AuditFind vulnerabilities before attackers donpx ruflo@latest security scan --depth full
Dependency ScanIdentify vulnerable packages and suggest upgradesnpx ruflo@latest security cve --check
Compliance CheckEnsure code meets security standardsnpx ruflo@latest security audit

🐝 Multi-Agent Swarms

ScenarioWhat It SolvesHow To Do It
Feature DevelopmentCoordinate multiple agents on complex featuresnpx ruflo@latest swarm init --topology hierarchical && npx ruflo@latest task orchestrate "Build user dashboard"
Large RefactorsParallel refactoring across many files without conflictsnpx ruflo@latest swarm init --topology mesh --max-agents 8
Codebase MigrationMigrate frameworks, languages, or patterns systematicallynpx ruflo@latest task orchestrate "Migrate from Express to Fastify" --strategy adaptive

📊 Performance & Optimization

ScenarioWhat It SolvesHow To Do It
Performance ProfilingFind and fix bottlenecks in your applicationnpx ruflo@latest performance profile --target src/
Query OptimizationSpeed up slow database queriesnpx ruflo@latest performance benchmark --suite all
Memory AnalysisReduce memory usage and fix leaksnpx ruflo@latest performance metrics

🔄 GitHub & DevOps

ScenarioWhat It SolvesHow To Do It
PR ManagementReview, approve, and merge PRs efficientlynpx ruflo@latest hive-mind spawn "Review open PRs"
Issue TriageCategorize, prioritize, and assign issues automaticallynpx ruflo@latest hive-mind spawn "Triage new issues"
Release ManagementCoordinate releases with changelogs and versioningnpx ruflo@latest hive-mind spawn "Prepare v2.0 release"
CI/CD OptimizationSpeed up pipelines and reduce flaky testsnpx ruflo@latest hive-mind spawn "Optimize GitHub Actions workflow"

📋 Spec-Driven Development

ScenarioWhat It SolvesHow To Do It
Generate SpecsCreate complete specifications before codingnpx ruflo@latest hive-mind spawn "Create ADR for authentication system"
Validate ImplementationEnsure code matches specificationsnpx ruflo@latest hooks progress --detailed
Track ComplianceMonitor spec adherence across the teamnpx ruflo@latest progress sync

🧠 Learning & Intelligence

ScenarioWhat It SolvesHow To Do It
Bootstrap IntelligenceTrain the system on your codebase patternsnpx ruflo@latest hooks pretrain --depth deep
Optimize RoutingImprove task-to-agent matching over timenpx ruflo@latest hooks route "<task>" --include-explanation
Transfer LearningApply patterns learned from other projectsnpx ruflo@latest hooks transfer <sourceProject>