home/categories/automation-tools/hgeldenhuys-claude-code-sdk-skills-creating-hooks-skill-md
automation-toolstools

creating-hooks

Guide for implementing Claude Code hooks. Use when creating event-driven automation, auto-linting, validation, or context injection. Covers all hook events, matchers, exit codes, and environment variables.

hgeldenhuys
maintainer
hgeldenhuys
Updated 1/20/2026
Stars
1
Forks
0
quick start

Installation and usage

Guide for implementing Claude Code hooks. Use when creating event-driven automation, auto-linting, validation, or context injection. Covers all hook events, matchers, exit codes, and environment variables.

Installation
$ install --globalskills.sh
Usage

Once installed, you can use this skill by running the following command in your terminal:

skills use creating-hooks