use-modern-go
Skill3.8k starsChanged 3 months agoApache-2.0View on GitHub
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.
2 other projects use a version of this.
Trending
Less talk lately.about the whole repository
Most recently taken up by
- compozy/compozyword for word, first seen Oct 1, 2026
- xingkaixin/skillstheir own version, first seen Jul 18, 2026
Who's talking about JetBrains/go-modern-guidelines
- @yug1224.com“AIのコーディングエージェントに最新のGo言語の書き方を教えるためのガイドライン集らしい プロジェクトでAIを使うときに導入すると便利そう yug1224 starred …”Bluesky · Aug 30, 2026 · 4 likes
- A Hacker News story“Skills for writing modern Go code”Hacker News · Aug 28, 2026 · 2 points
- @latreon.bsky.social“Covering Go 1.0 through Go 1.27, go-modern-guidelines teaches AI coding agents to use modern stdlib idioms …”Bluesky · Sep 13, 2026 · 1 likes
- @goland.jetbrains.com“Help agents write relevant Golang code with our new set of AI skills – Modern Go Guidelines. They cover the …”Bluesky · Sep 8, 2026 · 1 likes
- @technews4869.bsky.social“github.com/JetBrains/go-mo... GitHub - JetBrains/go-modern-guidelines: Help AI coding agents write modern Go”Bluesky · Aug 30, 2026 · 1 likes
The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 34
Talked about on GitHub, Bluesky and Hacker News (34 times).
On GitHub · 28
- Aug 29, 2026Add use-modern-go agent skill from JetBrains/go-modern-guidelines — coder/chat1 reaction · 8 comments
- Oct 4, 2026codex-plugins.github.jetbrains.go-modern-guidelines: init at 0.1.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026codex-marketplaces.github.jetbrains.go-modern-guidelines: init at 0.1.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-plugins.github.jetbrains.go-modern-guidelines: init at 0.1.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.jetbrains.go-modern-guidelines: init at 0.1.1 — sudosubin/agents.nix0 reactions
23 more on GitHub
- Sep 28, 2026agent-skills.github.jetbrains.go-modern-guidelines: init at 0.1.1 — sudosubin/agents.nix0 reactions
- Sep 6, 2026Point the writing agent and the reviewers at the modern-Go guidelines — kurowski/rollingstop0 reactions · 2 comments
- Sep 6, 2026Gate on the gopls modernize analyzer, and fix what it found — kurowski/rollingstop0 reactions · 2 comments
- Sep 6, 2026Modern Go guidance for the writing agent and the reviewers — kurowski/rollingstop0 reactions
- Sep 1, 2026build: pin Modern Go Guidelines CLI — ob-labs/powercontext-go0 reactions
- Aug 30, 2026M2 Agent distribution: PHAR packaging, Agent Skill + AGENTS.md wrapper, and a bounded `doctor` — trionnemesis/php-modern-guidelines0 reactions
- Aug 30, 2026Github trending [JetBrains/go-modern-guidelines] 现代Go编码指南 — web1992/github-trending0 reactions
- Aug 29, 2026M1 Core parity: Composer Semver resolver, two-axis policy, and rule query engine — trionnemesis/php-modern-guidelines0 reactions
- Aug 29, 2026refactor(mtmharness): defer coding tool setup — codeh007/mtmdsh0 reactions · 1 comment
- Aug 29, 2026Github trending [JetBrains/go-modern-guidelines] 现代Go编程指南 — web1992/github-trending0 reactions
- Aug 28, 2026study: mine JetBrains go-modern-guidelines for FAK borrows — anthony-chaudhary/fak0 reactions · 1 comment
- Aug 28, 2026spec: virtual central plant — SwayingWindmill/HVAC_web0 reactions
- Aug 28, 2026🔥 GitHub Trending AI 晚报 · 2026-08-28 · Top 8 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 28, 2026🔥 GitHub Trending AI 晚报 · 2026-08-28 · Top 8 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 28, 2026Github trending [JetBrains/go-modern-guidelines] 现代Go代码指南 — web1992/github-trending0 reactions
- Aug 27, 2026🔥 GitHub Trending AI 早报 · 2026-08-28 · Top 8 项目 — Mystery406/ai-xiaohongshu-daily0 reactions
- Aug 27, 2026🔥 GitHub Trending AI 早报 · 2026-08-28 · Top 8 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
- Aug 27, 2026[Inspiration] Workspace coding-standards layer: per-language rule packs (JetBrains-style agent guidelines) materialized into every managed agent instruction file — helloimcx/agentdock0 reactions · 5 comments
- Aug 26, 2026go modern guidelinesを導入 — et8x8/dotfiles0 reactions
- Jul 2, 2026add go lang skill — hendriknielaender/skills0 reactions · 1 comment
- Jun 18, 2026[FEATURE] add agentic skills — adroit-group/gote0 reactions
- Mar 20, 2026Add use-modern-go skill — therootcompany/skills0 reactions
- Mar 10, 2026Add use-modern-go skill from JetBrains modern Go guidelines — tigerwill90/serve0 reactions
On Bluesky · 5
- Aug 30, 2026AIのコーディングエージェントに最新のGo言語の書き方を教えるためのガイドライン集らしい プロジェクトでAIを使うときに導入すると便利そう yug1224 starred JetBrains/go-modern-guidelines… — @yug1224.com4 likes and reposts
- Sep 13, 2026Covering Go 1.0 through Go 1.27, go-modern-guidelines teaches AI coding agents to use modern stdlib idioms instead of outdated patterns. 46… — @latreon.bsky.social1 likes and repost
- Sep 8, 2026Help agents write relevant Golang code with our new set of AI skills – Modern Go Guidelines. They cover the most useful features from Go… — @goland.jetbrains.com1 likes and repost
- Aug 30, 2026github.com/JetBrains/go-mo... GitHub - JetBrains/go-modern-guidelines: Help AI coding agents write modern Go — @technews4869.bsky.social1 likes and repost
- Aug 27, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 JetBrains / go-modern-guidelines ⭐ 1,863 (+314) 🗒 Go Help AI coding agents write modern Go — @github-trending.bsky.social1 likes and repost · 1 reply
On Hacker News · 1
- Aug 28, 2026Skills for writing modern Go code2 points · 1 comment
Other versions2 projects use a version of this.
Word for word · 1
- compozy/compozy★ 2.8k100% same
Edited · 0
None found.
Wrote their own version · 1
- xingkaixin/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 7 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Always write modern, idiomatic Go code.
- Distinctive: line 24
Before editing Go code:
- Very specific: line 26
Call the wrapper's list subcommand for the relevant Go file.
- Distinctive: line 28
Prefer passing the file you are about to edit:
- Distinctive: line 38
If the target Go version is already known, you may pass it directly:
- Distinctive: line 44
Read the complete list output before deciding which guidelines apply.
- Distinctive: line 48
Do not pipe the output through head, tail, grep, sed, or any other truncating/filtering command.
- Distinctive: line 50
Treat returned guidelines as authoritative for modern Go style choices in code you are editing.
- Very specific: line 54
Call explain only when a specific guideline may apply and you need the detailed explanation or examples.
- Very specific: line 66
Do not call explain without guideline IDs.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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.24Read 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
explainsubcommand 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:
sh "<skill-dir>/scripts/run-tool.sh" explain sync_waitgroup_goMultiple guideline IDs may be requested as positional arguments:
sh "<skill-dir>/scripts/run-tool.sh" explain atomic_types errors_as_typeDo 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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

