golang-modernize

Identify Go modernization opportunities and suggest version-aligned updates for 1.21 through 1.26.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nrmnqdds/gomaluum --skill golang-modernize-nrmnqdds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-modernize
Source: https://github.com/nrmnqdds/gomaluum/tree/main/.agents/skills/golang-modernize
Command: npx skills add https://github.com/nrmnqdds/gomaluum --skill golang-modernize-nrmnqdds

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Go projects often drift from the latest idioms, features, and standard library improvements, making maintenance harder and slower. This Skill provides proactive modernization guidance to keep codebases current with Go 1.21–1.26, helping teams adopt newer patterns safely.

Core Features & Use Cases

  • Continuous Go modernization: identify opportunities to replace deprecated patterns with Go 1.21–1.26 suitable equivalents.
  • Context-aware recommendations: tailor suggestions to the project's go.mod, current patterns, and target Go version within CI or PR reviews.
  • Parallelized analysis and tooling guidance: coordinate up to 5 sub-agents to surface language, standard library, testing, and tooling modernization opportunities, with prioritized outcomes.
  • Optional code generation: present concrete diffs or ready-to-apply changes for common modernization tasks and guide follow-up steps.

Quick Start

Invoke the /golang-modernize workflow in your CI or chat to begin scanning the repository for Go modernization opportunities.

Frequently Asked Questions about golang-modernize

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I modernize Go code to use the latest idioms?

Modernize Go code by scanning go.mod and running golangci-lint to identify deprecated patterns, then replacing them with Go 1.21–1.26 suitable equivalents. This process prioritizes actionable updates for safer codebase maintenance.

What is the best way to scan a Go project for standard library updates?

Scanning for standard library updates involves consulting Go release notes and analyzing project patterns via parallelized sub-agents. This surfaces language, testing, and tooling modernization opportunities tailored to your target Go version.

Can I integrate Go modernization suggestions into CI pipelines?

Yes, you can integrate Go modernization into CI pipelines by invoking the workflow to scan repositories. It analyzes go.mod or go.work files and outputs context-aware, version-aligned modernization suggestions directly within your CI or PR review process.

Does golang-modernize work with Go 1.21 through 1.26 projects?

Yes, golang-modernize works with Go projects targeting versions 1.21 through 1.26. It aligns modernization suggestions with the specific target Go version listed in your go.mod file to ensure safe and relevant updates.

How do I get actionable code samples for Go migration tasks?

To get actionable code samples for Go migration, the workflow can generate concrete diffs or ready-to-apply changes for common modernization tasks. It also provides guidance on follow-up steps after identifying the necessary updates.