What problem does it solve? Prompt-based rules in CLAUDE.md rely on the model's self-discipline and can be ignored; this Skill converts those rules into Claude Code hooks that execute deterministically at lifecycle events, guaranteeing enforcement instead of requesting it. ## Core Features & Use Cases - Rule-to-Hook Conversion Playbook: A 7-step process covering observable signal identification, lifecycle event selection (21 events), handler type choice (command/http/prompt/agent), script authoring, settings.json registration, testing, and rule retirement. - Copy-Paste Templates: Ready-made Node.js hook skeletons and five templates covering PreToolUse blocking, PostToolUse context injection, SessionStart injection, Stop verification, and async logging, tuned for Windows 11 + PowerShell 5.1 environments. - Debugging & Anti-Patterns: A 5-step troubleshooting flow plus 20 documented real-world failure cases (JSON pollution, infinite Stop loops, timeout misconfiguration, path escaping). - Use Case: A team wants to enforce "read a file before editing it" across all sessions. Use this Skill to build a PreToolUse hook that tracks reads and blocks edits to unread files, then retire the corresponding prompt rule. ## Quick Start Ask the AI to convert a specific rule from .claude/rules into a hook, for example: turn the encoding-discipline rule into a PreToolUse hook using this skill.