Loading...
Loading...
Knip dead code detection best practices for JavaScript and TypeScript projects. Use when configuring Knip, analyzing unused code, setting up CI integration, or cleaning up codebases. Triggers on knip.json, dead code, unused exports, unused dependencies, bundle optimization.
npx skill4agent add pproenca/dot-skills knip-deadcode| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Configuration Foundations | CRITICAL | |
| 2 | Entry Point Strategy | CRITICAL | |
| 3 | Workspace & Monorepo | HIGH | |
| 4 | Dependency Analysis | HIGH | |
| 5 | Export Detection | MEDIUM-HIGH | |
| 6 | CI Integration | MEDIUM | |
| 7 | Auto-Fix Workflow | MEDIUM | |
| 8 | Performance Optimization | LOW-MEDIUM | |
config-avoid-broad-ignoreconfig-configure-path-aliasesconfig-enable-plugins-explicitlyconfig-run-without-configconfig-separate-entry-projectconfig-use-json-schemaconfig-use-negation-patternsconfig-use-production-modeentry-add-dynamic-importsentry-exclude-test-filesentry-include-all-entry-pointsentry-include-bin-scriptsentry-use-compilersentry-use-plugin-entriesentry-verify-with-debugworkspace-configure-root-workspaceworkspace-ignore-specificworkspace-isolate-for-strictworkspace-list-cross-depsworkspace-per-workspace-pluginsworkspace-use-workspace-globsdeps-add-unlisted-depsdeps-avoid-transitive-reliancedeps-configure-plugin-depsdeps-fix-files-firstdeps-ignore-conditional-depsdeps-remove-obsolete-typesexports-check-class-membersexports-enable-entry-exportsexports-handle-reexportsexports-ignore-same-fileexports-tag-public-apiexports-trace-usageexports-use-include-libsci-add-to-pipelineci-separate-production-checkci-use-cacheci-use-max-issuesci-use-reportersci-watch-mode-localfix-allow-remove-filesfix-format-after-fixfix-review-before-commitfix-update-deps-afterfix-use-fix-typeperf-filter-issue-typesperf-limit-outputperf-profile-performanceperf-use-bun-runtimeperf-use-cache-flagperf-use-workspace-filter| File | Description |
|---|---|
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |