Skill
Community

go-development

Install
1
Install the plugin
$
npx claudepluginhub levifig/loaf --plugin loaf

Want just this skill?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Covers idiomatic Go development: project structure, concurrency, error handling, and testing.

Tool Access

This skill is limited to using the following tools:

ReadWriteEditBashGlobGrep
Supporting Assets
View in Repository
references/concurrency.md
references/core.md
references/errors.md
references/idioms.md
references/testing.md
Skill Content

Go Skill

Patterns and best practices for Go development, grounded in Effective Go principles and community conventions.

Reference Files

FileUse When
references/core.mdSetting up projects, naming variables, formatting code
references/concurrency.mdWorking with goroutines, channels, or sync primitives
references/errors.mdHandling errors, creating custom errors, using panic/recover
references/testing.mdWriting table-driven tests, benchmarks, or examples
references/idioms.mdUsing guard clauses, defer, embedding, or method receivers

Naming Conventions

ElementConventionExample
Packageslowercase, short, no underscoreshttp, bytes, strconv
ExportedPascalCaseReadFile, HTTPClient
UnexportedcamelCaseparseConfig, internalState
Interfaces (single method)Method + "er"Reader, Stringer, Handler
GettersNo "Get" prefixuser.Name() not user.GetName()
AcronymsAll caps when exportedHTTPServer, xmlParser

Key Decisions

AreaDecision
Error handlingReturn errors, check immediately, no exceptions
Formattinggofmt is non-negotiable
ConcurrencyChannels for communication, goroutines are cheap
InterfacesSmall (1-3 methods), defined by consumer
DependenciesStandard library first, minimize external deps
GenericsUse when type safety matters; prefer interfaces when behavior matters
Stats
Stars1
Forks0
Last CommitFeb 21, 2026

Similar Skills