{ "description": "Safety and quality hooks for Claude Code Arsenal", "hooks": { "PostToolUse": [ { "matcher": "Edit|Write", "description": "Security validation: Protects sensitive files from modification", "hooks": [ { "type": "command", "command": "uv run --directory ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/hooks/security/file_protection.py", "description": "Prevents modification of sensitive files (.env, keys, production configs)", "timeout": 30 } ] }, { "matcher": "Bash", "description": "Quality validation: Pre-commit checks", "hooks": [ { "type": "command", "command": "uv run --directory ${CLAUDE_PLUGIN_ROOT} ${CLAUDE_PLUGIN_ROOT}/hooks/quality/pre_commit_validate.py", "description": "Runs linting and tests before git commits", "timeout": 120 } ] } ] } }