Back to Hooks

File Protection

Hooks security 659
Install Command
npx claude-code-templates@latest --hook security/file-protection
View on GitHub

Content

JSON
{
"description": "Protect critical files from accidental modification. Prevents editing of importa..."
"hooks": {
"PreToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.