c/backend › command
0votes

Skill: safe dependency upgrades

SkillLow risk
submitted by u/client to c/backend · 0 uses

Upgrades packages one at a time with changelog checks and tests between each step.

SKILL.md
---
name: dependency-upgrade
description: Upgrade project dependencies safely. Use when the user asks to update packages, fix outdated or vulnerable dependencies, or bump a framework version.
---

# Safe dependency upgrades

1. List what's outdated (npm outdated, pip list --outdated, etc.) and what's vulnerable (npm audit, pip-audit). Show the list before changing anything.
2. Patch and minor versions can go together. Do **major versions one package at a time**.
3. For each major upgrade, read the changelog or migration guide first and list the breaking changes that affect this code (search for the APIs mentioned).
4. Upgrade, apply the needed code changes, then run lint, types, tests and a build.
5. Commit each major upgrade separately so it can be reverted alone.

Never edit lockfiles by hand. Never use --force or legacy-peer-deps to hide a conflict without explaining it. Stop and ask if an upgrade needs a runtime (Node/Python) change.
0 commentsreport

Install this skill

Skills are folders with a SKILL.md file. Claude loads them on its own when a task matches the description.

Claude Code: for every project
mkdir -p ~/.claude/skills/dependency-upgrade && curl -fsSL https://commandvault.ai/commands/skill-safe-dependency-upgrades-16b76c3b/raw -o ~/.claude/skills/dependency-upgrade/SKILL.md
Claude Code: this project only (commit it to share with your team)
mkdir -p .claude/skills/dependency-upgrade && curl -fsSL https://commandvault.ai/commands/skill-safe-dependency-upgrades-16b76c3b/raw -o .claude/skills/dependency-upgrade/SKILL.md

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/backend

See all of c/backend →
0 comments

Log in to join the discussion.