What problem does it solve?
Reduce technical debt and brittle code by providing a repeatable, verified cleanup pipeline that removes noise, fixes analyzer warnings, and safely eliminates dead code without breaking the build or tests.
Core Features & Use Cases
- Ordered 7-step pipeline that runs formatting, unused using removal, analyzer fixes, dead code removal, TODO triage, sealing of non-inherited classes, and CancellationToken propagation.
- Safety-first checks including build and test verification after each step, explicit reflection and DI grep checks before removals, and one-commit-per-step discipline to enable safe reverts.
- Real-world uses: pre-release hardening, PR tidy before review, quarterly maintenance sprints, and targeted tech-debt work such as sealing classes for devirtualization or propagating CancellationToken through async call chains.
Quick Start
Run the De-Sloppify pipeline across your solution and verify after each step by formatting the code, removing unused usings, fixing analyzer warnings, performing safety-checked dead code removals, resolving TODOs, sealing eligible classes, and adding CancellationToken propagation.