cc-hooks-creator
Installation
SKILL.md
Claude Code Hooks Creator
Overview
This skill provides guidance for creating effective Claude Code hooks - shell commands that execute automatically at specific points in Claude Code's lifecycle. Hooks enable deterministic control over Claude's behavior, ensuring certain actions always happen rather than relying on the LLM to choose them.
When to Use This Skill
- User wants to create a new hook for Claude Code
- User needs to automate actions before/after tool execution
- User wants file protection, code formatting, or notification hooks
- User needs to debug or fix existing hooks
- User wants to understand hook configuration and lifecycle events
Hook Creation Workflow
Phase 1: Understand Requirements
Before creating a hook, gather information: