5 skills · 4 categories

Claude Code skills for Go

Go skills that write idiomatic code instead of Java in Go syntax: small interfaces, errors as values, context propagation, goroutine lifecycles that do not leak, and profiling with pprof before optimizing.

Start with these

  1. 1

    Go HTTP Services

    Stdlib Go servers with timeouts, slog and clean drains

    Claude builds Go APIs on net/http with method and wildcard routes, an http.Server that sets every timeout, and contexts that flow from the request into each database and HTTP call. Errors are wrapped with %w and mapped to status codes in one function, logs are slog JSON with request IDs, and SIGTERM drains in-flight requests before exit.

  2. 2

    Go Idioms

    Go that passes review on the first round

    Claude writes Go the way experienced Go reviewers expect: consumer-side interfaces, errors wrapped with context and checked via errors.Is and errors.As, generics only where they remove real duplication, and goroutines that always have an exit path through context and errgroup. Tests are table-driven and every change is checked with vet, staticcheck and the race detector.

  3. 3

    Go pprof Profiling

    The profile picks the hot path; benchstat judges the fix

    Claude matches the symptom to the right Go profile, collects it from benchmarks or a pprof endpoint kept off the public listener, and reads it with top, list and flame graphs to find allocation, contention or I/O costs. Fixes are judged with benchstat across ten runs and a profile diff, not by eyeballing one benchmark, and runtime knobs come only after code changes.

All 5 Go skills

Grouped by category. Each card opens the full playbook, example prompts and install commands.

Install

Every Go skill in one command

Installs into ~/.claude/skills/. Add --project after -- to install into the current repository.

curl -fsSL https://claudeskills.page/install.sh | sh -s -- go-services go-idioms go-pprof jwt-handling memory-leak-hunting

Go skills FAQ

What is the best Claude Code skill for Go?

Start with Go HTTP Services: Stdlib Go servers with timeouts, slog and clean drains. Then add Go Idioms and Go pprof Profiling, which cover the next most common Go requests.

How do I install all 5 Go skills at once?

Pass every name to the installer in one command: curl -fsSL https://claudeskills.page/install.sh | sh -s -- go-services go-idioms go-pprof jwt-handling memory-leak-hunting. Add --project to install them into the current repository's .claude/skills/ folder so your team gets them too.

Do these Go skills work outside Claude Code?

Yes. Each skill uses only the portable Agent Skills frontmatter, so the same folder works on claude.ai, through the Claude API and in the Agent SDK. Skills that run bundled scripts need an environment with code execution.

esc