What problem does it solve?
Safely deleting files in Git repositories is error-prone and can lead to loss of untracked work or important artifacts. This Skill enforces safe deletion practices by classifying files into ALLOW, TRASH, or BLOCK, and by routing untracked content to a trash system while keeping a detailed audit log.
Core Features & Use Cases
- Automatic classification of delete targets into ALLOW, TRASH, or BLOCK
- Trash untracked source/docs to enable recovery
- Preserve build artifacts and dependencies while cleaning
- Maintain an auditable deletion log
- IDE agent compatibility with Cursor, VSCode, and Claude Code
Quick Start
Install the required tools and configure the skill prerequisites, then perform a safe deletion:
- Ensure git and trash-cli are installed
- Run a dry-run to preview what would be deleted
- Execute safe deletions with classification ensuring critical paths are BLOCKed