go-linting

Installation
SKILL.md

Go Linting

Core Principle

More important than any "blessed" set of linters: lint consistently across a codebase.

Consistent linting helps catch common issues and establishes a high bar for code quality without being unnecessarily prescriptive.


Setup Procedure

  1. Create .golangci.yml using the configuration below
  2. Run golangci-lint run ./...
  3. If errors appear, fix them category by category (formatting first, then vet, then style)
  4. Re-run until clean

Related skills

More from cxuu/golang-skills

Installs
605
GitHub Stars
91
First Seen
Jan 27, 2026