From claude-dev-kit
Screens all bash commands for destructive patterns (rm -rf, git push --force, DROP TABLE, etc.) and blocks them with an explanation. Useful in sensitive production environments.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-dev-kit:carefulThis skill is limited to the following tools:
Bashbash -c 'for D in "$CLAUDE_PLUGIN_ROOT/skills/careful" "$CLAUDE_SKILL_DIR" "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/careful"; do [ -n "$D" ] && [ -f "$D/careful_guard.py" ] && exec python3 "$D/careful_guard.py"; done; true'The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Careful mode is now **active**. All Bash commands are screened for destructive patterns before execution.
Careful mode is now active. All Bash commands are screened for destructive patterns before execution.
Detected patterns will be blocked with an explanation. You can re-invoke the command to confirm.
Covered patterns: rm -rf, git push --force, git reset --hard, git branch -D, DROP TABLE, DELETE without WHERE, TRUNCATE, mkfs, dd, chmod -R 777, kubectl delete, docker system prune.
Safe exceptions: Removing common build artifacts (node_modules, dist, .next, pycache, .cache, build, .turbo, coverage) is always allowed.
Bypass: Commands with --dry-run are always allowed.
To deactivate, end this conversation or start a new one without /careful.
npx claudepluginhub pillip/claude-dev-kit --plugin claude-dev-kitWarns before destructive commands like rm -rf, DROP TABLE, force-push. Activates when user requests careful mode or safety mode. Useful for prod or shared environments.
Prevents destructive operations via three modes: cautious (warns on dangerous commands like rm -rf, git push --force, SQL drops), lockdown (restricts edits to one directory), and clear (removes restrictions). Uses PreToolUse hooks for Bash, Edit, and Write.
Blocks destructive Bash commands like rm -rf, DROP TABLE, git force-push, reset --hard, and restricts file edits to a specific directory. Use for protection on critical systems.