What problem does it solve?
Accidentally running destructive commands like rm -rf, git reset --hard, or DROP TABLE can cause irreversible data loss, especially when working in production environments, shared codebases, or debugging live systems where a single mistake can have serious consequences.
Core Features & Use Cases
- Destructive command detection: Intercepts bash commands to identify high-risk operations including recursive file deletion, SQL database drops, Git history rewrites, uncommitted change discards, Kubernetes resource deletions, and Docker container/image prunes.
- Safe exception handling: Allows common, low-risk build artifact deletions (such as node_modules, dist, or pycache folders) without triggering warnings to avoid unnecessary interruptions.
- Use case: When working on a shared team codebase, this skill prevents you from accidentally running git push --force and overwriting a teammate's work, or rm -rf on critical production server files.
Quick Start
Ask the AI to enable careful mode before running any bash commands to automatically screen for destructive operations and warn you before proceeding.