Hookify Rule Identifier

•
89
•

Provides comprehensive guidance and syntax templates for creating custom Hookify guardrails and project rules.

The Rule Identifier skill is designed to help developers implement automated guardrails and project-specific patterns within the Claude Code environment. By leveraging the Hookify rule format—a combination of YAML frontmatter and Markdown—this skill enables the configuration of triggers based on bash commands, file edits, and session events. It is particularly useful for teams looking to enforce coding standards, prevent dangerous command execution, and ensure completion checklists are followed through real-time, pattern-matched feedback.

主要功能

01Standardized Hookify syntax for YAML frontmatter and Markdown body
02Multi-condition logic using operators like contains, equals, and starts_with
03Regex-based pattern matching for bash commands and file operations
0489 GitHub stars
05Action-oriented guardrails including warning and blocking modes
06Event-driven triggers for bash, file, stop, and prompt actions

使用场景

01Enforcing code quality by flagging debug statements or sensitive data in specific file types
02Preventing the use of dangerous commands such as 'rm -rf' or privilege escalation in the terminal
03Creating mandatory pre-completion checklists to verify tests and documentation before the agent finishes