Alternatives to golang-samber-oops
200 apps like golang-samber-oops, closest match first.
Top picks
- G

golang-error-handling
Getgolang-error-handling is an agent skill from the samber cc-skills-golang collection that guides a coding agent to write idiomatic, debuggable error handling in Go. It covers creating errors, wrapping them with %w to keep context, checking t
- G

golang-troubleshooting
Getgolang-troubleshooting is an agent skill from the samber cc-skills-golang collection for finding and fixing the root cause of bugs in Go programs, including crashes, deadlocks, data races and unexpected behaviour. Its persona is a Go system
- G

golang-observability
Getgolang-observability is an agent skill from the samber cc-skills-golang collection for the always-on signals a Go service needs in production. It covers structured logging with slog, Prometheus metrics, OpenTelemetry distributed tracing, pr
- G

go-error-handling
GetUse when writing Go code that returns, wraps, or handles errors — choosing between sentinel errors, custom types, and fmt.Errorf (%w vs %v), structuring error
- E

error-handling
Geterror-handling is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It sets out error handling patterns for production applications in TypeScript, Python and Go. It covers typed errors and exception hierarchies for a
- 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
More like golang-samber-oops
About golang-samber-oops

golang-samber-oops
Structured error handling in Golang with samber/oops
golang-samber-oops is an agent skill from the samber cc-skills-golang collection for structured error handling in Go with the samber/oops library. The library is a drop-in replacement for Go's standard error handling that adds structured context, stack traces, error codes, public messages and panic recovery. Its persona is a Go engineer who treats errors as structured data, so every error carries enough context, meaning its domain, attributes and trace, for an on-call engineer to diagnose a problem without asking the developer. The skill's key rule is that variable data goes into attributes added with the With method rather than into the message string, so that monitoring tools such as Datadog, Loki and Sentry can group similar errors correctly. It contrasts this with the standard approach, where context is added to a message by string formatting. The skill covers error builders, error codes, error wrapping, user-facing messages and recovering from panics. It is useful for services where errors are read by operators in an observability platform, and where a generic message is not enough to find the cause. The official references are the library's documentation and repository, and the skill is not exhaustive. It is listed on skills.sh, where the page shows install counts and GitHub stars for the collection. Install it with npx skills add https://github.com/samber/cc-skills-golang --skill golang-samber-oops.
- Price
- Free
- Made by
- samber
- Category
- AI Skills
- Website
- github.com/samber/cc-skills-golang/golang-samber-oops








