claude-hook-writer

Community

Build secure, reliable Claude hooks with expert guidance.

Authorpr-pm
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents security vulnerabilities, reliability issues, and performance problems in Claude Code hooks by providing comprehensive best practices and validation.

Core Features & Use Cases

  • Security Validation: Ensures hooks properly validate input, sanitize paths, and protect sensitive files.
  • Design Guidance: Helps choose the right hook type, matchers, and exit codes for specific use cases.
  • Use Case: When creating a new hook to automatically format code on save, use this Skill to ensure it handles edge cases, validates file paths, and doesn't block Claude operations.

Quick Start

Use the claude-hook-writer skill to review my current hook script and identify any security vulnerabilities or reliability issues.

Dependency Matrix

Required Modules

jq

Components

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: claude-hook-writer
Download link: https://github.com/pr-pm/prpm/archive/main.zip#claude-hook-writer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.