go-google-style-decisions

Installation
SKILL.md

go-google-style-decisions

This skill provides expert guidance on the "Decisions" portion of the Google Go Style Guide. It focuses on the specific choices and trade-offs made to ensure consistency, readability, and maintainability across large Go codebases.

Core Mandates

  1. Clarity over Conciseness: While Go favors brevity, never sacrifice clarity.
  2. Consistency is Key: Adhere to established patterns in the codebase.
  3. Idiomaticity: Follow Go-specific patterns (e.g., error handling, interface usage).
  4. No Underscores: Avoid underscores in names except in specifically allowed cases (tests, generated code).

Developer Workflow

  1. Design: Plan APIs following the "Least Mechanism" principle.
  2. Implement: Write code adhering to the style decisions detailed below.
  3. Lint: Use golangci-lint or go vet to catch common style violations.
  4. Test: Include runnable examples in _test.go files for public APIs.
  5. Review: Ensure changes align with the "Core Principles" of clarity and consistency.
Related skills
Installs
17
GitHub Stars
13
First Seen
Feb 8, 2026