hookify-rules

Create and manage Claude Code hookify rules for workflow enforcement.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/luongldptit/move-ticket --skill hookify-rules-luongldptit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hookify-rules
Source: https://github.com/luongldptit/move-ticket/tree/main/.agent/skills/hookify-rules
Command: npx skills add https://github.com/luongldptit/move-ticket --skill hookify-rules-luongldptit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating and managing Claude Code hookify rules manually is time-consuming and error-prone, especially when trying to enforce coding standards, block dangerous commands, or catch sensitive data leaks during development workflows.

Core Features & Use Cases

  • Complete Rule Syntax Guidance: Provides full documentation for all hookify rule frontmatter fields, event types (bash, file, stop, prompt), and condition operators for complex matching logic.
  • Regex Pattern Best Practices: Includes tips for writing effective regex patterns, common pitfalls to avoid, and testing methods to ensure rules trigger correctly.
  • Use Case Example: A developer can use this skill to create a rule that blocks rm -rf commands or warns when API keys are added to .env files to prevent accidental data loss or leaks.

Quick Start

Use the hookify-rules skill to create a new hookify rule that warns whenever a console.log statement is added to a JavaScript file.

Frequently Asked Questions about hookify-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate command validation and block dangerous bash commands in Claude Code?

Automate command validation in Claude Code by creating hookify rules with regex patterns to match and block dangerous bash commands like rm -rf before execution.

Can I prevent sensitive data leaks and API key exposure during development workflows?

You can prevent sensitive data leaks by configuring hookify rules to monitor file edits, detecting when API keys are added to files like .env and triggering warnings to stop exposure.

What are hookify rules and how do they enforce coding standards?

Hookify rules are configurable Claude Code guardrails using frontmatter fields, event types, and multi-condition matching to enforce coding standards and automate workflow restrictions.

How do I write regex patterns for Claude Code hook rules to catch specific file edits?

Write effective regex patterns for Claude Code hook rules by following best practices for syntax, avoiding common pitfalls, and testing pattern matching to ensure rules trigger correctly on target file edits.

Does Claude Code hookify support multi-condition matching and organized rule storage?

Claude Code hookify supports multi-condition matching with various operators and provides organized storage of local hook rules within the .claude directory for easy toggling and management.