What problem does it solve?
This Skill helps developers modernize existing Go code by replacing outdated patterns, APIs, and language constructs with version-appropriate idioms, reducing manual refactoring effort and keeping codebases aligned with current Go releases.
Core Features & Use Cases
- Version-aware modernization: Detects the project's Go version from go.mod and only applies transformations that are compatible with that release.
- Idiomatic refactoring: Updates common patterns such as time handling, string building, slices and maps utilities, context helpers, and newer concurrency helpers where appropriate.
- Codebase upgrade workflows: Useful when cleaning up legacy repositories, preparing a version bump, or standardizing code after a large migration across packages or files.
Quick Start
Ask the skill to modernize the current Go project or a specific folder so it can scan the code, apply compatible upgrades, and summarize the changes.