{"slug":"samber-golang-error-handling","source_name":"samber/golang-error-handling","name":"Samber/Golang Error Handling","description":"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; f","version":1,"lift":{"pass_rate_delta_pts":13.64,"pass_rate_pct":81.8,"total_cases":22,"passed_cases":18,"tokens_delta_pct":54.3,"turns_delta_pct":0,"verdict":"mixed","benchmark_model":"gemini-3.6-flash","grading_method":"judged","completed_at":"2026-08-12T06:10:49.839894+00:00"},"skill_score":null,"benchmark_models":[{"model":"gemini-3.6-flash","headline":true,"delta_pts":13.64,"with_pass_pct":81.8,"without_pass_pct":68.2,"tokens_delta_pct":54.3,"turns_delta_pct":0,"total_cases":22,"cases_aggregated":22,"verdict":"mixed","never_hurt":false,"completed_at":"2026-08-12T06:10:49.839894+00:00","run_id":"706a692d-558c-43a1-b254-a58f48302dc9","version_number":1,"is_latest_version":true,"gate":null}],"trust":{"skill_safety":"passed","safety_status":"clean","intent_verdict":"safe","content_status":"clean","indexable":true},"license":"MIT","install_count":0,"manifest_hash":"4676ad503cb5ebf1d37c639574982b300b88c0e20a5cf257c1a266e2efefbc48","raw_url":"https://app.decimal.ai/s/samber-golang-error-handling/SKILL.md","scorecard_url":"https://app.decimal.ai/skills/samber-golang-error-handling"}