Loading...
Loading...
Automates npm release workflows using changesets. Creates a changeset (default patch), fixes lint/test/typecheck/format issues, commits and pushes, watches CI via the Monitor tool, finds and merges the Version Packages PR opened by changesets/action, and watches the release workflow to completion. Use when the user asks to ship, release, publish, autoship, or cut a release for an npm package.
npx skill4agent add mblode/agent-skills autoship| File | Read when |
|---|---|
| Creating a changeset, fixing quality issues, or committing and pushing |
| Watching CI with the Monitor tool, diagnosing failures, or handling retries |
| Searching for the Version Packages PR, merging it, or watching the release workflow |
| Intent | Steps | Notes |
|---|---|---|
| Full autoship (ship / release / publish) | 1 through 5 | Default entry point. Runs end-to-end through publish without intermediate prompts |
| Create changeset only | Step 1 | Stage a release without pushing |
| Fix quality and push | Steps 1-2 | Changeset + fixes + commit, no CI watch |
| Watch CI only | Steps 3-5 | When changes are already pushed |
| Merge version PR only | Steps 4-5 | When CI already passed. Auto-merges once preconditions are met |
GREEN -- execute directly:gh run listgh run viewgh pr listgh pr checksnpm viewpackage.jsongit loggit statusYELLOW -- announce then execute:npm run changesetgit add/commit/pushMonitorgh pr mergechangesets/actionRED -- explicit confirmation required:Autoship progress:
- [ ] Step 1: Create changeset (default patch)
- [ ] Step 2: Fix lint, types, tests, format
- [ ] Step 3: Commit + push changeset (do NOT run `changeset version`)
- [ ] Step 4: Monitor CI and find/merge the Version Packages PR
- [ ] Step 5: Watch release workflow to completionreferences/changeset-and-commit.mdls .changeset/*.md 2>/dev/null | grep -v README.mdpatchminormajorgit log --oneline -10references/changeset-and-commit.mdpackage.json--fixprettier --writenpx changeset versionchangesets/action.changeset/*.mdreferences/ci-polling.mdreferences/version-pr-and-publish.mdMonitorcompleted/loopcompletedgh run rerun <id> --failedchangeset-release/mainMonitorchangeset-release/mainstate: completedconclusion: successmergeable: MERGEABLECONFLICTINGUNKNOWNgh pr merge <number> --squash --delete-branchreferences/version-pr-and-publish.mdreferences/ci-polling.mdchangesets/actionpublish:changeset publishrelease.ymlnpm-publish.ymlpublish.yml.github/workflows/Monitormainnpm view <package> versionMonitornpm publishmajorsleep 30ghnpx changeset versionchangesets/actionCHANGELOG.mdpackage.jsonversion