Audits and removes unused files, dependencies, and manifest issues to maintain repository hygiene and reduce bloat.
The Knip Repository Auditor skill enables Claude to systematically clean up codebase rot by identifying dead code, unused dependencies, and export issues that standard linters ignore. By following a structured triage process, the skill distinguishes between genuine junk and intentional code patterns, prioritizing actual file deletion and manifest cleanup over configuration ignores. It is specifically tuned for modern TypeScript monorepos, handling nuances like Expo configurations, UI peer dependencies, and colocated test structures to ensure a lean, production-ready repository without breaking structural invariants.
주요 기능
01Automated identification of dead code and unused dependencies
02Precision cleanup of package.json manifests and root scripts
03Verification of repository health via strict linting gates
041 GitHub stars
05Granular management of .knip.jsonc ignore configurations
06Structured triage process for classifying Knip findings
사용 사례
01Resolving complex dependency manifest issues in monorepos
02Conducting routine repository hygiene audits before major releases
03Pruning legacy codebases to improve build times and maintainability