One-click install
npx skills add https://github.com/thanh-abaii/gstack-windows-port --skill gs-careful
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gs:careful
Source: https://github.com/thanh-abaii/gstack-windows-port/tree/main/skills/gstack-careful
Command: npx skills add https://github.com/thanh-abaii/gstack-windows-port --skill gs-careful

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Mitigates the risk of unintended destructive operations in bash scripts, particularly on live production systems.

Core Features & Use Cases

  • Command-Wise Protection: Safeguards commands like rm -rf, DROP TABLE, and git reset --hard.
  • Real-time Warnings: Provides warnings before running potentially destructive operations, allowing user intervention.
  • Flexible Enforcement: Users can override warnings, ensuring the flexibility for necessary administrative tasks.

Quick Start

Run 'gs:careful be careful' before executing destructive commands to ensure safety.

Frequently Asked Questions about gs:careful

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

FAQPage Schema
How do I prevent destructive bash commands from running on a live production system?

To prevent destructive bash commands on a live production system, you can use a monitoring script that issues real-time warnings before executing operations like rm -rf. This allows user intervention to maintain system safety.

Can I override safety warnings when running necessary destructive commands in bash scripts?

Yes, you can override safety warnings for necessary administrative tasks. The flexible enforcement mechanism provides real-time warnings but allows users to bypass them when executing required destructive commands like git reset --hard.

What types of destructive commands does a bash script safety monitor target?

A bash script safety monitor targets destructive commands such as rm -rf, DROP TABLE, and git reset --hard. It safeguards these specific operations by issuing warnings to prevent unintended operations and maintain production integrity.

What is the best way to add destructive command prevention to existing bash scripts?

The best way to add destructive command prevention is to run a safety command before executing potentially dangerous operations. This monitors your bash scripts and issues warnings, allowing you to intervene before any unintended operations occur.

Does system security monitoring work with database operations like DROP TABLE?

Yes, system security monitoring works with database operations like DROP TABLE. The command-wise protection feature specifically safeguards database commands alongside file system and version control operations to prevent unintended destructive operations.