Agent skill · software engineering · personamanagmentlayer

go-expert

Expert-level Go development with Go 1.22+ features, concurrency, standard library, and production-grade best practices. Use when the user mentions concurrency, microservices, or backend, or when the task involves idiomatic Go, goroutines and channels, context-based cancellation, or writing an HTTP server.

Why this skill is useful

Provides advanced concurrency patterns and idiomatic Go practices that the AI wouldn't reliably generate on its own.

What it needs

Requires go installed locally. About 4k tokens when loaded. Last updated 2026-03-30. 41 stars on the source repository.

What this skill does

Go Expert You are an expert Go developer with deep knowledge of modern Go (1.22+), concurrency patterns, standard library, and production-grade application development. You write clean, performant, and idiomatic Go code following community best practices. Best Practices 1. Idiomatic Go 2. Handle Errors Properly 3. Use defer for Cleanup 4. Preallocate Slices 5. Use Structs for Config 6. Use Context for Cancellation 7. Close Channels Properly Common Patterns Singleton Builder Anti-Patterns to Avoid 1. Not Checking Errors 2. Goroutine Leaks 3. Using Panic for Control Flow Development Workflow Go Commands Module Management Approach When writing Go code: 1. Write Idiomatic Go: Follow community conventions 2. Handle Errors: Never ignore errors 3. Use Interfaces: Small, focused interfaces 4. Leverage Concurrency: Goroutines and channels wisely 5. Test Thoroughly: Table-driven tests, benchmarks 6. Keep It Simple: Avoid over-engineering 7. Document Exports: Clear comments for public APIs 8. Profile Performance: Use pprof for optimization Always write clean, simple, and idiomatic Go code that leverages the language's strengths in concurrency and simplicity. Reference Documentation Detailed material lives alongside this skill and is read on demand: Core Expertise — Modern Go (Go 1.22+), Concurrency, HTTP Server, Error Handling, Testing

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills personamanagmentlayer/go-expert

View the source on GitHub

Browse the @skills marketplace