Official agent skill

Merge Main To Nightly

by dotnet in dotnet/dotnet-docker

Create a PR to merge main into the nightly branch after a .NET containers release.

OfficialMITAuto-check passedDevOps & Cloud

Install Merge Main To Nightly

skills CLI
$ npx skills add dotnet/dotnet-docker --skill merge-main-to-nightly -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dotnet/dotnet-docker merge-main-to-nightly --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dotnet/dotnet-docker.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/merge-main-to-nightly .claude/skills/merge-main-to-nightly && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
merge-main-to-nightly
GitHub stars
4.9k
Token cost
~249 tokens
SKILL.md length
114 words
Files
2
Skills in repo
5
Repo updated
First seen
Licence
MIT

At a glance

Create a PR to merge main into the nightly branch after a .NET containers release.

  • Works in 6 steps: Determine the release name. Run pwsh… → Fetch changes from the… → Create a new branch based off of the… → …
  • DevOps & Cloud work in your project
  • Calls pwsh and git

What it does

Merge Main To Nightly is an agent skill from dotnet/dotnet-docker, published by the product's own GitHub organization. Create a PR to merge main into the nightly branch after a .NET containers release. Use only when specifically asked to "merge main to nightly".

Its SKILL.md is about 250 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `reference/pull-request-template.md`).

It sits in DevOps & Cloud. It works with .NET. The repository describes itself as: Official container images for .NET. The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “merge main to nightly”
  • “/merge-main-to-nightly”

Requirements

  • Docker

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Determine the release name. Run pwsh eng/Get-ReleaseBranches.ps1 to find the latest release branch. The most recently created branch…
  2. Fetch changes from the dotnet/dotnet-docker main and nightly branches.
  3. Create a new branch based off of the nightly branch, called merge-main-to-nightly-$releaseName.
  4. Merge main into your working branch with git merge $remote/main. If there are conflicts, invoke the resolving-conflicts skill.
  5. Stop and confirm the changes with the user. Ask them to review the changes and wait for confirmation to proceed.
  6. Submit the PR using the template.

What it can do on your machine

Read from SKILL.md and the folder at commit f731d8c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pwsh
    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Merge Main To Nightly loads about 249 tokens when it runs. Until then it costs about 41 tokens; SKILL.md has 114 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~249

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from dotnet/dotnet-docker at commit f731d8c, republished under its MIT licence (© dotnet). 114 words, ~249 tokens.

Download SKILL.mdSave it as .claude/skills/merge-main-to-nightly/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
merge-main-to-nightly
description
Create a PR to merge main into the nightly branch after a .NET containers release. Use only when specifically asked to "merge main to nightly".

Workflow: Merge main to nightly

This should be done as soon as possible after a new .NET release (same day).

  1. Determine the release name. Run pwsh eng/Get-ReleaseBranches.ps1 to find the latest release branch. The most recently created branch corresponds to the current release.
  2. Fetch changes from the dotnet/dotnet-docker main and nightly branches.
  3. Create a new branch based off of the nightly branch, called merge-main-to-nightly-$releaseName.
  4. Merge main into your working branch with git merge $remote/main. If there are conflicts, invoke the resolving-conflicts skill.
  5. Stop and confirm the changes with the user. Ask them to review the changes and wait for confirmation to proceed.
  6. Submit the PR using the template.

© dotnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/merge-main-to-nightly of dotnet/dotnet-docker.

  • SKILL.md
  • reference/pull-request-template.md

Open the folder on GitHubat commit f731d8c

Compare with similar skills

