Skip to content
G

golang-code-style

Golang code style conventions

by samberFree

#3328in AI Skills
0In stores

Description

golang-code-style is an agent skill from the samber cc-skills-golang collection that sets out Go code style conventions for a coding agent.…

Highlights

  • Line length and breaking rules
  • Variable declaration guidance
  • Control flow clarity
  • When comments help and when they hurt
  • Multi-agent review of large codebases
  • Installs from skills.sh

Ratings & Reviews

No ratings yet

Be the first to rate golang-code-style.

People also visit

G

golang-patterns

Idiomatic Go patterns, best practices, and conventions for building robust

AI Skills
Get
G

golang-naming

Go (Golang) naming conventions

AI Skills
Get
G

go-style-core

Working with Go formatting, line length, nesting, naked returns, semicolons

AI Skills
Get
G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Get
G

golang-lint

Linting best practices and golangci-lint configuration for Golang projects

AI Skills
Get
G

go-code-review

Reviewing Go code or checking code against community style standards

AI Skills
Get

golang-code-style FAQ

What does this skill cover?

Go code style rules that need judgment, such as line length, variable declarations, control flow and when to add comments.

What is the line length rule?

There is no rigid limit, but lines beyond about 120 characters must be broken at semantic boundaries, and calls with four or more arguments use one argument per line.

How do I install it?

Run npx skills add https://github.com/samber/cc-skills-golang --skill golang-code-style.

Does it cover naming?

No. The skill points to companion skills in the same collection for naming, design patterns and struct and interface design.

What are the security audit results?

skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.

How popular is it?

The page shows about 42.1K installs, and the repository has 3.5K GitHub stars.

What are the best golang-code-style alternatives?

Popular alternatives to golang-code-style include golang-patterns, golang-naming and go-style-core. See all golang-code-style alternatives

Developer Stuff

Badges