Skip to content
Back to skills

Release

ASecurity

Cut a release for Tempest. Reads CHANGELOG.md, suggests a version, updates the changelog, tags, pushes, and verifies the GitHub release. Use when the user says "cut a release", "make a release", "release", or "tag a release".

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 29, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add MattFlower/tempest --skill release --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mattflower-release/badge)](https://www.skillsdirectory.com/skills/mattflower-release)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release
description: Cut a release for Tempest. Reads CHANGELOG.md, suggests a version, updates the changelog, tags, pushes, and verifies the GitHub release. Use when the user says "cut a release", "make a release", "release", or "tag a release".
allowed-tools: Bash, Read, Edit, AskUserQuestion
---

# Release Skill

Cut a new release for Tempest. Follow these steps exactly.

## Step 1: Determine the version

1. Check that you are in the main checkout, not a git worktree: if `git rev-parse --git-dir` and `git rev-parse --git-common-dir` print different paths, stop. Tell the user to run the release from the main checkout. In a worktree, the jj and git checks in Step 5 both fail, and `jj root` points at the main checkout's working copy.
2. Read `CHANGELOG.md` and review the items under the `## Unreleased` section.
3. If the Unreleased section has no meaningful entries (only empty headings), stop and tell the user there is nothing to release.
4. Based on the scope of changes, suggest a version number following semver. Show the user the summary and your suggested version.
5. Ask the user to confirm or provide a different version number. Do not proceed until confirmed.

## Step 2: Determine today's date

Run `date +%Y-%m-%d` to get today's date. Do not guess or hardcode the date.

## Step 3: Update CHANGELOG.md

1. Replace `## Unreleased` with `## [VERSION] - YYYY-MM-DD` (using the confirmed version and today's date). Under that heading, delete any `###` subsection that has no entries.
2. Above the new version heading, add a fresh Unreleased section with empty subsections, so `## Unreleased` stays at the top of the changelog:

```
## Unreleased

### Added

### Fixed

### Changed

### Removed
```

3. Verify the edit looks correct by reading the first 25 lines of CHANGELOG.md.

## Step 4: Update the app version

Update the version number in both places it appears:

1. **`electrobun.config.ts`** — change the `version` field in the `app` object to the new VERSION.
2. **`src/bun/pty-manager.ts`** — change the `TERM_PROGRAM_VERSION` value to the new VERSION.

Use the Edit tool for both changes.

## Step 5: Detect VCS and commit

1. Check whether the repo uses jujutsu or git:
   - If `.jj` directory exists: use jj commands
   - Else if `.git` directory exists: use git commands
   - **NEVER use git commands for commits, bookmarks, or branches in a jj repo.**

2. For **jujutsu** repos:
   ```
   jj describe -m "Release VERSION"
   jj new
   jj bookmark set main -r @-
   jj git push
   ```

3. For **git** repos:
   ```
   git add CHANGELOG.md electrobun.config.ts src/bun/pty-manager.ts
   git commit -m "Release VERSION"
   git push
   ```

## Step 6: Tag the release

1. For **jujutsu** repos:
   ```
   jj tag set vVERSION -r main
   ```
   Then push the tag via git (jj has no tag push support):
   ```
   git push origin vVERSION
   ```

2. For **git** repos:
   ```
   git tag -a vVERSION -m "Release VERSION"
   git push origin vVERSION
   ```

## Step 7: Verify the release workflow

1. Wait a few seconds, then check for the triggered workflow:
   ```
   gh run list --repo MattFlower/tempest --limit 3
   ```
2. Find the Release Build run triggered by the tag push and watch it:
   ```
   gh run watch RUN_ID --repo MattFlower/tempest --exit-status
   ```
   Run this in the background with a 10-minute timeout.

3. When the run completes:
   - If **success**: verify the GitHub release exists with `gh release view vVERSION --repo MattFlower/tempest` and report the URL to the user.
   - If **failure**: fetch logs with `gh run view RUN_ID --repo MattFlower/tempest --log-failed` and report the error to the user.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.