Repowise Dead Code Cleanup
Identifies and safely removes unreachable files, unused exports, and zombie packages to reduce technical debt and bundle size.
Repowise Dead Code Cleanup is a specialized optimization skill for Claude Code that leverages advanced graph analysis to detect redundant code without relying solely on LLM inference. It allows developers to systematically improve code health by identifying unreachable files, unused symbols, and abandoned monorepo packages. By utilizing confidence tiers and a built-in risk assessment engine, the skill provides a guided, safe workflow for repository maintenance, ensuring that only truly redundant code is targeted for removal while protecting dynamic imports and edge cases.
主要功能
01Integrated risk assessment to verify dependents before code removal
02Graph-based detection of unreachable files and unused exports
03Granular filtering by directory, ownership, or confidence level
04Confidence-tiered findings to distinguish between safe deletions and investigation candidates
052,262 GitHub stars
06Zombie package detection for identifying unused modules in monorepos
使用场景
01Reducing bundle size and improving build times by stripping unused assets and code
02Conducting technical debt sprints to maintain repository hygiene and readability
03Safely auditing legacy codebases during major refactorings or migrations