# golang-samber-do

> Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, grace…

Dependency injection in Golang using samber/do — service containers, lifecycle management, scopes, health checks, graceful shutdown, and module organization. Apply when using or adopting samber/do, when the codebase imports github.com/samber/do or github.com/samber/do/v2, or when refactoring manual constructor injection into a DI container.

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

## 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-do 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-do

### Claude

In Claude (web or desktop): Download the golang-samber-do 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-do

### Gemini

In Gemini: Download the golang-samber-do 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-do

### GitHub Copilot

Run in your terminal:

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

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

### Cursor

Run in your terminal:

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

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

### Claude Code

Run in your terminal:

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

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

### Codex

Run in your terminal:

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

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

### Antigravity

In Antigravity: Copy the golang-samber-do 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-do

### Gemini CLI

Run in your terminal:

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

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

### Replit

Run in your terminal:

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

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

### OpenClaw

Run in your terminal:

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

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

### OpenCode

Run in your terminal:

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

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

### Hermes Agent

Run in your terminal:

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

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

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