Claude.Hooks (claude v0.1.0)
Core hooks functionality including registry and installation.
Summary
Functions
Returns all available hook modules.
Finds a hook module by its identifier.
Returns the identifier for a hook module.
Installs all Claude hooks to the project's settings.json.
Uninstalls all Claude hooks from the project's settings.json.
Functions
Returns all available hook modules.
Finds a hook module by its identifier.
The identifier is derived from the module name, e.g.:
- Claude.Hooks.PostToolUse.ElixirFormatter -> "post_tool_use.elixir_formatter"
Returns the identifier for a hook module.
Installs all Claude hooks to the project's settings.json.
Uninstalls all Claude hooks from the project's settings.json.