Use when writing, wiring, reviewing, or debugging Claude Code hooks — especially JavaScript hooks. Covers exit codes, the node-resolver wrapper, fail-open vs blocking behavior, matchers, timeouts, and security. Triggers on "write a hook", "PreToolUse/PostToolUse/Stop hook", "hook not blocking", "format on save hook".
$npx -y skills add leandrosilvaferreira/claude-plugins-registry --skill safe-hooksInstalls into the current project.
Run `npx skills use "https://github.com/leandrosilvaferreira/claude-plugins-registry" --skill "leandrosilvaferreira/claude-plugins-registry/safe-hooks"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/leandrosilvaferreira/claude-plugins-registry" that are relevant to the current task. Run `npx skills add "https://github.com/leandrosilvaferreira/claude-plugins-registry"` and select the relevant skills, then follow their instructions.