nvidia/prepare-code-freeze
Prepare a NeMo Relay code freeze by creating the release branch, updating nightly alpha branch config, bumping main to the next version, and opening the required PR
npx skills add https://github.com/NVIDIA/NeMo-Relay --skill prepare-code-freeze
Use this skill when the user asks to start, prepare, or automate a NeMo Relay
code freeze.
Use update-project-version for version bump semantics and prepare-pr before
opening the PR.
This workflow assumes upstream is the NVIDIA repository remote
(NVIDIA/NeMo-Relay). The origin remote can be a maintainer's personal fork.
upstream/main:Cargo.toml.Derive the release branch as release/<major>.<minor>.
<next-version> if the user did not provide it. This is theversion that main moves to after the release branch is cut.
main and create the release branch from upstream/main: git fetch upstream main
git branch release/<major>.<minor> upstream/main
git push upstream release/<major>.<minor>
If the remote release branch already exists, verify it points where expected
before continuing.
upstream/main, for exampledocs/code-freeze-<major>.<minor>.
.github/nightly-alpha-branches.yaml to include the new releasebranch.
just set-version <next-version> to bump all release-versioned packagesurfaces on main.
Regenerate the dynamic worker-plugin fixture lockfile so its path
dependencies use the new workspace version:
cargo generate-lockfile --manifest-path crates/core/tests/fixtures/worker_plugin/Cargo.toml
current-version install commands, package examples, and configuration
examples to <next-version> where appropriate:
rg -n '<old-version>' README.md docs fern --glob '!docs/_build/**' || true
Review matches before changing them. Leave intentional historical references
alone, such as release notes, changelogs, generated build output, and
third-party dependency attribution entries.
ruby -e 'require "yaml"; YAML.load_file(".github/nightly-alpha-branches.yaml"); YAML.load_file(".github/workflows/nightly-alpha-tag.yaml")'
just set-version <next-version>
cargo generate-lockfile --manifest-path crates/core/tests/fixtures/worker_plugin/Cargo.toml
cargo build --locked --manifest-path crates/core/tests/fixtures/worker_plugin/Cargo.toml
rg -n '<old-version>' README.md docs fern --glob '!docs/_build/**' || true
git diff --check
Any remaining documentation matches for <old-version> should be intentional
and called out in the PR description.
main using .github/pull_request_template.md. The PRmust mention:
just set-version <next-version> bumprelease/* branchPR.
main.Take nvidia/prepare-code-freeze from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.