golang-naming
golang naming
What it does
- Test Naming — Test function naming (TestFunctionName), table-driven test field conventions (input, expected), test helper naming, and subcase naming patterns.
- → See samber/cc-skills-golang@golang-code-style skill for broader formatting and style decisions
- → See samber/cc-skills-golang@golang-structs-interfaces skill for interface naming depth and receiver design
- → See samber/cc-skills-golang@golang-lint skill for automated enforcement (revive, predeclared, misspell, errname)
- → See samber/cc-skills-golang@golang-gopls skill for safe rename when applying a naming fix
Requirements & configuration
Configuration: ALL_CAPS
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
golang-naming FAQ
What does the golang-naming skill do?
Go (Golang) naming conventions — covers packages, constructors, structs, interfaces, constants, enums, errors, booleans, receivers, getters/setters, functional options, acronyms, test functions, and subtest names. Use this skill when writing new Go code, reviewing or refactoring, choosing between naming alternatives (New vs NewTypeName, isConnected vs connected, ErrNotFound vs NotFoundError, StatusReady vs StatusUnknown at iota 0), debating Go package names (utils/helpers anti-patterns), or asking about Go naming best practices. Also trigger when the user mentions MixedCaps vs snake_case, ALL_CAPS constants, Get-prefix on getters, or error string casing. Do NOT use for general Go implementation questions that don't involve naming decisions. Test Naming — Test function naming (TestFunctionName), table-driven test field conventions (input, expected), test helper naming, and subcase naming patterns. → See samber/cc-skills-golang@golang-code-style skill for broader formatting and style decisions
How do I install golang-naming?
Run: npx -y skills add https://github.com/samber/cc-skills-golang --skill golang-naming --agent claude-code — the source lives at github.com/samber/cc-skills-golang.
Maintain golang-naming?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/samber-cc-skills-golang-golang-naming?ref=badge) npx agentictools info skills/samber-cc-skills-golang-golang-naming The second line is the CLI lookup for this page — handy in READMEs and docs.