What problem does it solve?
It prevents Go codebases from drifting into inconsistent, hard-to-review patterns by codifying judgment-heavy style decisions that formatting and linters can’t fully handle.
Core Features & Use Cases
- Improve readability with rules for line breaking, control flow clarity (early returns, no unnecessary else), and complex-condition handling.
- Reduce bugs and surprises by enforcing zero-value intent, avoiding nil slices/maps, and using named struct fields.
- Standardize day-to-day practices for function design, pointer vs value parameter choices, code organization, string handling, and type conversions.
- Use Cases: applying consistent conventions during development, reviewing existing Go code for style/clarity issues, and establishing project coding standards.
Quick Start
Ask an AI coding agent to review your Go files (or write new ones) using these conventions for clarity, including breaking long calls by semantic boundaries and preferring early returns.