PreToolUse hooks to prevent dangerous operations: - Intercepts Bash, Write, Edit before execution - Contextual response (block vs confirm) - Path-aware with git repo detection - Session allowlist for user confirmations - Audit logging 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>