Defined in ./hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "echo '🔍 Pre-commit: Checking for common issues...'"
}
],
"matcher": "Bash(git commit:*)"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "echo '⚡ Code modified - consider running /quality-check'"
}
],
"matcher": "Write|Edit"
}
]
}{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 2
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 2
}
}