go-naming
Installation
SKILL.md
Go Naming Conventions
Resource Routing
scripts/check-naming.sh- Run when checking SCREAMING_SNAKE_CASE constants, Get-prefixed getters, generic package names, or receivers namedthis/self.references/IDENTIFIERS.md- Read when choosing names for initialisms, exported identifiers, or package-level symbols.references/REPETITION.md- Read when names repeat package, receiver, type, or local context.references/VARIABLES.md- Read when choosing local variable names, receiver names, or loop identifiers.
Core Principle
Names should:
- Not feel repetitive when used
- Take context into consideration
- Not repeat concepts that are already clear
Naming is more art than science—Go names tend to be shorter than in other languages.