C4D Practice
← Browse by Chapter
#43Chapter 09 — Hooks: Safety Net and Automation
Here's a hook configuration and its command body: [paste]. List every named entity — script paths, binaries expected on `PATH`, environment variables, hard-coded directory paths, CLI flags, exit-code assumptions about invoked tools, regex patterns in the matcher. For each: (1) mark with `[VERIFY]`, (2) classify (path / binary / env / glob / flag / assumption), (3) propose the single shell command or file read that would confirm it's real and current, (4) rate confidence HIGH / MEDIUM / LOW. Do not commit the hook until every MEDIUM or LOW item is verified. Output as a markdown table: Entity | Type | Verify Action | Confidence.
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 →