Go
Go (Golang) with goroutines, channels, interfaces, and idiomatic patterns. Use for .go files.From its SKILL.md
npx -y skills add G1Joshi/Agent-Skills --skill goAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 12 stars12 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.2 KB, 274 tokens by cl100k_base, as published. Nobody here has run it
Go
A simple, fast, and concurrent language developed by Google.
When to Use
- Microservices / Cloud-native apps
- Network tools (servers, proxies)
- High-performance systems
- CLIs
Quick Start
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
ch := make(chan string)
go func() {
ch <- "from goroutine"
}()
msg := <-ch
fmt.Println(msg)
}
Core Concepts
Goroutines
Lightweight threads managed by the Go runtime.
go doSomething()
Channels
Typed conduits for communication between goroutines.
Interfaces
Implicitly implemented. If a struct has the methods, it implements the interface.
Best Practices
Do:
- Handle errors explicitly (check
if err != nil) - Use
gofmtto format code - Keep extensive comments for public APIs
- Use context for cancellation and timeouts
Don't:
- Ignore errors (using
_) blindly - Use panic/recover for normal error handling
- Create large interfaces (keep them small)
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.