What problem does it solve?
Destructive Change Guard prevents AI agents from accidentally removing or overwriting user-owned information that is hard to recover, such as code logic, documentation, config meaning, or records.
Core Features & Use Cases
- Light vs strong protection modes: uses a fast path for clearly low-risk, tightly scoped changes and a full gated workflow for medium/high-risk destructive work.
- Stop-first safety rule: immediately halts when the request matches never-auto-execute destructive patterns (e.g., rm -rf, git reset --hard, git clean, DELETE/DROP/TRUNCATE).
- Structured risk assessment and recovery gate: classifies target, change type, information-loss risk, recoverability, ownership, and scope, and then requires recovery readiness for medium/high risk.
Quick Start
Use this skill when you suspect your task might delete, rewrite, or bulk-modify existing content: Ask your agent to run destructive-change-guard before performing any destructive or scope-unclear changes.