knip
Installation
SKILL.md
Knip
Use this skill when the job is to inspect or clean up a JavaScript or TypeScript codebase with Knip, especially for unused dependencies, exports, files, or unresolved imports.
Use this skill when
- The user asks to find unused dependencies, exports, files, or unresolved imports in a JS/TS repo.
- The user wants a codebase-health audit before deleting code, tightening package dependencies, or trimming project entry points.
- The user wants a PR-safe or CI-friendly Knip check for a repository, package, or workspace.
- The user wants to preview or apply Knip fixes after confirming the report is accurate.
- The user wants to understand why Knip flags a dependency, export, or file as unused.