/plugin marketplace add Git-Fg/thecattoolkit/plugin install git-fg-guard-ts-plugins-guard-ts@Git-Fg/thecattoolkitDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/plugins/guard-ts/hooks/scripts/protect-files.js\"",
"timeout": 10000
},
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/plugins/guard-ts/hooks/scripts/security-check.js\"",
"timeout": 10000
}
],
"matcher": "Edit|Write"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node \"${CLAUDE_PLUGIN_ROOT}/plugins/guard-ts/hooks/scripts/type-check.js\"",
"timeout": 30000
}
],
"matcher": "Edit|Write"
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 3
},
"eventStats": {
"PreToolUse": 2,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 3,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}