linting-go-code
Installation
SKILL.md
Linting Go Code
All commands run from the Go module root (installer/).
Lint
task lint
Runs golangci-lint (the master linter — all individual linters run through it) plus typos for spell checking. Auto-fixes what it can.
Format
task fmt
Formats code through golangci-lint (gofumpt + goimports + golines). Never run these formatters standalone — always use task fmt.