Writing Hookify Rules
Skill ActiveThis 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.
To guide users in creating, configuring, and understanding hookify rules for automated code analysis and intervention.
Features
- Define custom rules with YAML frontmatter
- Support for multiple rule event types (bash, file, stop, prompt)
- Advanced rule conditions with various matching operators
- Guidance on writing effective rule patterns and messages
Use Cases
- When a user needs to create a new hookify rule.
- When a user requires guidance on hookify rule syntax and patterns.
- When a user asks to configure or add a hookify rule to their project.
Non-Goals
- Automatically applying rules without user definition.
- Managing hookify rules for tools other than those specified.
- Providing a UI for rule management.
Workflow
- Identify unwanted behavior.
- Determine the relevant tool and event type.
- Write a regex pattern and condition (if necessary).
- Create a `.claude/hookify.{name}.local.md` file.
- Test the rule immediately.
Practices
- Rule definition
- Pattern matching
- Code analysis
- Workflow automation
Prerequisites
- Claude Code environment
- Project with a `.claude/` directory for rule storage
Trust
- warning:Issues AttentionOpen issues (9462) significantly outweigh closed issues (22831) in the last 90 days, suggesting slow maintainer response.
Versioning
- warning:Release ManagementThe manifest version is '0.1.0' and has not changed, indicating a lack of versioned releases for this specific skill.
Installation
First, add the marketplace
/plugin marketplace add anthropics/claude-code/plugin install hookify@claude-code-pluginsQuality Score
Trust Signals
Similar Extensions
Use My Browser
100Use when work depends on the user's live browser session or visible rendered state rather than static fetches, especially for browser debugging contexts or DevTools-selected elements or requests, logged-in dashboards or CMS flows, localhost apps, forms, uploads, downloads, media inspection, DOM or iframe inspection, Shadow DOM, or browser failures that look like soft 404s, auth walls, anti-bot checks, or rate limits.
Github
100Use gh for GitHub issues, PR status, CI/logs, comments, reviews, releases, and API queries.
Openclaw Testing
100Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.
Lean Ctx
100Context Runtime for AI Agents — 59 MCP tools, 10 read modes, 95+ shell patterns, tree-sitter AST for 18 languages. Compresses LLM context by up to 99%. Use when reading files, running shell commands, searching code, or exploring directories. Auto-installs if not present.
Project Session Manager
100Worktree-first dev environment manager for issues, PRs, and features with optional tmux sessions
Public Google Drive
100Create public Google Docs or Google Sheet files without requiring OAuth. Use this skill to create and edit Google Docs and Sheets, no Google sign-in required. Documents are viewable at shareable links. Registration is automatic on first use.