Registry / dotnet

dotnet/skills/nuget-trusted-publishing

Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens. USE FOR: trusted publishing, NuGet OIDC, keyless NuGet publish, migrate from NuGet API key, NuGet/login, secure NuGet publishing. DO NOT USE FOR: publishing to private feeds or Azure Artifacts (OIDC is nuget.org only). INVOKES: shell (powershell or bash), edit, create, ask_user for guided repo setup.

Agent skill · version 1.0.1-main.1794412235.g96c3d68 · from dotnet/skills

Install

npx yarkr-cli add skill:dotnet/skills/nuget-trusted-publishing

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:dotnet/skills/nuget-trusted-publishing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:dotnet/skills/nuget-trusted-publishing

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:dotnet/skills/nuget-trusted-publishing

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.