What problem does it solve? Destructive shell commands such as rm -rf, DROP TABLE, or git push --force can cause irreversible data loss when run accidentally, especially in production or shared environments. This Skill intercepts every bash command before execution and warns you when a destructive pattern is detected, letting you confirm or cancel. ## Core Features & Use Cases - Destructive Pattern Detection: Checks bash commands against patterns including rm -rf, DROP TABLE, TRUNCATE, git push --force, git reset --hard, kubectl delete, and docker system prune. - Safe Exceptions: Allows recursive deletes of build artifacts like node_modules, dist, build, pycache, and coverage without warnings. - Override-Friendly Warnings: Returns an "ask" permission decision with a clear risk explanation, so you can always choose to proceed. - Use Case: While debugging a live production issue, you ask the AI to clean up old database tables. Before any DROP TABLE runs, the hook warns you about permanent data loss and asks for confirmation. ## Quick Start Ask the AI to enable careful mode or safety mode before running shell commands in a production or shared environment.