Go Naming

Use when naming any Go identifier — packages, types, functions, methods, receivers, variables, constants, errors, options. Covers MixedCaps, scope-based length, initialism casing, the no-`Get` rule, `-er` interfaces, sentinel `ErrX` vs typed `XError`, and the most commonly missed conventions (constructors, boolean fields, enum zero values, lowercase error strings). Apply proactively whenever new identifiers are introduced, even if the user has not asked about naming.

muratmirgun Updated

File contents

muratmirgun/gophers/tree/main/.claude-plugin/skills/go-naming commit 1844435998

Frequently asked questions

npx skillmds@latest add muratmirgun/go-naming-2