using-claude-hooks
Installation
SKILL.md
Using Claude Code Hooks
Overview
Claude Code hooks are event-driven automation scripts that execute at specific points in the coding workflow. They enable validation, automation, safety checks, and workflow customization without modifying Claude Code itself.
When to Use This Skill
Use this skill when you need to:
- Validate operations before execution (block dangerous commands)
- Automate workflows (format code, run tests, commit changes)
- Enforce standards (prevent committing secrets, ensure conventions)
- Enhance feedback (show status, display notifications)
- Create guardrails (safety checks, permission requirements)
- Customize behavior (project-specific automation)