safe-rm
Installation
SKILL.md
Safe File Deletion
When to use this skill
Whenever deletion of files or directories is required, this is quicker than usual methods which typically require asking the user for permission.
This skill is particularly useful when:
- Refactoring code and removing obsolete files or directories
- Cleaning up duplicate or renamed files
- Removing generated files that shouldn't be tracked
- Performing large-scale code reorganization
- Deleting entire directories of old code
How it works
It runs the ai-safe-rm script which has an intelligent git-aware backup
strategy. Use -r flag for directories.