Files
claudekit/skills/init/templates/hooks.json
T
2026-04-19 14:10:38 +07:00

21 lines
609 B
JSON

{
"auto-format": {
"event": "PostToolUse",
"matcher": "Write|Edit",
"script": "auto-format.cjs",
"description": "Auto-formats files after Write/Edit using ruff (Python) or eslint (JS/TS)"
},
"block-dangerous-commands": {
"event": "PreToolUse",
"matcher": "Bash",
"script": "block-dangerous-commands.cjs",
"description": "Blocks rm -rf /, force push to main, hard reset, DROP TABLE, etc."
},
"notify": {
"event": "Notification",
"matcher": "",
"script": "notify.cjs",
"description": "Cross-platform desktop notifications (macOS, Linux, Windows)"
}
}