.NET Workspace Cleaner
Recursively removes build artifacts, temporary files, and NuGet caches to optimize .NET development environments.
The .NET Workspace Cleaner is a specialized utility for Claude Code designed to automate the maintenance of .NET solutions by purging redundant build outputs. It provides a comprehensive approach to workspace hygiene, targeting bin/obj directories, publish artifacts, and NuGet package caches that often consume significant disk space. With intelligent features like fuzzy project matching, disk space recovery calculations, and a safety-first dry-run mode, it allows developers to quickly reset their environments to a pristine state or resolve build inconsistencies without risking source code or version-controlled files.
主要功能
01Platform-agnostic execution optimized for Windows, macOS, and Linux
02Dry-run mode to preview deletions and estimated disk space recovery
0338 GitHub stars
04Recursive cleanup of bin and obj directories across entire solution trees
05Optional clearing of NuGet package HTTP and temp caches
06Targeted project cleaning using fuzzy matching for specific .csproj files
使用场景
01Recovering disk space by removing bloated build artifacts from multiple local repositories
02Preparing a clean project state before performing major version migrations or production deployments
03Fixing persistent build errors or stale cache issues by performing a deep clean of the workspace