go-samber-oops

Community

Build structured Go errors with rich context

AuthorQunnnn
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the challenge of handling opaque Go errors by adding structured context, traceability, and machine-readable information for debugging and observability.

Core Features & Use Cases

  • Structured Error Construction: Create Go errors with domains, error codes, metadata, user-facing messages, and developer hints.
  • Context-Aware Error Propagation: Wrap and enrich errors across service layers while preserving stack traces and diagnostic context.
  • Use Case: Build production Go APIs where failures need consistent logging, monitoring, and safe client responses without exposing internal implementation details.

Quick Start

Ask the go-samber-oops skill to refactor my Go error handling to use structured oops errors with context and error codes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: go-samber-oops
Download link: https://github.com/Qunnnn/agents/archive/main.zip#go-samber-oops

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 545,000+ vetted skills library on demand.