Command Palette

Search for a command to run...

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

a2ui-release-python

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

Releases the Python SDKs (a2ui-core, a2ui-agent-sdk, a2ui-a2a, a2ui-adk) to PyPI by running preflight checks, dispatching the release workflow as a dry run…

a2ui-projectот a2ui-project★ 19 155 звёзд на GitHub

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

Releasing the A2UI Python SDKs

This skill turns a one-line request such as "release a2ui-core patch" or "release the Python SDKs" into the full release sequence.

Publishing is done by the Release Python SDKs workflow. This skill does not reimplement any of it. Its job is the part the workflow cannot do for itself: choosing the bump, catching the problems that a workflow run would discover too late, and following through afterwards.

Background for anything not covered here: docs/contributing/release/release.md.

[!CAUTION] Publishing to PyPI is irreversible. A version can be yanked but never reused or deleted. Step 5 is a mandatory stop. Never dispatch a run with dry_run: false without an explicit go-ahead from the maintainer in the current conversation.

What runs where

The workflow performs the release. Nothing here does. Building, tagging, pushing tags, staging in the Artifact Registry and triggering the Exit Gate all happen inside release-pypi.yml, and only there. It could not be otherwise: the Exit Gate authenticates by matching the OIDC claim …/release-pypi.yml@refs/heads/main, so a local upload has no credentials to use.

Run locally Run by the workflow
release_version.py notes release_version.py plan (authoritative)
release_version.py plan (preview only) release_version.py check
release_version.py check (preview only) release_version.py cut-changelog
gh workflow run, gh run view, gh pr list release_artifacts.py, confirm_pypi.py
uv build, twine upload, git tag, git push

The local calls are limited to the read-only subcommands notes, next, current, tag, plan and check. They exist to answer two questions before spending a CI run: is there anything to release, and will preflight reject it.

[!IMPORTANT] A local plan is a prediction, not the release. It is computed from the tags in the local checkout, so it is only as current as the last fetch — which is why Step 2 fetches first. The plan the workflow computes is the one that counts, and Step 4 reads it back out of the run before anyone approves it.

Never run cut-changelog --write, git tag, git push, uv build or twine by hand to perform a release. If the workflow cannot do it, fix the workflow.

[!IMPORTANT] One exception, and it is deliberate: the changelog pull request has to be opened by a person, not by the workflow. GitHub does not start workflow runs for events caused by GITHUB_TOKEN, so a pull request the workflow opened would never get the required checks and could never be merged. The workflow pushes the branch; Step 7 opens the pull request.

Step 1: Check environment prerequisites

Check that your local environment meets these prerequisites before proceeding. The preflight check in Step 3 (release_version.py check) also validates these automatically and stops with an Action needed: message for each one that fails. They are skipped in GitHub Actions, where they do not apply.

  1. An a2ui checkout. Run from your clone of a2ui-project/a2ui. The script finds the repository root itself, so a subdirectory works (it warns), but the commands below use paths relative to the root.

  2. Python 3.11+. The script reads pyproject.toml with the standard library tomllib. If your system python3 is older, run it through the project toolchain instead: uv run python .github/scripts/release_version.py ....

  3. GitHub CLI (gh), installed, authenticated with github.com, and with write access to a2ui-project/a2ui. It dispatches and watches the workflow and opens the changelog pull request.

  4. Git identity. git config user.name and git config user.email must be set, so the changelog commit and pull request pass CLA verification.

  5. A remote that points at a2ui-project/a2ui. It may be called origin in a direct clone or upstream beside a fork; the script finds it by URL. The commands below call it ${REMOTE}:

    REMOTE=$(git remote -v | awk '/a2ui-project\/a2ui(\.git)?\/? \(fetch\)/ {print $1; exit}')
    

Step 2: Work out what is being released

Two things are needed: PACKAGE and BUMP (patch, minor, or major). PACKAGE names the packages to release, either as a comma-separated list of package names or as all:

  • One package: a2ui-agent-sdk
  • Several packages: a2ui-a2a,a2ui-adk
  • Every package: all (a2ui-core, a2ui-agent-sdk, a2ui-a2a, a2ui-adk)

The workflow publishes the listed packages in depende

Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Releases the Python SDKs (a2ui-core, a2ui-agent-sdk, a2ui-a2a, a2ui-adk) to PyPI by running preflight checks, dispatching the release workflow as a dry run, confirming with the maintainer, publishing, and following the changelog pull request through to merge. Use when asked to cut, publish, or release a Python SDK version.

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

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

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

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

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

Сравнить a2ui-release-python с