agentleFS
jianghailong-xyjianghailong-xy/orbit/.claude/skills/release/SKILL.md

release

Skill4 starsChanged 2 months agoMITView on GitHub

Cut a release of the Orbit clients by creating and pushing one vX.Y.Z git tag, which triggers BOTH the macOS release (signed + notarized DMG) and the iOS release (TestFlight build) from the same tag. Use whenever someone wants to cut/ship a release, tag a version, push a TestFlight or beta build, or kick off a release build.

  • Commits and pushes

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 172 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    Always cut from main, synced with origin/main: Check out main and pull before tagging.

    line 41
  2. Distinctive:

    If a fix lives only on another branch, merge it into main first — never tag the branch directly.

    line 52
  3. Very specific:

    dmg (macOS): when green, the signed + notarized DMG is in the run's Artifacts and a GitHub Release.

    line 71
  4. Very specific:

    testflight (iOS): when green, the build is uploaded, then needs a few minutes of App Store Connect processing (and a one-time …

    line 72

“Common” is measured: kept by at least 6 in 10 of the 172 edited versions of this file we could read. “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

Cut a release (macOS + iOS from one tag)

A release is a single git tag — vX.Y.Z. Pushing it runs both jobs of .github/workflows/release.yml from that same tag, so one command ships both clients together:

Job (in release.yml)Output
dmgmacOS: signed + notarized DMG, a GitHub Release, and the Sparkle auto-update appcast
testflightiOS: signed .ipa archived and uploaded to TestFlight

The tag is the single source of truth for the version:

  • vX.Y.Z → macOS stable channel (reaches everyone) + an iOS TestFlight build.
  • vX.Y.Z-beta.N → macOS beta channel (only users who enabled "Receive beta updates") + an iOS TestFlight build. The -beta.N suffix is a macOS/Sparkle concept; iOS strips it to a numeric marketing version (v0.2.0-beta.3 → TestFlight 0.2.0), and the build number (commit count) carries the beta iteration on TestFlight.

How to use

  1. Pick the version. release.sh next resolves it from the newest tag — the next beta in the current series, or X.Y.(Z+1)-beta.1 if the newest tag is a stable release. Confirm the resolved version before tagging; pass an explicit version for anything else (a stable release, or opening a new minor).

    git -c versionsort.suffix=-beta tag --list 'v*' --sort=-v:refname | head -1

    A beta belongs to the version it precedes, not the one already out. 0.1.1-beta.2 sorts below 0.1.1, so once X.Y.Z ships stable, its betas are spent — the next beta must open on X.Y.(Z+1). Missing that bump is what left the counter running to 0.1.1-beta.100 on a version that was never released. next handles the bump; if you pass a version by hand, check it sorts above the newest stable tag.

  2. Always cut from main, synced with origin/main. Check out main and pull before tagging. Tagging a feature/session branch — or a main that's behind origin/main — ships a tree that's missing whatever landed on main in parallel, so the release silently drops those features and can revert already-merged fixes. The tag must point at a committed, pushed main tip so both workflows check out the right code. Verify before tagging:

    git rev-parse --abbrev-ref HEAD                     # → main
    git fetch origin && git rev-list --count HEAD..origin/main   # → 0 (nothing on origin/main you're missing)

    If a fix lives only on another branch, merge it into main first — never tag the branch directly.

  3. Run the helper (resolves the repo root itself):

    .claude/skills/release/release.sh next            # next beta after the newest tag
    .claude/skills/release/release.sh 0.2.0           # stable macOS + iOS TestFlight
    .claude/skills/release/release.sh 0.2.0-beta.3    # macOS beta channel + iOS TestFlight

    It validates the version, refuses a dirty tree or an already-used tag (local or remote), creates an annotated vX.Y.Z tag, and pushes it to origin.

  4. Watch the build and report the result. Both jobs run in the one release.yml run:

    gh run watch "$(gh run list --workflow release.yml -L 1 --json databaseId -q '.[0].databaseId')"
    • dmg (macOS): when green, the signed + notarized DMG is in the run's Artifacts and a GitHub Release.
    • testflight (iOS): when green, the build is uploaded, then needs a few minutes of App Store Connect processing (and a one-time export-compliance answer) before it shows up in TestFlight.

Notes

  • Accepted: X.Y.Z (stable) or X.Y.Z-beta.N (macOS beta channel). iOS always ships the numeric X.Y.Z to TestFlight regardless of suffix.
  • One tag fires both jobs — every v* tag also uploads an iOS TestFlight build (two macos-15 runner jobs). To build only one platform, skip the tag and dispatch with the platform input: gh workflow run release.yml --ref main -f platform=macos (or -f platform=ios). A dispatch with no tag builds each client's default version.
  • Required secrets are in the release.yml header:
    • macOS dmg: DEVID_CERT_P12_BASE64, DEVID_CERT_PASSWORD, KEYCHAIN_PASSWORD, APPLE_ID, APPLE_TEAM_ID, APPLE_APP_PASSWORD, SPARKLE_ED_PRIVATE_KEY.
    • iOS testflight: ASC_KEY_ID, ASC_ISSUER_ID, ASC_KEY_P8_BASE64, APPLE_TEAM_ID.
  • To undo a tag pushed by mistake (one run holds both jobs):

    git push origin :refs/tags/vX.Y.Z   # delete remote tag
    git tag -d vX.Y.Z                   # delete local tag
    gh run cancel <run-id>              # stop the release.yml run if it already started

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.