go-naming

Enforce Go naming conventions for identifiers per Google and Uber style guides.

2|1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/zajca/zfaktury --skill go-naming-zajca
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: go-naming
Source: https://github.com/zajca/zfaktury/tree/main/.agents/skills/go-naming
Command: npx skills add https://github.com/zajca/zfaktury --skill go-naming-zajca

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides clear, consistent, and idiomatic naming conventions for all Go identifiers, ensuring code is readable, maintainable, and follows best practices.

Core Features & Use Cases

  • Comprehensive Guidance: Covers packages, functions, methods, variables, constants, and receivers.
  • Best Practices: Adheres to Google and Uber style guides for Go.
  • Use Case: When starting a new Go project or refactoring existing code, use this Skill to ensure all new identifiers are named according to established Go conventions, preventing confusion and improving collaboration.

Quick Start

Apply the Go naming conventions to the identifier my_variable to make it idiomatic.

Frequently Asked Questions about go-naming

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

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

Go naming conventions require MixedCaps for identifiers, specific capitalization rules for initialisms, and context-aware names to avoid repetition. This ensures code clarity, consistency, and adherence to idiomatic style based on Google and Uber guides.

How do I name packages in Go to avoid repetition?

To name packages in Go without repetition, use context-aware naming that prevents stutter. The Skill enforces idiomatic Go rules so package names remain clear and concise without restating information already present in function or variable names.

Should Go constants use MixedCaps or uppercase letters?

Go constants should use MixedCaps rather than uppercase letters with underscores. This Skill enforces idiomatic Go naming standards for constants, ensuring your code aligns with established Google and Uber style guides for optimal readability.

Does the Uber Go style guide recommend specific receiver names?

Yes, the Uber Go style guide recommends specific receiver names for consistency. This Skill enforces naming conventions for receivers, variables, and methods, ensuring your codebase maintains clarity and follows established idiomatic Go practices.

How do I refactor existing Go code to follow idiomatic naming standards?

To refactor existing Go code for idiomatic naming, apply MixedCaps rules and context-aware conventions to all identifiers. This Skill guides the transformation of packages, functions, methods, variables, and constants to meet Google and Uber style standards.

Why does my Go code fail code reviews for naming issues?

Your Go code likely fails reviews because it lacks adherence to idiomatic naming conventions like MixedCaps or proper initialism capitalization. Enforcing Google and Uber style guides ensures clarity and consistency across all identifiers.