Skip to content
Back to skills

Release

ASecurity

Prepare a Go CLI changelog and push a tag for the GitHub Actions release workflow.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 20, 2026
developmentgobashnodegitdatabase

Works with

  • cli

Security analysis

A100/100

Scanned October 20, 2026

npx -y skills add amxv/noria --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/amxv-release/badge)](https://www.skillsdirectory.com/skills/amxv-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: Prepare a Go CLI changelog and push a tag for the GitHub Actions release workflow.
allowed-tools: Bash, Read, Write, Edit
---

# Release a Go CLI from this template

Use this skill when cutting a release for a project generated from
`go-cli-template`. The release is intentionally controlled by the repository:
edit the changelog, commit it, and push a `v*` tag. GitHub Actions builds the
native binaries, creates the GitHub Release, and publishes npm.

## Preconditions

- You are on `main` and synced with `origin/main`.
- The working tree is clean except intentional release edits.
- The package name in `package.json` is publishable.
- The `NPM_TOKEN` GitHub secret is configured.
- The release workflow exists at `.github/workflows/release.yml`.

## Changelog first

Before tagging, manually update `docs/src/content/docs/changelog.md`:

- prepend a section for the exact version being released
- keep the newest version at the top
- summarize code and product changes since the previous version tag
- rewrite technical commit subjects into clear release notes
- omit docs-site-only changes such as styling, layout, and navigation changes
- if the release contains only tag/version plumbing, write: `Maintenance release. No direct code behavior changes beyond release preparation.`

Do not use a script or release target to generate the changelog. The release
notes are part of the normal project work and should be reviewed with the
other changes.

## Validate and tag

Run the checks serially from the repository root:

```bash
make check
make docs-check
make docs-build
```

Commit and push the changelog, then push the tag:

```bash
git add docs/src/content/docs/changelog.md
git commit -m "docs: update changelog for v${VERSION}"
git push origin HEAD
make release-tag VERSION=${VERSION}
```

`make release-tag` only creates and pushes `v${VERSION}`. Use the equivalent
Git commands when you need different tag or remote control.

## Verify

```bash
gh run list --limit 5 --json databaseId,displayTitle,headBranch,headSha,status,conclusion,url,workflowName
gh run watch <run-id>
gh release view "v${VERSION}" --json tagName,name,url,assets
npm view "$(node -p "require('./package.json').name")" version
```

Report the tag, workflow URL, release URL, asset names, and published npm
version. The template does not sync local keychains, validate release secrets,
or orchestrate the workflow from a local `ship` command.

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 development →

Comments

Loading comments…

Newsletter

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