Deps unused

From berkcangumusisik/claude-code-practices · View interactive version

Deps unused is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Finds packages in package.json that are not actually used in the codebase

How to use this skill

Skill file

Find Unused Dependencies

  1. Run automated analysis:
npx depcheck 2>/dev/null | head -40
npx unimported 2>/dev/null | head -40
  1. For each flagged package, manually verify:
grep -r "require\|from\|import" src/ --include="*.ts" --include="*.js" | grep "package-name" | head -5
  1. Watch for false positives:
  1. Classify each:
  1. For safe removals, show the npm uninstall commands. Ask for confirmation before running.
  1. Estimate bundle size savings.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.