{ "description": "Auto-validate basic plugin structure and format code after edits", "hooks": { "PreToolUse": [ { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/validate-plugin.sh", "timeout": 30 } ] } ], "PostToolUse": [ { "matcher": "Write|Edit", "hooks": [ { "type": "command", "command": "${CLAUDE_PLUGIN_ROOT}/scripts/format-or-lint.sh", "timeout": 30 } ] } ], "SessionStart": [ { "matcher": "startup", "hooks": [ { "type": "command", "command": "echo '✓ plugin-development loaded: Use /plugin-development:init to scaffold a new plugin'" } ] } ] } }