Writing Hookify Rules

Official

Define custom AI behavior rules.

AuthorAWS-Educate
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps users define custom rules that guide the AI's behavior, ensuring it adheres to specific patterns, avoids certain actions, or follows predefined workflows.

Core Features & Use Cases

  • Rule Creation: Define rules with names, events, and patterns.
  • Conditional Logic: Implement complex rules using multiple conditions.
  • Action Control: Specify actions like 'warn' or 'block' for triggered rules.
  • Use Case: You can create a rule to automatically warn the AI whenever it attempts to use a dangerous bash command like rm -rf, or to block edits to sensitive files like .env.

Quick Start

Create a new hookify rule by defining its name, event type, and pattern in a .local.md file within the .claude/ directory.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Writing Hookify Rules
Download link: https://github.com/AWS-Educate/template-nextjs-sanity-tailwind-amplify/archive/main.zip#writing-hookify-rules

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.