This skill empowers Claude to write high-quality Go code by applying industry-standard design patterns and project structures. It provides specialized guidance on functional options for configuration, dependency injection for testability, and efficient concurrency models like worker pools. By following the 'accept interfaces, return structs' principle and providing robust error handling strategies, this skill ensures your Go applications are idiomatic, clean, and easy to maintain according to the latest community standards.
主な機能
01214,597 GitHub stars
02Interface-driven design following the 'Accept interfaces, return structs' principle
03Scalable concurrency patterns including worker pools and context propagation
04Functional options pattern for flexible and backward-compatible API configuration
05Standardized project organization using the cmd/internal/pkg structure
06Idiomatic error handling with wrapping, custom types, and sentinel errors
ユースケース
01Designing new Go microservices with clean architecture and dependency injection
02Implementing complex concurrent systems using safe and efficient patterns
03Refactoring legacy Go codebases to follow modern idiomatic standards