- Home
- Skills
- DevOps & Cloud
- Safe Dependency Upgrade Plan
Safe Dependency Upgrade Plan
Dependency upgrade planner for npm, pip, Maven, Gradle, Cargo and Go: ranks outdated and vulnerable packages by risk and gives an ordered plan with test gates and rollback for every step.
$5
Works with the AI Agents you already use
Safe Dependency Upgrade Plan
Example session with this skill installed
Plan the upgrades for this service. Here is the output of the outdated command and the audit report, and our test command is the full unit test run.
- Read your context and instructions
- Compiled the safe dependency upgrade
Illustrative. The packages, versions and advisory are invented; this shows the structure and depth the skill produces.
Summary
- 9 packages are outdated; 1 has a security advisory with a fix available.
- Plan: 1 security step, 2 batches of low-risk updates, 2 isolated major upgrades, 1 item deferred.
- Size: 1 small and 2 medium steps, 2 large ones. Assumptions are listed at the end.
Do first (security)
| Package | Current | Target | Why | Risk | Gate | Rollback |
|---|---|---|---|---|---|---|
http-parse-lib (transitive via web-core) | 2.3.1 | 2.3.4 (patch) | Advisory with a fix in the patch release | Low: patch, widely exercised path | Unit tests plus one call through the staging service | Revert the commit and restore the lockfile |
Check in the release notes: that 2.3.4 only contains the advisory fix (not read here; read it before merging).
Batches
Batch A (development tools, patch and minor): test-runner 8.1.0 to 8.4.2, lint-rules 5.0.2 to 5.2.0, type-defs 4.9.1 to 4.9.5. Risk Low. Gate: full test run and a lint run. Size S.
Batch B (production, patch and minor): date-util 3.4.0 to 3.6.1, logger-lite 1.8.0 to 1.9.3. Risk Medium for date-util (formatting behaviour can change in minors; read the notes for changed defaults). Gate: unit tests plus the report-export smoke check that prints dates. Size M.
Major upgrades (one at a time)
1. web-core 4.x to 5.x (Risk High)
- Why High: framework core, major jump, touches routing and middleware.
- Read in the release notes: removed APIs, changed defaults, minimum runtime version, peer dependency ranges.
- Do before: Batch A and the security step, so a failure points to this change only.
- Gate: the full test suite, the build, and a staging smoke test of login, one write endpoint and one read endpoint.
- Rollback: revert the commit and restore the lockfile.
- Size: L.
2. orm-kit 2.x to 3.x (Risk High)
- Why High: query layer; behaviour changes show up at runtime, not at compile time.
- Read in the release notes: changed query defaults, migration tool changes, minimum database version.
- Do after
web-coreif the notes say they share a peer dependency range. - Gate: tests that hit a real test database, plus a read of the generated SQL for the three busiest queries.
- Rollback: revert the commit and restore the lockfile; do not run schema migrations from the new version until the application has been verified.
- Size: L.
Not now
image-resize0.9.4 to 1.0.0: the notes (to be confirmed) require a newer runtime than the service runs today. Upgrade the runtime first; revisit then.
Verification and rollback
After each step: install from a clean state, run the tests and the build, run the staging smoke test, then merge. If a step fails, revert that single commit; the steps before it stay.
Assumptions and unknowns
- Runtime version assumed to be supported by every target version; confirm it in each release's notes.
- Test coverage of the routing and query layers was not provided.
- No private packages were listed.
Next steps
- Start with the security step and Batch A in one pull request each.
- Read the release notes for
web-corebefore scheduling the first major upgrade.
Connects securely to your tools. The creator never sees your data.
About this skill
Upgrade dependencies without breaking the build. Give it the output of your package manager (an outdated list, an audit report, or a manifest and lockfile) and it returns an ordered plan: security fixes first, low-risk patch and minor updates batched together, and every major upgrade isolated in its own step. Each step has the change to make, what to check in the release notes, the test gate and the rollback.
What makes it different from a generic prompt: it scores risk with reasons (major jumps, versions below 1.0, framework and build tooling, native extensions, runtime requirements, peer dependency constraints, test coverage) instead of just labels. It never claims to know what a release changed unless the release notes were read, it keeps packages that must move together in the same step, and it lists what it could not see, such as how your code uses a library.
What it reads and does: it works only from the text you give it. It lists the commands for you to run and does not run them. It runs no scripts and makes no network connection.
Honest limits: it cannot see how your code uses a library or guarantee that a patch release is harmless, and it does not replace running your tests.
Works only from the output you give it. It cannot see how your code uses a library, cannot guarantee a patch release is harmless, and does not replace your tests. Release-note contents are never assumed.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by 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 scan
Security scan passed 13 days ago
Requires
Permissions
File Scopes
A prompt-only skill (SKILL.md). It reads only the dependency output you paste or name; it lists commands for you to run, runs none itself, makes no network connection and reads no environment variables.