Skip to main content

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.

Source facts

Repository
GoogleCloudPlatform/data-agent-kit-plugin
Last source activity
June 11, 2026 at 00:01
Detected SKILL.md language
English
Stars
240
Forks
69

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
accidental-data-loss-prevention
description
**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.
license
Apache-2.0
metadata
{"version":"v1","publisher":"google"}
# 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. - A request for their **explicit approval** to proceed. 3. **Wait**: Only proceed if the user provides clear, affirmative consent in the conversation.
View on GitHub