go-latest-version
Go Dependency & Toolchain Version Verification
This skill establishes a rigorous process for verifying, querying, and updating Go modules, libraries, and toolchains to their absolute latest stable releases. It prevents "version hallucination" by leveraging live Go proxies and standard tool commands instead of relying on stale offline training weights.
1. Core Mandate: NEVER GUESS
[!IMPORTANT] Go libraries evolve constantly. Internal database cutoffs are guaranteed to be outdated. Always fetch the real-time source of truth from the live registry. Trust live data over static assumptions.
2. Querying the Go Proxy (Real-Time Truth)
The official Go Module Proxy (proxy.golang.org) is the authoritative source for all versioned Go modules. You can query it directly using simple shell commands, Go CLI, or HTTP endpoints.
Method A: Using go list (Recommended for Local Workspaces)
If you are inside a Go workspace, the fastest way to check available versions is the go list command: