go-development
Skill1 starsChanged 33 days agoMITView on GitHub
Write and review idiomatic, safe Go — error handling, context propagation, goroutine and channel lifecycles, data races, table-driven tests and module hygiene. Use when writing or reviewing Go services, CLIs or libraries, or when debugging leaks, races and hangs in Go code.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- DylanHalstead/skillstheir own version, first seen Nov 29, 2026
- netresearch/go-development-skilltheir own version, first seen Nov 21, 2026
- ProjAnvil/MindForgetheir own version, first seen Nov 14, 2026
- hiromaily/go-crypto-wallettheir own version, first seen Oct 9, 2026
- ibarryyan/skills-runtimetheir own version, first seen Oct 3, 2026
- codetesla51/skillstheir own version, first seen Sep 25, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- hiromaily/go-crypto-wallet★ 128same name
- codetesla51/skills★ 32same name
- netresearch/go-development-skill★ 15same name
- 11me/skillbox★ 4same name
- ProjAnvil/MindForge★ 3same name
- carloss765/agent-skills★ 1same name
- DylanHalstead/skills★ 1same name
- ibarryyan/skills-runtime★ 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 repository105 other files it gives its agents.
- AGENTS.mdAGENTS.md
- instructions/AGENTS.mdAGENTS.md
- accessibility-reviewSkill
- agent-evaluationSkill
- agent-guardrailsSkill
- agenthub-routerSkill
- ai-red-teamingSkill
- ansible-reviewSkill
- api-designSkill
- api-integrationSkill
- architecture-decisionSkill
- backup-restoreSkill
- caching-strategySkill
- chaos-engineeringSkill
- ci-cd-pipeline-designSkill
- cloud-cost-optimizationSkill
- cloud-iam-least-privilegeSkill
- code-reviewSkill
- container-image-optimizationSkill
- cyber-resilience-actSkill
- database-migrationsSkill
- data-pipeline-reviewSkill
- data-privacySkill
- data-quality-checksSkill
- debugging-root-causeSkill
- dependency-auditSkill
- dependency-upgradeSkill
- disaster-recovery-drillSkill
- docker-hardeningSkill
- documentationSkill
- dora-readinessSkill
- dpiaSkill
- email-deliverabilitySkill
- embedding-model-selectionSkill
- error-handling-reviewSkill
- eu-ai-act-readinessSkill
- eu-data-sovereigntySkill
- european-accessibility-actSkill
- event-driven-architectureSkill
- feature-flagsSkill
- frontend-reviewSkill
- gdpr-dsar-handlingSkill
- github-actionsSkill
- gitlab-ciSkill
- git-workflowSkill
- graphql-api-reviewSkill
- helm-chart-reviewSkill
- i18n-localizationSkill
- incident-responseSkill
- java-spring-reviewSkill
- kubernetes-reviewSkill
- linux-server-hardeningSkill
- llm-cost-analysisSkill
- llm-gateway-routingSkill
- llm-observabilitySkill
- llm-output-evaluationSkill
- llm-structured-extractionSkill
- load-testingSkill
- local-llm-servingSkill
- log-analysisSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Errors: every returned error is checked.
- Distinctive: line 39
Every goroutine in the change has a documented exit path.
- Very specific: line 46
Run tests and fuzzers locally or in CI, not against production services.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Go Development
Goal
Go code that handles every error, never leaks goroutines, cancels work through context, and is verified by the race detector and table-driven tests.
Inputs
- Go version (
go.mod), module layout, linters in use (go vet,staticcheck,golangci-lint), deployment target.
Review checklist
- Errors: every returned
erroris checked; wrap with context (fmt.Errorf("load config: %w", err)); compare witherrors.Is/errors.As, not string matching; nopanicfor expected failures in libraries. - Context: the first parameter of functions that do I/O or may block is
ctx context.Context; it is passed down, never stored in structs; HTTP clients and database calls use it;context.Background()only at program roots. - Goroutines: each goroutine has an owner and an exit condition (context cancellation, closed channel,
errgroup); the sender closes channels; no unbounded goroutine creation per request without limits (semaphore, worker pool). - Concurrency safety: shared state protected by
sync.Mutexor confined to one goroutine; maps are not written concurrently;sync.WaitGroup.Addhappens before the goroutine starts. - Resources:
defer resp.Body.Close(),defer rows.Close(), and checkrows.Err(); timeouts onhttp.Clientand servers (ReadHeaderTimeout). - APIs: accept interfaces, return concrete types; small interfaces defined by the consumer; exported identifiers documented.
- Tests: table-driven tests with
t.Run,t.Parallel()where safe,t.Cleanup; rungo test -race ./...; fuzz tests for parsers (go test -fuzz). - Modules:
go mod tidyclean,govulncheck ./...for known vulnerabilities, noreplacedirectives left from local development.
Example fixture
func fetchAll(urls []string) []string {
var out []string
for _, u := range urls {
go func() { resp, _ := http.Get(u); out = append(out, resp.Status) }()
}
return out
}Expected findings: ignored error and nil-pointer risk, data race on out, function returns before goroutines finish, no context or timeout, response body never closed.
Acceptance checks
go vet,staticcheck(or the project's linter) andgo test -race ./...pass, or failures are listed.- Every goroutine in the change has a documented exit path.
- Negative case: a test with a cancelled context shows the function returns promptly with
context.Canceled.
Output
Findings with file and line, corrected code or diff, and the commands run with results.
Safety
Run tests and fuzzers locally or in CI, not against production services. Do not add replace directives or vendor patches to bypass vulnerability reports without review.
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.

