What problem does it solve?
Inconsistent or unsafe NuGet package changes can cause build failures, dependency drift, and runtime issues across .NET solutions, and this skill prescribes a repeatable, verified workflow to minimize those risks.
Core Features & Use Cases
- Enforce safe operations: Require dotnet add/remove for adding or removing packages and restrict direct file edits to version updates only.
- Version management detection: Detect whether versions are managed centrally via Directory.Packages.props or per-project in .csproj files and update the correct location.
- Verification and restore: Verify target versions exist on NuGet, update the version string, and run dotnet restore to validate compatibility.
- Use Case: Update Newtonsoft.Json to a specific version across a solution by locating its definition, updating the version, and confirming restore succeeds.
Quick Start
Use the nuget-manager skill to update a package version across the repository, verify the version exists on NuGet, apply the change in the appropriate file, and run dotnet restore to confirm compatibility.