Description
Modern Go Guidelines is a set of guidelines that helps AI coding agents write modern, idiomatic Go. The repository explains the style it wants: for example, using the built-in max function instead of an if-else block, slices.Contains instead of a hand-written loop, and cmp.Or in place of a chain of nil checks. The guidelines also cover newer language and standard library features that may be more recent than an agent's training data. They are meant to be read by a coding agent working in a Go codebase, so its suggestions and edits follow current practice. The project ships a command-line tool that agents run to look up the version-specific guidance for your Go version. JetBrains publishes the guidelines on GitHub, and they are installed as an agent skill from the jetbrains/go-modern-guidelines repository. They suit Go developers who use an AI assistant and want its code to be modern and consistent.…
Highlights
- Guidelines for modern, idiomatic Go
- Uses newer standard library functions
- Version-specific guidance through a CLI
- Installs as an agent skill
- Published by JetBrains
Ratings & Reviews
No ratings yet
Be the first to rate Go Modern Guidelines.
People also visit
Go Modern Guidelines FAQ
What are the Modern Go Guidelines?
Guidelines that help AI coding agents write modern Go, such as preferring max and slices.Contains over hand-written code.
How do I install it?
Run npx skills add https://github.com/jetbrains/go-modern-guidelines --skill use-modern-go.
Does it depend on Go version?
The guidance is version-specific, and a CLI included with the skill provides it for your Go version.
Who publishes it?
JetBrains, on GitHub.
Is it free?
The repository is public on GitHub.
What are the best Go Modern Guidelines alternatives?
Popular alternatives to Go Modern Guidelines include Gograph and goastVS. See all Go Modern Guidelines alternatives




