npx skills add sickn33/agentic-awesome-skills --skill go --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Go: Idiomatic Efficiency Reference ## When to Use - Use this skill when the task matches this description: Language-specific super-code guidelines for go. ## Table of Contents 1. [Error Handling](#errors) 2. [Slices & Maps](#slices) 3. [Goroutines & Channels](#concurrency) 4. [Structs & Interfaces](#structs) 5. [Functions & Closures](#functions) 6. [Anti-patterns specific to Go](#antipatterns) --- ## 1. Error Handling {#errors} ```go // ❌ Ignoring errors result, _ := os.Open(path) // ✅ — always handle; only use _ when error is provably irrelevant result, err := os.Open(path) if err != nil { return fmt.Errorf("open %s: %w", path, err) } ``` ```go // ❌ Redundant error variable err := doA() if err != nil { return err } err = doB() if err != nil { return err } // ✅ — each :=/: is fine; this is idiomatic Go. Don't try to "fix" it. // What you CAN simplify: collapsing to one-liners where the if body is a single return if err := doA(); err != nil { return err } if err := doB(); err != nil { return err } ``` ```go // ❌ Custom error type with no added value type MyError struct{ msg string } func (e MyError) Error() string { return e.msg } // ✅ — use errors.New or fmt.Errorf unless callers
- When to Use
- Table of Contents
- 1. Error Handling {#errors}
- 2. Slices & Maps {#slices}
- 3. Goroutines & Channels {#concurrency}
- 4. Structs & Interfaces {#structs}
- 5. Functions & Closures {#functions}
- 6. Anti-patterns specific to Go {#antipatterns}
- Limitations
What does the go skill do?
Language-specific super-code guidelines for go.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill go --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.