Skip to content
Back to skills

Releases

BSecurity

Use when preparing, cutting, verifying or publishing a release, keeping the next release's draft notes up to date as changes merge (the writing skill writes the words), adding checksums, signing or build attestations to release assets, tagging a Claude Code plugin version, or working through what has to happen after a release ships.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 6, 2026
ai-agentsrustgobashtestinggit

Works with

  • claude code

Security analysis

B75/100
  • criticalPipes output to a shell interpreter

Pro scans all 4 files and shows the line behind each finding

Scanned December 6, 2026

npx -y skills add getgithard/githard --skill releases --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Releases?

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

Security grade badge for Releases
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/getgithard-releases/badge)](https://www.skillsdirectory.com/skills/getgithard-releases)

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: releases
description: Use when preparing, cutting, verifying or publishing a release, keeping the next release's draft notes up to date as changes merge (the writing skill writes the words), adding checksums, signing or build attestations to release assets, tagging a Claude Code plugin version, or working through what has to happen after a release ships.
---

# Releases

A release is a promise: these files, built from this commit, do what the notes say. This skill keeps the notes honest as you go, builds a draft nobody has to trust blind, and checks it before anyone publishes.

The reasons behind each step are in `${CLAUDE_PLUGIN_ROOT}/knowledge/lessons.md` (Releases). Write the notes with the `writing` skill.

## Notes as you go

Keep the next release's notes in a draft GitHub release, and add an entry each time a change merges, not the night before:

```sh
gh release view v1.3.0 --json body --jq .body > notes.md   # or start an empty file the first time
# add one line: what changed for the reader, and "thanks @handle" next to an outside contributor's change
gh release edit v1.3.0 --notes-file notes.md || gh release create v1.3.0 --draft --title v1.3.0 --notes-file notes.md
```

Only merged, shipped changes go in. "Almost done" waits for the next release.

## Cut only after the last fix

Before you cut, both of these come back empty:

```sh
gh issue list --milestone "v1.3.0" --state open
gh pr list --search "milestone:v1.3.0" --state open
```

If either doesn't, the release waits, or the open items move to the next milestone with the owner's yes.

## Build a draft

Copy `${CLAUDE_SKILL_DIR}/templates/.github/workflows/release.yml` into the repo and replace its build step with the real build. It only runs when someone starts it (**Actions**, then **Release**, then **Run workflow**). It builds into `dist/`, writes `SHA256SUMS`, attests build provenance for every file, attaches the attestation bundle as `attestation.sigstore.json`, and creates a **draft** release that keeps the running notes. The bundle on the release is what OpenSSF Scorecard's Signed-Releases check looks for, and it lets anyone verify offline with `gh attestation verify FILE --bundle attestation.sigstore.json --repo OWNER/REPO`. It never publishes.

## Check it before anyone publishes

```sh
bash ${CLAUDE_SKILL_DIR}/verify-release.sh OWNER/REPO v1.3.0 \
  --version-cmd '{dir}/mytool --version' --smoke '{dir}/mytool selftest'
```

It downloads the assets (`--pattern '*linux*'` for some of them), checks each against `SHA256SUMS`, `SHA256SUMS.txt`, `sha256sums.txt` or `*checksums.txt`, checks each has a build attestation from that repo and, when the release carries `attestation.sigstore.json`, that each matches it too, then runs the version command and the smoke test, where `{dir}` is the download folder. Any failure stops it. Publish only after it passes: `gh release edit v1.3.0 --draft=false`.

The version and smoke commands run the downloaded build on your machine. Use them only on your own project's release.

## Which version comes next

Not sure whether this is a patch or a minor? Pipe the commits since the last tag in and it tells you: `git log --format='%s%n%b' v1.2.0..HEAD | bash ${CLAUDE_SKILL_DIR}/next-version.sh v1.2.0`. A breaking change comes back as `breaking v2.0.0`, because that one is your call.

## A Claude Code plugin

A plugin's release is a tag: `claude plugin tag --dry-run`, then `claude plugin tag --push`. It tags `{name}--v{version}` and checks that `plugin.json` and the marketplace entry agree. Run the plugin's evals before you tag.

## After it ships

Work through the list and report each item as done or not done:

1. Comment on every merged PR in the release that it shipped, and thank outside contributors by handle.
2. Update the README in every repo that names the version or install steps, and bump version pins in install docs.
3. Regenerate generated docs from the release tag, not from `main`.
4. Upgrade your own installed copy, so you're not testing against bugs that are already fixed.
5. Open issues for the work the release creates: testers wanted, docs gaps, writers wanted.
6. Start the next draft release, so the next merge has somewhere to go.

## An existing project

Look at the last release first: `gh release view --json assets,body`. Is there a checksum file? Do `gh attestation verify` checks pass? Do the notes say what changed for a reader, and credit contributors? Offer the release workflow and a running draft for next time. Don't rewrite past releases without the owner's yes.

Files in this skill

  • SKILL.md4.5 KB
  • next-version.sh1.5 KB
  • templates/.github/workflows/release.yml2.3 KB
  • verify-release.sh3.8 KB

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.