Codebase cleanup
Hunt dead code with agents
NPNimblePros Blog
3 d ago
Using AI agents to clean up dead code, stale packages and feature flags
A NimblePros Halloween post walks through removing the accumulated cruft of long-lived .NET codebases: unused private members, unreferenced public types, unused or vulnerable NuGet packages and stale feature flags. The method pairs compiler analyzers and dotnet CLI checks with an AI agent that investigates edge cases, guided by a reusable skill file. It is a practical playbook for teams who never find time to clean up.