# golang-samber-oops

> Structured error handling in Golang with samber/oops — error builders, stack traces, error codes, error context, error…

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.

- Type: Skill
- Made by: samber
- Category: Developer tools
- Formats: Skills
- Version: 1.2.1
- Source: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops
- Page: https://pluginboard.ai/skills/golang-samber-oops

## Works with

- ChatGPT
- Claude
- Gemini
- GitHub Copilot
- Cursor
- Claude Code
- Codex
- Antigravity
- Gemini CLI
- Replit
- OpenClaw
- OpenCode
- Hermes Agent

## Install

### ChatGPT

In ChatGPT: Download the golang-samber-oops folder and zip it, then Plugins → Skills → Create → Upload from your computer. Business and Enterprise plans.

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Claude

In Claude (web or desktop): Download the golang-samber-oops folder and zip the folder itself, then upload it in Customize → Skills.

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Gemini

In Gemini: Download the golang-samber-oops folder, then at gemini.google.com click Customize → Skills → Create → Upload and pick the folder (or a .zip of it).

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### GitHub Copilot

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.copilot/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Cursor

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.cursor/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Claude Code

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.claude/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Codex

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.agents/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Antigravity

In Antigravity: Copy the golang-samber-oops folder into ~/.gemini/config/skills (Antigravity app and IDE) or ~/.gemini/antigravity-cli/skills (Antigravity CLI).

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Gemini CLI

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.gemini/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Replit

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops .agents/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### OpenClaw

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.openclaw/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### OpenCode

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.config/opencode/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

### Hermes Agent

Run in your terminal:

```shell
npx -y degit samber/cc-skills-golang/skills/golang-samber-oops ~/.hermes/skills/golang-samber-oops
```

View the folder on GitHub: https://github.com/samber/cc-skills-golang/tree/HEAD/skills/golang-samber-oops

---
From Pluginboard (https://pluginboard.ai).
