Software Development

Go Binary Size

Reduce the size of compiled Go binaries and container images: linker flags, inlining budget, CGO and build tags, embedded assets, dependency weight, and measuring what actually costs bytes. Use when a binary or image is too large, when shrinking a CLI for distribution, or when auditing what a dependency adds to the build. Trigger examples: "binary is too big", "shrink the binary", "reduce image size", "strip symbols", "what is making my binary large", "ldflags -s -w". Not for: runtime speed and allocations (go-performance-review), CI setup (go-ci), release pipelines and signing (go-build-release), dependency CVEs (go-dependency-audit).

Publisher / source
eduardo-sl/go-agent-skills (found on the CSV list)
Upstream record
eduardo-sl/go-agent-skills
Version
Version 2
Published
Publication review
Approved for publication · recorded passed scan 2026-11-03
Content fingerprint
3bf1993aef45de1873a4f8ed2c98e10d38f525484aa5709a01a040373dcdd253