This is a comprehensive reference that consolidates production Go patterns from Google, Uber, and the core Go team, updated for Go 1.25. It covers the usual suspects like error handling, concurrency, and testing, but also includes newer features like the 1.23+ iterators, 1.24+ tool directives in go.mod, and 1.25's synctest for deterministic concurrent testing. The guidance is opinionated in the right ways: return errors don't panic, channel size 0 or 1, use errgroup over bare waitgroups. It's structured as a quick reference with deeper sub-skills available, so you can skim for reminders or dive into specifics. Good for teams trying to align on style or solo developers who want battle-tested defaults instead of reinventing decisions.
- skills.sh installs
- 437
- GitHub stars
- 6
- last updated
- Jun 3, 2026
Install
$ npx -y skills add saisudhir14/golang-agent-skill --skill golang --agent claude-codeInstalls into .claude/skills of the current project.
Files
Go Best Practices
Production patterns from Google, Uber, and the Go team. Updated for Go 1.25.
Sub-skills:
skills/go-error-handling,skills/go-concurrency,skills/go-testing,skills/go-performance,skills/go-code-review,skills/go-linting,skills/go-project-layout,skills/go-security. Deep-dive references inreferences/.
Core Principles
Readable code prioritizes these attributes in order:
- Clarity: purpose and rationale are obvious to the reader
- Simplicity: accomplishes the goal in the simplest way
- Concision: high signal to noise ratio
- Maintainability: easy to modify correctly
- Consistency: matches surrounding codebase
Error Handling
Full guide:
skills/go-error-handling/SKILL.md| Reference:references/error-handling.md
Sponsors
Details
- Repository
- github.com/saisudhir14/golang-agent-skill
- Categories
- AI & Agent Building, Go
- First seen
- Jun 3, 2026
