- Home
- Skills
- Code Quality & Review
- Dependency Upgrade Plan
Works with the AI Agents you already use
Dependency Upgrade Plan
Transform outdated dependency lists into risk-batched upgrade plans with exact versions and rollback commands.
$6.99
Dependency Upgrade Plan
Example session with this skill installed
Inventory the dependencies in this Node.js project and identify any duplicates or deprecated packages in the lockfile.
- Read your context and instructions
- Compiled the dependency upgrade plan
I have scanned the manifest and lockfile. I found one deprecated package (request) and a version duplication for the ms utility.
Dependency Inventory
| ecosystem | package | manifest range | locked | direct/indirect | dup | deprecated |
|---|---|---|---|---|---|---|
| npm | lodash | ^4.17.15 | 4.17.15 | direct | - | - |
| npm | ms | - | 2.1.2 | indirect | yes | - |
| npm | ms | ^2.1.3 | 2.1.3 | direct | yes | - |
| npm | request | ^2.88.2 | 2.88.2 | direct | - | yes |
| npm | express | ^4.17.1 | 4.17.1 | direct | - | - |
Findings:
Duplicate Found: ms is locked at both 2.1.2 and 2.1.3. This indicates a transitive dependency is pulling an older version than your direct dependency.
Deprecated Package: request is marked as deprecated by the npm registry. It should be prioritized for replacement in the next upgrade cycle.
- Lockfile Health: Manifest ranges and locked versions are currently in sync for all other direct dependencies.
Next steps
- Run
npm outdated --json > outdated.jsonto capture available update targets. - Use
depplan.py planto generate a batched upgrade strategy. - Investigate the dependency tree for
msto see if a deduplication is possible.
Connects securely to your tools. The creator never sees your data.
About this skill
Stale dependencies and "update everything" mandates create unmanageable risk and untraceable regressions. This skill transforms a wall of outdated packages into a structured, risk-batched execution plan that a release train can follow without guesswork.
What it does
- Inventory manifests by normalizing
package.json,requirements.txt,go.mod, andCargo.tomlinto a unified table of pinned vs. locked versions. - Identify drift by flagging packages declared in manifests but missing from lockfiles or locked outside their declared ranges.
- Batch by risk to isolate patches, group minors by functional area, and separate every major version into its own individual PR/branch.
- Automate plan scaffolding by joining ecosystem-specific outdated captures (like
npm outdated --json) with local inventory to quote exact version pairs. - Validate handover readiness through a verification gate that ensures every batch includes specific commands for testing and rollback.
How it works
- Run the inventory command to generate a normalized table of every direct and indirect dependency, identifying duplicates and deprecated packages.
- Capture current ecosystem facts using your package manager's native outdated command to a JSON file.
- Generate the plan skeleton which joins the inventory with the capture, sorting updates into the four mandatory risk tiers.
- Fill in the verification and rollback fields for each batch based on the repository's specific test suite.
- Execute the verify command to ensure no major bumps are hidden in patch batches and that no placeholders remain before committing the plan to the repo.
Frameworks & tools
The skill includes a Python helper script depplan.py and supports JavaScript (npm), Python (pip), Go (modules), and Rust (cargo). It integrates with native CLI tools like npm outdated, pip list, go list, and cargo-outdated.
Why this beats prompting it yourself
Generic prompts often "hallucinate" version numbers or suggest "update all" strategies that lead to dependency hell. This skill enforces a strict data-join between your lockfile and the ecosystem's actual registry data, ensuring every version quoted is real and every major bump is isolated.
Use cases
- Triage a massive backlog of outdated packages into a multi-day execution roadmap.
- Isolate a breaking major framework upgrade from routine security patches.
- Resolve lockfile churn where different developer machines are resolving different versions.
- Document the "why" behind specific version pins for future audits and team handovers.
Known limitations
Requires ecosystem-specific tools like cargo-outdated to be installed for JSON capture. It does not perform the actual npm install or pip install commands; it only generates the plan.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scanned
Verified clean 4 days ago
- Passed all security checks, Safe to install
Requires