
Hookify Rules
This teaches Claude how to write Hookify rules, those markdown files with YAML frontmatter that watch for patterns in your commands and file edits. You'd use it when setting up project guardrails like blocking chmod 777, warning about console.log statements, or catching API keys in .env files. The skill covers the full syntax including event types (bash, file, stop, prompt), regex patterns, and the conditions format for complex rules. Worth noting it includes practical regex tips and common pitfalls, which matters since a pattern that's too broad will fire constantly and one that's too specific won't catch anything. The /hookify command can auto-generate rules from your conversation context, which is clever.
- skills.sh installs
- 3.5K
- GitHub stars
- 229.1K
- last updated
- Jul 14, 2026
Install
$ npx -y skills add affaan-m/everything-claude-code --skill hookify-rules --agent claude-codeInstalls into .claude/skills of the current project.
Files
Writing Hookify Rules
Overview
ECC evaluates project-local Hookify rules with its built-in Node runtime. No separate Hookify plugin or Python installation is required when ECC hooks are enabled.
Hookify rules are markdown files with YAML frontmatter that define patterns to watch for and messages to show when those patterns match. Rules are stored in .claude/hookify.{rule-name}.local.md files.
Rule File Format
Basic Structure
---
name: rule-identifier
enabled: true
event: bash|file|stop|prompt|all
pattern: regex-pattern-here
---
Message to show Claude when this rule triggers.
Can include markdown formatting, warnings, suggestions, etc.
Frontmatter Fields
Sponsors
Details
- Repository
- github.com/affaan-m/everything-claude-code
- First seen
- May 16, 2026
More from affaan-m/everything-claude-code
All 256- Messages Ops3.5K
- Nodejs Keccak2563.5K
- Product Capability3.5K
- Research Ops3.5K
- Unified Notifications Ops3.5K
- Evm Token Decimals3.4K
- Gateguard3.1K
- Everything Claude Code2.7K
- Claude Api2.4K
- Hermes Imports2.3K
- Literature Review1.9K
- Fastapi Patterns1.8K
- Frontend Design1.8K
- Mysql Patterns1.8K
- Pubmed Database1.8K
- Windows Desktop E2e1.8K
- Agent Architecture Audit1.7K
- Agentic Os1.7K
- Angular Developer1.7K
- Cisco Ios Patterns1.7K
- Django Celery1.7K
- Ecc Guide1.7K
- Error Handling1.7K
- Flox Environments1.7K