COMMAND_COMPLIANCE_REP…
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage…
```bash npx claude-flow init --hooks ```
> /plugin marketplace add ruvnet/RuView > /plugin install ruview@ruview
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'"
}]
}π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Repo: ruvnet/RuView
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage…
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.
Analyze token usage patterns and optimize for efficiency.