tool-knip

Community

Lint unused code across TS/JS projects.

AuthorJimmyTranDev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Knip finds unused files, dependencies, and exports in TypeScript/JavaScript projects. Install as a dev dependency (npm install -D knip typescript @types/node) or run without installing (pnpm dlx knip).

Core Features & Use Cases

  • Automatic detection of unused files, dependencies, and exports across single repositories and monorepos.
  • Workspace-aware usage: supports workspaces and multi-package configurations.
  • Auto-fix and reporting: fix or report unused items with configurable reporters.

Quick Start

Run knip in the project root to scan for unused files, dependencies, and exports and optionally auto-fix them.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: tool-knip
Download link: https://github.com/JimmyTranDev/dotfiles/archive/main.zip#tool-knip

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.