Giverny

Golang Code Style

Golang code style conventions — line length and breaking, variable declarations, control flow clarity, when comments help vs hurt.

by samber★ 4,015Languages

What Golang Code Style does

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).

How to install Golang Code Style in Claude Code

Giverny gives you a ready prompt with the exact install command from samber/cc-skills-golang. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone samber/cc-skills-golang and copy the skills/golang-code-style folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Golang Code Style on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the golang-code-style skill on my current project.”

More Claude skills for languages