sickn33/agentic-awesome-skills/go
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Language-specific super-code guidelines for go.
Install
npx vskill@latest install sickn33/agentic-awesome-skills/goSKILL.md
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
- Error Handling
- Slices & Maps
- Goroutines & Channels
- Structs & Interfaces
- Functions & Closures
- Anti-patterns specific to Go
1. Error Handling {#errors}
Wrap errors with `%w` (not `%v`) so callers can use `errors.Is` / `errors.As`.
2. Slices & Maps {#slices}
3. Goroutines & Channels {#concurrency}
Use `golang.org/x/sync/errgroup` for fan-out with error collection.
4. Structs & Interfaces {#structs}
Rule: pointer receiver when method mutates state OR struct is large (>3 fields of non-trivial size). Value receiver otherwise.
5. Functions & Closures {#functions}
6. Anti-patterns specific to Go {#antipatterns}
| Anti-pattern | Preferred | |
|---|---|---|
if err != nil { return err } repeated 5+ times | acceptable — it's idiomatic Go | |
panic for expected errors | return err | |
init() with side effects | explicit initialization in main or constructors | |
interface{} / any without generics | use generics (Go 1.18+) or typed interfaces | |
| Mutex field not adjacent to the data it protects | put mu directly above the field it guards | |
| Channel of channels | usually a sign of over-engineering; redesign | |
time.Sleep in tests | use testing hooks or channels for synchronization | |
| Exported types with unexported fields (when fields are the whole point) | record-style structs with all-exported fields | |
log.Fatal outside main | return errors up the stack |
Limitations
- These are language-specific guidelines and do not cover overall architectural decisions.
- Over-compression might reduce readability; apply judgement.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/super-code/go/SKILL.md
Popularity
- Repository stars
- 47,597
- Repository forks
- 6,942
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/agentic-awesome-skills/go)