golang-modernize
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…
- installs 8w
- 4,529
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 0
An agent skill that guides modernizing Go code to use recent language features (Go 1.21–1.27), standard library improvements, and idiomatic patterns. It bundles a workflow, version-specific before/after references, tooling guidance, and a migration priority guide.
Reach for it when reviewing Go code with old-style patterns, handling deprecation warnings, or planning a Go version bump or CI/tooling refresh.
Use it to
- Replace outdated patterns with modern Go equivalents
- Plan and verify a go.mod version bump
- Run and interpret the modernize linter
- Migrate deprecated packages and third-party loggers
- Refresh CI tooling like golangci-lint v2 and govulncheck
For Go developers using Claude Code or similar agents
- Host repository
- samber/cc-skills-golang
- Version
- 1.5.1
- Installs, lifetime
- 38k
- Installs, 8 weeks
- 4,529
- Compatible with
- Designed for Claude Code, Codex or similar harness, and for projects using Golang.
- Licence
- MIT
- Invocable by
- user
- Host stars
- 3,273
- Host language
- Go