What problem does it solve?
This skill streamlines the management of NuGet packages in .NET projects, ensuring consistency and preventing common errors associated with package addition, removal, and version updates.
Core Features & Use Cases
- Safe Package Management: Enforces the use of
dotnet CLI commands for adding and removing packages, maintaining project integrity.
- Controlled Version Updates: Guides users through a strict workflow for updating package versions, including verification and restoration steps.
- Centralized vs. Project Management: Detects whether package versions are managed centrally in
Directory.Packages.props or individually in .csproj files.
- Use Case: Update all instances of a specific NuGet package across a solution to a new, verified version without breaking the build.
Quick Start
Use the nuget-manager skill to add the Serilog package to the WebApi project.