ZooWork Market · Skill
dead-code-eliminator
Audit a codebase for dead code — unreachable functions, unused imports, orphaned classes, unreachable branches, and stale feature flags — by tracing live call paths from all entry points. Also audits correctness (do implementations match their claimed purpose?) and algorithmic soundness. Produces an ASCII call graph and a categorized dead code report. Use when a codebase has gone through many iterations, a large refactor has landed, a feature was removed but its support code may remain, or the user asks to "find dead code", "clean up unused code", "audit what's actually used", or "find orphaned functions".