Writing Hookify Rules

Generate anime and manga prompts for Midjourney Niji mode with SREF codes and parameters.

6|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/jawhnycooke/claude-plugins --skill writing-hookify-rules-jawhnycooke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Writing Hookify Rules
Source: https://github.com/jawhnycooke/claude-plugins/tree/main/plugins/hookify/skills/writing-rules
Command: npx skills add https://github.com/jawhnycooke/claude-plugins --skill writing-hookify-rules-jawhnycooke

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps users define automated rules to monitor code and agent behavior, preventing common errors, enforcing project standards, and providing real-time guidance within Claude Code.

Core Features & Use Cases

  • Customizable Rules: Define patterns to watch for in Bash commands, file edits, agent stop events, or user prompts.
  • Automated Feedback & Control: Trigger warnings or block operations when patterns match, providing instant guidance or preventing unwanted actions.
  • Event-Driven Enforcement: Apply rules across various agent interactions, ensuring consistency and compliance throughout the development workflow.
  • Use Case: Create a rule to warn the AI if it attempts to use console.log in a TypeScript file, guiding it towards proper logging practices before code is committed.

Quick Start

Use the Writing Hookify Rules skill to create a rule that warns about rm -rf commands in bash.

Frequently Asked Questions about Writing Hookify Rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create automated code quality rules in Claude Code?

Hookify Rules let you define patterns to monitor code and agent behavior, triggering warnings or blocking operations when matches occur. Use them to enforce best practices like preventing `rm -rf` commands or flagging improper logging patterns in your development workflow.

Can I set up rules to warn about specific code patterns in my project?

Yes. Write rules that watch for patterns in Bash commands, file edits, agent stop events, or user prompts. For example, create a rule to warn when `console.log` appears in TypeScript files, guiding developers toward proper logging before code is committed.

What events can trigger Hookify Rules?

Rules apply across Bash commands, file edits, agent stop events, and user prompts. This event-driven enforcement ensures consistency and compliance throughout your development workflow, catching issues in real time across multiple interaction types.

How do customizable rules help enforce team standards?

Define patterns specific to your project standards, then automatically trigger real-time guidance or block operations that violate them. This prevents common errors and enforces consistent practices across your development team without manual code review intervention.

Do Hookify Rules require dependencies or components to run?

No. Hookify Rules work independently with no external dependencies or components required. Define your patterns and rules directly within Claude Code to monitor behavior and provide instant feedback or control across your development workflow.