A Claude Code skill for writing Go code that holds up in production.
Covers error handling, interface design, testing, concurrency, resilience, and tooling. Each pattern includes the reasoning behind it, not just the code.
Based on patterns from gogcli by Peter Steinberger and Effective Go.
npx skills add oss-skills/go-developmentOr copy manually:
cp -r . ~/.claude/skills/go-development/The skill activates when you write or review Go code, design interfaces, or set up project tooling.
SKILL.md # Main instructions
references/
errors.md # Typed errors, sentinel errors, Unwrap chains
interfaces.md # Accept interfaces, return structs
testing.md # Table-driven tests, test seams, httptest
concurrency.md # Bounded parallelism, context cancellation
resilience.md # Circuit breaker, backoff with jitter
MIT