Knip Deadcode
Structured guide of 43 Knip dead code rules across eight prioritized categories for JavaScript and TypeScript projects.
- CCM score
- 44 of 100
- skills.sh installs
- 412
- GitHub stars
- 228
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers configuring Knip, entry point strategy, workspaces and monorepos, dependency and export analysis, CI integration, auto-fix, and performance tuning
- Lists 43 rules grouped by priority, from critical configuration foundations down to low-medium performance optimization, each linked to its own reference file
- Enforces practices such as avoiding broad ignore patterns, separating production and default mode checks, and reviewing auto-fix changes before commit
- Designed for teams configuring Knip for a new project or monorepo, investigating false positives, or cleaning up unused code
Install
$ npx -y skills add pproenca/dot-skills --skill knip-deadcode -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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- |
| 3 | Workspace & Monorepo | HIGH | workspace- |
| 4 | Dependency Analysis | HIGH | deps- |
| 5 | Export Detection | MEDIUM-HIGH | exports- |
| 6 | CI Integration | MEDIUM | ci- |
| 7 | Auto-Fix Workflow | MEDIUM | fix- |
| 8 | Performance Optimization | LOW-MEDIUM | perf- |
Quick Reference
1. Configuration Foundations (CRITICAL)
Details
- Repository
- github.com/pproenca/dot-skills
- Category
- Code Review & Quality
- First seen
- Jun 3, 2026
Questions
What does the knip-deadcode skill do?
knip-deadcode gives an agent best practices for detecting and removing dead code in JavaScript and TypeScript projects using Knip. It covers configuring Knip, analyzing unused code and dependencies, setting up CI integration, and cleaning up codebases.
How do I install the knip-deadcode skill?
Run npx -y skills add pproenca/dot-skills --skill knip-deadcode -y in a project to install it. Once installed, knip-deadcode lets the agent follow its Knip rules when configuring knip.json or investigating unused exports and dependencies.
Which category does knip-deadcode belong to?
knip-deadcode is listed in the Code Review & Quality category on Claude Marketplaces, alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its focus on unused exports and dependencies sets it apart from those skills by centering on Knip configuration and cleanup.
Who is the knip-deadcode skill for?
knip-deadcode suits developers working on JavaScript or TypeScript projects who want to find unused code, unused dependencies and bundle waste with Knip. Its guidance applies when setting up Knip for a new project or monorepo, reducing false positives, or preventing dead code regressions in CI.
More from pproenca/dot-skills
All 100- Rails Hotwire391
- Ts Google389
- Nginx C Module Design386
- Nginx C Modules383
- Vite380
- Audio Voice Recovery371
- Ios Animations369
- Dockerfile Optimise365
- Uniwind358
- Orval351
- 37signals Rails350
- Ast Grep349
- Codemod344
- Mui Base344
- Skill Authoring343
- Vhs340
- Unix Cli337
- 12 Factor App336
- Rust Refactor334
- Python332
- Ios Design System331
- Js Google327
- Tailwind Refactor324
- Pulumi320
Similar to Knip Deadcode
More Code Review & QualityjscodeshiftSkillpproenca/dot-skills426 installsBest-practice guide with 40 rules for writing, reviewing, and debugging jscodeshift codemods across eight prioritized categories.
typescriptSkillpproenca/dot-skills1.8K installsTypeScript performance guide covering 45 rules for tsconfig, type errors, async patterns, and modules, prioritized by impact.
best-practices-kbPlugindereknguyen269/programing-best-practices678 starsAuto-invoked skills and slash commands for coding standards, style guides, and best practices across 30+ languages. References resources from Airbnb, Google, Ub
Front-End ChecklistMCP serverthedaviddias74.9K starsAudit frontend code and live pages against 386 web development rules via structured review tools.
fallowSkillfallow-rs/fallow-skills10.3K installsCodebase intelligence for TypeScript and JavaScript that flags PR risk, dead code, duplicates, and boundary drift.
nestjs-best-practicesSkillkadajett/agent-nestjs-skills32.5K installsNestJS guidance of 40 prioritized rules covering architecture, dependency injection, security, and performance for production apps.