golang-code-style
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…
- installs 8w
- 5,648
- 30-day movement
- starts with the next reading
- Related entries
- 1
- Connections
- 1
An agent skill that loads Go code style conventions covering line breaking, variable declarations, control flow clarity, function design, and when comments help. It bundles a details reference and explicitly excludes naming, linting, and doc comments, pointing to sibling skills instead.
Reach for it when writing or reviewing Go code where clarity judgments beyond what linters enforce matter.
Use it to
- Apply style rules while writing Go code
- Review Go code for clarity and structure
- Establish project coding standards
- Decide value vs pointer arguments
- Restructure nested control flow
For Developers and AI agents writing or reviewing Go
- Host repository
- samber/cc-skills-golang
- Version
- 1.3.0
- Installs, lifetime
- 41k
- Installs, 8 weeks
- 5,648
- Allowed tools
- Read Edit Write Glob Grep Bash(go:*) Bash(golangci-lint:*) Bash(git:*) Agent
- Compatible with
- Designed for Claude Code, Codex or similar harness, and for projects using Golang.
- Licence
- MIT
- Invocable by
- user
- Host stars
- 3,261
- Host language
- Go