What problem does it solve?
This Skill ensures your Go code adheres to official best practices, idioms, and conventions, eliminating inconsistencies and improving readability and maintainability. It saves time on manual code reviews and refactoring by guiding you to write high-quality Go from the start.
Core Features & Use Cases
- Idiomatic Go Enforcement: Automatically applies guidelines from
golang.org/doc/effective_go for formatting, naming, error handling, concurrency, and interfaces.
- Code Review Assistant: Acts as an expert Go reviewer, identifying areas where code deviates from established best practices.
- Refactoring Guidance: Provides clear, actionable advice to refactor existing Go code into a more idiomatic and efficient form.
- Use Case: When developing a new Go module, use this Skill to ensure every line of code follows the "Effective Go" principles, reducing future technical debt and making your code easier for others to understand and contribute to.
Quick Start
Apply Effective Go principles to the attached main.go file and suggest improvements for idiomatic Go.