Command Palette

Search for a command to run...

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

ship-tag

БесплатноЗапускает вложенные скриптыНе проверен

Cut, tag and publish versioned releases and build CHANGELOG.md in Keep a Changelog 1.1.0 format: release/vX.Y.Z branch, PR retarget, version bump, annotated…

julianobarbosaот julianobarbosa★ 18 звёзд на GitHub

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

ship-tag

ship gets a change reviewed. ship-tag turns reviewed changes into a release someone else can install: one version string, carried the same way by a release branch, an annotated tag, the version file, the CHANGELOG heading and a published package, each read back from its authority rather than assumed.

Not ship's ship-tag.ts. That script manages PR labels. This skill is about release versions: git tags, release branches, packages and the changelog.

Workflow Routing

Trigger Workflow
"add a changelog entry", "create CHANGELOG.md", "release notes", "backfill the changelog", "lint the changelog" Workflows/Changelog.md
"cut a release", "release branch", "don't merge into main, target a release branch", "bump the version" Workflows/CutRelease.md
"PR merged, tag it", "tag and publish", "publish the tar.gz", "universal package" Workflows/TagAndPublish.md
"merge the release PR, tag and publish" ship: Complete a pull request, then Workflows/TagAndPublish.md with the same PR
"release locally", "no remote", "tag a release without a PR", "cut 1.4.0 on this branch" Workflows/LocalRelease.md

What a finished release looks like

  • One SemVer string X.Y.Z agrees in all five places: branch release/vX.Y.Z, tag vX.Y.Z, the version file (pyproject.toml / package.json), the ## [X.Y.Z] - YYYY-MM-DD heading in CHANGELOG.md, and the package version in the feed.
  • The tag and the package both come from the merge commit of a pull request whose status is completed. Nothing unreviewed carries the version.
  • The artifact was built from that commit in a clean worktree with SOURCE_DATE_EPOCH pinned, and the copy a consumer downloads matches the built file's sha256 and installs.
  • A consumer can act on the package without asking anyone: the feed Description says what changed, how to install and how to run it, and a generated README.md inside the package has the full install, checksum and usage steps.
  • CHANGELOG.md tells users what changed, in the six Keep a Changelog categories, with compare links, and passes Changelog.ts lint --strict.
  • The base branch gets the release back through its own PR, so a release branch never becomes a dead end.

Tools

Run from inside the target repo. No npm dependencies: the tools call git, az and uv with argument arrays, never through a shell.

Tool Does
bun ~/.claude/skills/ship-tag/Tools/Changelog.ts init|add|release|yank|notes|links|lint Create and maintain CHANGELOG.md. add follows the file's own layout; release moves [Unreleased] into a dated version and writes its compare links; links backfills missing ones; lint enforces Keep a Changelog 1.1.0
bun ~/.claude/skills/ship-tag/Tools/ReleaseCut.ts --version X.Y.Z --pr <id> [--bump] Create release/vX.Y.Z from the base tip, land the version bump and changelog release on the PR branch as a fast-forward, retarget the PR, read it all back
bun ~/.claude/skills/ship-tag/Tools/ReleasePublish.ts --version X.Y.Z --pr <id> --feed <feed> Refuse unless the PR completed, tag its merge commit, build the sdist reproducibly, publish a Universal Package, read it back, download and compare sha256, optionally install-test
bun ~/.claude/skills/ship-tag/Tools/ReleaseLocal.ts --version X.Y.Z [--push] No remote or PR flow: one release commit (version files + changelog) and an annotated tag with intact notes on it; optionally push and read back

Compare links come from --repo-url, then origin, then the links a CHANGELOG already has. The release tools take --dry-run (guards and plan, nothing written). Exit code 3 always means "refused by a guard, nothing written". Results are key=value lines on stdout; progress goes to stderr. Tests: bun test ~/.claude/skills/ship-tag/Tools/ runs the unit tests plus integration tests that drive the Azure DevOps path against a bare-repo origin and a stub az.

References

  • References/KeepAChangelog.md: the Keep a Changelog 1.1.0 spec as a local document, with principles, change types, heading grammar, link references, bad practices, FAQ and provenance.
  • References/ChangelogSamples.md: a new file, a real entry reviewed and corrected, a full multi-release file, the spec's own example, and counter-examples.
  • References/Patterns.md: release patterns, anti-patterns and best practices, each tied to what goes wrong without it.
  • References/ReleaseWalkthrough.md: the whole flow on a sample project, from installing the tools to a consumer running the released CLI, including a generated feed Description and README.md.

Gotchas

Each of these was hit in a real release run.

  • Tag and publish only after status=completed. mergeStatus=succeeded means "no conflicts", not "merged". A PR shows it while still active.
  • Retarget and description are separate PATCHes. Sending targetRefName and `descrip
Полный SKILL.md на GitHub

Установить ship-tag в Claude Code и Claude Desktop

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

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

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

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

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

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

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

References/ChangelogSamples.mdReferences/KeepAChangelog.mdReferences/Patterns.mdReferences/ReleaseWalkthrough.mdTools/Changelog.test.tsTools/Changelog.tsTools/Lib.tsTools/Release.test.tsTools/ReleaseCut.tsTools/ReleaseDocs.test.tsTools/ReleaseDocs.tsTools/ReleaseLocal.tsTools/ReleasePublish.tsWorkflows/Changelog.mdWorkflows/CutRelease.mdWorkflows/LocalRelease.mdWorkflows/TagAndPublish.md

FAQ

Что делает скилл ship-tag?

Cut, tag and publish versioned releases and build CHANGELOG.md in Keep a Changelog 1.1.0 format: release/vX.Y.Z branch, PR retarget, version bump, annotated tag on the reviewed merge commit, reproducible tar.gz published as an Azure Artifacts Universal Package, read back and checksum-verified. USE WHEN release, cut a release, version tag, tag vX.Y.Z, release branch, publish package, tar.gz, universal package, changelog, CHANGELOG.md, keep a changelog, release notes, yanked. NOT FOR PR labels or opening PRs (use ship).

Как установить скилл ship-tag?

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

Скилл ship-tag запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить ship-tag с