hookify/writing-hookify-rules

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.

Content Preview
---
name: writing-hookify-rules
description: 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.
version: 0.1.0
---

# 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.

#
How to Use

Recommended: Install to project (local)

mkdir -p .claude/skills
curl -o .claude/skills/hookify/writing-hookify-rules.md \
  https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/hookify/skills/writing-rules/SKILL.md

Skill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.

Alternative: Clone full repo

git clone https://github.com/anthropics/claude-plugins-official

Then reference at plugins/hookify/skills/writing-rules/SKILL.md

Related Skills