Go Idiomatic API Design
Design and review stable, idiomatic Go package APIs covering naming, exported declarations, embedding, receivers, typed-nil interfaces, generics, functional options, method sets, errors, wire contracts, compatibility, and examples. Use when creating a reusable Go package, reviewing its public surface, evolving an exported API, or choosing concrete types, functions, methods, fields, interfaces, or type parameters.
Gov0.2.0MITgogolangapi-designpackagesinterfacescompatibility
Install
npx skills add LVTD-LLC/skills --skill go-idiomatic-api-designFrom `SKILL.md`
Design from the caller's code inward. Prefer the smallest coherent public surface that preserves invariants and can evolve without needless interfaces.