Giverny

Golang Modernize

Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns.

by samber★ 4,015Languages

What Golang Modernize does

Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Use when reviewing Go code with old-style patterns, when encountering a deprecation warning, or when the user asks for modernization, a Go version upgrade (e.g. to Go 1.27), or a CI/tooling refresh. Not for structural refactors, extracting functions, or moving code between packages (→ See `samber/cc-skills-golang@golang-refactoring` skill).

How to install Golang Modernize in Claude Code

Giverny gives you a ready prompt with the exact install command from samber/cc-skills-golang. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone samber/cc-skills-golang and copy the skills/golang-modernize folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Golang Modernize on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the golang-modernize skill on my current project.”

More Claude skills for languages