jetbrains/go-modern-guidelines/use-modern-go
Claude Code and agent skill by jetbrains/go-modern-guidelines
- community
Checking that the SKILL.md file is still in the repository.
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.
Install
npx vskill@latest install jetbrains/go-modern-guidelines/use-modern-goSKILL.md
The same SKILL.md was published earlier as jetbrains/go-modern-guidelines/use-modern-go.
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 sh "<skill-dir>/scripts/run-tool.sh" list --file-path path/to/file.go ``
On 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 sh "<skill-dir>/scripts/run-tool.sh" list --go-version 1.24 ``
- Read the complete list output before deciding which guidelines apply.
The list output is ordered newest first. Read the full output because older supported guidelines may still apply.
Do not pipe the output through head, tail, grep, sed, or any other truncating/filtering command. Important guidelines may otherwise be missed.
- Treat returned guidelines as authoritative for modern Go style choices in code you are editing.
If a guideline applies, follow it even when nearby code or repository convention uses an older pattern. Skip it only when it would not compile, would change behavior, or clearly does not match the edited code. Before skipping a returned guideline that seems relevant, call the wrapper's explain subcommand for that guideline ID.
Call explain only when a specific guideline may apply and you need the detailed explanation or examples. Request only the guideline IDs you intend to evaluate or apply:
Multiple guideline IDs may be requested as positional arguments:
Do not call explain without guideline IDs. Use list first to discover the short guideline list for the target Go version, then call explain for the specific returned IDs that need more context.
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugin/skills/use-modern-go/SKILL.md
Popularity
- Repository stars
- 3,334
- Repository forks
- 105
- 7-day trend score
- 41
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jetbrains/go-modern-guidelines/use-modern-go)