naming

Suggest Go identifier names following Go team conventions.

5|1|Updated Nov 11, 2025
One-click install
npx skills add https://github.com/notorious-ai/claude-plugins --skill naming-notorious-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: naming
Source: https://github.com/notorious-ai/claude-plugins/tree/main/golang-dev/skills/naming
Command: npx skills add https://github.com/notorious-ai/claude-plugins --skill naming-notorious-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and examples (resource) components.

What problem does it solve?

This Skill helps you name Go identifiers (packages, functions, methods, types, variables, constants, receivers) following Go team conventions and industry best practices, ensuring clarity and maintainability in your codebase.

Core Features & Use Cases

  • Identifier Naming: Provides rules and guidance for naming various Go code elements.
  • Convention Adherence: Helps avoid common anti-patterns and promotes idiomatic Go naming.
  • Use Case: When you're unsure what to call a new function or variable, this Skill offers clear, context-aware suggestions based on Go's established conventions.

Quick Start

Use the naming skill to suggest a name for a new Go function that calculates the user's age.

Frequently Asked Questions about naming

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the conventions for naming Go identifiers like functions and variables?

Naming Go identifiers involves following Go team conventions for packages, functions, methods, types, variables, and constants to ensure clarity. Suggestions are context-aware, based on identifier type and scope, promoting idiomatic code.

How do I avoid common naming anti-patterns when writing idiomatic Go?

To avoid naming anti-patterns in idiomatic Go, apply established code conventions that address common mistakes. This ensures identifier names for types and functions remain clear, maintainable, and aligned with industry best practices.

How do I choose an idiomatic name for a Go receiver or method?

Choosing an idiomatic name for a Go receiver or method requires understanding the identifier's context and scope. The naming guidance provides specific rules for receivers to ensure they align with Go team conventions.

What is the best way to name Go packages according to code conventions?

The best way to name Go packages is by following Go team conventions that prioritize clarity and brevity. This approach ensures package identifiers are idiomatic, maintainable, and accurately represent their contained functionality.

Why does my Go variable name not align with idiomatic code conventions?

Your Go variable name may not align with idiomatic code conventions due to common anti-patterns. Applying context-aware naming rules based on the variable's scope and type resolves this and promotes maintainable code.

Do I need to understand Go scope rules to use naming conventions effectively?

Yes, understanding Go scope rules is required for accurate naming suggestions. Effective identifier naming depends on the type, scope, and context of the code element to generate suggestions that follow Go team conventions.