engineering / skill

Modern Go Guidelines

Give AI coding agents a reference to modern Go language and standard library features, matched to the Go version in go.mod.

At a glance

Purpose
Give AI coding agents a reference to modern Go language and standard library features, matched to the Go version in go.mod.
Runs in
Local agent with shell
Operating systems
Not stated
Needs
Runtime: Go toolchain; Needs internet: Not stated; Needs accounts or API keys beyond your agent: Not stated
Files and data
Reads files: Yes; Writes files: Yes; Sends data to other services: Not stated
Tool type
Skill
Delivery
From GitHub
Version
Latest on the main branch
Access
Code on GitHub
Compatibility
According to the README, the guidelines are available for Junie, Claude Code, Codex and Cursor, and for other agents such as OpenCode through the npx skills command. The README requires the Go toolchain on PATH for marketplace integrations and says their CLI targets Go 1.25 or newer; older toolchains require automatic toolchain switching enabled with GOTOOLCHAIN=auto. The README mentions Windows only in its local development notes.
External costs
The repository is Apache-2.0-licensed and the README states no pricing. Your coding agent or model provider may charge for usage.
Permissions
The skill acts through your coding agent with the access you give it. The README says marketplace integrations run a CLI installed with go install into a user cache such as ~/.cache/go-modern-guidelines. The README says GOTOOLCHAIN=auto can download a compatible Go toolchain on first run. The README describes project and global skills CLI installations and updates using -p or -g. The README also describes enabling Claude Code marketplace automatic updates, which are disabled by default for third-party marketplaces.
Usage terms
Apache License 2.0, as stated in the repository. See its LICENSE file for the exact terms.

Code on GitHub

JetBrains/go-modern-guidelines

Apache-2.0

Go3,821 stars123 forksLast pushed 10 Sept 2026 UTC

Help AI coding agents write modern Go

Topics: ai-agents coding-agent developer-tools go golang guidelines

Public GitHub data fetched · 0 days old

Skill folders in this repository (1)

Folders that contain a SKILL.md file, from GitHub's file list on .

View on GitHub ↗

What it does

Modern Go Guidelines is a skill for coding agents that write Go. The README attributes outdated generated Go to training-data lag and frequency bias and describes the guidelines as an explicit reference.

The README describes coverage from Go 1.0 through Go 1.27, including features targeted by the modernize analyzer, and points to FEATURES.md for its list and examples. The README gives examples using max(a, b), slices.Contains and cmp.Or(a, b, c). The README says agents detect the project's Go version from go.mod and use features available through that version.

The README names the use-modern-go skill and install routes for Junie, Claude Code, Codex, Cursor and other agents through npx skills. The README says marketplace integrations run a small CLI installed on first use with go install.

Who it is for

Go developers who use AI coding agents and want the agent to follow current Go idioms.

Example tasks

Have an agent write Go that uses features available up to your project's Go version.
Write new Go code with max(a, b) instead of an if-else block.
Write new Go code with slices.Contains instead of a manual loop.
Invoke the skill explicitly in Claude Code with /modern-go-guidelines:use-modern-go.
Look up the full list of covered Go features in FEATURES.md.

Getting started

The README gives a route for each agent. In a Claude Code session, run /plugin marketplace add JetBrains/go-modern-guidelines and then /plugin install modern-go-guidelines@goland-claude-marketplace. For Codex, run codex plugin marketplace add JetBrains/go-modern-guidelines and then codex plugin add modern-go-guidelines@goland-codex-marketplace in a terminal. For other agents, the README shows npx skills add JetBrains/go-modern-guidelines. The Go toolchain must be on your PATH. Junie and Cursor have their own routes, and the README also covers updating. The README has the exact commands.

Limitations

The README requires the Go toolchain on PATH because marketplace integrations install a small CLI on first use with go install. The README says the CLI targets Go 1.25 or newer; older installed toolchains can use GOTOOLCHAIN=auto, the default, to fetch a compatible toolchain. The README describes the CLI installation location as a local cache. The README gives separate Junie, Claude Code, Codex, Cursor and skills CLI routes and says Cursor lacks a non-interactive CLI command for updating an installed plugin. The repository can change at any time; check its README before you install.

Data practices

The README does not describe data handling. What is sent where depends on your coding agent and model provider.

Community experience

Not rated yet

Sign in to share your experience.

Comments 0

No comments yet.

Sign in to comment

Report a listing concern