Configure, create, or troubleshoot Claude Code hooks (PreToolUse, PostToolUse, UserPromptSubmit), debug hook failures, or set up any automation within Claude Code. Examples include "I want to run tests before every file edit", "My hook isn't firing", "1 out of 2 hooks ran", or "How do I create a hook that formats JSON output with jq?
$npx -y skills add bendrucker/claude --skill hookInstalls into the current project.
Run `npx skills use "https://github.com/bendrucker/claude" --skill "bendrucker/claude/hook"` 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/bendrucker/claude" that are relevant to the current task. Run `npx skills add "https://github.com/bendrucker/claude"` and select the relevant skills, then follow their instructions.