·create-hooks
!

create-hooks

ronnycoding/.claude

Guide for creating Claude Code hooks with proper configuration, shell commands, event handling, and security practices. Use when the user wants to create hooks, automate workflows, add event handlers, format code automatically, protect files, log actions, or mentions creating/configuring/building hooks.

4Installs·0Trend·@ronnycoding

Installation

$npx skills add https://github.com/ronnycoding/.claude --skill create-hooks

SKILL.md

This skill helps you create Claude Code hooks - user-defined shell commands that execute at specific points in Claude Code's lifecycle. Hooks provide deterministic control over behavior rather than relying on LLM decisions.

PreToolUse When: Before tool calls execute Can block: Yes (exit code 2) Use for:

PostToolUse When: After tool calls complete Can block: No Use for:

Guide for creating Claude Code hooks with proper configuration, shell commands, event handling, and security practices. Use when the user wants to create hooks, automate workflows, add event handlers, format code automatically, protect files, log actions, or mentions creating/configuring/building hooks. Source: ronnycoding/.claude.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/ronnycoding/.claude --skill create-hooks
Category
!Security
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is create-hooks?

Guide for creating Claude Code hooks with proper configuration, shell commands, event handling, and security practices. Use when the user wants to create hooks, automate workflows, add event handlers, format code automatically, protect files, log actions, or mentions creating/configuring/building hooks. Source: ronnycoding/.claude.

How do I install create-hooks?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/ronnycoding/.claude --skill create-hooks Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/ronnycoding/.claude