golang-conventions

Community

Write clear, idiomatic Go with confidence.

Authorrory-data
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Go codebases often drift in style and structure, leading to hard-to-read code, inconsistent error handling, and maintenance headaches. This Skill codifies Go conventions to promote clarity, consistency, and idiomatic usage across projects.

Core Features & Use Cases

  • Formatting and import rules (gofmt, goimports) to keep code clean
  • Naming, package structure, and idiom-focused guidance
  • Error handling, testing patterns, concurrency practices, and linting with golangci-lint
  • Use cases include new projects, code reviews, refactoring, and onboarding teams to Go.

Quick Start

Follow these conventions when writing, reviewing, or refactoring Go code to ensure idiomatic, readable, and maintainable programs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: golang-conventions
Download link: https://github.com/rory-data/copilot/archive/main.zip#golang-conventions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.