Skip to content
K

knip

Run knip to find and remove unused files, dependencies, and exports

by brianlovinFree

#7145in AI Skills
0In stores

Description

Knip Code Cleanup is an agent skill that runs knip, a tool that finds unused files, dependencies and exports in a project, and then helps yo…

Highlights

  • Finds unused files, dependencies and exports
  • Configuration first workflow before any removals
  • Installs knip with the package manager matching your lockfile
  • Leaves unused imports to a linter

Ratings & Reviews

No ratings yet

Be the first to rate knip.

People also visit

A

audit-and-reduce-dependencies

Reduces JavaScript dependency footprint

AI Skills
Get
F

fallow

Codebase intelligence for TypeScript and JavaScript

AI Skills
Get
T

tree-shaking

Teaches tree shaking for dead code elimination in JavaScript bundles

AI Skills
Get
S

specs-code-cleanup

Provides final code cleanup after task review approval

AI Skills
Get
D

deslop

Remove AI-generated code slop and clean up code style

AI Skills
Get
D

deslop

Remove AI-generated code slop from the current branch

AI Skills
Get

knip FAQ

What does the knip skill do?

It runs knip to find unused files, dependencies and exports, and helps you remove them.

Does it remove unused imports?

No. The skill says knip does not handle unused imports or variables inside files, which is a linter's job.

What if knip is not installed?

The skill checks package.json and installs knip as a dev dependency with the package manager your lockfile uses.

How do I install the skill?

Run npx skills add https://github.com/brianlovin/agent-config --skill knip.

Is it free?

Yes. The skill is open source and public on GitHub.

What do the security audits show?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best knip alternatives?

Popular alternatives to knip include audit-and-reduce-dependencies, fallow and tree-shaking. See all knip alternatives

Developer Stuff

Badges