Golang Modernize
Golang Modernize is an agent skill (a SKILL.md file) from samber/cc-skills-golang. Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 3,410 GitHub stars across a repository of 3 listed skills.
github.com/samber/cc-skills-golang/skills/golang-modernize (opens in a new tab)
- Multi-skill repo
- Coding
- Actively maintained
Add this skill
Claude
Claude Code loads skills from ~/.claude/skills/ (all projects) or .claude/skills/ (one project):
git clone --depth 1 https://github.com/samber/cc-skills-golang.git
cp -r cc-skills-golang/skills/golang-modernize ~/.claude/skills/golang-modernize # personal, or .claude/skills in a projectIn the Claude apps, zip the golang-modernize folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).
ChatGPT / Codex
Codex reads skills from .agents/skills/ in a repo or ~/.agents/skills/ for every project:
git clone --depth 1 https://github.com/samber/cc-skills-golang.git
cp -r cc-skills-golang/skills/golang-modernize .agents/skills/golang-modernize # repo; ~/.agents/skills for all projectsStandalone skills also load in the ChatGPT desktop app.
Cursor
Cursor loads skills from .cursor/skills/ (or ~/.cursor/skills/) and also reads .claude/skills/:
git clone --depth 1 https://github.com/samber/cc-skills-golang.git
cp -r cc-skills-golang/skills/golang-modernize .cursor/skills/golang-modernize # project; ~/.cursor/skills for all projectsSource (checked Oct 7, 2026): code.claude.com/docs/en/skills (opens in a new tab), support.claude.com/en/articles/12512180-using-skills-in-claude (opens in a new tab), learn.chatgpt.com/docs/build-skills (opens in a new tab), cursor.com/docs/context/skills (opens in a new tab)
What this skill does
Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. Use when reviewing Go code with old-style patterns, when encountering a deprecation warning, or when the user asks for modernization, a Go version upgrade (e.g. to Go 1.27), or a CI/tooling refresh. Not for structural refactors, extracting functions, or moving code between packages (→ See samber/cc-skills-golang@golang-refactoring skill). Persona: You are a Go modernization engineer.
When it triggers
- Use when reviewing Go code with old-style patterns, when encountering a deprecation warning, or when the user asks for modernization, a Go version upgrade (e.
More skills in samber/cc-skills-golang
3 skills are listed from this repository.
Similar skills
More coding skills
Requesting Code Review
obra/superpowers
Use when completing tasks, implementing major features, or before merging to verify work meets requirements.
CodingShellReceiving Code Review
obra/superpowers
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not…
CodingShellImprove Codebase Architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
CodingShellSetup Matt Pocock Skills
mattpocock/skills
Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout.
CodingShellCode Review
mattpocock/skills
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match…
CodingShellSetup Ts Deep Modules
mattpocock/skills
Wire dependency-cruiser into a TypeScript repo so each package is a deep module, with implementation hidden in subfolders and reachable only through its entry-point files.
CodingShell
What is the Golang Modernize skill?
Golang Modernize is an agent skill (a SKILL.md file) from samber/cc-skills-golang. Modernize Golang code to use recent language features, standard library improvements, and idiomatic patterns. It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 3,410 GitHub stars across a repository of 3 listed skills. Its SKILL.md lives at github.com/samber/cc-skills-golang/skills/golang-modernize.
How do I install the Golang Modernize skill?
Copy the golang-modernize folder (the one containing SKILL.md) into ~/.claude/skills/ for Claude Code, .agents/skills/ for Codex or .cursor/skills/ for Cursor. The agent picks it up automatically when a task matches its description.
Is the Golang Modernize skill free?
Yes. The repository is open source under the MIT license.
Is Golang Modernize maintained?
The repository's most recent commit was on Oct 1, 2026. Its latest release is v2.0.0. appsgit only lists skills from repositories with a commit in the last six months.