Create Claude Hook

This skill should be used when creating, editing, debugging, or improving a Claude Code hook, meaning the scripts and settings entries that run automatically on harness events such as PreToolUse, PostToolUse, SessionStart, Stop, or UserPromptSubmit. It applies when the user says "create a hook", "block X automatically", "run the formatter after every edit", "inject context at session start", "guard against Y before it happens", or "the hook isn't firing". It should not be used for skills (use create-skill), agents (use create-claude-agent), or settings changes with no hook script involved (use the bundled update-config).

brandonburrus e75ddbd 2 files · 13.1 KB Updated

File contents

brandonburrus/.claude/tree/main/skills/create-claude-hook commit e75ddbda10

Frequently asked questions

npx skillmds@latest add brandonburrus/create-claude-hook