This is a comprehensive guide for using Knip to find and remove dead code in JavaScript and TypeScript projects. It contains 43 rules organized by priority, from critical configuration foundations to performance tuning. The structure is smart: it walks you through setup, entry point strategy, monorepo handling, dependency analysis, and CI integration in priority order. The export detection rules are especially useful for understanding false positives. If you're setting up Knip for the first time or wondering why it's flagging certain code, this gives you a systematic approach. The CI integration patterns and auto-fix workflows are practical and cover the gradual adoption case well.
npx skills add https://github.com/pproenca/dot-skills --skill knip-deadcode