dotnet-update-packages
/dotnet-update-packages
Lists and updates outdated NuGet packages in .NET projects. Also use when the user mentions "update packages," "outdated NuGet," "upgrade dependencies," "dotnet package update," "check for updates," or "package versions." For centralizing package versions, see dotnet-centralise-packages.
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 15.09.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Lists and updates outdated NuGet packages in .NET projects. Also use when the user mentions "update packages," "outdated NuGet," "upgrade dependencies," "dotnet package update," "check for updates," or "package versions." For centralizing package versions, see dotnet-centralise-packages.
Triggers from the description
Original author description
Lists and updates outdated NuGet packages in .NET projects. Also use when the user mentions "update packages," "outdated NuGet," "upgrade dependencies," "dotnet package update," "check for updates," or "package versions." For centralizing package versions, see dotnet-centralise-packages.
How it works
- When to Use
- Workflow
- Key Commands
- Transitive vs Direct Packages
- Error Handling
- Notes
SKILL.md preview
--- name: dotnet-update-packages description: Lists and updates outdated NuGet packages in .NET projects. Also use when the user mentions "update packages," "outdated NuGet," "upgrade dependencies," "dotnet package update," "check for updates," or "package versions." For centralizing package versions, see dotnet-centralise-packages. license: MIT metadata: author: Im5tu version: "1.0" repositoryUrl: https://github.com/im5tu/dotnet-skills allowed-tools: Bash(dotnet:*), Read, Edit, Write, Glob, AskUserQuestion --- # .NET Package Updates > **Note:** This skill requires .NET 10 SDK or later. The `dotnet package update` command does not exist in .NET 8-9. ## When to Use This skill applies when the user: - Asks about outdated NuGet packages - Wants to update dependencies in a .NET project - Mentions package version upgrades - Discusses dependency management in .NET ## Workflow 1. **List outdated packages** (including transitive) using: ```bash dotnet package list --outdated --include-transitive --format json ``` 2. **Check for empty results** - If no outdated packages found, inform the user and stop 3. **Parse output** to identify: - Projects with outdated packages - Whether each package is **direct** or **transitive** 4. **Analyze project dependencies** by reading `<ProjectReference>` elements in each csproj 5. **Present findings** in a readable format showing project, package name, current → latest version 6. **Confirm with user** before making changes - ask which option: - All packages - Specific packages by name - Cancel 7. **Update packages per project** with `--project` parameter: - Update leaf projects first (no dependencies) - Then update dependent projects - Independent branches can run in parallel ```bash dotnet package update <package> --project <path-to-csproj> ``` 8. **Verify** with `dotnet build` 9. **If build fails**, ask user: - Fix automatically (review errors, apply fixes) - Fix manually (show errors, let user handle) 10. **Report results** - summarize what was updated and the final build status ## Key Commands | Command | Purpose | |---------|---------| | `dotnet package list --outdated --include-transitive --format json` | List outdated packages (incl. transitive) | | `dotnet package update <name> --project <path>` | Update specific package in project | | `dotnet package update --project <path>` | Update all packages in project | ## Transitive vs Direct Packages - **Direct**: Explicitly in csproj. Update directly. - **Transitive**: Pulled in by dependencies. Marked `[T]` in output. - To update: update the parent package, or add direct reference to pin version ## Error Handling - **If `dotnet package list` fails**: Check if we're in a .NET project directory - **If `dotnet package update` fails for a specific package**: Report it and continue with others - **If build fails after updates**: 1. Parse the build errors 2. Ask user: fix automatically or manually? 3. If automatic: analyze errors and apply fixes 4. Re-run build to verify ## Notes - Requires .NET 8+ SDK for `dotnet package update` - Always use `--project` parameter to update per-project - Update in dependency order: leaves first, then dependents - Always confirm with user before updating - Run build after updates to catch breaking changes
Versions
The database has no other skills named dotnet-update-packages.
Database snapshot: 13.11.2026 · package version 32c8b40b9942 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100nuget-manager
Manage NuGet packages in .NET projects/solutions. Use this skill when adding, removing, or updating NuGet package versions. It enforces using `dotnet` CLI for package management and provides strict procedures for direct file edits only when updating versions. - 100update-nuget-packages
Vet and apply NuGet package updates safely. Use when asked to update, bump, upgrade or check NuGet packages. - 100nuget-manager
Manage NuGet packages in .NET projects/solutions. Use this skill when adding, removing, or updating NuGet package versions. It enforces using `dotnet` CLI for package management and provides strict procedures for direct file edits only when updating versions. - 100nuget-hygiene
Keep NuGet dependencies safe and tidy: list vulnerable, deprecated and outdated packages with the dotnet CLI, check licences, adopt Central Package Management, lock files for reproducible restores, trusted package sources, and an update routine that does not break builds. Use… - 90nuget
NuGet package management via dotnet CLI. Trigger on install package, update package, push nupkg, pack project, manage NuGet sources, or clear NuGet cache. - 100nuget-package-manager
Inspect and update NuGet package families using ManagedCode NuGetPackageManager, the nuget-manager CLI, or its VS Code extension. USE FOR: checking outdated packages; dry-run family reviews; applying reviewed literal package and explicit project SDK version updates. DO NOT USE…