Dead Code Pruning Auditor
Identifies and audits safely deletable code, including unreachable logic, unused exports, and obsolete legacy shims to reduce codebase bloat.
The Dead Code Pruning Auditor is a specialized L3 worker designed to automate the discovery of technical debt. It scans repositories for unreachable code, unused variables, commented-out logic, and aging legacy compatibility shims that are no longer necessary. By utilizing a two-layer detection methodology—combining graph-based analysis with context verification—the skill ensures that public APIs and dynamic imports aren't mistakenly flagged. It provides a comprehensive audit report with compliance scores, severity ratings, and effort estimates, enabling developers to confidently streamline their codebases while relying on Git history for safety.