跳到正文
cccskills
免费在 GitHub 公开

nemoclaw-maintainer-cut-release-tag

Cut a new semver release — bump all version strings via bump-version.ts, open a release PR, and after merge tag main and push. Use when cutting a release, tagging a version, shipping a build, or preparing a deployment. Trigger keywords - cut tag, release tag, new tag, cut release, tag version, ship it.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md4.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Cut Release Tag

Bump all version strings, open a release PR, and after merge create annotated semver + latest tags on origin/main.

This skill delegates the version-bump work to scripts/bump-version.ts (invoked via npm run bump:version). That script updates package.json (root + plugin), blueprint.yaml, installer defaults, docs config, and versioned doc links — then runs the build and tests before opening a PR.

Prerequisites

  • You must be in the NemoClaw git repository.
  • You must have push access to origin (NVIDIA/NemoClaw).
  • The nightly E2E suite should have passed before tagging. Check with the user if unsure.

Step 1: Determine the Current Version

Fetch all tags and find the latest semver tag:

git fetch origin --tags
git tag --sort=-v:refname | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' | head -1

Parse the major, minor, and patch components from this tag.

Step 2: Ask the User Which Bump

Present the options with the patch bump as default:

  • Patch (default): vX.Y.(Z+1) — bug fixes, small changes
  • Minor: vX.(Y+1).0 — new features, larger changes
  • Major: v(X+1).0.0 — breaking changes

Show the concrete version strings. Example prompt:

Current tag: v0.0.2

Which version bump?

  1. Patch → v0.0.3 (default)
  2. Minor → v0.1.0
  3. Major → v1.0.0

Wait for the user to confirm before proceeding. If they just say "yes", "go", "do it", or similar, use the patch default.

Step 3: Show What's Being Tagged

Show the user the commit that will be tagged and the changelog since the last tag:

git log --oneline origin/main -1
git log --oneline <previous-tag>..origin/main

Ask for confirmation before proceeding.

Step 4: Run the Version Bump Script

First, preview the plan with --dry-run:

npm run bump:version -- <version-without-v-prefix> --dry-run

Show the dry-run output to the user. After confirmation, ask the user which mode they want:

Option A: PR mode (default, recommended)

npm run bump:version -- <version-without-v-prefix>

This will:

  1. Update all version strings across the repo
  2. Run the build and tests
  3. Create a release/<version> branch and open a release PR against main

In PR mode, tagging is deferred — proceed to Step 5 after the PR merges.

Option B: Direct mode (no PR)

npm run bump:version -- <version-without-v-prefix> --no-create-pr --push

This will:

  1. Update all version strings across the repo
  2. Run the build and tests
  3. Commit directly on main
  4. Create annotated v<version> and latest tags
  5. Push the commit and both tags to origin

In direct mode, tagging and pushing are handled by the script — skip to Step 6.

If the user wants to skip tests (e.g., they already ran them), add --skip-tests to either mode.

Step 5: Create and Push Tags (PR mode only, after PR merge)

Skip this step if you used direct mode in Step 4 — the script already tagged and pushed.

Once the release PR is merged into main, create the annotated tag, move latest, and push:

git fetch origin main --tags
git tag -a <new-version> origin/main -m "<new-version>"

# Move the latest tag (delete old, create new)
git tag -d latest 2>/dev/null || true
git tag -a latest origin/main -m "latest"

# Push both tags (force-push latest since it moves)
git push origin <new-version>
git push origin latest --force

Step 6: Verify

git ls-remote --tags origin | grep -E '(<new-version>|latest)'

Confirm both tags point to the same commit on the remote.

Important Notes

  • NEVER tag without explicit user confirmation of the version.
  • NEVER tag a branch other than origin/main.
  • Always use annotated tags (-a), not lightweight tags.
  • The latest tag is a floating tag that always points to the most recent release — it requires --force to push.
  • The version string passed to npm run bump:version should NOT have a v prefix (e.g., 0.0.3, not v0.0.3). The script adds the v prefix for tags internally.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Create GitHub pull requests that follow the NemoClaw PR template. Use when the user wants to create a new PR, submit code for review, open a pull request, or push changes for review. Trigger keywords - create PR, pull request, new PR, submit for review, open PR, push for review.

中文简介正在准备中。当前显示原文说明。

composio-community/nemoclaw-composio22026年4月30日 更新

Scan recent git commits for changes that affect user-facing behavior, then draft or update the corresponding documentation pages. Use when docs have fallen behind code changes, after a batch of features lands, or when preparing a release. Trigger keywords - update docs, draft docs, docs from commits, sync docs, catch up docs, doc debt, docs behind, docs drift.

中文简介正在准备中。当前显示原文说明。

composio-community/nemoclaw-composio22026年4月30日 更新

Runs the daytime maintainer loop for NemoClaw, prioritizing items labeled with the current version target. Picks the highest-value item, executes the right workflow (merge gate, salvage, security sweep, test gaps, hotspot cooling, or sequencing), and reports progress. Use during the workday to land PRs and close issues. Designed for /loop (e.g. /loop 10m /nemoclaw-maintainer-day). Trigger keywords - maintainer day, work on PRs, land PRs, make progress, what's next, keep going, maintainer loop.

中文简介正在准备中。当前显示原文说明。

composio-community/nemoclaw-composio22026年4月30日 更新

Runs the end-of-day maintainer handoff for NemoClaw. Checks version target progress, bumps stragglers to the next patch version, generates a QA handoff summary, and cuts the release tag. Use at the end of the workday. Trigger keywords - evening, end of day, EOD, wrap up, ship it, cut tag, handoff, done for the day.

中文简介正在准备中。当前显示原文说明。

composio-community/nemoclaw-composio22026年4月30日 更新

Finds open GitHub PRs with security and priority-high labels, links each to its issue, detects duplicates (multiple PRs fixing the same issue), and presents a table of review candidates. Use when looking for the next PR to review. Trigger keywords - find pr, find review, next pr, pr to review, duplicate pr, security pr.

中文简介正在准备中。当前显示原文说明。

composio-community/nemoclaw-composio22026年4月30日 更新

Runs the morning maintainer standup for NemoClaw. Triages the backlog, determines the day's target version, labels selected items, surfaces stragglers from previous versions, and outputs the daily plan. Use at the start of the workday. Trigger keywords - morning, standup, start of day, daily plan, what are we shipping today.

中文简介正在准备中。当前显示原文说明。

composio-community/nemoclaw-composio22026年4月30日 更新

查看 composio-community 的全部技能

报告此技能的问题