C4D Practice
← Browse by Chapter
#53Chapter 09 — Hooks: Safety Net and Automation
Do not run anything. Read the hook configuration this repository would give me: `.claude/settings.json`, `.claude/settings.local.json` if it exists, the `hooks` field of every skill and agent file under `.claude/`, and the hooks of every plugin these settings enable. For each hook, give the event, the matcher, any `if` condition and the exact command, then say what the script it runs does, read from the script itself. Mark each hook that can refuse an action, rewrite a tool's input, send data off this machine or change files. Change nothing.
Mastering Claude Code
Mastering Claude Code

These prompts are excerpts from the book. Get the full collection with explanations and use cases.

Get the Book →