Skip to content
SkillModel-led959 tokens in use

Golang Pro

Writes idiomatic Go 1.21+: goroutines and channels with context cancellation, small interfaces, generics, gRPC services, pprof tuning and table-driven tests.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/golang-pro
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Golang Pro costs

93tokens idle
959tokens in use
12,641tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure23/25
  • Examples9/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

Golang Pro guides Claude through Go work in six steps: analyze the architecture, design small interfaces, implement with error wrapping and context propagation, lint, optimize with pprof and test with the race detector. Each step names a command to run before moving on, such as go vet and golangci-lint.

Five reference files cover concurrency patterns, interface design, generics, testing and benchmarking, and project structure with modules, a Makefile and a multi-stage Dockerfile.

What You Get

  • Concurrent code with worker pools, fan-out and fan-in, pipelines, semaphores and rate limiting
  • Small interfaces, functional options and dependency injection written for easy mocking
  • Generic functions and types with constraints and type inference
  • Table-driven tests, benchmarks, fuzz tests and race-detector runs
  • A module layout with cmd, internal and pkg folders, go.work workspaces and build tooling

Common Use Cases

  • Writing a concurrent pipeline that shuts down cleanly on cancellation
  • Building a gRPC or REST microservice with configuration from environment variables
  • Profiling a slow Go service with pprof and removing allocations
  • Adding table-driven tests, fuzzing and coverage to an existing package
  • Setting up a Go monorepo with workspaces and a Docker build

What Makes It Unique

The workflow makes lint and race checks gates between steps: go vet before moving on, golangci-lint with every issue fixed, and a passing race detector before committing. Its constraints ban common Go mistakes such as goroutines without a lifecycle, ignored errors and panic for normal failures, and the concurrency reference writes even idle pipeline stages to stop on cancellation.

Under The Hood

The skill is a SKILL.md with five reference files and no scripts, and the references load by topic. The workflow tells the agent to run go vet, golangci-lint and go test with the race flag, so it uses the shell and writes Go source and test files. The references show go get, go install and go mod commands that download modules from the network, a Makefile, a multi-stage Dockerfile and build commands that read git state for version strings. Example code reads database and cache credentials from environment variables. The skill does not tell the agent to fetch web pages.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers