clean-unused-deps

Clean up unused npm dependencies in a project. Use when you want to remove packages that are installed but not used in the codebase.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "clean-unused-deps" with this command: npx skills add hgxszhj-pixel/clean-unused-deps

Clean Unused Dependencies

This skill helps identify and remove unused npm dependencies from a project.

Workflow

  1. Identify unused dependencies using depcheck
  2. Remove the unused dependencies with npm uninstall

Prerequisites

  • Node.js and npm installed
  • depcheck installed globally (npm install -g depcheck)

Instructions

  1. Run depcheck in the project root to identify unused dependencies
  2. Review the output and identify packages to remove
  3. Run npm uninstall <package-name> for each unused package

Example

# Check for unused dependencies
depcheck

# Remove unused package
npm uninstall unused-package-name

For multiple packages:

npm uninstall package1 package2 package3

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

ollama-task-orchestrator

Manage and execute Ollama tasks via SSH on a remote worker, providing queue status, exclusive task locking, and code generation commands.

Registry SourceRecently Updated
Coding

Kamis Cli

Korean agricultural/livestock/aquatic wholesale & retail price data via the official KAMIS (한국농수산식품유통공사) OpenAPI. Use for daily 도매가/소매가 lookup, 7-day & month...

Registry SourceRecently Updated
Coding

Codebase Migration Planner

Plan complex codebase migrations — framework upgrades, language transitions, architecture refactors. Analyze dependencies, estimate effort, map migration pat...

Registry SourceRecently Updated
Coding

Release Readiness Checker

Pre-release checklist for shipping software — verify tests pass, changelog updated, version bumped, no debug code, dependencies clean, docs current, no secre...

Registry SourceRecently Updated