What problem does it solve? Accidentally running destructive commands like rm -rf, DROP TABLE, or git push --force can cause irreversible data loss or production outages. This Skill adds a safety layer that inspects every bash command before it runs and warns you when a destructive pattern is detected, letting you confirm or cancel. ## Core Features & Use Cases - Destructive Pattern Detection: Flags recursive deletes (rm -rf), SQL DROP/TRUNCATE, git force-push, git reset --hard, git checkout/restore of the working tree, kubectl delete, and docker force-remove or prune. - Safe Exceptions: Allows routine cleanup of build artifacts such as node_modules, dist, build, pycache, .next, .turbo, and coverage without triggering warnings. - Use Case: While debugging a live production environment, you ask the assistant to clean up old files. When it attempts rm -rf /var/data, the hook intercepts the command and asks for explicit confirmation, preventing accidental deletion of production data. ## Quick Start Ask the assistant to enable careful mode or safety mode for this session so every bash command is checked for destructive patterns before running.