1
Claude Code hooks explained: config structure, matchers, and a copy-paste PreToolUse guard
详解Claude Code hooks配置结构与匹配器,并提供一个复制粘贴PreToolUse防护示例,实用性强。
If you have only ever used Claude Code's permission prompts, hooks are the next layer down: deterministic shell commands (or HTTP endpoints, MCP tools…