I
IA Outils
← Retour à Guides
S
Samuel Admin 18 avr. 2026
Publié dans Guides

Maîtriser les Hooks Claude Code

Automatise tout : lint auto avant commit, notification desktop quand Claude finit, garde-fous de sécurité.

IA OUTILS — Développement

Hooks

Automate everything

Les hooks Claude Code te permettent d'exécuter n'importe quel script avant ou après un tool call. Parfait pour :

- Lancer ESLint/Prettier après chaque edit
- Empêcher les commits sur main
- Notifier quand une tâche se termine
- Logger les actions dans un fichier audit

Configure dans ~/.claude/settings.json section "hooks".