COMMAND_COMPLIANCE_REP…
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow`…
Automatically detect and recover from errors without interrupting your flow.
> /plugin marketplace add spencermarx/open-code-review > /plugin install ocr@aclarify
How it fires
How this command gets triggered: by you, by Claude, or both.
/self-healingContext preview
What this command does when you run it.
Automatically detect and recover from errors without interrupting your flow.
Automatically detect and recover from errors without interrupting your flow.
Monitors for:
**Missing Dependencies:**
Error: Cannot find module 'express' → Automatically runs: npm install express → Retries original command
**Syntax Errors:**
Error: Unexpected token → Analyzes error location → Suggests fix through analyzer agent → Applies fix with confirmation
**Test Failures:**
Test failed: "user authentication" → Spawns debugger agent → Analyzes failure cause → Implements fix → Re-runs tests
Each recovery improves future prevention:
**Pattern Storage:**
// Store error patterns
mcp__claude-flow__memory_usage({
"action": "store",
"key": "error-pattern-" + Date.now(),
"value": JSON.stringify(errorData),
"namespace": "error-patterns",
"ttl": 2592000 // 30 days
})
// Analyze patterns
mcp__claude-flow__neural_patterns({
"action": "analyze",
"operation": "error-recovery",
"outcome": "success"
})// Initialize self-healing swarm
mcp__claude-flow__swarm_init({
"topology": "star",
"maxAgents": 4,
"strategy": "adaptive"
})
// Spawn recovery agents
mcp__claude-flow__agent_spawn({
"type": "monitor",
"name": "Error Monitor",
"capabilities": ["error-detection", "recovery"]
})
// Orchestrate recovery
mcp__claude-flow__task_orchestrate({
"task": "recover from error",
"strategy": "sequential",
"priority": "critical"
}){
"PostToolUse": [{
"matcher": "^Bash$",
"command": "npx claude-flow hook post-bash --exit-code '${tool.result.exitCode}' --auto-recover"
}]
}AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.
Repo: spencermarx/open-code-review
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow`…
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Identify and resolve performance bottlenecks in your development workflow.
Generate comprehensive performance reports for swarm operations.
Reduce token consumption while maintaining quality through intelligent coordination.