Update NuGet packages, .NET tools, the SDK or GitHub Actions. Use when the user asks to bump, upgrade or update dependencies, or to triage dependabot PRs.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Upgrade Deps?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nullean-upgrade-deps-assembly-differ)
---
name: upgrade-deps
description: Update NuGet packages, .NET tools, the SDK or GitHub Actions. Use when the user asks to bump, upgrade or update dependencies, or to triage dependabot PRs.
---
# Upgrade dependencies
Versions live in one place each:
| What | Where |
|---|---|
| NuGet packages | `Directory.Packages.props` (Central Package Management); never put `Version=` on a `PackageReference` |
| .NET tools | `.config/dotnet-tools.json` (or `dotnet-tools.json` at the root) |
| .NET SDK | `global.json` only; mise reads it from there |
| other CLI tools | `mise.toml` `[tools]` |
| GitHub Actions | pinned by commit SHA with a `# vX.Y.Z` comment; reusable workflows from `nullean/.github` likewise |
## Steps
1. Branch first. One concern per PR: SDK bumps, package bumps and action bumps go separately when any of them changes
behaviour.
2. Find what is outdated: `dotnet list package --outdated`, plus `dotnet tool list` against nuget.org.
3. Bump, then `mise run ci`. A new SDK also needs `mise install`.
4. Read the release notes of every major bump and say in the PR body what changed for this repo.
5. Label the PR `dependencies` unless the bump forces consumers to change something; then it is `breaking` (see
[breaking-changes](../breaking-changes/SKILL.md)).
For dependabot PRs: patch and minor updates merge themselves once CI passes (`dependabot-automerge.yml`). Majors
wait for you: read the changelog, then `gh pr merge --auto --squash`. Do not rebase a dependabot PR by
hand; comment `@dependabot rebase`.
Pin an action to the commit its release tag points at:
`gh api repos/<owner>/<action>/commits/<tag> --jq .sha`.