Skip to main content
Run any Skill in Manus
with one click

add-hook

Stars5
Forks1
UpdatedMarch 30, 2026 at 21:55

Registers a new Symfony EventDispatcher hook in getHooks() and implements the handler method in src/Plugin.php. Use when user says 'add hook', 'handle new event', 'listen for X', or needs to respond to a new vps.* event. Follows the GenericEvent type check and stopPropagation() pattern. Do NOT use for modifying existing hooks or adding shell templates (see add-operation skill).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly