One-click install
npx skills add https://github.com/Jia-Hong-Peng/jolike.com --skill careful-jia-hong-peng
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: careful
Source: https://github.com/Jia-Hong-Peng/jolike.com/tree/main/.claude/skills/gstack/careful
Command: npx skills add https://github.com/Jia-Hong-Peng/jolike.com --skill careful-jia-hong-peng

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Accidentally running destructive commands like rm -rf, git reset --hard, or DROP TABLE can cause irreversible data loss, code history corruption, or production outages, especially when working in shared environments or live systems. This Skill eliminates that risk by intercepting bash commands before execution and warning you of high-risk operations.

Core Features & Use Cases

  • Destructive Pattern Detection: Identifies dangerous commands including recursive file deletion, SQL DROP/TRUNCATE statements, force git pushes, hard git resets, kubectl delete operations, and aggressive Docker cleanup commands.
  • Safe Exception Handling: Automatically allows common safe operations like deleting build artifacts (node_modules, dist, .next, pycache) without triggering false warnings.
  • Use Case: Use this Skill when debugging a live production server, collaborating on a shared code repository, or performing database administration tasks to avoid accidental deletion of critical data or code history.

Quick Start

Activate the careful skill before running any bash commands that modify or delete files, databases, code repositories, or cloud infrastructure to receive pre-execution warnings for destructive operations.

Frequently Asked Questions about careful

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental data loss from destructive bash commands like rm -rf?

You can prevent accidental data loss by intercepting bash commands before execution and warning of high-risk operations like recursive file deletion, force git pushes, or SQL DROP statements. This validates commands to block irreversible damage.

How do I block destructive git commands like git reset --hard or force pushes?

Blocking destructive git commands like git reset --hard or force pushes requires a command validation guardrail that detects these patterns before execution. This prevents irreversible code history corruption in shared repositories.

Can I intercept SQL DROP TABLE and TRUNCATE statements before they execute?

Yes, you can intercept SQL DROP TABLE and TRUNCATE statements before execution by applying a destructive command guard. This detects high-risk database operations and warns you to prevent irreversible data loss during administration.

Does destructive command detection trigger false positives for deleting build artifacts?

Destructive command detection does not trigger false positives for deleting build artifacts. It automatically allows safe exceptions for common directories like node_modules, dist, .next, and __pycache__ without warning you.

How do I add safety guardrails for kubectl delete and Docker cleanup commands?

Adding safety guardrails for kubectl delete and aggressive Docker cleanup commands involves applying pre-execution validation that detects these high-risk container orchestration operations. This warns you before accidental production outages occur.