Depcheck

Use this skill when the user wants to find unused or missing dependencies in a Node.js project — clean up package.json and keep dependencies lean.

javimosch 2d1004e 940 B Updated

File contents

depcheck Plugin

depcheck scans Node.js projects to identify unused dependencies, missing packages, and dev/prod misclassification. Supports multiple file types including JSX, TSX, and ES modules.

Commands

  • depcheck _ _ <args> — Passthrough

Usage Examples

  • "check for unused dependencies in this project"
  • "find missing packages in package.json"
  • "list unused devDependencies"
  • "ignore specific packages when checking"

Installation

npm install -g depcheck

Key Features

  • Unused dependency detection
  • Missing dependency identification
  • Dev vs production dependency analysis
  • JSX, TSX, ES module support
  • Custom parser plugins
  • JSON output for CI integration
  • Monorepo support
  • Configurable ignore patterns

javimosch/supercli/tree/main/plugins/depcheck/skills/quickstart commit 2d1004e577

Frequently asked questions

npx skillmds@latest add javimosch/depcheck