knip-deadcode-best-practices

Installation
SKILL.md

Community Knip Dead Code Detection Best Practices

Comprehensive guide for detecting and removing dead code in JavaScript and TypeScript projects using Knip. Contains 43 rules across 8 categories, prioritized by impact to guide configuration, CI integration, and cleanup workflows.

When to Apply

Reference these guidelines when:

  • Configuring Knip for a new project or monorepo
  • Investigating false positives or false negatives
  • Setting up CI pipelines to prevent dead code regressions
  • Using auto-fix to clean up unused code
  • Optimizing Knip performance for large codebases

Rule Categories by Priority

Priority Category Impact Prefix
1 Configuration Foundations CRITICAL config-
2 Entry Point Strategy CRITICAL entry-
Related skills

More from pproenca/dot-skills

Installs
27
GitHub Stars
141
First Seen
Jan 29, 2026