What problem does it solve?
It reduces .NET and WinUI 3 tech debt by running consistent formatting, code-quality checks, package health reporting, and targeted cleanup so your codebase stays stable and maintainable.
Core Features & Use Cases
- Automated .NET maintenance passes: runs
dotnet format style/whitespace verification, builds with EnforceCodeStyleInBuild, and reports outdated and optionally vulnerable packages to prevent drift.
- Duplication and structural triage: optionally scans for duplication and flags oversized files, directory bloat, and weak/slow tests to guide refactors.
- WinUI-3-aware pattern review and safe fixes: reviews WinUI behaviors (binding, ItemsRepeater usage patterns, theme/lifecycle timing) and applies safe, behavior-preserving changes in small batches.
Use case example: after a release, run this maintenance to clean up IDE0005 unused usings, remove accidental debug noise, identify duplication hotspots, and update/flag risky NuGet packages—then fix what is clearly safe.
Quick Start
Run the dotnet-winui-maintenance skill in Quick mode to perform the initial scan and apply only the safe fix phase for your .NET/WinUI solution.