agentleFS
NVIDIAKnown publisherNVIDIA/earth2studio/.claude/skills-dev/developer-release-rebase/SKILL.md

developer-release-rebase

Skill1.2k starsChanged 4 months agoApache-2.0View on GitHub

Prepare a new minor alpha release of Earth2Studio by rebasing the release candidate branch onto main, bumping the version, updating the changelog, updating the README latest-news highlights, stripping example version tags, and pushing for PR. Use when releasing, cutting a release, preparing a release branch, rebasing a release, or bumping the version for a new development cycle.

  • Commits and pushes

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 1 mentionFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 2 mentionsAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/earth2studio repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/earth2studio

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub, Bluesky and Hacker News (16 times).

On GitHub · 13

8 more on GitHub

On Hacker News · 1

The file

Show its rules and text

We split this skill into the rules it gives an agent

24 rules. About 0 are common, 13 are distinctive, and 11 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈13

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 11

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow every step below in order.

    line 29
  2. Very specific:

    Read earth2studio/__init__.py to get the current __version__ string.

    line 36
  3. Distinctive:

    If the branch has already been rebased in a prior session, the version may already reflect the new alpha — note this.

    line 39
  4. Distinctive:

    If either is wrong, stop and ask the user to fix it.

    line 58
  5. Very specific:

    If the repo is already on a branch named X.Y.0-rebase, confirm with the user that it was created from the X.Y.*-rc branch and skip the …

    line 62
  6. Distinctive:

    Check whether the rebase branch already has main as an ancestor:

    line 78
  7. Distinctive:

    If a rebase is needed:

    line 84
  8. Distinctive:

    If the branch is already rebased, skip this and proceed.

    line 93
  9. Very specific:

    Read CHANGELOG.md and insert a new blank section above the most recent version entry.

    line 99
  10. Distinctive:

    If the released section does not already have a date set, ask the user what date to use before proceeding.

    line 134
  11. Distinctive:

    Run these two commands in sequence:

    line 141
  12. Very specific:

    After running, read earth2studio/__init__.py and confirm it now contains X.(Y+1).0a0.

    line 148
  13. Very specific:

    If the pre-commit hook pyupgrade fails due to a Python version incompatibility (a known issue with Python 3.14), it is safe to skip with …

    line 151
  14. Very specific:

    Remove pinned @X.Y.Z git tags from all example install blocks:

    line 159
  15. Distinctive:

    Update the install documentation to reference the new released version tag.

    line 172
  16. Very specific:

    Update the Docker container tag (e.g., nvcr.io/nvidia/pytorch:XX.YY-py3) to the latest recommended container version if it has changed.

    line 182
  17. Distinctive:

    Update the "Latest News" section in README.md with highlights from the

    line 191
  18. Very specific:

    Read CHANGELOG.md and identify the 3–5 most notable items from the released version's ### Added subsection.

    line 195
  19. Very specific:

    Read the current ## Latest News section in README.md.

    line 198
  20. Distinctive:

    Follow the existing style:

    line 201
  21. Very specific:

    Keep the > [!NOTE] version callout and update it to reference the new released version number if it changed.

    line 204
  22. Distinctive:

    Update the suggested version placeholder in the bug report template to reference the new released version.

    line 224
  23. Very specific:

    If pre-commit hooks fail due to a tool incompatibility (not a code issue), use SKIP=<hook-id> to bypass the broken hook and retry.

    line 250
  24. Distinctive:

    After pushing, remind the user:

    line 261

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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

Release Rebase — Prepare New Minor Alpha Release

Prepare a new minor alpha release of Earth2Studio by rebasing the release candidate branch onto main, bumping the version, updating the changelog, updating the README latest-news highlights, stripping pinned version tags from examples, and pushing a PR branch.

Follow every step below in order. Each step that requires user input is marked with a confirmation gate — wait for explicit approval before proceeding.


Step 1 — Determine the Next Version

  1. Read earth2studio/__init__.py to get the current __version__ string.
  2. Compute the next minor alpha: if current is X.Y.*-rc* (or X.Y.0rcN), the next version is X.(Y+1).0a0.
  3. If the branch has already been rebased in a prior session, the version may already reflect the new alpha — note this.

[CONFIRM — Version]

Print both versions (current and target) and ask the user to confirm before proceeding.


Step 2 — Verify Remotes and Rebase

2a — Check remotes

Confirm:

  • origin points to the user's fork of Earth2Studio.
  • upstream points to https://github.com/NVIDIA/earth2studio.git (or the SSH equivalent).

If either is wrong, stop and ask the user to fix it.

2b — Create or verify the rebase branch

If the repo is already on a branch named X.Y.0-rebase, confirm with the user that it was created from the X.Y.*-rc branch and skip the checkout commands.

Otherwise, create the rebase branch:

