/dotnet-desktop-development:nuget-managerfrom dotnet-desktop-development
Manages NuGet packages in .NET projects via the dotnet CLI: add/remove packages, update versions after verifying existence, and handle Directory.Packages.props central management.
Ships in dotnet-desktop-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Add and remove NuGet packages in projects/solutions. through the dotnet CLI, update existing package versions only after verifying the target version exists, and immediately restore to catch compatibility failures.
| Requirement | Why |
|---|---|
| .NET SDK compatible with the target solution | Provides dotnet add, dotnet remove, dotnet restore, and dotnet test if needed. |
dotnet on PATH | All add/remove operations must use the CLI. |
jq or PowerShell | Needed to parse dotnet package search <PACKAGE_NAME> --exact-match --format json for exact version verification. |
Use dotnet package search for version lookup. Treat .props files as package metadata files, not general edit targets.
| Operation | Allowed method | Forbidden method |
|---|---|---|
| Add package | dotnet add [<PROJECT>] package <PACKAGE_NAME> [--version <VERSION>] | Directly editing .csproj, .props, or Directory.Packages.props; NEVER direct-edit for adds. |
| Remove package | dotnet remove [<PROJECT>] package <PACKAGE_NAME> | Directly deleting <PackageReference> or <PackageVersion> entries. |
| Update existing version | Verify the version, locate the version owner, edit only the version string, run dotnet restore. | Changing versions without checking NuGet or restoring; DIRECT EDITING is ONLY for VERSION UPDATES. |
| Central package management | Edit <PackageVersion Include="Package.Name" Version="1.2.3" /> in Directory.Packages.props. | Adding/removing central package entries by hand instead of using CLI-supported workflows when possible. |
| Per-project package management | Edit the Version on an existing <PackageReference Include="Package.Name" Version="1.2.3" />. | Moving packages between project and central management without a clear migration request. |
dotnet CLI command against the intended project or solution scope.Directory.Packages.props; otherwise inspect individual .csproj files.dotnet restore on the project or solution immediately.| Task | Command |
|---|---|
| Add package | dotnet add src/MyProject/MyProject.csproj package Newtonsoft.Json |
| Add specific version | dotnet add src/MyProject/MyProject.csproj package <PACKAGE_NAME> --version <VERSION> |
| Remove package | dotnet remove src/MyProject/MyProject.csproj package Newtonsoft.Json |
| Search exact package | dotnet package search <PACKAGE_NAME> --exact-match --format json and parse the JSON result. |
Verify version with jq | `dotnet package search <PACKAGE_NAME> --exact-match --format json |
| Verify version with PowerShell | `(dotnet package search <PACKAGE_NAME> --exact-match --format json |
| Restore | dotnet restore |
| User request | Correct action |
|---|---|
| "Add Serilog to the WebApi project" | Run dotnet add src/WebApi/WebApi.csproj package Serilog. |
| "Update Newtonsoft.Json to 13.0.3 in the whole solution" | Verify 13.0.3, locate Directory.Packages.props or .csproj, update the version string, then run dotnet restore. |
| "Remove Newtonsoft.Json" | Run dotnet remove [<PROJECT>] package Newtonsoft.Json for each intended project. |
Directory.Packages.props overrides per-project expectations.## NuGet package result
**Status:** complete | reverted | blocked
**Operation:** add | remove | update-version
**Package:** `<PACKAGE_NAME>`
**Target:** `<solution or project>`
| Step | Command or file | Result |
| --- | --- | --- |
| Verify | `<dotnet package search ...>` | pass | fail | not needed |
| Change | `<dotnet add/remove ...>` or `<file>` | <summary> |
| Restore | `dotnet restore` | pass | fail |
### Notes
- <compatibility issue, central package file, or revert detail>
dotnet add package or dotnet remove package.dotnet package search <PACKAGE_NAME> --exact-match --format json before editing.Directory.Packages.props or the correct .csproj.dotnet restore ran after the change, or failure to run was reported.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/dotnet-timezoneResolve .NET and C# timezone questions with TimeZoneInfo, DateTimeOffset, TimeZoneConverter, NodaTime, UTC conversion, daylight saving time, scheduling, Windows and IANA timezone IDs, location lookup, and copy-paste-ready code. Use this skill when a .NET user needs the timezone for a city, address, region, or country, or asks about cross-platform timezone handling./msstore-cliUse Microsoft Store Developer CLI (msstore) to configure Partner Center credentials, list Store apps, package and publish Windows submissions, check status, manage package flights, gradual rollouts, and CI/CD publishing for Windows App SDK/WinUI, UWP, .NET MAUI, Flutter, Electron, React Native, and PWA apps. Use when asked to configure Store credentials, publish to Microsoft Store, check submission status, or automate Store releases./mvvm-toolkitCommunityToolkit.Mvvm core guidance for ViewModels, source generators, observable properties, commands, validation, and base-class selection. Use this skill when authoring or reviewing code that uses CommunityToolkit.Mvvm 8.x, ObservableObject, ObservableValidator, ObservableRecipient, ObservableProperty, RelayCommand, AsyncRelayCommand, NotifyPropertyChangedFor, NotifyCanExecuteChangedFor, or NotifyDataErrorInfo across WPF, WinUI 3, MAUI, Uno, and Avalonia.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin dotnet-desktop-developmentOther plugins' skills for the same job