Writing Hookify Rules Skill
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. Published by anthropics in claude-code.
What is Writing Hookify Rules Skill?
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. Published by anthropics in claude-code. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Documentation
- Writing
- Documentation use cases
- Writing use cases
Technical details
- Install or run with Copy skill directory
When to use Writing Hookify Rules Skill
- Use it for documentation.
- Use it for writing.
Built with
Editorial notes
Source
- Creator: anthropics
- Repository: anthropics/claude-code
- Skill file: plugins/hookify/skills/writing-rules/SKILL.md
What it does
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.
Skill instructions
Writing Hookify Rules Overview 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 markdown --- 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 name (required): Unique identifier for the rule - Use kebab-case: warn-dangerous-rm, block-console-log - Be descriptive and action-oriented - Start with verb: warn, prevent, block, require, check enabled (required): Boolean to activate/deactivate - true: Rule is active - false: Rule is disabled (won't trigger) - Can toggle without deleting rule event (required): Which hook event to trigger on - bash: Bash tool commands - file: Edit, Write, MultiEdit tools - stop: When agent wants to stop
Explore related resources
Frequently asked questions
What is Writing Hookify Rules?
Writing Hookify Rules is a open-source AI agent skill with Copy skill directory. 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.
Who is Writing Hookify Rules best for?
Writing Hookify Rules is best for reusing agent instructions, scripts, and references, documentation workflows, writing workflows.
How do I install Writing Hookify Rules?
Install or run Writing Hookify Rules using Copy skill directory. Check Writing Hookify Rules for the latest setup command.
Is Writing Hookify Rules actively maintained?
Writing Hookify Rules may need a closer maintenance check before production use.
Auto-fetched from GitHub.