Command Palette

Search for a command to run...

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

cut-release

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

Use to ship a new version (tag and GitHub Release)

Chemaclassот Chemaclass★ 31 звезда на GitHub

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

cut-release

Cuts a new release of agnostic-ai. The release commit carries the version, exact changelog, and one public release briefing. GoReleaser publishes artifacts and the GitHub Release once the tag is pushed. Pages publishes the briefing from the same commit on main.

Scope

Use this workflow when the user asks to publish a new version. A request to prepare release material stops before pushing or tagging; preserve any narrower scope from the user. On later release authorization, inspect the prepared version, changelog, briefing, and working changes, then resume at the first incomplete step. Preserve recognized release edits; do not repeat the changelog rollover. Reuse checks only while their inputs remain unchanged.

Steps

  1. Confirm main and a clean working tree for a new release, then git pull --ff-only. For resumed preparation with uncommitted release edits, fetch and inspect remote changes without discarding that work; reconcile an advanced base before validation.

  2. Use the requested version, or select the next version from the changes since the last tag (git log --oneline <last-tag>..HEAD). Check diffs and migration notices as well as commit types; the changelog groups by scope, not kind:

    • patch: bug fixes only
    • minor: additive features
    • major: breaking changes after v1.0; while on 0.x, use a minor release with explicit breaking notes, as required by spec-migration
  3. Run make release-prepare VERSION=vX.Y.Z (add DATE=YYYY-MM-DD for another day). scripts/release-prepare.sh refuses a branch other than main and edits outside the release files, then:

    • folds changes/*.md into ## [Unreleased], adding the pull request number from the commit that added each file to bullets that cite none;
    • moves ## [Unreleased] into ## vX.Y.Z - DATE without empty headings;
    • on vX.Y1.0 (v0.101.0, v0.111.0), moves the sections before vX.Y0.0 to docs/CHANGELOG-archive.md and updates both "Releases before" lines;
    • bumps cmd/agnostic-ai/main.go, docs/site/config.toml and the requires and $schema tag in agnostic-ai.yaml;
    • runs make size-budget and scripts/signals-shipped.sh;
    • writes docs/site/content/updates/DATE-vX.Y.Z.md with its front matter filled and TODO in each prose field.

    A rerun skips the steps already done and keeps the first date, so rerun it to resume after a failure.

  4. Curate the dated section with the layout and entry rules in .agnostic-ai/agents/changelog-curator.md. Condensing keeps every #NNN. A path, flag, or case it drops must already be on the docs page or in the PR; if it is not, add it to the docs, not back to the bullet.

    Review git diff -- scripts/target-audit/signals.tsv. The dates were set before curation, so clear a newly set date when its issue left the section or a line only mentions the issue without delivering support.

  5. Write the briefing prose and replace every TODO. Read and follow references/release-briefing.md: a short title that names the user value, exactly three signals for the updates page panel, Highlights first, required upgrade actions only, at most four "What changed" groups, one target line per tool with the verification method stated once, and about 600 words.

    Then run make release-check VERSION=vX.Y.Z. It fails on a bullet over 160 characters, more than five bullets under one heading, an empty heading, or a TODO left in the briefing, and on any signal count other than three or a signal title over 40 or summary over 120 characters.

  6. Validate the completed release tree before committing. Follow the generation checks for project source specs in repository-root docs/internal/contributing.md, section "Choose checks for your change", then run make ci-local and make site-build site-test. Check each command's own exit code, never through a pipe, and refuse to proceed on any failure.

    preflight covers formatting, lint (including govet), and Go tests. A release also needs race tests, the WASM build, schema drift, spec lint, shell tests, binary size, and editor checks. ci-local runs those checks with the JetBrains condition below. Inspect skipped site tests; a successful exit with missing required coverage does not satisfy the gate.

    The JetBrains plugin runs only when editors/jetbrains/ changed since origin/main; FORCE_JETBRAINS=1 runs it anyway. SKIP_JETBRAINS=1 exists for machines without Java or access to the Gradle distribution. If you use it, say so in the release report: that job was not gated locally.

    ci-local tests on this machine's OS alone. Step 8 checks the exact release commit across all three OSes. The plugin version-bump job is PR-only; if the plugin changed since the last release, confirm that its PR check passed.

  7. Confirm the version file, site version, project config pin

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

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

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

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

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

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

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

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

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

references/release-briefing.md

FAQ

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

Use to ship a new version (tag and GitHub Release)

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

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

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

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

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

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