# golang-backend-development

Supplies your assistant with battle-tested Go architectural guidelines covering goroutines, channels, mutexes, and request cancellation.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1400 installs · ★ 62
- Author: manutej
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-backend-toolkit/skills/golang-backend-development/SKILL.md
- Updated: 2026-06-13
- HTML: https://affpapa.org/en/nevibecode/skills/golang-backend-development

## What it does

This skill guides the AI in crafting network daemons and backend utilities in Go. It lays down explicit structures for running concurrent units on lightweight runtime-managed threads, passing data via unbuffered or buffered channels, and orchestrating channel inputs with the `select` statement.

Concurrency coordination relies entirely on standard Go idioms. The documentation covers task coordination using `sync.WaitGroup`, mutual exclusion with `sync.Mutex`, and read-heavy workloads managed by `sync.RWMutex`. In addition, timeout boundaries and request lifecycles are handled through standard `context` wrappers.

Failing to pass `context.Context` as the leading parameter breaks cancellation propagation during unexpected client disconnects.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill golang-backend-development -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/golang-backend-development/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/golang-backend-development/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill golang-backend-development -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/golang-backend-development/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill golang-backend-development -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/golang-backend-development/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install manutej/luxor-claude-marketplace golang-backend-development
```

2. **Manually: put the files in place**
- File: `.github/skills/golang-backend-development/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill golang-backend-development -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-backend-toolkit/skills/golang-backend-development
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/golang-backend-development/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add manutej/luxor-claude-marketplace --skill golang-backend-development -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/manutej/luxor-claude-marketplace/tree/HEAD/plugins/luxor-backend-toolkit/skills/golang-backend-development/SKILL.md

## When to use it
- stream data safely between concurrent routines using Go channels
- enforce timeout deadlines and cancellation signals via `context.Context`
- coordinate background job completion using `sync.WaitGroup`
- safeguard shared memory structures against race conditions with `sync.RWMutex`

## Example prompts
- Build a Go worker pool that reads from a buffered channel and aborts via `context.Done()`.
- Implement a thread-safe memory store guarded by `sync.RWMutex`.
- Write a connection listener loop that assigns incoming network requests to distinct goroutines.

## Similar
- [mcp-builder](https://affpapa.org/en/nevibecode/skills/mcp-builder.md) — skill · 130949 installs
- [claude-api](https://affpapa.org/en/nevibecode/skills/claude-api.md) — skill · 74198 installs
- [lark-im](https://affpapa.org/en/nevibecode/skills/lark-im.md) — skill · 472900 installs
- [lark-event](https://affpapa.org/en/nevibecode/skills/lark-event.md) — skill · 466800 installs
- [caveman-discover](https://affpapa.org/en/nevibecode/skills/caveman-discover.md) — skill · 104400 installs
- [migration](https://affpapa.org/en/nevibecode/skills/migration.md) — skill · 103900 installs

From the same set: [manutej/luxor-claude-marketplace](https://affpapa.org/en/nevibecode/by/manutej/luxor-claude-marketplace.md) — 38 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
