safe-destroy

Community

Prevent accidental data loss.

Authormeriley
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill acts as a critical safety net, preventing accidental data loss by enforcing explicit user confirmation before any destructive operation is executed.

Core Features & Use Cases

  • Mandatory Pre-Execution Check: Ensures destructive commands like git reset --hard, rm -rf, or docker system prune are never run without explicit, multi-stage user approval.
  • Informed Consent: Lists affected files, shows potential data loss, and suggests safer alternatives before execution.
  • Use Case: A developer accidentally types git reset --hard instead of git reset HEAD~1. This Skill intercepts the command, warns about losing uncommitted changes, offers to stash them instead, and requires explicit confirmation before proceeding.

Quick Start

Use the safe-destroy skill before running any command that might delete files or reset changes.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: safe-destroy
Download link: https://github.com/meriley/claude-code-skills/archive/main.zip#safe-destroy

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.