Skip to content
G

golang-code-style

Golang code style conventions

by samberFree

Launch
#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-error-handling

Idiomatic Golang error handling

AI Skills
Launch
G

golang-testing

Production-ready Golang tests

AI Skills
Launch
G

golang-patterns

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

AI Skills
Launch
G

go-concurrency-patterns

Master Go concurrency with goroutines, channels, sync primitives, and context

AI Skills
Launch
G

golang-security

Security best practices and vulnerability prevention for Golang

AI Skills
Launch
G

golang-design-patterns

Idiomatic Golang design patterns

AI Skills
Launch

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-error-handling, golang-testing and golang-patterns. See all golang-code-style alternatives

Developer Stuff

Badges