Dead Code Pruning Auditor

•
489
•

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.

Key Features

01Automated reporting with compliance scoring and specific action items
02Two-layer detection of unreachable code and unused imports/functions
03Age-aware auditing of legacy shims and backward compatibility layers
04Graph-based export liveness analysis for JS, TS, Python, C#, and PHP
05Detection of large commented-out code blocks often missed by linters
06489 GitHub stars

Use Cases

01Identifying deprecated code and migration shims for removal before major version releases
02Reducing developer cognitive load by removing 'code rot' and obsolete patterns
03Cleaning up large legacy repositories during technical debt refactoring sprints