Command Palette

Search for a command to run...

Назад к скиллам
скилл № 39680

pan-release

Overdeck-specific stable vs canary release workflow from main

БесплатноБез исполняемых скриптов
eltmonот eltmon★ 36 звёзд на GitHub

Установить pan-release в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Overdeck Release Workflow

Use this skill when the user asks how to release Overdeck, whether they should use a develop branch, or how stable vs canary publishing works.

Core policy

Overdeck develops directly on main.

main is the active development branch, not the stable channel by itself. A release only happens when someone intentionally cuts and pushes a tag.

Do not recommend GitFlow or a long-lived develop branch unless the user explicitly asks for a different workflow.

Release channels

Stable

  • Version format: X.Y.Z
  • Tag format: vX.Y.Z
  • npm dist-tag: latest
  • GitHub Release: normal release

Canary

  • Version format: X.Y.Z-canary.N
  • Tag format: vX.Y.Z-canary.N
  • npm dist-tag: canary
  • GitHub Release: prerelease

Preferred operator flow

Every stable release checks the pending changelog entries and ends with a clean-install check. Neither step is optional, though the public changelog itself is left unchanged when there are no pending entries or the target version's block already exists (a retag).

  1. Check the pending entries. Run ls changelog.d and fix any wording you want to change, in a normal commit, before releasing. pan release stable folds every entry file into a dated <Update> block at the top of changelog.mdx and deletes the entry files in the release commit, unless there are no entries or a block for the target version already exists, in which case it leaves changelog.mdx unchanged and still releases; it refuses to proceed on a malformed entry, a misnamed file, or a leftover Upcoming block, and pan release canary never folds. Details: docs/RELEASING.md, "Update the public changelog". Both pan release stable and pan release canary also stamp the @overdeck/core pins under integrations/.

  2. Run:

    pan release check
    
  3. Create a stable or canary release:

    pan release stable --version 0.7.1
    pan release canary --version 0.8.0-canary.1
    
  4. Push intentionally:

    git push origin main
    git push origin v0.7.1
    
  5. Verify a clean install after npm shows the new version. Run the advertised launch command with an empty cache and an empty global prefix, so a global install on this machine can't hide a broken package:

    T=$(mktemp -d); cd "$T"
    npm_config_prefix="$T/prefix" npx --yes --cache "$T/cache" @overdeck/[email protected] --version
    

    It must print X.Y.Z. If npm fails (for example reading 'edgesOut' or EUNSUPPORTEDPROTOCOL), the release is broken for every new user: fix it and ship a patch release the same day.

    If the npm job instead failed with ::error::<pkg>@<version> is not visible on npm, the version is most likely staged (PAN-5595): npm accepted it but holds it back until a maintainer approves it. Confirm it with npx --yes npm@11 stage list <pkg> and npx --yes npm@11 stage view <stage-id>, and approve only the stage id whose output shows that exact package and version, with npx --yes npm@11 stage approve <stage-id> (2FA, npm 11.15 or later). You can also approve under Staged Packages in your npmjs.com account settings. If no staged entry for that version exists, check registry visibility instead of approving. Then re-run the failed npm job. Never publish the same version again. See docs/RELEASING.md for details.

What the CLI does

pan release stable and pan release canary:

  • validate the version format
  • require release-from-main
  • require a clean working tree
  • run preflight verification
  • update package.json
  • create a release commit
  • create an annotated tag
  • print push commands instead of pushing automatically

Publishing (how a pushed tag actually ships)

Pushing a vX.Y.Z tag triggers .github/workflows/release.yml, which publishes @overdeck/core, @overdeck/contracts, and @overdeck/desktop to npm and cuts the GitHub Release with desktop binaries — automatically. There is no manual npm publish, no token, and no OTP:

  • CI authenticates via npm Trusted Publishing (OIDC) — the workflow's id-token: write plus a Trusted Publisher configured on each package. The publish steps are retry-safe (skip a package if that version already exists) and wait up to 20 minutes for the version to become visible on npm, failing with approval instructions if npm holds it as staged (PAN-5595).
  • Do NOT add registry-url or a NODE_AUTH_TOKEN to the npm job's setup-node. registry-url writes a dummy _authToken into .npmrc that shadows OIDC and makes npm publish fail with a 404. (This broke the v0.30.0/v0.30.1 publishes; removing it was the fix.)

Prerequisites that must stay true or publishing breaks:

  • Each @overdeck/* package has a Trusted Publisher on npmjs.com (GitHub Actions · eltmon/overdeck · release.yml).
  • No workspace:* in runtime dependencies — bundled workspace packages
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

  1. 01Bash
  2. 02Read

FAQ

Что делает скилл pan-release?

Overdeck-specific stable vs canary release workflow from main

Как установить скилл pan-release?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pan-release запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pan-release с