What problem does it solve? Destructive shell commands like rm -rf, DROP TABLE, or git push --force can cause irreversible data loss when run accidentally, especially in production or shared environments. This Skill adds a safety checkpoint that warns you before such commands execute. ## Core Features & Use Cases - Destructive Pattern Detection: Hooks into every Bash tool call and checks for rm -rf, DROP TABLE, TRUNCATE, git force-push, git reset --hard, kubectl delete, and docker prune patterns. - Safe Exceptions: Allows recursive deletes of build artifacts like node_modules, dist, .next, pycache, and coverage without warnings. - User Override: Returns an "ask" permission decision with a clear warning message, letting you proceed or cancel on a case-by-case basis. - Use Case: While debugging a live production issue, you ask the AI to clean up old files. The hook catches an accidental rm -rf /var/data and warns you before any damage occurs. ## Quick Start Ask the AI to enable careful mode or safety mode before running shell commands against a production environment.