A solid reference for Go's type system that covers the practical patterns you actually need: small composable interfaces, "accept interfaces return structs," embedding semantics, type assertions with comma-ok, and compile-time interface checks. It's opinionated in the right ways (no premature interfaces, consumers define contracts, generics over `any`) and includes the rationale behind each rule. Useful when you're designing a new API surface, choosing between pointer and value receivers, or trying to remember whether to embed or use a named field. The struct tag and dependency injection coverage fills out the common scenarios. Written by samber, who maintains a solid collection of Go skills.
npx skills add https://github.com/samber/cc-skills-golang --skill golang-structs-interfaces