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`…
Execute pre-edit validations and agent assignment before file modifications.
> /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.
/pre-editContext preview
What this command does when you run it.
Execute pre-edit validations and agent assignment before file modifications.
Execute pre-edit validations and agent assignment before file modifications.
npx claude-flow hook pre-edit [options]
npx claude-flow hook pre-edit --file "src/auth/login.js"
npx claude-flow hook pre-edit -f "config/database.js" --validate-syntax
npx claude-flow hook pre-edit -f "api/users.ts" --auto-assign-agent false
npx claude-flow hook pre-edit -f "production.env" --backup-file --check-conflicts
This hook is automatically called by Claude Code when:
Manual usage in agents:
# Before editing files npx claude-flow hook pre-edit --file "path/to/file.js" --validate-syntax
Returns JSON with:
{
"continue": true,
"file": "src/auth/login.js",
"assignedAgent": "auth-specialist",
"syntaxValid": true,
"conflicts": false,
"backupPath": ".backups/login.js.bak",
"warnings": []
}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.