What problem does it solve?
This Skill removes inconsistency and uncertainty from Go code reviews by providing a structured, expert checklist that identifies idiomatic issues, error-handling anti-patterns, concurrency risks, and performance pitfalls so teams can ship robust Go services.
Core Features & Use Cases
- Idiomatic guidance: Checks naming, package layout, interface design, receiver conventions, and export boundaries.
- Error handling: Detects ignored errors, recommends error wrapping with contextual messages and %w, and highlights when sentinel or custom error types are appropriate.
- Concurrency safety: Identifies race conditions, goroutine leaks, improper synchronization, missing context propagation, and unsafe channel usage.
- Performance & testing: Suggests slice preallocation, reduced allocations in hot paths, appropriate use of pointers vs values, table-driven tests, benchmarks, and httptest usage.
- Security & project structure: Flags SQL/command/path injection patterns, hard-coded secrets, TLS misconfigurations, and suggests idiomatic project layout for maintainability.
- Use case: Run this Skill on a microservice repo using gin or grpc-go to get a prioritized report of critical concurrency issues, ignored errors, and test coverage gaps before merging a feature.
Quick Start
Review the repository's Go files for idiomatic patterns, error handling issues, concurrency risks, and performance improvements.