ClaudeSuperPower

accidental-data-loss-prevention

Skill

**STOP AND VERIFY**: Before running any command or tool that results in irreversible data loss, you MUST obtain explicit user consent. When in doubt, ask. It is better to wait for confirmation than to accidentally delete production data or critical project assets. Use this for: - SQL: DROP TABLE/VIE

Install

git clone https://github.com/gemini-cli-extensions/data-agent-kit-starter-pack.git ~/.claude/skills/accidental-data-loss-prevention

What is accidental-data-loss-prevention?

**STOP AND VERIFY**: Before running any command or tool that results in irreversible data loss, you MUST obtain explicit user consent. When in doubt, ask. It is better to wait for confirmation than to accidentally delete production data or critical project assets. Use this for: - SQL: DROP TABLE/VIEW/SCHEMA/DATABASE, TRUNCATE, or broad DELETE (missing WHERE or using 1=1). - Cloud Storage: gsutil rm or gcloud storage rm targeting production data or critical buckets. - Infrastructure: gcloud projects delete, deleting Spanner/BigQuery/Dataproc resources, deleting secrets, or KMS key destruction.

What this can do

Capabilities declared in this component's own frontmatter — not inferred.

Inherit all session tools

Declares no tool restrictions — inherits every session tool

~150 tokens of context used while enabled, before you invoke anything

Documentation

README · ~1 min read

Accidental Data Loss Prevention

[!CAUTION]

STOP AND VERIFY: Before running any command or tool that results in irreversible data loss, you MUST obtain explicit user consent.

Mandatory Procedure

  1. Halt Execution: Do not execute the command.
  2. Request Consent: Explain clearly to the user:
    • The impact of this deletion.
    • Why you believe this is necessary.

Reviews

Log in to leave a review.

No reviews yet — be the first.

Explore related

Other things in this space — across every part of the ecosystem, not just skills.

Skillssimilar to this one

All skills