agentleFS
NVIDIAKnown publisherNVIDIA/NeMo-Fabric/.agents/skills/prepare-code-freeze/SKILL.md

prepare-code-freeze

Skill73 starsChanged 57 days agoApache-2.0View on GitHub

Prepare a NeMo Fabric code freeze by creating a release branch, deciding whether frozen-line nightly alpha tags are required, bumping main to the next version, updating current-version documentation, opening the required PR, and creating RC 1. Use when starting, preparing, or automating a NeMo Fabric code freeze.

  • Commits and pushes

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 3 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use update-project-version for version semantics, maintain-ci if the freeze changes nightly or release-branch automation, prepare-pr before …

    line 12
  2. Distinctive:

    If the remote release branch already exists, verify it points where expected before continuing.

    line 33
  3. Very specific:

    Create a PR branch from latest upstream/main, for example chore/version-bump-<major>.<minor>.

    line 35
  4. Very specific:

    Run just set-version <next-version> to bump all release-versioned package surfaces on main.

    line 37
  5. Very specific:

    Search documentation source for references to the old version and update current-version install commands, package examples, and …

    line 39
  6. Very specific:

    After the code-freeze workflow completes successfully, invoke create-rc-tag with the target release version from step 1 and RC_NUM=1.

    line 74
  7. Very specific:

    Do not create an RC tag for <next-version>.

    line 81
  8. Distinctive:

    Do not target the code-freeze PR at the release branch.

    line 83
  9. Distinctive:

    Do not leave uncommitted user changes mixed into the code-freeze PR branch.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prepare Code Freeze

Companion Guidance

Use update-project-version for version semantics, maintain-ci if the freeze changes nightly or release-branch automation, prepare-pr before opening the PR, and create-rc-tag to create the initial release candidate.

Workflow

Assume upstream is the NVIDIA repository remote (NVIDIA/NeMo-Fabric) and origin is a maintainer's fork.

  1. Confirm the target release version from upstream/main:Cargo.toml. Derive the release branch as release/<major>.<minor>.
  2. Prompt for <next-version> if the user did not provide it. This is the version that main moves to after the release branch is cut.
  3. Fetch the latest 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.

  4. Create a PR branch from latest upstream/main, for example chore/version-bump-<major>.<minor>.
  5. Run just set-version <next-version> to bump all release-versioned package surfaces on main.
  6. Search documentation source for references to the old version and update current-version install commands, package examples, and configuration examples to <next-version> where appropriate:

    rg -n '<old-version>' README.md docs examples adapters \
      --glob '!docs/reference/api/**' || 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.

  7. Validate with targeted checks:

    just set-version <next-version>
    cargo check --workspace --locked
    just build-all
    just wheels
    just --fmt --check
    rg -n '<old-version>' README.md docs examples adapters \
      --glob '!docs/reference/api/**' || true
    git diff --check

    Any remaining documentation matches for <old-version> should be intentional and called out in the PR description.

  8. Open a PR targeting main using .github/pull_request_template.md. The PR must mention:
    • the new release branch
    • the nightly alpha branch config update
    • the just set-version <next-version> bump
    • documentation old-version reference updates or intentional leftovers
    • that release-bound PRs now target the new release/* branch
    • PR title should be: chore: bump development version to <next-version>
  9. After the code-freeze workflow completes successfully, invoke create-rc-tag with the target release version from step 1 and RC_NUM=1. The version must correspond to release/<major>.<minor> (for example, pass 1.2.0 for release/1.2), not <next-version>.

Guardrails

  • Do not create an RC tag for <next-version>; create RC 1 only for the target release version associated with release/<major>.<minor>.
  • Do not target the code-freeze PR at the release branch. It targets main.
  • Do not leave uncommitted user changes mixed into the code-freeze PR branch.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.