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`…
```bash npx claude-flow init --hooks ```
> /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.
/setupContext preview
What this command does when you run it.
```bash npx claude-flow init --hooks ```
npx claude-flow init --hooks
This automatically creates:
# Test pre-edit hook npx claude-flow hook pre-edit --file test.js # Test session summary npx claude-flow hook session-end --summary
Edit `.claude/settings.json` to customize:
{
"hooks": {
"PreToolUse": [
{
"matcher": "^Write$",
"hooks": [{
"type": "command",
"command": "npx claude-flow hook pre-write --file '${tool.params.file_path}'"
}]
}
]
}
}Hooks return JSON with:
Example blocking response:
{
"continue": false,
"reason": "Protected file - manual review required",
"metadata": {
"file": ".env.production",
"protection_level": "high"
}
}# Enable debug output export CLAUDE_FLOW_DEBUG=true # Test specific hook npx claude-flow hook pre-edit --file app.js --debug
Already configured by default for common file types.
{
"matcher": "^(Write|Edit)$",
"hooks": [{
"type": "command",
"command": "npx claude-flow hook check-protected --file '${tool.params.file_path}'"
}]
}{
"matcher": "^Write$",
"hooks": [{
"type": "command",
"command": "test -f '${tool.params.file_path%.js}.test.js' && npm test '${tool.params.file_path%.js}.test.js'"
}]
}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.