Analyze, audit, and manage project dependencies. Use when the user says /deps, asks to check dependencies, find outdated packages, audit for vulnerabilities, analyze dependency trees, or clean up unused packages. Triggers: deps, dependencies, outdated, audit, vulnerabilities, upgrade packages, dependency tree, unused packages, npm audit, pip audit.
Analyze, audit, and manage project dependencies.
Detect the package ecosystem:
package.json → npm/yarn/pnpmpyproject.toml / requirements.txt → pip/poetry/uvCargo.toml → cargogo.mod → Go modulesGemfile → bundlerpom.xml / build.gradle → Maven/GradleRun the requested analysis:
npm outdated / yarn outdated / pnpm outdatedpip list --outdatedcargo outdated (if installed)go list -u -m allnpm audit / yarn audit / pnpm auditpip audit / safety checkcargo auditgovulncheck ./...devDependencies vs runtime usage.npm ls --all / yarn why <pkg> / pnpm why <pkg>pipdeptreeFor major upgrades, generate a plan:
1. Upgrade <package> from v2.x to v3.x
- Breaking changes: <list from changelog>
- Required code changes: <files affected>
- Risk: <low/medium/high>