What problem does it solve?
Accidentally running destructive commands like recursive file deletions, SQL DROP statements, force git pushes, or Kubernetes resource deletions can cause irreversible data loss, service outages, and hours of recovery work, especially when operating in production environments or shared team workspaces.
Core Features & Use Cases
- Destructive Pattern Detection: Automatically flags high-risk bash commands including rm -rf, DROP TABLE/DROP DATABASE, TRUNCATE, git push --force, git reset --hard, kubectl delete, and docker system prune before they execute.
- Safe Exception Handling: Allows unblocked execution of common non-destructive operations like deleting build artifacts (node_modules, dist, pycache) to avoid unnecessary workflow friction.
- Use Case: A developer working on a live production server can run all commands with this guard active to prevent accidentally deleting critical system files or overwriting remote git history that would impact other team members.
Quick Start
Activate the careful skill before running any bash commands to automatically receive warnings for destructive operations and confirm or cancel each risky action to avoid accidental data loss.