Quality Assurance & Testing

Go Interface Design

Go interface design patterns: implicit interfaces, consumer-side definition, interface compliance verification, composition, the accept-interfaces-return-structs principle, and common pitfalls. Use when designing interfaces, decoupling packages, defining contracts, reviewing interface usage, or refactoring for testability. Trigger examples: "design interface", "accept interfaces return structs", "interface compliance", "consumer-side interface", "interface composition". Not for: HTTP handler patterns (go-api-design), general review (go-code-review).

Publisher / source
eduardo-sl/go-agent-skills (found on the CSV list)
Upstream record
eduardo-sl/go-agent-skills
Version
Version 2
Published
Publication review
Approved for publication · recorded passed scan 2026-11-02
Content fingerprint
281442fb4785d0f0df4b9efc9a2adf7dc9193097d9d31b297d9c2a29e4fcb0dc