npx claudepluginhub NewJerseyStyle/Claude-plugins-marketplace --plugin mapcoderDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python \"${CLAUDE_PLUGIN_ROOT}/scripts/validate-code.py\" \"$TOOL_INPUT_FILE_PATH\""
}
],
"matcher": "Write|Edit"
}
]
}"After Write or Edit tool uses, runs log-changed-file.sh bash script to log changed files. PostToolUse hook with 5s timeout, touches file writes."