# Golang Modernize (agent 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.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/samber/cc-skills-golang |
| Skill path | skills/golang-modernize/SKILL.md |
| Skill name | golang-modernize |
| GitHub stars | 3,410 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 3 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode |
| Category | Coding |
| Last commit | Oct 1, 2026 |

## 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.

## Add this skill

### Claude Code

```sh
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 project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
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 projects
```

### Cursor

```sh
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 projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/samber-golang-modernize
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
