home/categories/scripting/bande-a-bonnot-boucle-framework-tools-enforce-skill-md
scriptingdevelopment

enforce-hooks

Analyze a CLAUDE.md file and generate PreToolUse hook scripts that enforce its rules at the tool-call level. Use when users want their CLAUDE.md directives enforced as code rather than relying on prompt compliance. Reads the CLAUDE.md, identifies enforceable rules, generates standalone bash hook scripts, and wires them into .claude/settings.json.

Bande-a-Bonnot
maintainer
Bande-a-Bonnot
Atualizado 4/5/2026
Estrelas
52
Forks
3
quick start

Installation and usage

Analyze a CLAUDE.md file and generate PreToolUse hook scripts that enforce its rules at the tool-call level. Use when users want their CLAUDE.md directives enforced as code rather than relying on prompt compliance. Reads the CLAUDE.md, identifies enforceable rules, generates standalone bash hook scripts, and wires them into .claude/settings.json.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use enforce-hooks