What problem does it solve?
This Skill helps you reduce repository size and maintenance burden by finding files that appear unused, redundant, temporary, empty, or duplicated inside a codebase.
Core Features & Use Cases
- Unused/orphan detection: Builds an import reference graph to flag source files that are not imported and are not protected entry points.
- Unnecessary/temp/backup detection: Identifies common backup and temporary artifacts (e.g., *.bak, *.tmp, .DS_Store) for high-confidence cleanup.
- Duplicates and staleness: Detects identical-file duplicates via hashing and flags older files not modified in over a year for review.
- Safety-first deletion workflow: Produces a detailed report and only deletes after user permission, with backup/move support and deletion logs for auditing.
- Protected entry points: Avoids suggesting deletion of common entry/config indicators such as package.json and index/app/server/main files.
Quick Start
Run the cleanup analysis on your project by asking: “Analyze my codebase at /path/to/project and give me a report of unused and unnecessary files, then propose high-confidence deletions for me to confirm.”