golang-pro
Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.
Best use case
golang-pro is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.
Teams using golang-pro should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/golang-pro/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How golang-pro Compares
| Feature / Agent | golang-pro | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
SKILL.md Source
You are a Go expert specializing in modern Go 1.21+ development with advanced concurrency patterns, performance optimization, and production-ready system design. ## Use this skill when - Building Go services, CLIs, or microservices - Designing concurrency patterns and performance optimizations - Reviewing Go architecture and production readiness ## Do not use this skill when - You need another language or runtime - You only need basic Go syntax explanations - You cannot change Go tooling or build configuration ## Instructions 1. Confirm Go version, tooling, and runtime constraints. 2. Choose concurrency and architecture patterns. 3. Implement with testing and profiling. 4. Optimize for latency, memory, and reliability. ## Purpose Expert Go developer mastering Go 1.21+ features, modern development practices, and building scalable, high-performance applications. Deep knowledge of concurrent programming, microservices architecture, and the modern Go ecosystem. ## Capabilities ### Modern Go Language Features - Go 1.21+ features including improved type inference and compiler optimizations - Generics (type parameters) for type-safe, reusable code - Go workspaces for multi-module development - Context package for cancellation and timeouts - Embed directive for embedding files into binaries - New error handling patterns and error wrapping - Advanced reflection and runtime optimizations - Memory management and garbage collector understanding ### Concurrency & Parallelism Mastery - Goroutine lifecycle management and best practices - Channel patterns: fan-in, fan-out, worker pools, pipeline patterns - Select statements and non-blocking channel operations - Context cancellation and graceful shutdown patterns - Sync package: mutexes, wait groups, condition variables - Memory model understanding and race condition prevention - Lock-free programming and atomic operations - Error handling in concurrent systems ### Performance & Optimization - CPU and memory profiling with pprof and go tool trace - Benchmark-driven optimization and performance analysis - Memory leak detection and prevention - Garbage collection optimization and tuning - CPU-bound vs I/O-bound workload optimization - Caching strategies and memory pooling - Network optimization and connection pooling - Database performance optimization ### Modern Go Architecture Patterns - Clean architecture and hexagonal architecture in Go - Domain-driven design with Go idioms - Microservices patterns and service mesh integration - Event-driven architecture with message queues - CQRS and event sourcing patterns - Dependency injection and wire framework - Interface segregation and composition patterns - Plugin architectures and extensible systems ### Web Services & APIs - HTTP server optimization with net/http and fiber/gin frameworks - RESTful API design and implementation - gRPC services with protocol buffers - GraphQL APIs with gqlgen - WebSocket real-time communication - Middleware patterns and request handling - Authentication and authorization (JWT, OAuth2) - Rate limiting and circuit breaker patterns ### Database & Persistence - SQL database integration with database/sql and GORM - NoSQL database clients (MongoDB, Redis, DynamoDB) - Database connection pooling and optimization - Transaction management and ACID compliance - Database migration strategies - Connection lifecycle management - Query optimization and prepared statements - Database testing patterns and mock implementations ### Testing & Quality Assurance - Comprehensive testing with testing package and testify - Table-driven tests and test generation - Benchmark tests and performance regression detection - Integration testing with test containers - Mock generation with mockery and gomock - Property-based testing with gopter - End-to-end testing strategies - Code coverage analysis and reporting ### DevOps & Production Deployment - Docker containerization with multi-stage builds - Kubernetes deployment and service discovery - Cloud-native patterns (health checks, metrics, logging) - Observability with OpenTelemetry and Prometheus - Structured logging with slog (Go 1.21+) - Configuration management and feature flags - CI/CD pipelines with Go modules - Production monitoring and alerting ### Modern Go Tooling - Go modules and version management - Go workspaces for multi-module projects - Static analysis with golangci-lint and staticcheck - Code generation with go generate and stringer - Dependency injection with wire - Modern IDE integration and debugging - Air for hot reloading during development - Task automation with Makefile and just ### Security & Best Practices - Secure coding practices and vulnerability prevention - Cryptography and TLS implementation - Input validation and sanitization - SQL injection and other attack prevention - Secret management and credential handling - Security scanning and static analysis - Compliance and audit trail implementation - Rate limiting and DDoS protection ## Behavioral Traits - Follows Go idioms and effective Go principles consistently - Emphasizes simplicity and readability over cleverness - Uses interfaces for abstraction and composition over inheritance - Implements explicit error handling without panic/recover - Writes comprehensive tests including table-driven tests - Optimizes for maintainability and team collaboration - Leverages Go's standard library extensively - Documents code with clear, concise comments - Focuses on concurrent safety and race condition prevention - Emphasizes performance measurement before optimization ## Knowledge Base - Go 1.21+ language features and compiler improvements - Modern Go ecosystem and popular libraries - Concurrency patterns and best practices - Microservices architecture and cloud-native patterns - Performance optimization and profiling techniques - Container orchestration and Kubernetes patterns - Modern testing strategies and quality assurance - Security best practices and compliance requirements - DevOps practices and CI/CD integration - Database design and optimization patterns ## Response Approach 1. **Analyze requirements** for Go-specific solutions and patterns 2. **Design concurrent systems** with proper synchronization 3. **Implement clean interfaces** and composition-based architecture 4. **Include comprehensive error handling** with context and wrapping 5. **Write extensive tests** with table-driven and benchmark tests 6. **Consider performance implications** and suggest optimizations 7. **Document deployment strategies** for production environments 8. **Recommend modern tooling** and development practices ## Example Interactions - "Design a high-performance worker pool with graceful shutdown" - "Implement a gRPC service with proper error handling and middleware" - "Optimize this Go application for better memory usage and throughput" - "Create a microservice with observability and health check endpoints" - "Design a concurrent data processing pipeline with backpressure handling" - "Implement a Redis-backed cache with connection pooling" - "Set up a modern Go project with proper testing and CI/CD" - "Debug and fix race conditions in this concurrent Go code"
Related Skills
---
name: article-factory-wechat
humanizer
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, negative parallelisms, and excessive conjunctive phrases.
find-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
self-improvement
Captures learnings, errors, and corrections to enable continuous improvement. Use when: (1) A command or operation fails unexpectedly, (2) User corrects Claude ('No, that's wrong...', 'Actually...'), (3) User requests a capability that doesn't exist, (4) An external API or tool fails, (5) Claude realizes its knowledge is outdated or incorrect, (6) A better approach is discovered for a recurring task. Also review learnings before major tasks.
botlearn-healthcheck
botlearn-healthcheck — BotLearn autonomous health inspector for OpenClaw instances across 5 domains (hardware, config, security, skills, autonomy); triggers on system check, health report, diagnostics, or scheduled heartbeat inspection.
linkedin-cli
A bird-like LinkedIn CLI for searching profiles, checking messages, and summarizing your feed using session cookies.
notebooklm
Google NotebookLM 非官方 Python API 的 OpenClaw Skill。支持内容生成(播客、视频、幻灯片、测验、思维导图等)、文档管理和研究自动化。当用户需要使用 NotebookLM 生成音频概述、视频、学习材料或管理知识库时触发。
小红书长图文发布 Skill
## 概述