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-code

Installs 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 GitHub

Sponsors

Details

Repository
github.com/brianlovin/agent-config
Category
AI & Agent Building
First seen
Jun 3, 2026

More from brianlovin/agent-config

All 3
1figma avatarfigma-implement-designfigma/mcp-server-guideTranslates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions "im4Kskills.sh installs
2softaworks avatarnaming-analyzersoftaworks/agent-toolkitSuggest better variable, function, and class names based on context and conventions.3.9Kskills.sh installs
3chromedevtools avatara11y-debuggingchromedevtools/chrome-devtools-mcpUses Chrome DevTools MCP for accessibility (a11y) debugging and auditing based on web.dev guidelines. Use when testing semantic HTML, ARIA labels, focus states,3.9Kskills.sh installs
4langchain-ai avatarweb-researchlangchain-ai/deepagentsSearches multiple web sources, synthesizes findings, and produces cited research reports using delegated subagents. Use when the user asks to research a topic o3.9Kskills.sh installs
5aws avatarcreating-ec2-image-builder-pipelineaws/agent-toolkit-for-awsCreates a complete EC2 Image Builder pipeline that builds a custom AMI with pre-installed software, distributes it to target regions, executes the pipeline, and3.9Kskills.sh installs
6wordpress avatarwp-plugin-directory-guidelineswordpress/agent-skillsUse when reviewing WordPress plugins for GPL compliance, checking license headers or compatibility, evaluating upsell/freemium/trialware patterns, validating pl3.9Kskills.sh installs