Agent skill
dependency-audit
Audit npm dependencies for security vulnerabilities, outdated packages, and license compliance.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/dependency-audit-cpa03-blueprintify-2
SKILL.md
Dependency Audit Skill
Comprehensive npm dependency security and health check.
Security Audit
-
Run npm audit:
bashnpm audit -
For detailed JSON output:
bashnpm audit --json -
Fix automatically if safe:
bashnpm audit fix -
For breaking changes (be careful):
bashnpm audit fix --force
Outdated Packages
-
Check for outdated:
bashnpm outdated -
Update specific package:
bashnpm update <package-name> -
Update to latest (major versions):
bashnpx npm-check-updates -u npm install
License Check
-
List all licenses:
bashnpx license-checker --summary -
Check for problematic licenses:
bashnpx license-checker --onlyAllow "MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC"
Bundle Analysis
-
Analyze bundle size:
bashnpx source-map-explorer dist/**/*.js -
Find duplicate dependencies:
bashnpx npm-dedupe
Output Report
## Dependency Audit Report
### Security
- Critical: X
- High: X
- Medium: X
- Low: X
### Outdated Packages
| Package | Current | Wanted | Latest |
| ------- | ------- | ------ | ------ |
| ... | ... | ... | ... |
### Actions Required
1. [Action with priority]
2. [Action with priority]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?