npx claudepluginhub leejuoh/claude-code-zero --plugin rubber-duck-tutorDefined in hooks/hooks.json
{
"PostToolUse": [
{
"hooks": [
{
"if": "Bash(gh *)",
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-pr.sh"
},
{
"if": "Bash(glab *)",
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/pre-pr.sh"
}
],
"matcher": "Bash"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/post-plan.sh"
}
],
"matcher": "ExitPlanMode"
},
{
"hooks": [
{
"type": "command",
"command": "bash ${CLAUDE_PLUGIN_ROOT}/hooks/post-write-plan.sh"
}
],
"matcher": "Write"
}
]
}"Runs Dart lint checks after Write/Edit tool uses and Flutter build verification plus tests after Bash tool uses. Executes bash scripts; touches files."