What problem does it solve? When an AI agent keeps making the same mistake or a convention is violated repeatedly, reminding it in prompts wastes tokens and still fails. This Skill provides a decision framework for fixing recurring problems permanently by pushing enforcement down to the lowest layer that can catch it mechanically. ## Core Features & Use Cases - Enforcement Stack Decision Flowchart: A graph-based decision tree that routes each problem to the right layer — permissions.deny, PreToolUse hooks, PostToolUse hooks, lint rules, path-scoped rules, CLAUDE.md, or skills. - Implementation Patterns: Ready-to-use templates for adding permission denies, blocking PreToolUse hooks (exit 2), corrective PostToolUse hooks, sea lint rules, and path-scoped rules in .claude/rules/. - Use Case: If agents keep writing YAML block scalars in frontmatter summaries, the Skill guides you to add normalization to an existing PostToolUse fix script instead of adding another prompt reminder. ## Quick Start Ask the agent to enforce a recurring convention violation permanently using the enforced-in-code decision flowchart.