golang
Installation
SKILL.md
Go — Opinionated Coding Standards
Execution Order
When implementing or changing Go code, run this sequence unless project tooling defines a different workflow:
- Detect project commands in this order:
maketargets (ifMakefileexists)magetargets (ifmagefile.goexists)- raw Go commands
- Run checks in this order:
fmt->lint->test->build
Default fallback commands when project tooling is missing:
- Format:
golangci-lint fmt - Lint:
golangci-lint run - Test:
go test ./... - Build:
go build ./...