go-release

Installation
SKILL.md

Go Release Setup Skill

Sets up release infrastructure for Go CLI apps: GoReleaser config, Dockerfile, and GitHub Actions workflows.

Step 1 — Gather Project Info

Read go.mod to infer:

  • Module path (e.g. github.com/owner/repo)
  • Go version — use the version from the go directive in go.mod if present; if go.mod doesn't exist or has no go directive, fetch the current latest stable Go version from https://go.dev/VERSION?m=text and use that
  • Binary name — check cmd/ subdirectories; if multiple, ask which one(s) to release; if absent, use the last segment of the module path

Derive <github-owner> and <github-repo> from the module path.

If any of the following cannot be inferred, ask the user:

  • CGO required? — scan source files for import "C"; if found, CGO = true, else CGO = false
  • App description — one-line description for the Homebrew formula and release header
  • License — check LICENSE file; if absent, ask (default: MIT)
  • Distribution channels to enable (ask the user; suggest all as default):
    • github — GitHub Releases binary archives + checksums (always required)
Related skills
Installs
12
First Seen
Mar 15, 2026