creating-claude-hooks
CommunityBuild and publish Claude Code hooks with confidence.
Authorpr-pm
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill eliminates the confusion and errors when creating Claude Code hooks by providing comprehensive guidance on executable format, event handling, I/O conventions, and security requirements.
Core Features & Use Cases
- Hook Development: Complete guidance on creating executable hooks for session-start, user-prompt-submit, tool-call, and assistant-response events.
- Package Publishing: Step-by-step instructions for publishing hooks as PRPM packages with proper structure and metadata.
- Use Case: Imagine you want to automatically format code whenever a file is saved. Use this Skill to create a tool-call hook that runs Prettier on modified files automatically.
Quick Start
Use the creating-claude-hooks skill to help me create a session-start hook that logs session information and checks for required dependencies.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: creating-claude-hooks Download link: https://github.com/pr-pm/prpm/archive/main.zip#creating-claude-hooks Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.