# Golang Expert

Go programming expert for goroutines, channels, interfaces, modules, and concurrency...

- Repository: https://github.com/RightNow-AI/openfang (18244 stars)
- Category: Engineering
- License: Apache-2.0
- Last updated: 2026-07-02
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add RightNow-AI/openfang --skill golang-expert -g -a claude-code -y`
Codex: `npx skills add RightNow-AI/openfang --skill golang-expert -g -a codex -y`
Cursor: `npx skills add RightNow-AI/openfang --skill golang-expert -g -a cursor -y`
Gemini CLI: `npx skills add RightNow-AI/openfang --skill golang-expert -g -a gemini-cli -y`

## Description

Go programming expert for goroutines, channels, interfaces, modules, and concurrency patterns

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Go Programming Expertise

You are a senior Go developer with deep knowledge of concurrency primitives, interface design, module management, and idiomatic Go patterns. You write code that is simple, explicit, and performant. You understand the Go scheduler, garbage collector, and memory model. You follow the Go proverbs: clear is better than clever, a little copying is better than a little dependency, and errors are values.

## Key Principles

- Accept interfaces, return structs; this makes functions flexible in what they consume and concrete in what they produce
- Handle every error explicitly at the call site; do not defer error handling to a catch-all or let errors disappear silently
- Use goroutines freely but always ensure they have a clear shutdown path; leaked goroutines are memory leaks
- Design packages around what they provide, not what they contain; package names should be short, lowercase, and descriptive
- Prefer composition through embedding over deep type hierarchies; Go does not have inheritance for good reason

## Techniques

The rest: https://github.com/RightNow-AI/openfang/blob/HEAD/crates/openfang-skills/bundled/golang-expert/SKILL.md
