golang-modernize
golang modernize
What it does
- If invoked explicitly via /golang-modernize or in CI, scan and suggest across the entire codebase.
- → See samber/cc-skills-golang@golang-refactoring skill for staging a large modernization sweep as small human-reviewed PRs instead of one big worktree sweep.
Requirements & configuration
- 2026-02-01 math-rand-v2 Legacy module requires math/rand compatibility
Configuration: GOEXPERIMENT
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
golang-modernize FAQ
What does the golang-modernize skill do?
Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Trigger proactively when writing or reviewing Go code and old-style patterns are detected, or when encountering a deprecation warning. Also use when the user explicitly asks for modernization, a Go version upgrade, or a CI/tooling refresh. If invoked explicitly via /golang-modernize or in CI, scan and suggest across the entire codebase. → See samber/cc-skills-golang@golang-refactoring skill for staging a large modernization sweep as small human-reviewed PRs instead of one big worktree sweep.
What does golang-modernize require?
2026-02-01 math-rand-v2 Legacy module requires math/rand compatibility Configuration keys: GOEXPERIMENT.
How do I install golang-modernize?
Run: npx -y skills add https://github.com/samber/cc-skills-golang --skill golang-modernize --agent claude-code — the source lives at github.com/samber/cc-skills-golang.
Maintain golang-modernize?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/samber-cc-skills-golang-golang-modernize?ref=badge) npx agentictools info skills/samber-cc-skills-golang-golang-modernize The second line is the CLI lookup for this page — handy in READMEs and docs.