What problem does it solve?
Manually enforcing repository rules and best practices can be inconsistent and time-consuming. This skill centralizes the management and automation of Claude Code hooks to ensure consistent validation and auto-correction, freeing up developer time.
Core Features & Use Cases
- Automated Rule Enforcement: Manages PreToolUse (validation) and PostToolUse (auto-fix) hooks to enforce critical repository rules like GPG signing, absolute path blocking, and markdown linting.
- Vertical Slice Architecture: Organizes hooks with high cohesion, keeping all code, config, docs, and tests for each hook in a single, independent directory.
- Flexible Configuration: Allows global and per-hook control over enablement, enforcement levels (block, warn, log), and custom patterns via YAML files with hot reload.
- Comprehensive Development Guidance: Provides workflows for creating, testing, and debugging hooks, along with best practices for multi-language support and error handling.
- Use Case: A team wants to ensure all Git commits are GPG signed and markdown files are automatically linted. This skill guides them through enabling and configuring the
require-gpg-signing and markdown-lint hooks, automating these critical quality gates.
Quick Start
Use the hooks-meta skill to find out how to disable the require-gpg-signing hook temporarily.