What problem does it solve?
Accidental execution of destructive commands like recursive file deletions, database drops, forced git pushes, or Kubernetes resource deletions can cause irreversible data loss, uncommitted work deletion, or production outages when working in shared environments, production systems, or during live debugging sessions.
Core Features & Use Cases
- Multi-Category Destructive Command Detection: Identifies 8+ high-risk command patterns including recursive file deletes, SQL DROP and TRUNCATE statements, git force pushes and hard resets, kubectl delete operations, and Docker force-remove and prune commands.
- Smart Safe Exceptions: Automatically allows common build artifact deletions such as node_modules, dist, .next, and pycache without triggering false positive warnings.
- User Override Support: All warnings can be overridden if you intentionally need to run a destructive command, with no forced blocking of intentional actions.
- Use Case: When debugging a live production Kubernetes cluster, if you accidentally type kubectl delete pod instead of kubectl get pod, the skill will immediately warn you of the destructive action before it executes, preventing accidental service downtime.
Quick Start
Activate the careful skill before running any commands in your production environment or shared codebase to receive real-time warnings for destructive operations.