onewave-ai avatar

Dependency Auditor

This walks you through the full dependency maintenance workflow: running npm audit for vulnerabilities, finding outdated packages with npm-check-updates, detecting unused deps with depcheck, and analyzing bundle size impact. It's got good defensive advice too, like which packages depcheck wrongly flags as unused (TypeScript types, ESLint plugins, config-referenced tools). The conservative versus aggressive update strategies are practical, and the lock file reminders are the kind of thing everyone forgets until CI breaks. If you maintain any JavaScript project and currently just run npm install when things break, this gives you a proper checklist to stay ahead of security issues and bloat.

skills.sh installs
318
GitHub stars
422
last updated
Aug 21, 2026

Install

$ npx -y skills add onewave-ai/claude-skills --skill dependency-auditor --agent claude-code

Installs into .claude/skills of the current project.

Files

Dependency Auditor

Instructions

When auditing dependencies:

  1. Run security audit
  2. Check for outdated packages
  3. Find unused dependencies
  4. Analyze bundle size impact
  5. Review and update

Security Audit

# NPM audit
npm audit

# Get JSON output for processing
npm audit --json

# Fix automatically (safe fixes only)
npm audit fix

# Force fix (may have breaking changes)
npm audit fix --force

# PNPM
pnpm audit

# Yarn
yarn audit

Check Outdated Packages

# NPM
npm outdated

# Interactive update
npx npm-check-updates -i

# Update all to latest
npx npm-check-updates -u
npm install

# Check specific package
npm view <package> versions

Find Unused Dependencies

# Using depcheck
npx depcheck

# With details
npx depcheck --detailed

# Ignore patterns
npx depcheck --ignores="@types/*,eslint-*"

Common False Positives

Depcheck may flag these as unused when they're actually needed:

  • @types/* packages (used by TypeScript)
  • ESLint/Prettier plugins (referenced in config)
  • PostCSS plugins (referenced in config)
  • Next.js plugins
  • Babel presets

Analyze Bundle Size

Sponsors

Details

Repository
github.com/onewave-ai/claude-skills
Category
Security
First seen
Jun 3, 2026

More from onewave-ai/claude-skills

All 108

Recommended

More Security
1secondsky avatarcloudflare-workers-ci-cdsecondsky/claude-skillsComplete CI/CD guide for Cloudflare Workers using GitHub Actions and GitLab CI. Use for automated testing, deployment pipelines, preview environments, secrets m318skills.sh installs
2syncfusion avatarsyncfusion-angular-speech-to-textsyncfusion/angular-ui-components-skillsImplement the Syncfusion Angular SpeechToText component. Use this skill for real-time speech-to-text conversion with text transcripts, custom button appearance 318skills.sh installs
3martinholovsky avatarmacos-accessibilitymartinholovsky/claude-skills-generatorExpert in macOS Accessibility APIs (AXUIElement) for desktop automation. Specializes in secure automation of macOS applications with proper TCC permissions, ele311skills.sh installs
4patricio0312rev avatarcurl-command-generatorpatricio0312rev/skillsGenerates ready-to-run cURL commands from Express, Next.js, Fastify, or other API routes. Creates copy-paste commands with proper headers, authentication, and r308skills.sh installs
5patricio0312rev avatarpage-layout-builderpatricio0312rev/skillsGenerates complete page layouts and shells for common patterns (dashboard, authentication, settings, CRUD pages) with consistent navigation, layout components, 308skills.sh installs
6aliyun avataralibabacloud-dataworks-workspace-managealiyun/alibabacloud-aiops-skillsDataWorks Workspace Lifecycle Management Skill. Used for creating workspaces, querying workspace information, and adding workspace members with role authorizati306skills.sh installs