golang-naming

Enforce Go naming conventions for packages, identifiers, and functions.

Updated May 19, 2026
One-click install
npx skills add https://github.com/monforje/.opencode --skill golang-naming-monforje
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golang-naming
Source: https://github.com/monforje/.opencode/tree/main/skills/cc-skills-golang/skills/golang-naming
Command: npx skills add https://github.com/monforje/.opencode --skill golang-naming-monforje

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires go, golangci-lint, git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures consistency and best practices in Go code naming conventions, reducing errors and improving readability.

Core Features & Use Cases

  • Naming Guidelines: Applies and enforces Go's naming conventions for packages, files, variables, functions, and types.
  • Documentation: Provides comprehensive reference materials for various naming patterns and anti-patterns.
  • Evaluation: Evaluates code snippets against Go naming guidelines, highlighting mistakes and suggesting fixes.

Quick Start

Run the golang-naming skill on your code to ensure naming conventions are followed.

Frequently Asked Questions about golang-naming

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

FAQPage Schema
How do I enforce Go naming conventions for packages, variables, and functions in my codebase?

You can enforce Go naming conventions by analyzing your code against standard patterns for package naming, identifier casing, and function naming. This ensures consistency, reduces errors, and improves readability across your Go project.

What are common Go naming anti-patterns I should look for during a code review?

Common Go naming anti-patterns include incorrect identifier casing and poorly named packages or functions. Evaluating your code against standard reference materials helps identify these issues and provides actionable suggestions to fix them.

Does this Go naming convention checker work with golangci-lint and git?

Yes, this naming convention analysis is designed to be compatible with tools like golangci-lint and git. It integrates into your existing workflow to evaluate code and enforce best practices alongside your standard Go tooling.

Can I use an AI coding agent to automatically fix Go naming convention mistakes?

Yes, this tool is compatible with AI coding agents and evaluates your Go code to highlight naming mistakes and suggest fixes. It provides comprehensive reference materials for various patterns to guide the automated corrections.

Do I need Go and golangci-lint installed to check my code for naming best practices?

Yes, you need Go, golangci-lint, and git installed as dependencies to run this analysis. These tools provide the necessary environment and integration points to evaluate your code against standard naming guidelines.