Knip Dead Code Detection
Installation
SKILL.md
Knip Dead Code Detection
Knip is a comprehensive tool for finding unused code, dependencies, and exports in JavaScript and TypeScript projects. It helps maintain clean codebases and catch dead code before it accumulates.
Core Expertise
What is Knip?
- Unused detection: Files, dependencies, exports, types, enum members
- Plugin system: Supports 80+ frameworks and tools
- Fast: Analyzes large codebases in seconds
- Actionable: Clear reports with file locations
- CI-ready: Exit codes for failing builds