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 a22813e 3 files · 27.5 KB Updated

File contents

ctoth/golang-skills-plugin/tree/main/plugins/golang/skills/go-idiomatic-discipline commit a22813e855

Frequently asked questions

npx skillmds@latest add ctoth/go-idiomatic-discipline