
from Claude Code Templates24,700
Guides creating Hookify rule files (.claude/hookify.*.local.md) to detect patterns (dangerous commands, secrets, debug logs) and show warnings or block actions.
Provides a complete guide to authoring Hookify rule files used by Claude Code to detect problematic patterns (dangerous bash commands, leaked secrets, console logs, etc.) and surface warnings or block actions. It explains frontmatter fields, event types (bash, file, stop, prompt, all), condition formats, and message best practices.
Use this skill when you need to: create or refine project-level safety rules, enforce pre-tool checks (e.g., block rm -rf), warn about editing sensitive files (.env), prevent debug log commits, or add completion checklists before stopping. It's appropriate for CI hooks, local developer safeguards, and agent-run automation that touches code or secrets.
Fits agents or tools that integrate with Claude Code or similar tooling where rules are evaluated prior to tool usage (Claude Code integrations, local CLI tooling).
This skill has not been reviewed by our automated audit pipeline yet.