mirror of
https://github.com/duthaho/claudekit.git
synced 2026-07-18 13:39:40 +03:00
33 lines
1.0 KiB
JSON
33 lines
1.0 KiB
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."
|
|
},
|
|
"detect-secrets": {
|
|
"event": "PreToolUse",
|
|
"matcher": "Write|Edit",
|
|
"script": "detect-secrets.cjs",
|
|
"description": "Blocks writes containing secret-looking content (API keys, tokens, private key blocks)"
|
|
},
|
|
"guard-sensitive-files": {
|
|
"event": "PreToolUse",
|
|
"matcher": "Write|Edit",
|
|
"script": "guard-sensitive-files.cjs",
|
|
"description": "Blocks edits to .env files, key material (.pem/.key/id_rsa), and credential dotfiles"
|
|
},
|
|
"notify": {
|
|
"event": "Notification",
|
|
"matcher": "",
|
|
"script": "notify.cjs",
|
|
"description": "Cross-platform desktop notifications (macOS, Linux, Windows)"
|
|
}
|
|
}
|