What problem does it solve?
This Skill helps you write and review Go code that is clearer, simpler, and easier to maintain by applying Go-native style decisions that go beyond what gofmt can enforce.
Core Features & Use Cases
- Control Flow Guidance: Prefer early returns, remove unnecessary else branches, and choose switch statements when they communicate intent better than if chains.
- Data and Function Design: Initialize slices and maps correctly, use named composite literals, choose value or pointer arguments appropriately, and keep function signatures small and readable.
- Practical Go Review Support: Use it when reviewing production Go, refactoring nested logic, or standardizing code to match common Go community conventions.
- Use Case: You are cleaning up a service handler with deep nesting, inconsistent declarations, and brittle struct literals; this Skill helps reshape it into idiomatic, review-friendly Go.
Quick Start
Review my Go code for style issues and rewrite it to follow idiomatic control flow, declarations, and function design.