Agent skill

Golang Pro

by davila7 in davila7/claude-code-templates

Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.

MITAuto-check passedDevelopment

Install Golang Pro

skills CLI
$ npx skills add davila7/claude-code-templates --skill golang-pro -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates golang-pro --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/development/golang-pro .claude/skills/golang-pro && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
golang-pro
GitHub stars
33k
Used in
8 other repos
Token cost
~1.9k tokens
SKILL.md length
855 words
Files
1
Skills in repo
479
Repo updated
First seen
Licence
MIT

At a glance

Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.

  • Works in 4 steps: Confirm Go version, tooling, and runtime… → Choose concurrency and architecture… → Implement with testing and profiling. → …
  • Tasks that involve Performance optimization
  • SKILL.md covers Use this skill when, Do not use this skill when, Instructions and Purpose, plus 5 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Golang Pro is an agent skill from davila7/claude-code-templates. Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Performance optimization, Microservices and Async programming. It works with Go. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Tasks that involve Performance optimization
  • Tasks that involve Microservices
  • Tasks that involve Async programming

Example prompts

  • “/golang-pro”

Requirements

  • Docker

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  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.

What it can do on your machine

Read from SKILL.md and the folder at commit 79182c5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Golang Pro loads about 1.9k tokens when it runs. Until then it costs about 33 tokens; SKILL.md has 855 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 79182c5, republished under its MIT licence (© davila7). 855 words, ~1,856 tokens.

Download SKILL.mdSave it as .claude/skills/golang-pro/SKILL.md (or your agent's skills folder).
name
golang-pro
description
Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.
risk
unknown
source
community
date_added
2026-02-27

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
Show full SKILL.md (352 more words)Show less
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"

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/development/golang-pro of davila7/claude-code-templates.

Open the folder on GitHubat commit 79182c5

Used in 8 other repositories

We found 21 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 8 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Golang Pro next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Golang Pro compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Golang Pro this skilldavila7/claude-code-templates33k8 repos~1.9kAutomated safety check: PassMIT
Golang Proantoniopaya22/go-rest-template1723 repos~1.2kAutomated safety check: PassMIT
Golang PerformanceMadAppGang/claude-code285—~5kAutomated safety check: PassMIT
Golang Best Practiceskoolamusic/claudefiles130—~935Automated safety check: PassMIT
Golang Patternsantoniopaya22/go-rest-template1729 repos~3.5kAutomated safety check: PassNone
Context Handling in fp-goIBM/fp-go2k—~4.2kAutomated safety check: PassApache-2.0

Similar skills

  • Golang Pro

    antoniopaya22/go-rest-template

    Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with…

    172 GitHub starsUsed in 3 repos~1.2k tokens
    Backend & APIsAuto-check passed
  • Golang Performance

    MadAppGang/claude-code

    A skill your agent uses when profiling Go applications (pprof), running benchmarks, optimizing memory/CPU usage, or debugging performance bottlenecks in production Go code.

    285 GitHub stars~5k tokensUpdated 7 mo ago
    DevelopmentAuto-check passed
  • Golang Best Practices

    koolamusic/claudefiles

    A skill your agent uses when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems.

    130 GitHub stars~935 tokensUpdated yesterday
    Backend & APIsAuto-check passed
  • Golang Patterns

    antoniopaya22/go-rest-template

    Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.

    172 GitHub starsUsed in 9 repos~3.5k tokens
    DevelopmentAuto-check passed
  • Official

    Covers handling Go's context.Context idiomatically in fp-go code: reading and scoping context through operators, timeouts, cancellation and converting ctx-first functions.

    2k GitHub stars~4.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Shows how to build composable, context-aware HTTP pipelines in Go using fp-go's ReaderIOResult monad instead of raw net/http calls.

    2k GitHub stars~4.4k tokensUpdated today
    Backend & APIsAuto-check passed

More from davila7/claude-code-templates

All 479 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    33k GitHub starsUsed in 11 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    33k GitHub starsUsed in 9 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    33k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    33k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    33k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    33k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Works with

Questions about Golang Pro

What does Golang Pro do?

Master Go 1.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices. Golang Pro is an agent skill from davila7/claude-code-templates.21+ with modern patterns, advanced concurrency, performance optimization, and production-ready microservices.

When should I use Golang Pro?

Golang Pro fits situations like: tasks that involve Performance optimization; tasks that involve Microservices; tasks that involve Async programming.

How do I install Golang Pro in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill golang-pro -a claude-code`. Or copy the skill folder (cli-tool/components/skills/development/golang-pro in davila7/claude-code-templates) into .claude/skills/golang-pro in your project. Claude Code loads it when a task matches its description.

How do I install Golang Pro in Codex?

Run `npx skills add davila7/claude-code-templates --skill golang-pro -a codex`. Or copy the skill folder (cli-tool/components/skills/development/golang-pro in davila7/claude-code-templates) into .agents/skills/golang-pro in your project. Codex loads it when a task matches its description.

Can I use Golang Pro in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill golang-pro -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/golang-pro, .gemini/skills/golang-pro, .github/skills/golang-pro and .opencode/skills/golang-pro in your project.

What does Golang Pro need to run?

SKILL.md names no scripts, command-line tools or credentials: Golang Pro is instructions for the agent only. Our summary lists: Docker.

Does Golang Pro access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Golang Pro safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Golang Pro use?

Golang Pro is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Golang Pro use?

About 1.9k tokens (SKILL.md is roughly 7.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Golang Pro?

Skills that share tags, products or a category with Golang Pro: Golang Pro (antoniopaya22/go-rest-template, 172 stars), Golang Performance (MadAppGang/claude-code, 285 stars), Golang Best Practices (koolamusic/claudefiles, 130 stars) and Golang Patterns (antoniopaya22/go-rest-template, 172 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Golang Pro?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,552 GitHub stars. The repository holds 479 skills in this directory. The repository was last updated on October 11, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.