npx claudepluginhub dio0550/d-market --plugin git-workflow-pluginDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/branch-protection.sh\""
}
],
"matcher": "Write|Edit|MultiEdit"
}
]
}"Validates ZK folder structure before Write/Edit on .md files via validate-zk-structure.sh, redirecting invalid notes to /output. PreToolUse hook blocks/modifies tools, touches files."