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.0Help 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 .
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.