agent/codex/review/hooks.json

18 lines
420 B
JSON
Raw Normal View History

{
"$schema": "https://claude.ai/schemas/hooks.json",
"hooks": {
"PostToolUse": [
{
"matcher": "tool == \"Bash\" && tool_input.command matches \"^gh pr create\"",
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/post-pr-create.sh"
}
],
"description": "Suggest review after PR creation"
}
]
}
}