BigHugger
sk Skill · affaan-m

golang-patterns

Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications. Use when writing or reviewing Go code and idiomatic structure or conventions are in question.

installs 8w
2,008
30-day movement
starts with the next reading
Related entries
7
Connections
0
yamlbashgoJavaScript

golang-patterns is a SKILL.md that loads idiomatic Go patterns and conventions into an AI coding agent. It covers error handling, concurrency, interface and package design, performance, tooling, and anti-patterns as reference material.

Reach for it when writing, reviewing, or refactoring Go code and you want the agent to apply idiomatic Go conventions.

Use it to

  • Apply idiomatic error wrapping and errors.Is/As checks
  • Use worker pools, context cancellation, and errgroup correctly
  • Design small, focused interfaces at point of use
  • Organize packages and structs per Go conventions
  • Avoid listed Go anti-patterns during code review

For Developers writing or reviewing Go with an AI agent

Host repository
affaan-m/ECC
Installs, lifetime
3,400
Installs, 8 weeks
2,008
Host stars
261k
Host language
JavaScript
topicsgopatternsbest-practicesconcurrencyerror-handlingskill