Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Detect dead code with Knip v1.0.0

Use this resource to detect and clean up dead code, unused exports and unused dependencies

New

  • 376 downloads
  • 234 likes
  • 162 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install knip-dead-code-detection

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

The agent configures Knip, sets the entry points and plugins, then adds the check to CI. You get a list of unused exports and dependencies to review.

Mostly picked by

Updated November 2, 2026

Card for the “Detect dead code with Knip” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • references/config-enable-plugins-explicitly.md: explicit plugin activation
  • references/ci-add-to-pipeline.md: adding the check to CI
  • references/ci-use-cache.md: caching

Good fit for

  • Your repository has exported functions nobody calls anymore
  • You want a pull request to fail when it adds dead code

Not for

    Tags

    • knip
    • dead code
    • dependencies
    • ci

    About

    You say

    “Configure Knip for this monorepo and add the check to CI.”

    Card for the “Detect dead code with Knip” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to detect and clean up dead code, unused exports and unused dependencies
    3. Review and adjust the result

    Content preview

    Files

    • assets/templates/_template.md0.9 KB
    • LICENSE1.1 KB
    • metadata.json1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md1.9 KB
    • references/ci-add-to-pipeline.md1.1 KB
    • references/ci-separate-production-check.md1.2 KB
    • references/ci-use-cache.md1 KB
    • references/ci-use-max-issues.md1.1 KB
    • references/ci-use-reporters.md1.2 KB
    • references/ci-watch-mode-local.md1.2 KB
    • references/config-avoid-broad-ignore.md1.3 KB
    • references/config-configure-path-aliases.md1.1 KB
    • references/config-enable-plugins-explicitly.md1 KB
    • references/config-run-without-config.md1.2 KB
    • references/config-separate-entry-project.md1 KB
    • references/config-use-json-schema.md0.9 KB
    • references/config-use-negation-patterns.md0.9 KB
    • references/config-use-production-mode.md1.1 KB
    • references/deps-add-unlisted-deps.md1.1 KB
    • references/deps-avoid-transitive-reliance.md1.1 KB
    • references/deps-configure-plugin-deps.md1.1 KB
    • references/deps-fix-files-first.md1.1 KB
    • references/deps-ignore-conditional-deps.md1.2 KB
    • references/deps-remove-obsolete-types.md1.1 KB
    • references/entry-add-dynamic-imports.md1.2 KB
    • references/entry-exclude-test-files.md1 KB
    • references/entry-include-all-entry-points.md1.1 KB
    • references/entry-include-bin-scripts.md1.1 KB
    • references/entry-use-compilers.md1.3 KB
    • references/entry-use-plugin-entries.md1 KB
    • references/entry-verify-with-debug.md1.1 KB
    • references/exports-check-class-members.md1.2 KB
    • references/exports-enable-entry-exports.md1.2 KB
    • references/exports-handle-reexports.md1.2 KB
    • references/exports-ignore-same-file.md1.2 KB
    • references/exports-tag-public-api.md1 KB
    • references/exports-trace-usage.md1.2 KB
    • references/exports-use-include-libs.md1.2 KB
    • references/fix-allow-remove-files.md1.1 KB
    • references/fix-format-after-fix.md1 KB
    • references/fix-review-before-commit.md1.1 KB
    • references/fix-update-deps-after.md1.1 KB
    • references/fix-use-fix-type.md1.2 KB
    • references/perf-filter-issue-types.md1.1 KB
    • references/perf-limit-output.md1.1 KB
    • references/perf-profile-performance.md1.2 KB
    • references/perf-use-bun-runtime.md1 KB
    • references/perf-use-cache-flag.md1 KB
    • references/perf-use-workspace-filter.md1.4 KB
    • references/workspace-configure-root-workspace.md1.1 KB
    • references/workspace-ignore-specific.md1.1 KB
    • references/workspace-isolate-for-strict.md1.1 KB
    • references/workspace-list-cross-deps.md1.2 KB
    • references/workspace-per-workspace-plugins.md1.2 KB
    • references/workspace-use-workspace-globs.md1.1 KB
    • SKILL.md7.9 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/knip-deadcode
    Licence
    MIT

    Notice

    « knip-deadcode » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.