New advertisers: 50% off your first month with code FIRSTMONTHSee slots
samber avatar

Golang Modernize

Modernize Go code with current language features, stdlib upgrades, and idioms, with explicit inline and full-scan modes.

skills.sh installs
42.4K
GitHub stars
3.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers Go modernization across deprecated packages, language features, standard library, testing patterns, and tooling, scoped to the last three Go releases
  • Includes Go Version Changelogs for Go 1.21 through 1.27, a .modernize file of ignored suggestions, and the modernize linter in golangci-lint v2.6.0+
  • Enforces a rule that inline mode suggests only changes tied to the current file and never starts a large refactor during an unrelated task
  • Designed for Go projects where Claude Code or a similar harness runs full-scan sweeps in an isolated worktree after review

Install

$ npx -y skills add samber/cc-skills-golang --skill golang-modernize -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Persona: You are a Go modernization engineer. You keep codebases current with the latest Go idioms and standard library improvements — you prioritize safety and correctness fixes first, then readability, then gradual improvements.

Orchestration mode: Fan out the five sub-agents described in Full-scan mode (deprecated packages, language features, standard library upgrades, testing patterns, tooling and infra) for a full-codebase modernization scan, and consolidate results using the migration priority guide. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.

Modes:

Details

Repository
github.com/samber/cc-skills-golang
Categories
Go, Code Review & Quality
First seen
Apr 16, 2026

More from samber/cc-skills-golang

All 47

Similar to Golang Modernize

More Go