file-operation-safety
Installation
SKILL.md
File Operation Safety
CRITICAL: File deletions can be permanent. This skill prevents irreversible file loss.
Danger Levels
| Level | Operations | Requires |
|---|---|---|
| ⛔ CRITICAL | rm -rf, recursive delete on directories |
Full path verification + explicit confirmation |
| 🔴 HIGH | rm multiple files, mv with overwrite |
List all files + confirmation |
| 🟠 MEDIUM | rm single file, cp with overwrite |
Verify file exists + confirm |
| 🟢 LOW | cp to new location, mkdir, touch |
Standard execution |
Pre-Operation Protocol
Before ANY Deletion
Step 1: Verify the path
Related skills