nuget-github-packages

Community

Publish .NET NuGet packages to GitHub Packages

Authorusepowershell
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a repeatable, secure pattern for packing and publishing .NET NuGet packages to GitHub Packages so teams can distribute internal artifacts without manual credential juggling or registry misconfiguration.

Core Features & Use Cases

  • Authenticated Publishing: Use gh auth token to obtain a GitHub PAT with the required write:packages scope and push packages with dotnet nuget push.
  • Flexible Owner Resolution: Resolve the package feed owner from the git remote for repo-specific publishing or via the gh API for dynamic scenarios.
  • Developer and CI Support: Works for local developer machines, build agents, and CI/CD pipelines with guidance for one-time source setup and common gotchas.

Quick Start

Pack the project in Release, retrieve a GitHub PAT with gh auth token, resolve the owner from the git remote, and push the resulting nupkg to the https://nuget.pkg.github.com/{owner}/index.json feed using dotnet nuget push.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nuget-github-packages
Download link: https://github.com/usepowershell/PoshMcp/archive/main.zip#nuget-github-packages

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.