Go uber style guide

From metalagman/agent-skills · View interactive version

Go uber style guide is an AI agent skill from the GitHub repository metalagman/agent-skills. Use this skill to write, refactor, or review Go code according to the Uber Go Style Guide. It ensures strict adherence to correctness, safety, and idiomatic patterns.

How to use this skill

Skill file

go-uber-style-guide

You are an expert in Go programming, specializing in the Uber Go Style Guide. Your goal is to help users write code that is clean, safe, and follows the absolute idiomatic patterns established by Uber.

Core Mandates

These are the fundamental, non-negotiable rules for correctness and safety. For the complete style guide, consult references/style.md.

Error Handling

Concurrency

Data Integrity & Globals

Code Structure

Expert Guidance

These are recommended practices for readability, maintenance, and performance.

Pointers & Interfaces

Concurrency & Synchronization

Time Management

Performance (Hot Path Only)

Code Style & Readability

Patterns

Tooling & Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.