dead-dependencies
Installation
SKILL.md
Dead Dependencies
Identify and safely remove unused npm dependencies. This is a local, interactive workflow — a scheduled report can only ever guess; confirming a dependency is dead requires grepping real usage and running the build.
Why manual (not knip/depcheck)
Static tools over-report badly in this repo and must not be trusted blindly:
- The root
package.jsonis a mega-manifest (UI + desktop + build + test- storybook + electron), so a tool scanning one area flags everything used elsewhere as "unused".
- Lots of dependencies are referenced without an
import: webpack loaders and eslint/jest/babel plugins by string in config, tools invoked frompackage.jsonscripts, runtime-rpreloads, dynamicrequire, and ambient@types/*. - The webpack→Vite migration left genuinely dead build tooling behind, mixed in with false positives.