29 lines
618 B
JSON
29 lines
618 B
JSON
{
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"matcher": "Task",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/pre-agent-invoke.sh",
|
|
"description": "Verify Rails project exists before agents run"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"matcher": "Task",
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/post-agent-invoke.sh",
|
|
"description": "Validate agent output and run tests"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|