go-naming

Installation
SKILL.md

Go Naming Conventions

Available Scripts

  • scripts/check-naming.sh — Scans Go code for naming anti-patterns: SCREAMING_SNAKE_CASE constants, Get-prefixed getters, bad package names (util/helper/common), and receivers named "this"/"self". Run bash scripts/check-naming.sh --help for options.

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.


Naming Decision Flow

Related skills

More from cxuu/golang-skills

Installs
572
GitHub Stars
90
First Seen
Jan 27, 2026