go-modernize

Installation
SKILL.md

Go Modernize

Go evolves. Code written for Go 1.16 should not look the same as code targeting Go 1.25+. Modernize incrementally — update go.mod, then adopt new patterns.

Never adopt a feature above the go directive in go.mod. Raise the directive deliberately, in its own commit, and only to a version the project's CI and deployment images actually run.

Detailed reference material, loaded on demand:

  • references/generics.md — replacing interface{} with type parameters, constraints, generic containers, when NOT to use generics.
  • references/stdlib-migrations.md — before/after examples for slog, errors.Join, slices/maps helpers, range-over-int, and iterators.

Read a reference file only when the summary below is not enough.

Modernization Procedure

Installs
99
GitHub Stars
71
First Seen
Apr 6, 2026
go-modernize — eduardo-sl/go-agent-skills