accidental-data-loss-prevention

Require explicit user consent before executing destructive SQL, cloud storage, and infrastructure operations.

Updated Jun 10, 2026
One-click install
npx skills add https://github.com/AubreyHan/SKILL_Repo --skill accidental-data-loss-prevention-aubreyhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: accidental-data-loss-prevention
Source: https://github.com/AubreyHan/SKILL_Repo/tree/main/accidental-data-loss-prevention
Command: npx skills add https://github.com/AubreyHan/SKILL_Repo --skill accidental-data-loss-prevention-aubreyhan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents accidental irreversible data loss by forcing a stop-and-verify step before destructive actions are executed.

Core Features & Use Cases

  • Deletion Guardrails: Blocks risky operations such as dropping databases, truncating tables, broad deletes, and storage cleanup commands.
  • Infrastructure Safety: Applies to destructive cloud and platform actions like project deletion, secret removal, and key destruction.
  • Human Confirmation Workflow: Prompts for explicit approval when the impact is unclear or could affect production, critical assets, or shared environments.

Quick Start

Use this skill whenever a command might permanently delete data or infrastructure, and ask for explicit user confirmation before proceeding.

Frequently Asked Questions about accidental-data-loss-prevention

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

FAQPage Schema
How do I prevent accidental data loss from destructive SQL commands?

Preventing accidental data loss from destructive SQL requires guardrails that intercept DROP, TRUNCATE, and broad DELETE statements, forcing an explicit user confirmation workflow before execution to stop irreversible production data removal.

Can I require human confirmation before cloud deletion operations run?

Yes, you can require human confirmation before cloud deletion operations by applying infrastructure safety guardrails that prompt for explicit approval before executing resource deletion, secret removal, or key destruction in shared environments.

What is a confirmation workflow for destructive actions and when is it needed?

A confirmation workflow for destructive actions is a stop-and-verify step that intercepts irreversible operations. It is needed when executing commands that might permanently delete infrastructure, secrets, or production data and the impact is unclear.

Does this data loss prevention approach apply to secrets and key material deletion?

Yes, this data loss prevention approach applies to secrets and key material deletion. It enforces deletion guardrails on infrastructure safety operations, requiring explicit user consent before permanently removing critical secrets or destroying key material.

What are the limitations of using confirmation workflows for SQL safety?

The limitation of using confirmation workflows for SQL safety is that they only intercept commands recognized as destructive, meaning non-standard or obfuscated methods of resource deletion might bypass the guardrails if they do not trigger the explicit approval prompt.