Go Idiomatic Discipline

Guides core Go authoring discipline along two axes — handle errors honestly and stop fighting the language on the floor (no discarded errors, no panic for ordinary failure, no Java/Python-in-Go), and don't over-abstract or out-clever it on the ceiling (no interface-per-struct, no premature generics, no framework scaffolding for a small tool). The judgment target is "clear AND correct." Auto-invokes when writing or editing .go files, and on "make it idiomatic", "is this idiomatic Go", or "clean this up" requests. The dual-axis policy root every other Go skill routes back to.

ctoth Updated 1 repo stars

File contents

ctoth/golang-skills-plugin commit a22813e855

Frequently asked questions

npx get-skill add ctoth/go-idiomatic-discipline