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

samber/oops Structured Error Handling

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

Structured error handling in Golang with samber/oops — error builders, stack traces, error codes, error context, error wrapping, error attributes, user-facing vs developer messages, panic recovery, and logger integration. Apply when using or adopting samber/oops, or when the codebase already imports github.com/samber/oops.

golangerror-handlingstructured-loggingobservabilitysamber-oopsgo-errors
0Stars
0Forks
0Usos
Fork

Documento do Skill

SKILL.mdgolang-samber-oops/workflow
Import the `samber/oops` package.
Use the `oops` builder to create or wrap errors.
Add context to errors using methods like `.In()`, `.Tags()`, `.With()`, `.User()`, and `.Code()`.
Use `.Errorf()`, `.Wrap()`, or `.Wrapf()` to create or wrap errors with messages.
Implement panic recovery using `.Recover()` or `.Recoverf()`.
Access error information using type assertions and methods like `.Code()`, `.Domain()`, `.Tags()`, and `.Context()`.
Propagate error context using `oops.WithBuilder()` and `oops.FromContext()`.

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

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

samber/oops Structured Error Handling
golang-samber-oops
Fases Cognitivas5
1.SENSE
2.CONTEXTUALIZE
3.RECOMMEND
4.ACT
5.REFLECT
Triggers8
implement structured error handling in Gouse samber/oops for error managementadd context to Go errorscapture stack traces in Go errorscreate user-safe error messages in Gorecover from panics in Go with structured errorspropagate error context in Goadd error codes to Go errors

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-samber-oops
$ synaptic skills detail golang-samber-oops
$ synaptic skills live golang-samber-oops

Dependências

github.com/samber/oops

Links

GitHub Repository