Unused Dependencies Audit & Removal

Community

Safely prune unused dependencies.

AuthorBaneeishaque
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Audit all npm/Yarn/pnpm dependencies to identify packages declared in package.json but not actually imported in the codebase. Analyze source code for import/require statements, cross-reference against declared dependencies, and remove unused packages one-by-one while validating the build integrity.

Core Features & Use Cases

  • Comprehensive source scanning to identify unused dependencies declared in package.json
  • Cross-reference imports with dependencies and perform safe, one-by-one removals with build validation
  • Atomic commits and manual review for high-risk or ambiguous packages; reduces install size and maintenance burden
  • Use Case: A large JS/TS project with hundreds of dependencies can drop unused packages to speed up installs and reduce attack surface

Quick Start

Run the audit to identify unused dependencies, then remove them one-by-one followed by a build validation.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Unused Dependencies Audit & Removal
Download link: https://github.com/Baneeishaque/ai-suite/archive/main.zip#unused-dependencies-audit-removal

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.