Skip to main content

Writing Hookify Rules

Skill Active

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.

Purpose

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

  1. Identify unwanted behavior.
  2. Determine the relevant tool and event type.
  3. Write a regex pattern and condition (if necessary).
  4. Create a `.claude/hookify.{name}.local.md` file.
  5. 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-plugins

Quality Score

75 /100
Analyzed 2 days ago

Trust Signals

Last commit3 days ago
Stars123.1k
LicenseAll rights reserved
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.