Analyze project dependencies for security vulnerabilities, license compliance, and staleness. Use when auditing dependencies, checking for CVEs, reviewing license obligations, or assessing upgrade risk. Not for actually upgrading packages (use update:deps instead).
Perform a read-only analysis of the project's dependency tree. This skill reads lock files, queries vulnerability databases, and produces a structured report. It does not modify any files.
Detect which package manager the project uses by checking for lock files:
package-lock.json or yarn.lock or pnpm-lock.yaml -> Node.jsCargo.lock -> Rustgo.sum -> Gorequirements.txt or poetry.lock or uv.lock -> PythonIf multiple lock files exist, analyze all of them and report separately.
For each detected ecosystem, run the appropriate audit command:
npm audit --json or yarn audit --jsoncargo audit --jsongovulncheck ./...pip-audit --format jsonParse the JSON output and extract: package name, installed version, vulnerability ID (CVE), severity, and fixed version (if available).
Read the lock file to extract all transitive dependencies and their licenses. Flag any dependency using:
For each direct dependency, compare the installed version against the latest available:
Output a markdown table with columns:
| Package | Version | Latest | Staleness | Vulnerabilities | License | Action Needed |
Sort by severity: vulnerabilities first, then license issues, then staleness.
LuminairPrime/git-worktrees-prime
49d6ae2
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.