Install
1
Install the plugin$
npx claudepluginhub diegopherlt/dotclaudefiles --plugin dotclaudefilesWant just this hook?
Then install: npx claudepluginhub u/[userId]/[slug]
Risk Indicators
Executes bash commandsModifies files
Source
Defined in hooks/hooks.json
Configuration
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/commit-validator/commit-validator.py",
"timeout": 30
}
],
"matcher": "Bash(git add:*)|Bash(git commit:*)"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/format-dispatcher/format-dispatcher.sh",
"timeout": 30
}
],
"matcher": "Edit|Write"
}
]
}Summary
{
"riskFlags": {
"touchesBash": true,
"matchAllTools": false,
"touchesFileWrites": true
},
"typeStats": {
"command": 2
},
"eventStats": {
"PreToolUse": 1,
"PostToolUse": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 2,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 0
}
}Stats
Stars1
Forks0
Last CommitMar 13, 2026