This skill runs knip to find dead code, unused dependencies, and orphaned files across your JavaScript/TypeScript project. The workflow is smart: it pushes you to fix configuration hints first before acting on reported issues, which cuts down false positives. It handles the full cleanup cycle from detecting unused exports to actually deleting files with `--fix --allow-remove-files`. The guidance is opinionated in good ways, like never using broad ignore patterns and running in production mode to exclude test files. Useful when your codebase has accumulated cruft or before major refactors. The skill won't touch unused imports inside files, that's your linter's job.
npx skills add https://github.com/brianlovin/agent-config --skill knip