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.
- skills.sh installs
- 4K
- GitHub stars
- 381
- last updated
- Aug 21, 2026
Install
$ npx -y skills add brianlovin/agent-config --skill knip --agent claude-codeInstalls into .claude/skills of the current project.
Files
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.
Browse the repository on GitHubSponsors
Details
- Repository
- github.com/brianlovin/agent-config
- Category
- AI & Agent Building
- First seen
- Jun 3, 2026
