Edge Copy setup link
Skill evidence / Golang Error Handling

Golang Error Handling

Idiomatic Golang error handling : creation.

samber/cc-skills-golangpinned 19a0626
✓ Security state: reviewed

2 static scans, 0 counted findings.

Recorded for this package revision; Edge checks the exact bundle again when your agent loads it.

SKILL.md5 files · 36.5 KB
From samber’s public repository. Edge did not write or edit this skill.

What this skill does for you

Idiomatic Golang error handling : creation, wrapping with %w, errors.Is/As, errors.Join, custom error types, sentinel errors, panic/recover, the single handling rule, structured logging with slog, HTTP request logging middleware, and samber/oops for production errors. Built to make logs usable at scale with log aggregation 3rd-party tools. Apply when creating, wrapping, inspecting, or logging errors in Go code. For samber/oops specifics → See `samber/cc-skills-golang@golang-samber-oops` skill; for slog handler ecosystem → See `samber/cc-skills-golang@golang-samber-slog` skill.

Quoted from the skill description in the pinned source

Use it with Edge

Set up Edge for me: read getedge.cc/SKILL.md and follow it. Then use Edge to load the golang-error-handling skill from samber/cc-skills-golang.

Paste it into Claude, ChatGPT, Codex or Cursor.

Or read the skill source first.

Try Golang Error Handling in your agent.

Idiomatic Golang error handling : creation.