Hookify — создание правил автоматизации

★ 8.6 · productivity

writing-rules is a Claude Code skill that guides creating and configuring Hookify rules — markdown files with YAML frontmatter that define patterns to watch for and messages to display when those patterns match. Rules are stored as `.claude/hookify.{rule-name}.local.md` files and support four event types: `bash` for shell commands, `file` for edit and write operations, `stop` for agent completion, and `prompt` for user input. The skill covers all frontmatter fields (`name`, `enabled`, `event`, `action`, `pattern`), both simple and multi-condition formats, matching operators (`regex_match`, `contains`, `equals`, `starts_with`, and others), and practical regex examples for dangerous commands, debug code, and sensitive file paths. It's aimed at developers who want to automate warnings, checklists, and enforcement steps inside their Claude Code workflow.