Synaptic SkillsSynapticSkills
MarketplaceSkill GraphCriar SkillMCP ServerPlataformaEnterprise
v0.1.0-beta
Voltar ao Marketplace
DevelopmentMédio

Go Structs & Interfaces

porsamber·samber· v1.0.0 · atualizado em 2026-04-10
85
Score

Golang struct and interface design patterns — composition, embedding, type assertions, type switches, interface segregation, dependency injection via interfaces, struct field tags, and pointer vs value receivers. Use this skill when designing Go types, defining or implementing interfaces, embedding structs or interfaces, writing type assertions or type switches, adding struct field tags for JSON/YAML/DB serialization, or choosing between pointer and value receivers. Also use when the user asks about "accept interfaces, return structs", compile-time interface checks, or composing small interfaces into larger ones.

golangstructsinterfacestype-systemdesign-patternsdependency-injectiongo-programming
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdgolang-structs-interfaces/workflow
Understand the problem and the desired outcome related to Go structs and interfaces.
Identify the specific design pattern or concept the user is asking about (e.g., interface design, struct embedding, dependency injection).
Apply the relevant Go design principles and best practices to the problem.
Generate code examples that illustrate the recommended solution.
Explain the reasoning behind the chosen design pattern and its benefits.
Provide guidance on potential pitfalls and how to avoid them.
Offer links to relevant documentation or resources for further learning.

Telemetria de Agentes

Execuções
0
total
Taxa de Sucesso
0%
últimos 30d
Latência Média
0.0s
p50
Alucinação
0.0%
detecção
Tokens Entrada
0
avg 0/exec
Tokens Saída
0
avg 0/exec

Uso por Plataforma

Skills Relacionados

Compõe comGo Code Style
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe comGo Design Patterns & Idioms
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
83
Compõe comGo Naming Conventions
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
81
Compõe comDependency Injection in Go
70%
Hebbian Synapse
Composite0.700
w = 0.3·α + 0.5·β + 0.2·γ
82
Similar aSolana Development Skill (framework-kit-first)
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
85
Similar aCoder
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
81
Similar aElysiaJS Development Skill
60%
Hebbian Synapse
Composite0.600
w = 0.3·α + 0.5·β + 0.2·γ
84

Árvore do Skill

Go Structs & Interfaces
golang-structs-interfaces
Fases Cognitivas6
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.RECOMMEND
5.ACT
6.REFLECT
Triggers10
design a Go structdefine a Go interfaceimplement an interface in Gouse type assertions in Gouse type switches in Goadd struct field tags in Gopointer vs value receivers in Goaccept interfaces, return structs in Gocompile-time interface checks in Gocompose small interfaces into larger ones in Go

Avaliar este Skill

Score Breakdown

⭐Avaliação Humana0%
🤖Sucesso de Agentes0%
🕐Atualidade100%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo0%
🛡️Segurança50%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança

Instalação

$ synaptic mcp download golang-structs-interfaces
$ synaptic skills detail golang-structs-interfaces
$ synaptic skills live golang-structs-interfaces

Links

GitHub Repository