Bring your Go code up to date, safety first.
Modernizes Go code with newer language features, standard library APIs, and idiomatic patterns.
When to use it
Use when reviewing outdated Go patterns, encountering deprecation warnings, or requesting modernization, a Go version upgrade, or a tooling refresh.
Give it a Go project to modernize; it scans and prioritizes improvements, then applies a full-codebase rewrite in an isolated worktree.
What you provide
Requires the Go toolchain to run the project's tests and check compatibility with its declared Go version.
Enables the optional modernize-linter scan when available; the modernize linter requires golangci-lint v2.6.0 or newer.
This skill
go.dev
Reads official Go release notes
vuln.go.dev
Checks Go's vulnerability database