Hook#buildwithclaude
0
File protection hook
Kritik dosyaları yanlışlıkla değiştirilmeye karşı koruyun
yazan kuscubasiece·8 Eylül 2026
Kaynak: davepoon/claude-code-subagents-collection · MIT
Kritik dosyaları yanlışlıkla değiştirilmeye karşı koruyun
Kaynak: davepoon/claude-code-subagents-collection · MIT
curl -sL https://www.antrophiclove.com/api/kaynak/file-protection-hook-buildwithclaude/rawBu içerik mevcut dosyaya elle harmanlanmalı: .claude/settings.json
---
name: file-protection-hook
description: Protect critical files from accidental modification
category: security
event: PreToolUse
matcher: Edit|MultiEdit|Write
language: bash
version: 1.0.0
---
# file-protection-hook
Protect critical files from accidental modification
## Event Configuration
- **Event Type**: `PreToolUse`
- **Tool Matcher**: `Edit|MultiEdit|Write`
- **Category**: security
## Environment Variables
None required
## Requirements
None