What problem does it solve?
Go naming mistakes hurt readability and make code harder to search, review, and maintain, especially when acronyms, boolean predicates, constructors, errors, and test names don’t follow Go’s conventions.
Core Features & Use Cases
- Consistent Go naming across codebases: Ensures identifiers use MixedCaps, avoid underscores, and follow package/type/function conventions.
- Correct patterns for tricky cases: Covers
New vs NewTypeName, Is/Has/Can for boolean predicates, acronym casing (URL/HTTP/ID), error string lowercase rules, and sentinel error naming with the Err prefix.
- Test and API naming guidance: Handles table-driven subtest naming (fully lowercase, including acronyms),
WithContext variants, In in-place mutations, and Must panic-on-error prefixes.
- Use during review/refactor: Best for new Go code, refactoring naming collisions, or deciding between naming alternatives (e.g.,
isConnected vs connected, ErrNotFound vs NotFoundError).
Quick Start
Use the skill when you need to choose or verify Go naming decisions; for example, ask an AI to review a proposed identifier set for MixedCaps compliance, acronym casing, and whether boolean/error/test naming follows Go idioms.