npx claudepluginhub fedec65/bettercallclaude --plugin bettercallclaudeDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "node ${CLAUDE_PLUGIN_ROOT}/scripts/privacy-check.js",
"timeout": 10
}
],
"matcher": "Write|Edit|Bash"
}
]
}"Validates packages before flutter pub add via Bash matcher and guards direct pubspec.yaml edits on Write/Edit in Flutter projects. Executes bash scripts, handles file writes."