Skill: Disk Cleanup Guide
This skill provides a structured approach to identifying reclaimable disk space.
Cleanup Candidates
- Installer Files: Look for large
.dmg,.pkg, or.isofiles in~/Downloadsand~/Documents. - Caches: Target
~/Library/Caches/*. Prioritize large app-specific folders (e.g.,Yarn,Arc,Brave,Firefox). - Build Artifacts: Target
go/pkg,node_modules(in older project folders), and build/dist directories. - Log Files: Search for large
.logfiles in~/.local/state/or application-specific directories. - Orphaned Application Data: If an application is confirmed uninstalled, remove its corresponding directory in
~/Library/Application Support/and~/Library/Containers/.
Safety Protocols
- NEVER delete system-critical directories in
~/Librarywithout verifying the application is removed. - ALWAYS check
docker system dfand usedocker system prunerather than manual folder deletion for Docker data. - CRITICAL: Before deleting personal user directories (Music, Photos), verify if they are backed up or synced to other devices (Phone/Cloud).