Command Palette

Search for a command to run...

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

autoship

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

Runs a changesets npm release through the version PR, CI publish, and registry verification. Use when asked to "release this package", "autoship", "merge…

mblodeот mblode★ 230 звёзд на GitHub

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

Autoship

Drive an npm release end to end: changeset, fix loop, push, CI watch, Version Packages PR merge, publish watch, npm verification.

  • IS: the full release pipeline for an existing changesets-based npm package, from writing the changeset file to confirming the new version on the registry, plus diagnosing why a release run did not version or publish.
  • IS NOT: opening a feature PR (use pr-creator), monitoring a feature PR for reviews, conflicts, or CI (use pr-babysitter), general build or type fixes outside a release flow, or scaffolding a new package (use scaffold-cli, which hands off to autoship for the first release).

The Release Loop

One workflow, two successive runs. Misreading it as two workflows causes most autoship mistakes.

  1. Push a commit containing a pending .changeset/*.md file to the default branch.
  2. The release workflow runs: changesets/action sees pending changesets, runs changeset version in CI, and opens or updates a PR on branch changeset-release/<default-branch> (title "Version Packages", suffixed "(next)" in pre mode) carrying the package.json bump and CHANGELOG.md entry.
  3. Merge that PR once every check is green.
  4. The same workflow runs again. With no pending changesets left, the action runs its publish script (changeset publish), which publishes to npm and, by default, pushes the git tag and creates a GitHub release.

The local job ends at "push the changeset file". CI owns versioning and publishing.

The action has two live majors with different input names: @v1 takes publish:, @v2 takes publish-script:. Read the uses: line before diagnosing a run that versioned but never published.

Reference Files

File Read when
references/changeset-and-commit.md Steps 1-3: writing the changeset file, discovering and running gates non-interactively, staging the release commit
references/ci-polling.md Step 4 and Step 5 watches: the Monitor tool, the commit watch script, failure classification, the Changeset Status check
references/version-pr-and-publish.md Once CI is green: workflow shape, finding and merging the Version Packages PR, the publish run, npm verification, publish failure diagnosis
evals/evals.json Only when changing this skill; never loads during a release

Intent Map

Intent Steps Notes
Full autoship (ship / release / publish) 1-5 Default entry point. End to end through publish, no intermediate prompts
Create changeset only 1 Stage a release without pushing
Fix gates and push 1-3 Changeset, fixes, commit, no CI watch
Watch CI only 4-5 Changeset already pushed
Merge Version Packages PR only 4b-5 CI already green; merges once preconditions hold
Fix gates only 2 Inside a release flow; no changeset needed
Diagnose a release that did not publish read-only references/version-pr-and-publish.md (PR-wait timeout checks, publish failure table)

"Ship it" with no npm release context routes to pr-creator.

Safety Tiers

Invoking autoship is standing consent for the full release flow. Do not pause mid-flow to re-confirm; gate risky steps on objective preconditions instead.

  • Green (execute directly): reads: CI and PR state, npm view, pending changesets, package.json scripts, git history and status.
  • Yellow (announce in one line, then execute): writing changeset files, running lint/type/test/format fixers, git add/commit/push, starting watches, and merging the Version Packages PR once its identity is confirmed and every check passes.
  • Red (explicit confirmation required): force-pushes, history rewrites, repository settings changes, any destructive git operation.

Workflow

Copy this checklist to track progress:

Autoship progress:
- [ ] Step 1: Create changeset (default patch)
- [ ] Step 2: Fix lint, types, tests, format
- [ ] Step 3: Commit and push the changeset
- [ ] Step 4a: Watch CI on the pushed commit
- [ ] Step 4b: Find and merge the Version Packages PR
- [ ] Step 5: Watch the publish run, verify on npm

Step 1: Create changeset (default patch)

  • Load references/changeset-and-commit.md.
  • Inspect pending changesets and their package coverage. Reuse those covering the requested release; add one only for uncovered changes. Ask only if unrelated pending releases make the publish scope ambiguous.
  • Default to patch; minor or major only on explicit user instruction.
  • Write the file directly (the interactive prompt needs a TTY); the summary is user-facing changelog text inferred from git log --oneline -10.
  • pnpm changeset status validates the file: a misspelled package name fails here instead of in CI.

Step 2: Fix lint, types, tests, format

  • Discover commands from package.json scripts (check, lint, typecheck, test, format, fix); in non-Node repos check Makefile, Cargo.toml, pyproject.toml, go.mod.
Полный SKILL.md на GitHub

Установить autoship в Claude Code и Claude Desktop

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

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

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

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

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

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

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

evals/evals.jsonreferences/changeset-and-commit.mdreferences/ci-polling.mdreferences/version-pr-and-publish.md

FAQ

Что делает скилл autoship?

Runs a changesets npm release through the version PR, CI publish, and registry verification. Use when asked to "release this package", "autoship", "merge Version Packages", or diagnose a release that did not publish.

Как установить скилл autoship?

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

Скилл autoship запускает скрипты?

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

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

Сравнить autoship с