update-packages
Skill1 starsChanged 9 months agoMITView on GitHub
Update all outdated NuGet packages in the solution using dotnet-outdated. Handles tool installation, discovery, and safe update workflow with restore verification.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- yuann3/skillstheir own version, first seen Nov 28, 2025
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- yuann3/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- aspireSkill
- brainstormingSkill
- create-github-issue-feature-from-specificationSkill
- create-github-issues-feature-from-implementation-planSkill
- create-implementation-planSkill
- create-specificationSkill
- csharp-asyncSkill
- csharp-docsSkill
- csharp-mcp-server-generatorSkill
- csharp-mstestSkill
- csharp-nunitSkill
- csharp-tunitSkill
- csharp-xunitSkill
- dispatching-parallel-agentsSkill
- dotnet-best-practicesSkill
- dotnet-design-pattern-reviewSkill
- dotnet-upgradeSkill
- editorconfigSkill
- ef-coreSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- skill-creatorSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 13 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use this skill to update all outdated NuGet packages across the entire solution using the dotnet-outdated tool.
- Very specific: line 24
Create a dedicated branch, e.g.
- Distinctive: line 25
Run all updates on this branch only.
- Distinctive: line 28
Run once per machine (or verify it is already installed):
- Distinctive: line 32
If already installed, update the tool itself to the latest version:
- Distinctive: line 63
Only run this when the user has explicitly named the package and the target major version:
- Distinctive: line 69
Only run this when the user has explicitly requested a full upgrade across all major versions:
- Distinctive: line 77
After upgrades are applied, run a full restore to confirm no version conflicts:
- Distinctive: line 87
After a successful restore, confirm the solution still builds:
- Distinctive: line 94
Use a Conventional Commit message, e.g.:
- Distinctive: line 98
If updating a single notable package, include it in the scope:
- Distinctive: line 104
Never: update packages directly on main.
- Very specific: line 105
Always: run dotnet restore and dotnet build after updates.
- Distinctive: line 107
Major version upgrades are forbidden by default: Only apply them when the user has explicitly given the instruction, naming the package or …
- Distinctive: line 108
When a major upgrade is explicitly requested, apply and validate one package at a time to isolate issues.
- Distinctive: line 109
If a package update causes build or test failures, revert that package's version and document it in the PR description.
- Very specific: line 112
All targeted packages updated in Directory.Packages.props.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
update-packages
Purpose
Use this skill to update all outdated NuGet packages across the entire solution using the dotnet-outdated tool. It ensures tools are installed, versions verified, and dotnet restore confirms compatibility after updates.
Prerequisites
- .NET SDK installed and
dotnetCLI available onPATH. - Internet access to reach NuGet feeds (including those listed in
nuget.config). - Git working tree should be on a dedicated branch before running updates (never update directly on
develop).
Keywords
nuget, packages, outdated, update, upgrade, bump, versions, dotnet-outdated
Workflow
0. Git Preparation (mandatory before any update)
- Checkout
developand pull the latest state. - Create a dedicated branch, e.g.
chore/update-packages-<date>. - Run all updates on this branch only.
1. Install / restore dotnet-outdated tool
Run once per machine (or verify it is already installed):
dotnet tool install --global dotnet-outdated-toolIf already installed, update the tool itself to the latest version:
dotnet tool update --global dotnet-outdated-tool2. Inspect outdated packages (dry run)
Navigate to the solution root and list all outdated packages without applying changes:
dotnet outdated backend.slnxPinned packages – do not upgrade beyond the listed major version regardless of instructions:
Package Max allowed version MassTransit.*8.x.x
Review the output. Note packages that are:
- patch updates – safe, apply unconditionally.
- minor updates – generally safe, but review changelog for breaking changes.
- major updates – require manual review; apply one-by-one and verify.
3. Apply updates
Default behavior: patch and minor updates only.
Major version upgrades must never be applied unless the user explicitly requests them.
Default – Update patch and minor versions (always safe to run)
dotnet outdated backend.slnx --upgrade --version-lock MajorExplicit instruction only – Update a specific package including a major bump
Only run this when the user has explicitly named the package and the target major version:
dotnet outdated backend.slnx --upgrade --include <PackageName>Explicit instruction only – Update all packages including major versions
Only run this when the user has explicitly requested a full upgrade across all major versions:
dotnet outdated backend.slnx --upgradeImportant: This project uses Central Package Management (
Directory.Packages.props).dotnet-outdatedrespects CPM and updates versions in that file. Verify thatDirectory.Packages.propswas modified after the upgrade step.
4. Verify restore
After upgrades are applied, run a full restore to confirm no version conflicts:
dotnet restore backend.slnxIf restore fails:
- Identify the conflicting package from the error output.
- Revert that specific version entry in
Directory.Packages.propsto its previous value. - Re-run
dotnet restoreuntil clean.
5. Build verification
After a successful restore, confirm the solution still builds:
dotnet build backend.slnx --no-restoreFix any compilation errors introduced by API changes in updated packages before proceeding.
6. Commit
Use a Conventional Commit message, e.g.:
chore(deps): update NuGet packages to latest versionsIf updating a single notable package, include it in the scope:
chore(deps): update MassTransit to 8.xRules
- Never update packages directly on
main. - Always run
dotnet restoreanddotnet buildafter updates. - Do not manually edit
Directory.Packages.propsto bump versions during this workflow – letdotnet-outdated --upgradehandle it. - Major version upgrades are forbidden by default. Only apply them when the user has explicitly given the instruction, naming the package or confirming a full major upgrade.
- When a major upgrade is explicitly requested, apply and validate one package at a time to isolate issues.
- If a package update causes build or test failures, revert that package's version and document it in the PR description.
Done Criteria
- All targeted packages updated in
Directory.Packages.props. dotnet restorecompletes without errors.dotnet buildcompletes without errors.- Changes committed on a feature branch with a compliant Conventional Commit message.
- PR opened targeting
developwith a summary of updated packages.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

