Registry / managedcode

managedcode/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 0.0.0-main.1794330588.g268856b · from managedcode/dotnet-skills

Install

npx yarkr-cli add skill:managedcode/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:managedcode/dotnet-skills/nuget-trusted-publishing
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:managedcode/dotnet-skills/nuget-trusted-publishing

On Windows, in PowerShell:

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

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