Skip to content
Skills Library
DevOps & cloud · Automation

release

/release

Release the scratch CLI or the pi package: bump, tag, GitHub release, CI publishes to npm. Use for "release", "publish", "bump version" or "release candidate".

Repository
scratchpad ↗
Licence
MIT
Last repository change
15.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 15.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Release the scratch CLI or the pi package: bump, tag, GitHub release, CI publishes to npm. Use for "release", "publish", "bump version" or "release candidate".

Triggers from the description

releasepublishbump versionrelease candidate

Arguments

/release [cli|pi] [version | rc]
Original author description

Release the scratch CLI or the pi package: bump, tag, GitHub release, CI publishes to npm. Use for "release", "publish", "bump version" or "release candidate".

How it works

  1. Steps
Original SKILL.md headings · 45 lines, 424 words
SKILL.md preview
---
name: release
description: Release the scratch CLI or the pi package: bump, tag, GitHub release, CI publishes to npm. Use for "release", "publish", "bump version" or "release candidate".
argument-hint: "[cli|pi] [version | rc]"
allowed-tools: Read, Edit, Bash(git *), Bash(gh *), Bash(bun *), Bash(npm view *)
---

# Release

The repo ships two packages, each with its own version and tag prefix:

| Package | `package.json` | Tag |
|---|---|---|
| `@nikiforovall/scratchpad` (CLI) | `package.json` | `v<version>` |
| `@nikiforovall/pi-scratchpad` | `pi/package.json` | `pi-scratchpad-v<version>` |

The tag push starts `.github/workflows/release.yml`, the only publisher. It checks the tag against `package.json`, runs the gate, packs with `bun pm pack` and publishes the tarball through npm trusted publishing. A stable CLI release then deploys the docs. Nobody publishes locally.

A version with `-` is a **prerelease**: `rc` means `0.31.0-rc.1`, or the next `-rc.N` when the current version is already one. It goes to the `rc` dist-tag, gets `--prerelease` on GitHub and skips the docs deploy.

## Steps

1. **Package.** From `$ARGUMENTS`, else from what changed since the package's last tag (`git log <last-tag>..HEAD -- <dir>`). Changes under `pi/` release the pi package; everything else releases the CLI. Done when you know which package, or both. Release each one through steps 2 to 7.

2. **Clean tree.** `git status --short` is empty and the branch is `main`. An RC may ship from another branch.

3. **Version.** Suggest one from the commits since the last tag: breaking is major, `feat` is minor, the rest is patch. Confirm it with `AskUserQuestion`, recommended option first.

4. **Gate.** CLI: `bun test`. pi: `bun build pi/extensions/scratch.ts --target=node --packages=external --outfile=<scratchpad>/check.js`. Done when it passes.

5. **Bump and push.** Edit `version` in that package's `package.json`. If `plugins/scratchpad/` changed since the last release, bump `plugins/scratchpad/.claude-plugin/plugin.json` in the same commit.
   ```bash
   git commit -am "🔖 chore(release): scratchpad <version>"   # or pi-scratchpad <version>; add ", plugin <v>"
   git push origin HEAD
   git tag <tag> && git push origin <tag>
   ```

6. **GitHub release.** Group the commits since the last tag of that package under Features (✨), Fixes (🐛) and Other. Describe what changed for a user, not raw commit messages. End with a Full Changelog compare link.
   ```bash
   gh release create <tag> --title "<tag>" --notes "<notes>" [--prerelease]
   ```

7. **Watch the run.**
   ```bash
   gh run list --workflow release.yml --limit 1
   gh run watch <run-id> --exit-status
   ```
   If it fails, fix the cause and run it again from the tag: `gh workflow run release.yml --ref <tag>`. The publish step skips a version that is already on npm. Done when the run is green and `npm view <pkg>@<version> version --prefer-online` prints the version. The registry can take a minute or two. For the CLI, `npm view @nikiforovall/scratchpad@<version> bin` must still list `scratch`.

8. **Report** the release URL, the run URL and the published version for each package.

Versions

RepositoryScoreLicence
This page · nikiforovall/scratchpad100MIT
josephfung/curia100MIT
max-sixty/worktrunk100MIT
gtapps/hermitd100MIT
gtapps/hermitd100MIT
anthony-chaudhary/fak100Apache-2.0
tractorjuice/arc-kit100MIT
drvoss/everything-copilot-cli100MIT
sma1lboy/rove100MIT

Database snapshot: 13.11.2026 · package version d1c17ee6a7a7 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ship-release
    Use when the user asks to release, ship, publish, cut or tag a version of a project ("release v0.2.0", "ship a patch", "bump and publish"). Bumps every version manifest, updates CHANGELOG and README badges, commits, lands it directly or through a pull request (pre-PR check,…
  • 100publish-npm-version
    Cuts the next minor release of Prisma Next: bumps the root package.json version, propagates it to every workspace package, and opens a PR titled "chore(release): bump to <next-version>". When the maintainer merges the PR, the `Publish to npm` workflow runs automatically and…
  • 100release-plugin
    Use when cutting a new version release for the squads Claude Code plugin — version bump, tag, or GitHub release.
  • 100version-release
    Use when bumping version, creating a release tag, or pushing a version tag. Triggers on "version up", "release", "tag push", "bump version".
  • 100commit-push-release
    Commit, push, bump package.json, tag vX.Y.Z, push the tag. CI publishes. Use for /commit-push-release, "commit push release", "release". Must push. Never force-push. No npm/gh publish.
  • 100release-workflow
    Release a new version of Atom-lite to npm and GitHub. Use when asked to release, publish, ship, bump version, cut a release, or prepare a release note/changelog. Covers version bump, gate checks, diff-driven changelog and release notes, tagging, publishing, and verification.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.