This is a comprehensive Go skill that covers the modern language features you actually need: generics with proper type constraints, the enhanced for loop from 1.22, and structured logging with slog. The concurrency patterns are solid, showing worker pools, context cancellation, and the full sync primitive toolkit. You get a complete HTTP server implementation with middleware, proper timeouts, and JSON handling. The examples are production-grade, not toy code. If you're building backend services or need to work with goroutines beyond basic tutorials, this gives you the patterns and idioms that matter. It assumes you know programming but want to write Go the way experienced Go developers actually write it.

skills.sh installs
188
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill go-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

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

// Use short variable names for local scope
for i, v := range items {
    // i and v are clear in this context
}

// Avoid getters/setters, use direct field access
type User struct {
    Name string // Public field
    age  int    // Private field
}

// Accept interfaces, return structs
func ProcessData(r io.Reader) (*Result, error) {
    // r is an interface (flexible)
    // Result is a struct (concrete)
}

// Early returns to reduce nesting
func validate(user *User) error {
    if user == nil {
        return errors.New("user is nil")
    }

    if user.Name == "" {
        return errors.New("name is required")
    }

    if user.Age < 0 {
        return errors.New("age must be positive")
    }

    return nil
}

2. Handle Errors Properly

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Category
Go
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99

Recommended

More Go
1jetbrains avataruse-modern-gojetbrains/go-modern-guidelinesApply modern Go syntax guidelines based on project's Go version. Use when user ask for modern Go code guidelines.2.9Kskills.sh installs
2mindrally avatargomindrally/skillsExpert in Go/Golang development with focus on APIs, microservices, and clean architecture784skills.sh installs
3coreyhaines31 avatarlaunchcoreyhaines31/marketingskillsWhen the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature rele86.3Kskills.sh installs
4nexscope-ai avataramazon-product-researchnexscope-ai/amazon-skillsComprehensive product research and opportunity analysis for Amazon sellers. Analyzes demand, competition, profit potential, market entry barriers, and validates78.3Kskills.sh installs
5coreyhaines31 avatarmarketing-plancoreyhaines31/marketingskillsWhen the user needs a comprehensive marketing plan for a client, a company they advise, or their own product. Also use when the user mentions "marketing plan," 76Kskills.sh installs
6coreyhaines31 avatarlaunch-strategycoreyhaines31/marketingskillsWhen the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature rele56Kskills.sh installs