# golang-code-style

> Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments he…

Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt. Use when writing or reviewing Go code, asking about style or clarity, or establishing project coding standards. Not for naming conventions (→ See `samber/cc-skills-golang@golang-naming` skill), linter configuration (→ See `samber/cc-skills-golang@golang-lint` skill), or doc comments (→ See `samber/cc-skills-golang@golang-documentation` skill).

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

## 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-code-style 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-code-style

### Claude

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

### Gemini

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

### GitHub Copilot

Run in your terminal:

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

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

### Cursor

Run in your terminal:

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

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

### Claude Code

Run in your terminal:

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

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

### Codex

Run in your terminal:

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

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

### Antigravity

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

### Gemini CLI

Run in your terminal:

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

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

### Replit

Run in your terminal:

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

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

### OpenClaw

Run in your terminal:

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

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

### OpenCode

Run in your terminal:

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

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

### Hermes Agent

Run in your terminal:

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

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

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