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/cpa03/blueprintify/tree/main/.opencode/skill/dependency-audit
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.
ci-pipeline-update
Updates CI/CD pipelines for DevOps Engineer
obra-superpowers-test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
typescript-refactor
Safely refactor TypeScript code while maintaining type safety and test coverage. Includes verification steps.
obra-superpowers-using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
react-component-create
Create new React components following project patterns and best practices. Includes proper typing, testing, and documentation.
madappgang-claude-code-debugging-strategies
Universal debugging strategies and techniques applicable across all technology stacks. Use when approaching unknown bugs or need language-agnostic debugging methodology.
Didn't find tool you were looking for?