knip-dead-code

Installation
SKILL.md

Knip Dead Code Detection

Knip is a comprehensive tool for finding unused code, dependencies, and exports in JavaScript and TypeScript projects. It helps maintain clean codebases and catch dead code before it accumulates.

When to Use This Skill

Use this skill when... Use another approach when...
Finding unused dependencies Removing unused CSS (use PurgeCSS)
Detecting unused exports in libraries Finding runtime dead code paths
Cleaning up codebases after refactors Optimizing bundle size (use bundler tree-shaking)
Enforcing dependency hygiene in CI Detecting duplicate dependencies (use npm-dedupe)

Core Expertise

Installs
41
GitHub Stars
36
First Seen
Feb 27, 2026
knip-dead-code — laurigates/claude-plugins