Skip to content

plugin-hook

Adds a new event hook to src/Plugin.php — registers in getHooks() and creates the static GenericEvent handler. Use when user says 'add hook', 'handle event', 'new plugin event', or adds a lifecycle action (activate/deactivate/change IP/reactivate). Do NOT use for modifying existing handlers or adding inc functions.

Repository Source folder

Details

Path
.claude/skills/plugin-hook/SKILL.md

FAQ