knip
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
Key Capabilities
- Detect unused dependencies (npm, workspace packages)
- Find unused exports and types
- Identify unused files
- Discover unused enum members and class members
- Detect re-exports that aren't used
Related skills
More from acaprino/alfio-claude-plugins
python-refactor
>
167file-organizer
>
76legal-advisor
Use PROACTIVELY for any legal question -- contracts, compliance, privacy, IP, employment law, terms of service, NDAs, corporate governance. Expert legal advisor specializing in technology law, compliance, and risk mitigation.
39python-comments
>
35deep-dive-analysis
>
35python-performance-optimization
>
31