npx claudepluginhub LucasXu0/claude-code-plugin --plugin plugin-developmentDefined in hooks/hooks.json
{
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-plugin.sh",
"timeout": 30
}
],
"matcher": "Write|Edit"
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/scripts/format-or-lint.sh",
"timeout": 30
}
],
"matcher": "Write|Edit"
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "echo '✓ plugin-development loaded: Use /plugin-development:init to scaffold a new plugin'"
}
],
"matcher": "startup"
}
]
}"Runs gate-reminder commands before Write/Edit and EnterPlanMode tools, after Skill tools, and on session start/resume/clear/compact. Involves file writes."