Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

release-extension-safely

БесплатноБез исполняемых скриптовНе проверен

Audit a pending OpenBot Chrome extension release for hazards before a release tag sends it to the Chrome Web Store, and run the Release browser extension…

nightly-labsот nightly-labs★ 13 288 звёзд на GitHub

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

Release the extension safely

Chrome updates each installed copy of the extension by itself, a few hours after the store approves a version. Users do not choose the time and cannot go back. A hazard that ships reaches every user:

  • A new permission with a warning disables the extension for every user until each user accepts it on chrome://extensions. Many users never do.
  • A renamed chrome.storage.local key or a decoder that refuses the old shape signs users out or loses their settings. There is no read path back.
  • The extension speaks the Team API to hosts that you do not update, and calls the production account service, which may not have the new route yet.
  • The store accepts each version only once, and only if it is higher than the last one.

Each release tag publishes the extension automatically: .github/workflows/release-extension.yml builds the zip from the tag and submits it to the store with automatic publish (Browser extension). Its script stops on a dev build, a source map, a wrong version and new permissions or match patterns (gate B). It cannot see gates C, D and E. Run this audit before the release tag that carries an extension change, so that a hazard stops the tag and not the users.

What this skill does and does not do

  • It audits. When the automatic run stopped, it starts the workflow by hand on the tag (Step 3).
  • It does not bump the version, push a tag or deploy the account service. It sets allow_new_permissions or replace_pending only when the developer says so.
  • It does not run bun run check, bun run test, bun run lint or bun run typecheck. Run only bun run typecheck:extension, the extension build, and the checks that a gate names.
  • It does not run bun run dev:seed, dev:reset or pkill -f.

Subagents and models

Give each triggered gate to its own subagent when the range is large. Set the model on each spawn.

Tier Claude Code Tasks
Strong the session model Step 1 residue, gates B, C and D, the Step 4 verdict
Medium sonnet gates E and F
Small haiku gate A, Step 3, git grep inventories

Check the evidence of each report before you accept it. A "no hit" passes only when the command can still find a hit (see Step 2).

Step 1 — find the range, then account for every file in it

The manifest version is the root package.json version, so each store version is the version of a desktop release tag v<version>.

git status --porcelain
git fetch --tags origin
git tag --list 'v*' --sort=-v:refname | head -1

Stop if the tree is not clean.

Read the last version that the store published from the public package. Do not guess it: no tag records it.

curl -sSL -o /tmp/openbot-public.crx \
  'https://clients2.google.com/service/update2/crx?response=redirect&prodversion=142.0&acceptformat=crx3&x=id%3Deggdpikcggoicfcfdpdihfkinajchpfj%26uc'
unzip -p /tmp/openbot-public.crx manifest.json | jq -r .version

The range is v<last published>..v<new version>. The new version must be a released tag that contains apps/browser-extension; build from the tag only.

First store release. When the store has no published version, there is no installed user and no range. Gate C is not triggered. Gates B, D and E check the full manifest and code of v<new> instead of a diff: each permission needs a dashboard justification, and each account route must exist in production.

git diff --name-status v<last>..v<new> -- apps/browser-extension packages/contracts packages/team-client \
  packages/i18n packages/ui packages/brand packages/telemetry package.json bun.lock PRIVACY.md \
  .github/workflows/release-extension.yml

Then find what the extension imports from outside these paths, and add it:

git grep --no-color -h -o -E "from \"(@openbot/[a-z0-9-]+|\.\./\.\./[^\"]+)" -- apps/browser-extension | sort -u

Route each changed file to a gate, or dismiss it with a reason that you can state. packages/ui and packages/i18n changes that are only visual or text are dismissed with "UI only". Stories and docs are not in the zip. Report the count of files that you could not account for.

Step 2 — the gates

Report each gate as pass, stop, needs a human or not triggered. Never drop a gate.

Some checks pass when a command prints nothing. Before you trust that, run the same command over a range or a file that you know has a hit.

A. Version and build

Always triggered.

  • v<new> > v<last> in semver. Equal is a stop: the store refuses it.

  • apps/browser-extension/vite.config.ts still takes version from the root package.json.

  • The production build is correct. Build it from the tag in a clean state and read the manifest:

    git switch --detach v<new>
    bun run --cwd apps/browser-extension build
    jq '{name, version, host_permissions, permissions, externally_connectable, co
    
Полный SKILL.md на GitHub

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

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

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

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

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

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

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

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

Audit a pending OpenBot Chrome extension release for hazards before a release tag sends it to the Chrome Web Store, and run the Release browser extension workflow by hand when the automatic run stopped. Use when asked to release, publish, upload or submit the browser extension, to make the Chrome Web Store zip, or to check whether an extension change is safe to ship.

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

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

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

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

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

Сравнить release-extension-safely с