Enforces the Uber Go Style Guide standards for writing, reviewing, and refactoring Go code.
This skill equips Claude with the comprehensive Uber Go Style Guide, ensuring that all Go code produced or refactored adheres to industry-leading standards for performance, readability, and reliability. It covers a wide range of Go-specific patterns, including proper error handling, efficient concurrency using channels and mutexes, and idiomatic naming conventions. By applying these rules, developers can maintain consistent codebases that minimize common pitfalls like pointer-to-interface usage, improper goroutine management, and inefficient string conversions, making it an essential tool for high-scale Go development.
Características Principales
01Implements safe concurrency patterns including proper mutex usage and goroutine lifecycles.
02Provides guidance on high-performance slice and map management with capacity hints.
03Standardizes error handling patterns using wrapping and exported error variables.
04Automates best practices for complex patterns like functional options and table-driven tests.
05Enforces idiomatic Go naming and formatting conventions for consistency.
061 GitHub stars
Casos de Uso
01Refactoring existing Go microservices to meet enterprise-grade style and performance standards.
02Generating new Go modules with consistent, production-ready boilerplate and error handling logic.
03Performing automated code reviews to catch Go-specific anti-patterns like naked bools or unbuffered channels.