git fetch upstream X.Y.*-rc
git checkout X.Y.*-rc
git checkout -b X.Y.0-rebase

(Replace X.Y.*-rc with the actual tag/branch name matching the current release candidate.)

2c — Rebase onto main (if needed)

Check whether the rebase branch already has main as an ancestor:

git merge-base --is-ancestor main HEAD && echo "Already rebased" || echo "Needs rebase"

If a rebase is needed:

git checkout main
git pull upstream main
git checkout X.Y.0-rebase
git rebase main

If the branch is already rebased, skip this and proceed.


Step 3 — Update CHANGELOG.md

Read CHANGELOG.md and insert a new blank section above the most recent version entry. Use YYYY-MM-xx as the date placeholder where YYYY-MM is the month after the released version's date (e.g., if releasing 0.17.0 on 2026-07-30, the next dev section gets 2026-08-xx).

The new section must look exactly like this (substituting the version number):

## [X.(Y+1).0a0] - YYYY-MM-xx

### Added

### Changed

### Deprecated

### Removed

### Fixed

### Security

### Dependencies

Also ensure the released version section (the one just below):

  1. Has unused (empty) subsections removed.
  2. Does not have the alpha/rc extension in its version (e.g., [0.14.0] not [0.14.0a0]).
  3. Has a release date set in YYYY-MM-DD format.

[CONFIRM — Release Date]

If the released section does not already have a date set, ask the user what date to use before proceeding.


Step 4 — Bump the Package Version

Run these two commands in sequence:

uv run hatch version minor
uv run hatch version alpha

After running, read earth2studio/__init__.py and confirm it now contains X.(Y+1).0a0.

If the pre-commit hook pyupgrade fails due to a Python version incompatibility (a known issue with Python 3.14), it is safe to skip with SKIP=pyupgrade on the subsequent commit step — note this to the user.


Step 5 — Strip Version Tags from Examples

Remove pinned @X.Y.Z git tags from all example install blocks:

find examples/ -type f -exec sed -i 's/@[0-9]\+\.[0-9]\+\.[0-9]\+[a-z0-9]*//g' {} \;

Show a git diff --stat examples/ summary so the user can verify the changes look correct.


Step 6 — Update Install Guide Version Tag

Update the install documentation to reference the new released version tag.

  1. Open docs/userguide/about/install_options.yml and update the release_ref field under package: from the previous release version to the new released version (e.g., release_ref: 0.15.0). This field drives the install selector widget that generates install commands on the docs site.
  2. Open docs/userguide/about/install.md and replace all occurrences of the previous release tag (e.g., @0.14.0) with the new release tag (e.g., @0.15.0) in the hardcoded install examples (uv project, Docker, extras note).
  3. Update the Docker container tag (e.g., nvcr.io/nvidia/pytorch:XX.YY-py3) to the latest recommended container version if it has changed.
  4. Show a git diff docs/userguide/about/ summary so the user can verify the changes look correct.

Step 7 — Update README Latest News

Update the "Latest News" section in README.md with highlights from the released version's CHANGELOG entry (the section just below the new blank development section added in Step 3).

  1. Read CHANGELOG.md and identify the 3–5 most notable items from the released version's ### Added subsection. Prefer items that introduce new model classes, new data sources, or significant new capabilities.
  2. Read the current ## Latest News section in README.md.
  3. Replace the existing bullet points (between the > [!NOTE] block and the "For a complete list…" line) with new bullets summarising the highlights. Follow the existing style:
    • Each bullet starts with a bold linked feature name (where a docs link exists) followed by a comma and a short description.
    • Keep the > [!NOTE] version callout and update it to reference the new released version number if it changed.
  4. Show the diff to the user for review.

[CONFIRM — README]

Print the updated Latest News section and ask the user to confirm before proceeding.


Step 8 — Update Skill Versions

Skip this step. Skill versions are managed separately and should NOT be updated during the release rebase process.


Step 9 — Update GitHub Issue Templates

Update the suggested version placeholder in the bug report template to reference the new released version.

  1. Open .github/ISSUE_TEMPLATE/bug_report.yml.
  2. Replace the placeholder: value (e.g., "example: 0.14.0") with "example: X.Y.0" (the new released version).
  3. Show the diff to the user for review.

Step 10 — Commit and Push

Stage only the expected files and commit:

git add CHANGELOG.md
git add earth2studio/__init__.py
git add examples/
git add README.md
git add docs/userguide/about/install.md
git add docs/userguide/about/install_options.yml
git add skills/
git add .github/
git commit -m "Update version to X.(Y+1).0a0"

If pre-commit hooks fail due to a tool incompatibility (not a code issue), use SKIP=<hook-id> to bypass the broken hook and retry.

Push the branch to origin:

git push origin X.Y.0-rebase

[REMIND — Merge Strategy]

After pushing, remind the user:

Use Rebase merge, not Squash, when merging the PR.

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.