What problem does it solve?
This skill helps developers reclaim disk space in a multi-worktree Rust-backed workspace by safely cleaning build artifacts, caches, and unused branches, while preserving active work and important data.
Core Features & Use Cases
- Worktree cargo clean per worktree. The biggest space hog in a Rust-heavy workspace is the target/debug directories.
- Merged-branch cleanup. Cleans up local branches merged to origin/main, with safety checks to avoid active worktrees and unmerged work.
- Node-side caches. npm cache clean --force and pnpm store prune when applicable.
- Optional Docker prune. Docker system prune --volumes is opt-in and requires explicit confirmation.
- WSL VHD shrink prompt. Prints exact PowerShell commands to shrink the backing VHDX outside WSL.
- Reports freed bytes per step and total.
Quick Start
Run disk-cleanup to preview what would be cleaned, then re-run with --apply to perform the cleanup.