Use Modern Go
Version-aware Go style guidance from a CLI that applies modern idioms to the project's Go version.
- CCM score
- 68 of 100
- skills.sh installs
- 3.2K
- GitHub stars
- 4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers modern Go idioms selected by the project's Go version, resolved from
go.mod,go.work, or the local toolchain - Provides
listto show applicable guidelines newest first andexplainto fetch details for specific guideline IDs - Requires reading the complete
listoutput and avoids truncating it, so older supported guidelines still apply - Designed for agents writing, modifying, or refactoring Go code that must follow current version-specific style
Install
$ npx -y skills add jetbrains/go-modern-guidelines --skill use-modern-go -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Modern Go Guidelines CLI
Always write modern, idiomatic Go code. Use the Modern Go Guidelines CLI as the source of truth for modern Go idioms that may be newer than your knowledge cutoff.
Command:
- Linux or macOS:
sh "<skill-dir>/scripts/run-tool.sh" - Windows PowerShell:
& '<skill-dir>\scripts\run-tool.ps1'
First run and approvals:
On first use, the wrapper installs the Modern Go Guidelines CLI in a local cache directory.
Subcommands:
listexplain
Before editing Go code:
-
Call the wrapper's
listsubcommand for the relevant Go file.Prefer passing the file you are about to edit:
sh "<skill-dir>/scripts/run-tool.sh" list --file-path path/to/file.goOn Windows, use the PowerShell wrapper with the same arguments.
The CLI resolves the applicable Go version from go.mod, go.work, the local Go toolchain, or an explicit override.
-
If the target Go version is already known, you may pass it directly:
sh "<skill-dir>/scripts/run-tool.sh" list --go-version 1.24 -
Read the complete list output before deciding which guidelines apply.
Details
- Repository
- github.com/jetbrains/go-modern-guidelines
- Categories
- Go, Code Review & Quality
- First seen
- Jun 3, 2026
Similar to Use Modern Go
More Gogolang-modernizeSkillsamber/cc-skills-golang43.3K installsModernize Go code with current language features, stdlib upgrades, and idioms, with explicit inline and full-scan modes.
modern-go-guidelinesPluginJetBrains/go-modern-guidelines4K starsEnhances Claude Code with modern Go guidelines
go-code-reviewSkillexistential-birds/beagle206 installsStructured Go review skill that checks idiomatic patterns, error handling, concurrency safety, and version-gated advice from go.mod.
golang-linterSkillsamber/cc-skills-golang22.4K installsLinter configuration skill for Go projects that sets up and runs golangci-lint with consistent rules.
Pare GoMCP serverdave-london141 starsStructured Go build, test, vet, fmt, and mod output as typed JSON diagnostics.
go-lintingSkillcxuu/golang-skills1.4K installsConsistent golangci-lint setup for Go projects, with a verified v2 baseline config and linter selection guidance.