github avatar

Nuget Manager

NuGet Manager enables developers to safely manage NuGet package dependencies in .NET projects and solutions using the `dotnet` CLI. The skill enforces strict procedures—requiring CLI commands for adding and removing packages while permitting direct file edits only for version updates—to maintain project integrity and prevent configuration errors. It solves the problem of inconsistent package management practices by providing a standardized workflow that includes version verification on NuGet, centralized or per-project version determination, and post-update compatibility validation via `dotnet restore`.

skills.sh installs
14.5K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill nuget-manager --agent claude-code

Installs into .claude/skills of the current project.

Files

NuGet Manager

Overview

This skill ensures consistent and safe management of NuGet packages across .NET projects. It prioritizes using the dotnet CLI to maintain project integrity and enforces a strict verification and restoration workflow for version updates.

Prerequisites

  • .NET SDK installed (typically .NET 8.0 SDK or later, or a version compatible with the target solution).
  • dotnet CLI available on your PATH.
  • jq (JSON processor) OR PowerShell (for version verification using dotnet package search).

Core Rules

  1. NEVER directly edit .csproj, .props, or Directory.Packages.props files to add or remove packages. Always use dotnet add package and dotnet remove package commands.
  2. DIRECT EDITING is ONLY permitted for changing versions of existing packages.
  3. VERSION UPDATES must follow the mandatory workflow:
    • Verify the target version exists on NuGet.
    • Determine if versions are managed per-project (.csproj) or centrally (Directory.Packages.props).
    • Update the version string in the appropriate file.
    • Immediately run dotnet restore to verify compatibility.

Workflows

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building, CLI & Terminal, .NET & C#

More from github/awesome-copilot

All 318
1github avatarmicrosoft-code-referencegithub/awesome-copilotLook up Microsoft API references, find working code samples, and verify SDK code is correct. Use when working with Azure SDKs, .NET libraries, or Microsoft APIs14.4Kskills.sh installs
2github avatarcreate-specificationgithub/awesome-copilotCreate a new specification file for the solution, optimized for Generative AI consumption.13.6Kskills.sh installs
3github avatargame-enginegithub/awesome-copilotExpert skill for building web-based game engines and games using HTML5, Canvas, WebGL, and JavaScript. Use when asked to create games, build game engines, imple13.4Kskills.sh installs
4github avatarrefactor-plangithub/awesome-copilotCreate a concrete plan before starting a multi-file refactor. Use when the user asks to plan, sequence, scope, or safely execute a refactor across multiple file13Kskills.sh installs
5github avatarpytest-coveragegithub/awesome-copilotRun pytest tests with coverage, discover lines missing coverage, and increase coverage to 100%.13Kskills.sh installs
6github avatarpenpot-uiux-designgithub/awesome-copilotComprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or d12.9Kskills.sh installs