go-dev
Skill1 starsChanged 2 months agoMITView on GitHub
Go development best practices, coding patterns, and code standards for production-ready Go applications. Use when writing new Go code, reviewing Go code, refactoring, implementing concurrency, or designing interfaces and generics. Covers inline interfaces, error handling, errgroup concurrency, generics, testing excellence. Keywords: go development, golang best practices, go code review, go concurrency, go generics, go interfaces.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- dstotijn/agent-skillstheir own version, first seen Sep 21, 2026
- tenequm/skillstheir own version, first seen Jun 5, 2026
- doccker/cc-use-exptheir own version, first seen May 29, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- doccker/cc-use-exp★ 1.1ksame name
- tenequm/skills★ 37same name
- dstotijn/agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- arch-linux-cachyosSkill
- arch-linux-triageSkill
- bash-defensive-patternsSkill
- bash-linuxSkill
- bash-scriptingSkill
- beansSkill
- context7Skill
- docker-compose-setupSkill
- audioSkill
- deploymentSkill
- ecsSkill
- game-loopSkill
- inputSkill
- physicsSkill
- renderingSkill
- resourcesSkill
- ebitenSkill
- geminiSkill
- go-browser-testsSkill
- go-fluent-testingSkill
- go-htmx-frontendSkill
- go-setupSkill
- interactive-browser-testingSkill
- keep-on-goingSkill
- mcpcSkill
- minimaxSkill
- pixellabSkill
- playwright-mcpSkill
- public-repo-maturitySkill
- searxngSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
Use this skill when:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
What I do
I enforce Go development best practices including:
- Inline Interface Definition
- Error handling standards
- Concurrency patterns with errgroup
- Interface design
- Generics usage
- Performance optimization
- Testing excellence
When to use me
Use this skill when:
- Writing new Go code
- Reviewing Go code
- Refactoring existing code
- Implementing concurrent operations
- Designing interfaces and generics
Related Skills
go-setup- Project initialization and library selectiongo-fluent-testing- Unit/integration/E2E testing (fluent Given/When/Then)
References
Deep-dive topics are split into focused reference files:
- Interfaces — Inline interface definition, small focused interfaces, functional options
- Error Handling — Golden rules, wrapping, sentinel errors, multi-error handling
- Concurrency — errgroup, worker pools, channel patterns
- Generics — Type parameters, constraints, data structures, decision framework
- Testing — Table-driven tests, mocks, benchmarks, fuzzing
- Performance & Footguns — Pre-allocation, sync primitives, common pitfalls
Quick Reference Tables
Error Handling
| ✅ Do This | ❌ Never This |
errors.Is(err, ErrX) | err == ErrX |
errors.As(err, &target) | err.(*Type) |
fmt.Errorf("...: %w", err) | fmt.Errorf("...: %v", err) |
errors.Join(errs...) | Manual error collection |
Concurrency
| ✅ Do This | ❌ Never This |
errgroup.WithContext(ctx) | Bare sync.WaitGroup |
g.SetLimit(n) | Unbounded goroutines |
| Loop variable capture | Range variable in goroutine |
| Context for cancellation | Global done channels |
Testing
| Command | Description |
go test -v | Verbose output |
go test -race | Run race detector |
go test -cover | Show coverage |
go test -bench . | Run benchmarks |
go test -fuzz Fuzz | Run fuzzing |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

