Go Idiom

Enforces idiomatic Go style — name length scaled to scope, no stutter, useful zero values, guard clauses, correct defer placement, composition over inheritance, and doc comments in the required form. Use when writing, reviewing, or refactoring any Go code, and when the user asks whether something is idiomatic, mentions gofmt, go vet, golangci-lint, package naming, receiver names, struct embedding, or asks "is this Go-ish", "does this read like Go", "clean up this Go".

CasLubbers Updated 2 repo stars

File contents

CasLubbers/code-design-skills commit bf4f1376bb

Frequently asked questions

npx get-skill add caslubbers/go-idiom