npx claudepluginhub fabiensalles/claude-marketplace --plugin commonDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/remind-skills.py",
"timeout": 10
}
],
"matcher": "Write|Edit"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/warn-use-git-mv.sh",
"timeout": 10
}
],
"matcher": "Bash"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/fix-permissions.sh",
"timeout": 10
}
],
"matcher": "Write"
},
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/git-add-empty.sh",
"timeout": 10
}
],
"matcher": "Write"
}
]
}"Blocks destructive bash commands (rm -rf, SQL drops, exploits) and sensitive/broad git adds via PreToolUse; auto-formats JS/TS/CSS/etc. files with Prettier post-Edit/Write."