Back to skills

careful

infrastructure

Adds safety guardrails to bash commands by intercepting destructive operations before they run. Catches patterns like rm -rf, DROP TABLE, force-push, git reset --hard, and kubectl delete. You can over

Setup & Installation

npx skills add https://github.com/garrytan/careful --skill careful
or paste the link and ask your coding assistant to install it
https://github.com/garrytan/careful
View on GitHub

What This Skill Does

Adds safety guardrails to bash commands by intercepting destructive operations before they run. Catches patterns like rm -rf, DROP TABLE, force-push, git reset --hard, and kubectl delete. You can override any warning and proceed. Unlike relying on memory or code review to catch destructive commands, this intercepts them at execution time in the session where mistakes actually happen.

When to use it

  • Working with careful functionality
  • Implementing careful features
  • Debugging careful related issues