npx claudepluginhub nbkm8y5/claude-plugins --plugin pm-architect-greenfieldDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/validate-artifact-write.py",
"timeout": 10
}
],
"matcher": "Write|Edit"
}
]
}"Runs protect-files.sh before Write or Edit tool calls to safeguard files from modifications. PreToolUse hook can block tool use; touches file writes."