Go (router)
This id routes. Do not remint Go advice. No scripts/.
At most one language skill per turn, and the process skills that may load with it: language-router Iron law, Load-with list.
Iron law
Never write a parallel Go guide.
Load
Which Go skill loads: the Go row in language-router Map.
Then stop. Apply that skill.
Combined verify (after the chosen skill)
gofmt -l .
go test ./...
go test -race ./...
Add staticcheck / errcheck when tester already wired them. Read the output.
Combined PR checklist
- Errors wrapped with
%w; compared witherrors.Is/As, not==. context.Contextis first param and is plumbed, not stored on structs.- No goroutine without a documented lifetime (return, ctx cancel, or WaitGroup).
- No string-built SQL or
os/execfrom concatenated input. - Tables in
_test.gofor the new behavior.
Never
- A new
lang-gobody that copies samber or Effective Go into this repo. npx/ marketplace install ofsamber/cc-skills-golang.