Index of every page on this site: llms.txt
All skills
shpigford avatar

/release

@1befd12
by Josh Pigfordshpigford/nurb654 stars
64
Run it yourself

Cut a full nurb release, one version across the engine and the desktop app. Bumps every version and workspace pin and writes the changelog into one release PR, riding the current branch when work is in flight, then after the merge runs the desktop build and uploads the DMGs and the update feed to GitHub Releases. Use when the user says "release", "cut a release", "ship it as X.Y.Z", or "push a release".

Requires /changelog
Use this Skill: https://skilld.dev/gh/shpigford/nurb/release

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈104 tokens for metadata: the name and description. ≈1.6k when used: this file.

Description uses 5.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈416 characters, or 5.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Releasing nurb

One release ships everything under one version: the signed DMGs, the in-app update feed, and the site changelog. The engine is not published on its own; the app bundles its wheel, so the vX.Y.Z GitHub release carries the DMGs and the updater archives, and the rolling desktop-latest prerelease carries the latest.json installed apps poll. This skill runs the whole ceremony. The one human act left in it is merging the bump PR, and that merge is the user approving the release.

Step 0: Preflight

All of these must pass before touching anything. If one fails, say which and stop.

gh auth status
test -f desktop/.env
test -f ~/.tauri/nurb-desktop.key
security find-identity -v -p codesigning | grep -q "Developer ID Application"
command -v shlock
git fetch origin main --tags

The updater key check matters most: without ~/.tauri/nurb-desktop.key shipped apps cannot update, and generating a fresh key would strand every existing install. If it is missing, stop and tell the user; never regenerate it. The gh login must be able to write to Shpigford/nurb; the script checks that before it builds.

Start from up-to-date origin/main. One PR is the release: if the current branch has work in flight, the bump and changelog ride that branch and its PR becomes the release PR. Only cut a fresh branch when the workspace is clean and the release is just collecting already-merged work.

Step 1: Pick the version

If the user named a version, use it. Otherwise decide and propose one: read what's merged since the last tag, recommend a minor bump for new capabilities and a patch for fixes-and-polish-only, and say why in one line. The PR is the proposal; merging it is the user's yes.

gh release list --limit 5
gh pr list --state merged --base main --limit 50 --json title,mergedAt

Versions are PEP 440 in engine/pyproject.toml and SemVer everywhere else: 1.0.0a1 there is 1.0.0-alpha.1 in the app. A prerelease such as 1.0.0b1 is 1.0.0-beta.1 in the app, and its git tag keeps the PEP 440 spelling (v1.0.0b1).

Step 2: The release PR

Three shipped versions and the two exact workspace pins move together; tests enforce the whole set:

cd engine && uv version X.Y.Z

then, using the SemVer spelling:

  • version in desktop/src-tauri/tauri.conf.json
  • version in packages/ui/package.json
  • @nurb/ui in desktop/package.json
  • @nurb/ui in packages/workbench/package.json

Run npm install --package-lock-only at the repository root after those edits, so package-lock.json records the new package version and both pins. A stale exact pin makes a clean npm ci look for the unpublished package on npm instead of linking the workspace.

Then write the changelog into the same PR: run /changelog for the pending version. Pre-merge there is no tag yet, so it draws from the PRs merged since the last tag plus this branch's own changes, dated today.

Refresh the site's hero in the same PR: npm run site:hero --workspace packages/ui. It draws the hero sheet in packages/ui/gallery/sheets.tsx from the components the app ships and writes site/app.jpg, so nurb.app shows the app as it is in this release. Look at site/app.jpg before committing it. If the part, the conversation or the numbers on that sheet no longer match what the app does, fix the sheet, not the image.

Prove the agreement before pushing: cd engine && uv run pytest tests/test_version.py -q, then run npm ci --ignore-scripts at the repository root to prove a clean workspace install. Commit the bump, lockfile, changelog and hero images together with a plain-sentence message, push, and open the PR against main with the release summary as the body (what shipped, in user-visible terms). Then stop and hand the merge to the user.

Step 3: After the merge

Check out the merged main, then run the desktop half:

RELEASE_ROOT="${CONDUCTOR_ROOT_PATH:-$(git rev-parse --show-toplevel)}"
git -C "$RELEASE_ROOT" checkout main
git -C "$RELEASE_ROOT" pull --ff-only origin main
(cd "$RELEASE_ROOT/desktop" && scripts/release.sh)

In Conductor, CONDUCTOR_ROOT_PATH selects the repository's main checkout; do not try to check out main inside the workspace worktree because Git already has that branch checked out there.

A fresh worktree has no desktop/node_modules, and the script dies immediately with tauri: command not found. Run npm ci at the repo root first if it is missing.

It can take more than an hour, most of it waiting in Apple's notarization queue, so give a background run the longest timeout available (two hours). If it is killed anyway, rerun it in the same checkout: a build already finished for this version and commit is reused, and a DMG Apple already accepted is stapled rather than submitted again. The work: signed builds for Apple silicon and Intel, notarization, stapling, chain verification, then the v<engine version> git tag pushed to origin, a draft vX.Y.Z release with nurb.dmg, nurb-intel.dmg, both updater archives and their signatures, the release published as Latest, and latest.json uploaded to desktop-latest. The draft keeps the site's download links on the previous release until every file is up. Re-running resumes an unpublished draft; once the release is published or the version is in the feed, it refuses to upload twice, and a missing artifact under a live version is a hard stop rather than an in-place repair. A machine-local lock serializes releases on this Mac, and the feed is rechecked after the build before anything uploads. It needs this Mac; the signing cert and updater key live here by design.

Step 4: Verify, then report

Three probes. The two downloads must return a redirect, and the feed must say X.Y.Z:

curl -sI https://github.com/Shpigford/nurb/releases/latest/download/nurb.dmg | head -1
curl -sI https://github.com/Shpigford/nurb/releases/latest/download/nurb-intel.dmg | head -1
curl -sL https://github.com/Shpigford/nurb/releases/download/desktop-latest/latest.json | python3 -c "import json,sys; print(json.load(sys.stdin)['version'])"

Report with the release URL and what is now true: desktop users see the one-click update at next launch, new downloads from the site carry the new version, and the site's changelog names what changed. If any probe disagrees, say which channel is not live yet instead of calling the release done.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    This skill automates the software release process for the 'nurb' project. It performs standard administrative tasks such as version bumping, changelog generation, and artifact uploading to the author's own GitHub repository. Security checks for signing certificates and updater keys are appropriately scoped to the tool's primary purpose as a release manager.

  • Socket18d

    No alerts

  • Snyk18d

    Risk: MEDIUM · 1 issue

Signed by skilld at 1befd12. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago

README badge

README badge for shpigford/nurb/release