← ClaudeAtlas

devsweeplisted

Developer-focused Windows disk cleanup. Finds and reclaims the big space hogs on a dev machine — Docker/WSL2 vhdx virtual disks (which only grow, never shrink), stray build artifacts (node_modules, target, .next, __pycache__, .venv), browser/package-manager caches, and temp files. Read-only by default: scans and reports first, deletes only after you confirm. Use when the user asks to: free disk space, clean C drive, my disk is full, reclaim space, shrink Docker, compact WSL vhdx, find what's eating my disk, clean node_modules, disk cleanup. Chinese triggers: 磁盘满了, C盘满了, 清理磁盘, 释放空间, 磁盘不够用, 清理 Docker, 压缩 vhdx, 清 node_modules, 看看什么占了硬盘. Windows / PowerShell only.
sukichen1101-eng/devsweep · ★ 0 · Web & Frontend · score 72
Install: claude install-skill sukichen1101-eng/devsweep
# devsweep Developer-focused Windows disk cleanup. **Read-only first, delete only on confirmation.** This skill reclaims the space that actually piles up on a developer's machine — and that generic cleaners miss: - **Docker / WSL2 `vhdx` virtual disks** — these grow but never shrink on their own; the #1 hidden hog (tens of GB). devsweep compacts them properly. - **Stray build artifacts** — `node_modules`, `target`, `.next`, `dist`, `__pycache__`, `.venv`, `.gradle` scattered across old projects. - **Caches & temp** — browser caches, npm/pip/yarn/pnpm caches, Windows temp, crash dumps. ## Core principle: scan → report → confirm → clean NEVER delete without showing the user what will be deleted first. The scan scripts are read-only and safe to run anytime. The clean scripts default to **DryRun** (preview) and require an explicit `-Execute` flag to actually delete. ## Workflow ### 1. Assess — what's eating the disk? (read-only, always safe) Run the scanners that fit the user's situation. They write JSON to `$env:TEMP\devsweep\` and print a summary. All are pure read-only. ```powershell # Overall: top directories + large files on a drive & "<skill>\scripts\scan.ps1" -Root "C:\" # Build artifacts across dev folders (the developer black holes) & "<skill>\scripts\scan-builds.ps1" -Root "D:\dev" # Docker / WSL vhdx + WSL distros (use -Deep to scan all fixed drives for stray vhdx) & "<skill>\scripts\scan-docker.ps1" -Deep ``` Pick based on the ask: - "disk is full" / "what