{ "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [ { "type": "command", "command": "echo 'Pre-tool check passed'", "timeout": 5000 } ] } ], "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "echo 'Post-tool verification passed'", "timeout": 5000 } ] } ], "Stop": [ { "hooks": [ { "type": "prompt", "prompt": "Remember to commit your changes before ending the session." } ] } ] } }