Hooks For Enforcement

Hooks as enforcement mechanism for AI behavior — use when a written rule fails repeatedly in generation flow and deterministic structural enforcement is needed. Triggers include detecting cyclic rule failure, asking about Claude Code hooks/lifecycle events (SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, Stop), or when a behavior guard needs to execute outside the AI's inference loop.

avizmarlon Updated

File contents

avizmarlon/agent-skills/tree/main/skills/hooks-for-enforcement commit 972b157933

Frequently asked questions

npx skillmds@latest add avizmarlon/hooks-for-enforcement