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…

MITAuto-check passedBackend & APIs

Install Golang Pro

skills CLI
$ npx skills add antoniopaya22/go-rest-template --skill golang-pro -a claude-code

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

GitHub CLI
$ gh skill install antoniopaya22/go-rest-template 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/antoniopaya22/go-rest-template.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/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
172
Used in
3 other repos
Token cost
~1.2k tokens
SKILL.md length
336 words
Files
6 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

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…

  • Works in 6 steps: Analyze architecture — Review module… → Design interfaces — Create small,… → Implement — Write idiomatic Go with… → …
  • Building Go applications requiring concurrent programming
  • SKILL.md covers Core Workflow, Reference Guide, Core Pattern Example and Constraints, plus 2 more sections
  • Calls go

What it does

Golang Pro is an agent skill from 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 generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/concurrency.md`, `references/generics.md` and `references/interfaces.md`).

It sits in Backend & APIs, covering Async programming, Microservices and gRPC and Protobuf. It works with Go and gRPC. The repository describes itself as: Go (Golang) API REST Template/Boilerplate with Gin Framework. The licence is MIT.

When your agent uses it

  • Building Go applications requiring concurrent programming
  • Microservices architecture
  • High-performance systems

Example prompts

  • “Use the golang-pro skill to implement concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST…”
  • “/golang-pro”

Workflow steps

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

  1. Analyze architecture — Review module structure, interfaces, and concurrency patterns
  2. Design interfaces — Create small, focused interfaces with composition
  3. Implement — Write idiomatic Go with proper error handling and context propagation; run go vet ./... before proceeding
  4. Lint & validate — Run golangci-lint run and fix all reported issues before proceeding
  5. Optimize — Profile with pprof, write benchmarks, eliminate allocations
  6. Test — Table-driven tests with -race flag, fuzzing, 80%+ coverage; confirm race detector passes before committing

What it can do on your machine

Read from SKILL.md and the folder at commit 1107db6. 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

    Shell commands in SKILL.md call:

    • go

    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.2k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 336 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~123
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~12k

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 antoniopaya22/go-rest-template at commit 1107db6, republished under its MIT licence (© antoniopaya22). 336 words, ~1,234 tokens.

Download SKILL.mdSave it as .claude/skills/golang-pro/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
golang-pro
description
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 generics, interfaces, and robust error handling. Use when building Go applications requiring concurrent programming, microservices architecture, or high-performance systems. Invoke for goroutines, channels, Go generics, gRPC integration, CLI tools, benchmarks, or table-driven testing.
license
MIT
metadata.author
https://github.com/Jeffallan
metadata.version
1.1.0
metadata.domain
language
metadata.triggers
Go, Golang, goroutines, channels, gRPC, microservices Go, Go generics, concurrent programming, Go interfaces
metadata.role
specialist
metadata.scope
implementation
metadata.output-format
code
metadata.related-skills
devops-engineer, microservices-architect, test-master

Golang Pro

Senior Go developer with deep expertise in Go 1.21+, concurrent programming, and cloud-native microservices. Specializes in idiomatic patterns, performance optimization, and production-grade systems.

Core Workflow

  1. Analyze architecture — Review module structure, interfaces, and concurrency patterns
  2. Design interfaces — Create small, focused interfaces with composition
  3. Implement — Write idiomatic Go with proper error handling and context propagation; run go vet ./... before proceeding
  4. Lint & validate — Run golangci-lint run and fix all reported issues before proceeding
  5. Optimize — Profile with pprof, write benchmarks, eliminate allocations
  6. Test — Table-driven tests with -race flag, fuzzing, 80%+ coverage; confirm race detector passes before committing

Reference Guide

Load detailed guidance based on context:

TopicReferenceLoad When
Concurrencyreferences/concurrency.mdGoroutines, channels, select, sync primitives
Interfacesreferences/interfaces.mdInterface design, io.Reader/Writer, composition
Genericsreferences/generics.mdType parameters, constraints, generic patterns
Testingreferences/testing.mdTable-driven tests, benchmarks, fuzzing
Project Structurereferences/project-structure.mdModule layout, internal packages, go.mod

Core Pattern Example

Goroutine with proper context cancellation and error propagation:

go
// worker runs until ctx is cancelled or an error occurs.
// Errors are returned via the errCh channel; the caller must drain it.
func worker(ctx context.Context, jobs <-chan Job, errCh chan<- error) {
    for {
        select {
        case <-ctx.Done():
            errCh <- fmt.Errorf("worker cancelled: %w", ctx.Err())
            return
        case job, ok := <-jobs:
            if !ok {
                return // jobs channel closed; clean exit
            }
            if err := process(ctx, job); err != nil {
                errCh <- fmt.Errorf("process job %v: %w", job.ID, err)
                return
            }
        }
    }
}

func runPipeline(ctx context.Context, jobs []Job) error {
    ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
    defer cancel()

    jobCh := make(chan Job, len(jobs))
    errCh := make(chan error, 1)

    go worker(ctx, jobCh, errCh)

    for _, j := range jobs {
        jobCh <- j
    }
    close(jobCh)

    select {
    case err := <-errCh:
        return err
    case <-ctx.Done():
        return fmt.Errorf("pipeline timed out: %w", ctx.Err())
    }
}

Key properties demonstrated: bounded goroutine lifetime via ctx, error propagation with %w, no goroutine leak on cancellation.

Constraints

MUST DO
  • Use gofmt and golangci-lint on all code
  • Add context.Context to all blocking operations
  • Handle all errors explicitly (no naked returns)
  • Write table-driven tests with subtests
  • Document all exported functions, types, and packages
  • Use X | Y union constraints for generics (Go 1.18+)
  • Propagate errors with fmt.Errorf("%w", err)
  • Run race detector on tests (-race flag)
MUST NOT DO
  • Ignore errors (avoid _ assignment without justification)
  • Use panic for normal error handling
  • Create goroutines without clear lifecycle management
  • Skip context cancellation handling
  • Use reflection without performance justification
  • Mix sync and async patterns carelessly
  • Hardcode configuration (use functional options or env vars)

Output Templates

When implementing Go features, provide:

  1. Interface definitions (contracts first)
  2. Implementation files with proper package structure
  3. Test file with table-driven tests
  4. Brief explanation of concurrency patterns used

Knowledge Reference

Go 1.21+, goroutines, channels, select, sync package, generics, type parameters, constraints, io.Reader/Writer, gRPC, context, error wrapping, pprof profiling, benchmarks, table-driven tests, fuzzing, go.mod, internal packages, functional options

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

Files

SKILL.md and 5 other files (references) in .agents/skills/golang-pro of antoniopaya22/go-rest-template.

  • SKILL.md
  • references/concurrency.md
  • references/generics.md
  • references/interfaces.md
  • references/project-structure.md
  • references/testing.md

Open the folder on GitHubat commit 1107db6

Used in 3 other repositories

We found 3 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 3 other GitHub owners. This page covers the copy in antoniopaya22/go-rest-template, 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 skillantoniopaya22/go-rest-template1723 repos~1.2kAutomated safety check: PassMIT
Golang Best Practiceskoolamusic/claudefiles130—~935Automated safety check: PassMIT
Kratos Developmentaide-family/moon253—~1.5kAutomated safety check: PassNone
Axone Proto Specificationaxone-protocol/axoned176—~828Automated safety check: PassApache-2.0
Golang Grpccontext-labs/whip1.1k1 repos~2.5kAutomated safety check: PassMIT
API Design InterviewerPrepLabsAI/InterviewMentor112—~2.6kAutomated safety check: PassMIT

Similar skills

  • 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
  • Kratos Development

    aide-family/moon

    Develops Go microservices with Kratos v2 following official design philosophy, DDD/Clean Architecture layout, Protobuf API, error/config/middleware patterns, and observability.

    253 GitHub stars~1.5k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • Axone Proto Specification

    axone-protocol/axoned

    Design and evolve protobuf APIs for this repository. An agent skill from axone-protocol/axoned.

    176 GitHub stars~828 tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Golang Grpc

    context-labs/whip

    gRPC usage, protobuf organization, and production patterns for Go microservices.

    1.1k GitHub starsUsed in 1 repo~2.5k tokens
    Backend & APIsAuto-check passed
  • API Design Interviewer

    PrepLabsAI/InterviewMentor

    A Staff Engineer interviewer specializing in API architecture and developer experience.

    112 GitHub stars~2.6k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Intrinsic Core Service Authoring

    intrinsic-ai/intrinsic-core

    Intrinsic Core microservice authoring, ServiceManifest definitions (realspec vs simspec), RuntimeContext port bindings (gRPC port 1 vs HTTP port 7), SIGTERM lifecycle handling, and .binpb sideloading.

    562 GitHub stars~2.2k tokensUpdated today
    Backend & APIsAuto-check passed

More from antoniopaya22/go-rest-template

  • 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
    Auto-check passed
  • Golang Testing

    antoniopaya22/go-rest-template

    Go testing patterns including table-driven tests, subtests, benchmarks, fuzzing, and test coverage.

    172 GitHub starsUsed in 9 repos~4.2k tokens
    Auto-check passed

Works with

Questions about Golang Pro

What does Golang Pro do?

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…. Golang Pro is an agent skill from 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 generics, interfaces, and robust error handling.

When should I use Golang Pro?

Golang Pro fits situations like: building Go applications requiring concurrent programming; microservices architecture; high-performance systems.

How do I install Golang Pro in Claude Code?

Run `npx skills add antoniopaya22/go-rest-template --skill golang-pro -a claude-code`. Or copy the skill folder (.agents/skills/golang-pro in antoniopaya22/go-rest-template) 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 antoniopaya22/go-rest-template --skill golang-pro -a codex`. Or copy the skill folder (.agents/skills/golang-pro in antoniopaya22/go-rest-template) 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 antoniopaya22/go-rest-template --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?

Going by SKILL.md and its folder, Golang Pro needs the command-line tools its instructions call (go).

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 (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Golang Pro use?

About 1.2k tokens (SKILL.md is roughly 4.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Golang Pro?

Skills that share tags, products or a category with Golang Pro: Golang Best Practices (koolamusic/claudefiles, 130 stars), Kratos Development (aide-family/moon, 253 stars), Axone Proto Specification (axone-protocol/axoned, 176 stars) and Golang Grpc (context-labs/whip, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Golang Pro?

antoniopaya22 (a GitHub user) maintains it in antoniopaya22/go-rest-template, which has 172 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on March 31, 2026.

Source: antoniopaya22/go-rest-template on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.