Zum Hauptinhalt springen
Dieser Inhalt ist noch nicht in Ihrer Sprache verfügbar und wird auf Englisch angezeigt.

Careful

Skill Aktiv

Safety guardrails for destructive commands. Warns before rm -rf, DROP TABLE, force-push, git reset --hard, kubectl delete, and similar destructive operations. User can override each warning. Use when touching prod, debugging live systems, or working in a shared environment. Use when asked to "be careful", "safety mode", "prod mode", or "careful mode". (gstack)

Zweck

To prevent accidental data loss or system instability by adding a confirmation layer to dangerous shell commands, especially in production or shared environments.

Funktionen

  • Warns before destructive commands (rm -rf, DROP TABLE, force-push, etc.)
  • Allows overriding warnings for proceeding with commands
  • Defines safe exceptions for common patterns like deleting build artifacts
  • Session-scoped activation and deactivation

Anwendungsfälle

  • Use when working in production environments
  • Use when debugging live systems
  • Use when working in shared development environments
  • Use when explicitly asked to activate 'safety mode' or 'prod mode'

Nicht-Ziele

  • Performing destructive commands directly
  • Providing granular control over individual file operations
  • Replacing a full-fledged shell security policy

Workflow

  1. User inputs a bash command.
  2. The 'careful' skill's hook intercepts the command before execution.
  3. The skill checks the command against a list of destructive patterns.
  4. If a destructive pattern is found, the skill warns the user and asks for confirmation.
  5. The user can choose to proceed or cancel the command.

Voraussetzungen

  • Bash
  • Read

Trust

  • warning:Issues AttentionThere are 203 open issues and 194 closed issues in the last 90 days, suggesting a low closure rate and potentially slow maintainer response.

Code Execution

  • info:LoggingThe skill includes basic local analytics logging for usage, which is helpful but not a comprehensive audit log of actions.

Installation

npx skills add garrytan/gstack

Führt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.

Qualitätspunktzahl

95 /100
Analysiert 1 day ago

Vertrauenssignale

Letzter Commit1 day ago
Sterne95.5k
LizenzMIT
Status
Quellcode ansehen