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★ 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'sship-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.Zagrees in all five places: branchrelease/vX.Y.Z, tagvX.Y.Z, the version file (pyproject.toml/package.json), the## [X.Y.Z] - YYYY-MM-DDheading 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_EPOCHpinned, 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.mdinside 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=succeededmeans "no conflicts", not "merged". A PR shows it while still active. - Retarget and description are separate PATCHes. Sending
targetRefNameand `descrip
Установить ship-tag в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic