Go Idioms

Modern Go 1.27+ idioms and dependency selection, applied to every Go file written or reviewed. Use when writing or refactoring any Go code, when reading or writing JSON, when choosing between a standard-library helper and a hand-rolled loop, or when adding, auditing, or upgrading a dependency in go.mod. Triggers on interface{}, wg.Add, errors.As, atomic.LoadInt32, manual index loops, sync.Once, time.Now().Sub, encoding/json, json.MarshalIndent, json.NewDecoder, google/uuid, and on any go.mod change.

Tanq16 389b975 9.0 KB Updated

File contents

Tanq16/claudex/tree/main/internal/embedded/presets/private/skills/go-idioms commit 389b975a7a

Frequently asked questions

npx skillmds@latest add tanq16/go-idioms