Passer au contenu principal
Bluvy Tube
Appuyez sur Échap pour quitter le plein écran
Volume m
/
i
Mode Cinéma t
f
/
Claude Code hooks: the rule you wrote in CLAUDE.md is advice. A hook is the same rule as a command that runs every single time. Hooks run automatically at set points in a session — tool calls, turns, session start — so a rule stops depending on the model remembering it. #ClaudeCode #AICoding

Raccourcis clavier

Espace K
Lecture / pause
← →
Reculer / avancer de 5 s
J L
Reculer / avancer de 10 s
0–9
Aller à 0 %–90 % de la vidéo
Home End
Début / fin
, .
Image précédente / suivante (en pause)
< >
Ralentir / accélérer
↑ ↓
Volume
M
Couper / rétablir le son
C
Sous-titres
F
Plein écran
I
Image dans l’image
T
Mode cinéma
?
Afficher cette aide

Claude Code hooks: the rule you wrote in CLAUDE.md is advice. A hook is the same rule as a command that runs every single time. Hooks run automatically at set points in a session — tool calls, turns, session start — so a rule stops depending on the model remembering it. #ClaudeCode #AICoding

LoopStackDaily

LoopStackDaily

@loopstackdaily.bsky.social

S'abonner
0 vue Publié le 05/12/2026 00:01 0:33
#claudecode #aicoding
Claude Code hooks: the rule you wrote in CLAUDE.md is advice. A hook is the same rule as a command that runs every single time. Hooks run automatically at set points in a session — tool calls, turns, session start — so a rule stops depending on the model remembering it. #ClaudeCode #AICoding
1 commentaire
?
The catch: a blocking hook with no clear message leaves the agent guessing why work stopped — every block needs a reason string. And a hook runs on every match, including the times you did not mean it to.

No new purchase — hooks ship with Claude Code access.
A fair test you can run: add the format-on-edit hook, ask for one small edit, and check the file comes back formatted without you asking. Then try the blocked command on a throwaway file and read the block message.
Voir le post d'origine sur Bluesky
Lien copié dans le presse-papier

Connexion

Il est temps de faire une pause

Ça fait 30 minutes que vous enchaînez les vidéos : accordez-vous 5 minutes loin de l'écran. Levez-vous, étirez-vous, buvez un verre d'eau… Les vidéos vous attendront ici.