go-cli-distribution
Installation
SKILL.md
Go CLI Distribution
Treat compilation as the start of release verification, not the finish. Declare the matrix, record every build input, and execute the final artifacts.
Core Workflow
- Derive supported
GOOS/GOARCHtargets from the pinned toolchain and dependencies. - Verify platform files and modern
//go:buildcapability constraints. - Pin toolchain, modules, tags, CGO mode, linker flags, and source revision.
- Build deterministic target-specific artifacts with deliberate version metadata.
- Execute each artifact and test help, version, commands, streams, status, and signals.
- Package immutable archives, then generate and verify integrity metadata.
- Verify container and versioned
go installpaths when those are supported.