Merge Main To Nightly next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Merge Main To Nightly compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Merge Main To Nightly this skilldotnet/dotnet-docker4.9k—~249Automated safety check: PassMIT
Aspiremicrosoft/aspire.dev1954 repos~1.1kAutomated safety check: PassMIT
.NET Crash Dump Collectiondotnet/skills5.6k2 repos~1.1kAutomated safety check: PassMIT
Migrate Dotnet9 To Dotnet10dotnet/skills5.6k2 repos~4.8kAutomated safety check: PassMIT
Azure FunctionsDataDog/dd-trace-dotnet572—~4.7kAutomated safety check: PassApache-2.0
Nuget Trusted Publishingdotnet/skills5.6k2 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • Aspire

    microsoft/aspire.dev

    Official

    Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps.

    195 GitHub starsUsed in 4 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Official

    Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes.

    5.6k GitHub starsUsed in 2 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Official

    Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes.

    5.6k GitHub starsUsed in 2 repos~4.8k tokens
    DevOps & CloudAuto-check passed
  • Azure Functions

    DataDog/dd-trace-dotnet

    Official

    Dev/test workflow for tracer engineers working on the Datadog .NET tracer — build a local Datadog.AzureFunctions NuGet package, deploy it to a test Azure Function App, trigger it, and analyze…

    572 GitHub stars~4.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Official

    Set up NuGet trusted publishing (OIDC) on a GitHub Actions repo — replaces long-lived API keys with short-lived tokens.

    5.6k GitHub starsUsed in 2 repos~2.3k tokens
    DevOps & CloudAuto-check passed
  • Aspire

    codewithmukesh/dotnet-claude-kit

    .NET Aspire for cloud-native orchestration. An agent skill from codewithmukesh/dotnet-claude-kit.

    756 GitHub starsUsed in 1 repo~1.5k tokens
    DevOps & CloudAuto-check passed

More from dotnet/dotnet-docker

  • Official

    Modify Cottle templates that generate Dockerfiles and READMEs in dotnet/dotnet-docker.

    4.9k GitHub stars~563 tokensUpdated yesterday
    Auto-check passed
  • Porting Changes

    dotnet/dotnet-docker

    Official

    Plan and move changes between branches in dotnet/dotnet-docker.

    4.9k GitHub stars~781 tokensUpdated yesterday
    Auto-check passed
  • Image Management

    dotnet/dotnet-docker

    Official

    Manages .NET Docker images including adding images for new .NET versions, new Linux distros (Alpine, Ubuntu, Azure Linux), and new Windows versions.

    4.9k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Resolving Conflicts

    dotnet/dotnet-docker

    Official

    A skill your agent uses when merging or cherry-picking changes cause git conflicts.

    4.9k GitHub stars~573 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Merge Main To Nightly

What does Merge Main To Nightly do?

Create a PR to merge main into the nightly branch after a .NET containers release. Merge Main To Nightly is an agent skill from dotnet/dotnet-docker, published by the product's own GitHub organization.NET containers release.

When should I use Merge Main To Nightly?

Merge Main To Nightly fits situations like: devOps & Cloud work in your project.

How do I install Merge Main To Nightly in Claude Code?

Run `npx skills add dotnet/dotnet-docker --skill merge-main-to-nightly -a claude-code`. Or copy the skill folder (.agents/skills/merge-main-to-nightly in dotnet/dotnet-docker) into .claude/skills/merge-main-to-nightly in your project. Claude Code loads it when a task matches its description.

How do I install Merge Main To Nightly in Codex?

Run `npx skills add dotnet/dotnet-docker --skill merge-main-to-nightly -a codex`. Or copy the skill folder (.agents/skills/merge-main-to-nightly in dotnet/dotnet-docker) into .agents/skills/merge-main-to-nightly in your project. Codex loads it when a task matches its description.

Can I use Merge Main To Nightly in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dotnet/dotnet-docker --skill merge-main-to-nightly -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/merge-main-to-nightly, .gemini/skills/merge-main-to-nightly, .github/skills/merge-main-to-nightly and .opencode/skills/merge-main-to-nightly in your project.

What does Merge Main To Nightly need to run?

Going by SKILL.md and its folder, Merge Main To Nightly needs the command-line tools its instructions call (pwsh and git). Our summary lists: Docker.

Does Merge Main To Nightly access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Merge Main To Nightly safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Merge Main To Nightly use?

Merge Main To Nightly is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Merge Main To Nightly use?

About 249 tokens (SKILL.md is roughly 996 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Merge Main To Nightly?

Skills that share tags, products or a category with Merge Main To Nightly: Aspire (microsoft/aspire.dev, 195 stars), .NET Crash Dump Collection (dotnet/skills, 5.6k stars), Migrate Dotnet9 To Dotnet10 (dotnet/skills, 5.6k stars) and Azure Functions (DataDog/dd-trace-dotnet, 572 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Merge Main To Nightly?

dotnet (a GitHub organization, an official publisher) maintains it in dotnet/dotnet-docker, which has 4,875 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 10, 2026.

Source: dotnet/dotnet-docker on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.