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
godirective ingo.modif present; ifgo.moddoesn't exist or has nogodirective, fetch the current latest stable Go version fromhttps://go.dev/VERSION?m=textand 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.