npx claudepluginhub gorluxor/claude-code-diff-review --plugin claude-diff-reviewDefined in hooks/hooks.json
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/stop.py",
"timeout": 600
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/pre_tool_use.py",
"timeout": 5
}
],
"matcher": "Edit|Write|MultiEdit"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/post_tool_use.py",
"timeout": 5
}
],
"matcher": "Edit|Write|MultiEdit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/session_start.py",
"timeout": 5
}
]
}
]
}"Runs Python scripts on SessionStart, PreToolUse/PostToolUse for Edit/Write/MultiEdit (with blocking potential), and Stop. Involves file writes."