ktg-plugin-marketplace/plugins/config-audit/examples/optimal-setup/hooks/hooks.json

38 lines
712 B
JSON

{
"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."
}
]
}
]
}
}