hookify-rules

Create and manage hookify rules with frontmatter schemas in .claude/hookify.* files.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/sakamoto-family-smile/agent_monorepo --skill hookify-rules-sakamoto-family-smile
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hookify-rules
Source: https://github.com/sakamoto-family-smile/agent_monorepo/tree/main/.claude/skills/ecc/hookify-rules
Command: npx skills add https://github.com/sakamoto-family-smile/agent_monorepo --skill hookify-rules-sakamoto-family-smile

SYSTEM DOCUMENTATION & REQUIREMENTS

This skill should be used when the user asks to create a hookify rule, write a hook rule, configure hookify, add a hookify rule, or needs guidance on hookify rule syntax and patterns.

Frequently Asked Questions about hookify-rules

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

FAQPage Schema
How do I create hookify rules to guard AI prompts?

Hookify rules guard AI prompts by defining watch patterns in .claude/hookify.* files. You create rules using a markdown frontmatter schema with required fields: name, enabled, event, pattern, and an optional action field to trigger specific messages.

What is the frontmatter schema for hookify rule files?

The hookify frontmatter schema requires name, enabled, event, and pattern fields, plus an optional action field. This schema defines watch patterns and the messages they trigger to enforce validation rules across .claude/hookify.* files.

How do I configure and enable hookify rules for pattern matching?

Configuring hookify rules involves setting the enabled field in the frontmatter schema and defining pattern-matching syntax within .claude/hookify.* files. You can edit, enable, or disable rules to control which watch patterns trigger guard messages.

Can I use markdown frontmatter to define validation rules for AI prompts?

Yes, hookify rules use markdown frontmatter to define validation rules for AI prompts. The frontmatter schema supports pattern-matching fields that specify watch patterns and trigger messages, allowing you to guard prompt behavior across rule files.

What are the limitations of hookify rule syntax for pattern matching?

Hookify rule syntax is limited to the defined frontmatter schema fields: name, enabled, event, pattern, and optional action. Pattern-matching capabilities are constrained to these fields within .claude/hookify.* files, and rules must follow this specific structure to function correctly.