Go Naming Conventions
Enforces idiomatic Go naming patterns for packages, types, and variables based on industry-standard style guides.
The Go Naming Conventions skill integrates production-ready standards from Google and Uber into the Claude Code environment to ensure every identifier adheres to Go's unique philosophy of clarity and conciseness. It provides specific logic for naming packages, interfaces, receivers, and constants while offering a dedicated shell script to scan for common anti-patterns like SCREAMING_SNAKE_CASE or redundant 'Get' prefixes. This skill is essential for developers aiming to write idiomatic, maintainable Go code that aligns with the broader community ecosystem.
Key Features
01Standardized MixedCaps enforcement for all Go identifiers
02Scope-aware variable naming guidance (brevity vs. description)
0377 GitHub stars
04Idiomatic package naming rules (lowercase, singular, no underscores)
05Consistent initialism and acronym casing (e.g., HTTPClient, userID)
06Automated anti-pattern detection via check-naming.sh script
Use Cases
01Designing new exported APIs with idiomatic naming and interface patterns
02Onboarding developers to Go's specific naming philosophy to ensure consistency across teams
03Refactoring existing Go codebases to align with Google or Uber style guides