Skip to content
Agentmart
Submit a tool

upgrading-dependencies

Use when asked to update, upgrade, or bump dependencies, fix dependency vulnerabilities, or when CI flags outdated/vulnerable packages — before running any…

Skill by Roflochinsky

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/roflochinsky-upgrading-dependencies

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when asked to update, upgrade, or bump dependencies, fix dependency vulnerabilities, or when CI flags outdated/vulnerable packages — before running any upgrade command.

Use cases: devops

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/upgrading-dependencies

What's inside

Skill name
upgrading-dependencies
Description
Use when asked to update, upgrade, or bump dependencies, fix dependency vulnerabilities, or when CI flags outdated/vulnerable packages — before running any upgrade command.
License
MIT
Instructions
29 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Upgrading Dependencies

## Overview

"Upgrade everything" in one commit with several majors is a week of bisecting. Agents fail this task in two ways: bulk-bumping without reading changelogs, and "fixing" the resulting test failures by adapting assertions to the broken behavior. Stage the work; every stage independently verified and revertable.

## Process

1. **Ground truth**: clean tree, dedicated branch, capture `outdated` + `audit` (or the ecosystem's equivalents). Map vulnerabilities to packages — security-load-bearing upgrades get priority and define what "done" means for the CI nag.
2. **Baseline**: full test suite BEFORE touching anything. Pre-existing failures get noted, not chased later as your regressions.
3. **Patch + minor bumps in one commit.** Auto-fix tooling without force flags (`npm audit fix`, never `--force` — it silently installs breaking majors). Test, lint, build. Commit.
4. **Majors one at a time**, easiest → hardest, security-relevant first; **one commit per major**:
   - Read the migration guide / changelog BEFORE bumping — not after tests break.
   - Scope the blast radius (`grep` usage sites). A major touching 50+ files is its own tracked task — file it and say so, don't bury a framework migration at the bottom of a deps PR.
   - Fix breakages by adapting to the new API. Never by loosening assertions, mass-updating snapshots unread, or downgrading lint rules wholesale.
5. **Independent verification**: clean install from the new lockfile (`npm ci`), full suite, build, audit re-check (the original advisories must be GONE), smoke the app's main flows — router/HTTP-client changes are exactly what unit tests miss. Fresh-context reviewer over the diff for non-trivial majors (getting-second-opinion).
6. **Report**: what was bumped, what was deliberately deferred (with filed issues), audit status before/after.

## Red flags

| Thought | Reality |
|---|---|
| "I'll bump everything and see what breaks" | What breaks is your afternoon. Stage it. |
| "`audit fix --force` clears the warnings" | By installing breaking majors silently. Never. |
| "Tests fail — I'll update the assertions" | The assertion was the spec. Adapt the code to the new API, or revert the bump. |
| "Snapshots changed, regenerate them all" | Unread snapshot updates launder regressions. Eyeball the diffs. |
| "The router major fits in this PR too" | A migration guide with sections is a separate task. File it. |

From Roflochinsky/workshopskills, MIT.

More from Roflochinsky/workshopskills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 16, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Roflochinsky

Cite this page

upgrading-dependencies skill. Agent Mart. https://agentmart.dev/skills/roflochinsky-upgrading-dependencies (last updated 2026-10-24)