This skill helps manage project dependencies, scan for vulnerabilities, verify licenses, and optimize dependency trees across npm, pip, and Maven.
npx playbooks add skill 89jobrien/steve --skill dependency-management
This skill manages project dependencies including updates, vulnerability scanning, license compliance, and dependency tree optimization.
This skill includes Python helper scripts in scripts/:
parse_dependencies.py: Parses dependency files (package.json, requirements.txt, pyproject.toml). Outputs JSON with parsed dependencies and metadata. python scripts/parse_dependencies.py package.json requirements.txt
Update all dependencies and check for vulnerabilities
Scan dependencies for security issues
Check license compatibility for all dependencies
Using Helper Script:
The skill includes a Python helper script for parsing dependency files:
# Parse dependency files
python scripts/parse_dependencies.py package.json requirements.txt pyproject.toml
Package Manager Tools:
npm outdated, npm listpip list --outdatedmvn versions:display-dependency-updatesgradle dependencyUpdatesTools:
npm auditpip-auditProcess:
Safe Update Process:
Input: Scan for vulnerabilities
Output:
## Dependency Vulnerability Scan
### Critical Vulnerabilities
**1. lodash (4.17.20)**
- **Severity**: High
- **Issue**: Prototype Pollution
- **Fix**: Update to 4.17.21
npm update lodash
**2. express (4.16.4)**
- **Severity**: Medium
- **Issue**: Path Traversal
- **Fix**: Update to 4.18.2
npm update express
### Summary
- **Total vulnerabilities**: 5
- **Critical**: 1
- **High**: 2
- **Medium**: 2
For package manager-specific commands and patterns, load reference files as needed:
references/package_managers.md - Commands and patterns for npm, pip, Poetry, Maven, Gradle, Cargo, and common dependency management patternsreferences/DEPENDENCY_AUDIT.template.md - Dependency audit report template with vulnerabilities, outdated packages, license complianceWhen working with specific package managers, load references/package_managers.md and refer to the relevant package manager section.
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.