knip-deadcode

Community

Eliminate dead code with Knip.

Authorpproenca
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps developers identify and remove unused code, dependencies, and configurations in JavaScript and TypeScript projects, leading to cleaner, more efficient, and maintainable codebases.

Core Features & Use Cases

  • Dead Code Detection: Analyzes code to find unused files, exports, dependencies, and more.
  • Configuration Guidance: Provides best practices for configuring Knip for various project setups, including monorepos.
  • Use Case: When refactoring a large codebase, use this Skill to systematically identify and remove code that is no longer called or needed, reducing bundle size and improving performance.

Quick Start

Run Knip with the --fix flag to automatically remove unused code.

Dependency Matrix

Required Modules

None required

Components

referencesassets

💻 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: knip-deadcode
Download link: https://github.com/pproenca/dot-skills/archive/main.zip#knip-deadcode

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 223,000+ vetted skills library on demand.