Alternatives to golang-structs-interfaces
200 apps like golang-structs-interfaces, closest match first.
Top picks
- G

golang-design-patterns
Getgolang-design-patterns is an agent skill from the samber cc-skills-golang collection that guides a coding agent to idiomatic Go design. It covers functional options, constructor APIs, avoiding init functions and global state, enums, the cho
- G

go-interfaces
GetGo Interfaces is an agent skill for defining and implementing Go interfaces, designing abstractions, creating mockable boundaries for tests and composing types through embedding. Its main rule is to accept interfaces and return concrete typ
- G

golang-patterns
Getgolang-patterns is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out idiomatic Go practice for building robust, efficient and maintainable applications. Its first principle is simplicity and clarity, since
- G

golang-data-structures
Getgolang-data-structures is an agent skill from the samber cc-skills-golang collection for choosing and using Go's built-in and standard library data structures. Its persona is a Go engineer who understands data structure internals and picks
- G

golang-naming
Getgolang-naming is an agent skill from the samber cc-skills-golang collection that sets out Go naming conventions for a coding agent. Go favours short, readable names, and capitalisation controls visibility, so uppercase names are exported an
- G

golang-project-layout
Getgolang-project-layout is an agent skill from the samber cc-skills-golang collection for setting up the layout and workspace of a Go project. It covers cmd, internal and pkg directory conventions, module and package naming, go.work workspace
More like golang-structs-interfaces

go-documentation
Writing or reviewing documentation for Go packages, types, functions, or methods

golang-documentation
Comprehensive documentation guide for Golang projects, covering godoc comments

golang-troubleshooting
Troubleshoot Golang programs systematically - find and fix the root cause
About golang-structs-interfaces

golang-structs-interfaces
Golang struct and interface design patterns
golang-structs-interfaces is an agent skill from the samber cc-skills-golang collection for designing structs and interfaces in Go. It covers composition, embedding, type assertions, type switches, interface segregation and dependency injection through interfaces. Its persona is a Go type system designer who favours small, composable interfaces and concrete return types, and who designs for testability and clarity rather than for abstraction's sake. Its main rule is that interfaces should have one to three methods, because small interfaces are easier to implement, mock and compose. The skill quotes the Go proverb that the bigger the interface, the weaker the abstraction, and says that when a larger contract is needed it should be built from small interfaces. It refers to the naming skill in the same collection for how interfaces should be named, following the method name with an er suffix and the canonical names. The skill is useful for developers who want to avoid large interface types that are hard to mock, and who want an agent to return concrete types from constructors, accept interfaces where a function needs behaviour, and use embedding carefully. It is listed on skills.sh, where the page shows install counts and GitHub stars for the collection. Its security audits all pass, including Gen Agent Trust Hub, Socket and Snyk. Install it with npx skills add https://github.com/samber/cc-skills-golang --skill golang-structs-interfaces.
- Price
- Free
- Made by
- samber
- Category
- AI Skills
- Website
- github.com/samber/cc-skills-golang/golang-structs-interfaces





