hook-scope-guide
SolidSelect hook scope (plugin, project, global) by audience. Use when authoring a hook.
Install
Quality Score: 92/100
Skill Content
Details
- Author
- athola
- Repository
- athola/claude-night-market
- Created
- 12 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
hook-authoring
Guide creating Claude Code hooks with security-first design. Use for validation and enforcement.
hook-development
Use for auditing, reviewing or debugging Claude Code hooks, and for questions about how they behave - a hook that never fires, fires on the wrong calls, or has its block, deny, allow, exit code 2 or additionalContext ignored; a check of the hooks in settings.json, hooks/hooks.json or skill and agent frontmatter before a release; the debug log; or how an event, matcher, if filter, handler type, exit code, JSON output, timeout or async hook works. Covers command, HTTP, MCP tool, prompt and agent hooks, workspace trust and mods in the same chain, checked against the current docs and the changelog for the installed version, with a config linter, a hook probe and a changelog script. Use it even when the user only pastes a hook or says it does nothing. Not for writing a new hook (writing-hooks), Git hooks, React hooks or webhooks.
hooks
Author, register and optimize Claude Code hooks. TRIGGER when: writing or editing a hook script, changing a `hooks` entry in `settings.json`, a hook never fires or fires too often, or deciding whether something should be a hook. DO NOT TRIGGER when: git hooks (pre-commit, pre-push), React hooks or Win32 hooks.