18 lines
451 B
JSON
18 lines
451 B
JSON
|
|
{
|
||
|
|
"$schema": "https://claude.ai/schemas/hooks.json",
|
||
|
|
"hooks": {
|
||
|
|
"PostToolUse": [
|
||
|
|
{
|
||
|
|
"matcher": "tool == \"Bash\" && tool_input.command matches \"^core (go|php) (qa|test|lint|stan)\"",
|
||
|
|
"hooks": [
|
||
|
|
{
|
||
|
|
"type": "command",
|
||
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/qa-filter.sh"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"description": "Filter QA output to show only actionable issues"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|