📝
WritingTypeScript

Writing Hookify Rules

by fazxes

Writing Hookify Rules is a Writing skill for Claude Code, published by fazxes in Claude-code.

234 stars216 forkson fazxes/Claude-codeAdded 2026/09/03Repository updated 2026/04/03
agenticaianthropicbunclaudeclaude-codeclicoding-assistantinkreactterminaltypescript
Install in seconds
Install Writing Hookify Rules
Copy Writing Hookify Rules into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/fazxes/Claude-code/tree/main/stubs/downloads/official-plugins/marketplaces/claude-plugins-official/plugins/hookify/skills/writing-rules ~/.claude/skills/writing-rules

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/fazxes/Claude-code.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
stubs/downloads/official-plugins/marketplaces/claude-plugins-official/plugins/hookify/skills/writing-rules/SKILL.md in fazxes/Claude-code
Installs to
~/.claude/skills/writing-rules
Collection
One of 25 skills cataloged from this repository
Category
Writing1109 skills

What Writing Hookify Rules does

Writing Hookify Rules explains how to create Hookify markdown rules with YAML frontmatter, patterns, and conditions. Use it when configuring watch rules for bash, file, stop, or prompt events.

Writing Hookify Rules is cataloged under Writing on DirSkills. Writing Hookify Rules comes from a repository tagged agentic, ai, anthropic, bun and claude.

Documentation

README

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

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

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Writing Hookify Rules

  • What else does fazxes publish alongside Writing Hookify Rules?

    Writing Hookify Rules is one of 25 skills that DirSkills catalogs from fazxes/Claude-code, the repository it ships in. Its siblings there include Agent Development, Build An MCPB and Build MCP Server. Each one is a separate skill with its own page in this directory, installs the same way Writing Hookify Rules does, and is maintained by fazxes in that same repository. The rest of the collection is listed on the fazxes/Claude-code page.

  • How does Writing Hookify Rules compare to other Writing skills?

    Writing Hookify Rules ranks #915 by stars among the 1109 Writing skills in this catalog. The most-starred ones next to it are Article Writing, Social Media Content Calendar and Knowledge Comic Creator. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Writing Hookify Rules against them. Open each page to compare what they document and how they install.

More from fazxes/Claude-code

Writing Hookify Rules is one of 25 skills cataloged on DirSkills from fazxes/Claude-code.

See all 25 skills
🤖
7h ago

Agent Development

Agent Development explains how to create Claude Code agents, including frontmatter, triggering descriptions, tools, model choice, and system prompt structure. Use it when you need guidance on subagent design or best practices for agent files.
AI Engineering
234216
📦
7h ago

Build An MCPB

Build An MCPB packages a local MCP server with its runtime so it can be installed as one file and run without Node or Python already installed. Use it for filesystem, desktop, localhost, or OS-level tools that need to run on the user's machine.
AI Engineering
234216
🧩
7h ago

Build MCP Server

Build MCP Server guides you through designing and building an MCP server for Claude. It helps choose the right deployment model, auth approach, and tool pattern before scaffolding code.
AI Engineering
234216
🤖
7h ago

Claude Automation Recommender

Claude Automation Recommender analyzes a codebase and suggests Claude Code hooks, subagents, skills, plugins, and MCP servers. Use it when setting up Claude Code for a project or improving existing Claude workflows.
AI Engineering
234216
📝
7h ago

Claude Md Improver

Claude Md Improver audits CLAUDE.md files across a repository and reports gaps in commands, structure, and project context. It then updates those files with targeted improvements after approval.
AI Engineering
234216
⌨️
7h ago

Command Development

Command Development explains how to create Claude Code slash commands with Markdown, YAML frontmatter, arguments, and tool settings. Use it when defining reusable command workflows or interactive commands.
AI Engineering
234216