# golang-troubleshooting

> Troubleshoot Golang programs systematically - find and fix the root cause.

Troubleshoot Golang programs systematically - find and fix the root cause. Use when encountering bugs, crashes, deadlocks, races, or unexpected behavior in Go code. Covers debugging methodology, common Go pitfalls, test-driven debugging, pprof setup and capture, Delve, race detection, GODEBUG tracing, and production debugging. Start here for any 'something is wrong' situation. Not for interpreting profiles or benchmarking (→ See `samber/cc-skills-golang@golang-benchmark` skill), applying optimization patterns (→ See `samber/cc-skills-golang@golang-performance` skill), or designing new code (→ See `samber/cc-skills-golang@golang-safety` skill for defensive coding, `samber/cc-skills-golang@golang-concurrency` skill for concurrency design).

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

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

### Claude

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

### Gemini

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

### GitHub Copilot

Run in your terminal:

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

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

### Cursor

Run in your terminal:

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

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

### Claude Code

Run in your terminal:

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

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

### Codex

Run in your terminal:

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

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

### Antigravity

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

### Gemini CLI

Run in your terminal:

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

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

### Replit

Run in your terminal:

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

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

### OpenClaw

Run in your terminal:

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

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

### OpenCode

Run in your terminal:

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

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

### Hermes Agent

Run in your terminal:

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

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

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