#228 · Primary category: AI Coding Assistants
go-modern-guidelines
Help AI coding agents write modern Go
Project last updated:08/29/26
GitHub Stars
2.9K
Forks
82
Contributors
6
License
Apache-2.0
Why we included this project
AI coding assistants write a lot of Go, but what they produce often looks like the language stopped moving around Go 1.10: manual loops where range-over-int works, nil-check chains where cmp.Or would do. JetBrains packaged a practical fix as agent instructions. Point Claude Code, Codex, Cursor, Junie, or a skills.sh agent at them and the assistant reads your go.mod, limits itself to the features and stdlib additions that version supports, and prefers modern idioms like slices.Contains over hand-rolled loops. The guidelines also cover very recent stuff most models never trained on, such as the new(42) pointer helper and the type-safe error matching of errors.AsType[T] from Go 1.26. It is the same goal as the Go team's modernize analyzer, but for new code, so there is less to clean up later.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
superpowers
An agentic skills framework & software development methodology that works.
ECC
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
skills
Skills for Real Engineers. Straight from my .agents directory.
opencode
The open source coding agent.
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.