# JetBrains/go-modern-guidelines

Help AI coding agents write modern Go

Repository: https://github.com/JetBrains/go-modern-guidelines
Canonical: https://ross.abutalabs.com/products/go-modern-guidelines
Language: Go
License: Apache-2.0
License Family: permissive
Topics: ai-agents, coding-agent, developer-tools, go, golang, guidelines
Last push: 2026-08-19T17:39:58+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 35, longevity 20
- inputs: {"age_days": 282, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1708, forks 51 (observed 2026-08-28T04:05:19.672850+00:00)

## What it is
A JetBrains-maintained set of guidelines (packaged as agent skills) that teach AI coding agents to write modern, idiomatic Go, covering features from Go 1.0 through Go 1.27. It ships integrations for Junie, Claude Code, Codex, Cursor, and other agents via skills.sh, backed by a small CLI installed with go install.

## Use cases
- make AI coding agents write modern Go idioms
- stop LLMs generating outdated Go patterns
- teach coding agents about recent Go stdlib additions
- align generated Go code with the modernize analyzer
- install Go guidelines into Claude Code or Cursor
- detect project Go version from go.mod and use matching features

## When to choose
- you use an AI coding agent (Junie, Claude Code, Codex, Cursor) on Go projects
- your agent generates pre-generics or otherwise outdated Go code
- you want generated code to match the Go team's modernize analyzer targets

## When to avoid
- you don't write Go or don't use AI coding agents
- you need runtime software rather than agent instructions
- your environment lacks the Go toolchain and cannot install it

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation, cli
- domain: developer-tools, programming-languages, artificial-intelligence
- platform: cli, cross-platform
- tags: go, golang, coding-agent, ai-guidelines, jetbrains, skills, modernize, code-generation, ai-agents

## Member repositories
- JetBrains/go-modern-guidelines (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:19.672850+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:36:59.407754+00:00, confidence not recorded.
  - readme: https://github.com/JetBrains/go-modern-guidelines (fetched 2026-08-28T04:05:19.672850+00:00, sha 851eae6b621c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
