hookify-rules

hookify rules

affaan-m 232k ↓ 3.6k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • field: filepath
  • field: newtext
  • bash: command
  • file: filepath, newtext, oldtext, content
  • prompt: userprompt
  • Dangerous commands: rm\s+-rf, dd\s+if=, mkfs
  • Privilege escalation: sudo\s+, su\s+

Requirements & configuration

  • | name | Yes | kebab-case string | Unique identifier (verb-first: warn-, block-, require-) |
  • You're adding an API key to a .env file. Ensure this file is in .gitignore!
  • YAML escaping: Use unquoted patterns; quoted strings need \\s

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

hookify rules

Source

Repository: https://github.com/affaan-m/everything-claude-code

hookify-rules FAQ

What does the hookify-rules skill do?

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. field: filepath field: newtext

What does hookify-rules require?

| name | Yes | kebab-case string | Unique identifier (verb-first: warn-, block-, require-) | You're adding an API key to a .env file. Ensure this file is in .gitignore! YAML escaping: Use unquoted patterns; quoted strings need \\s

How do I install hookify-rules?

Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill hookify-rules --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.

Maintain hookify-rules?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[hookify-rules on getagentictools](https://getagentictools.com/skills/affaan-m-everything-claude-code-hookify-rules?ref=badge)
npx agentictools info skills/affaan-m-everything-claude-code-hookify-rules

The second line is the CLI lookup for this page — handy in READMEs and docs.