New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Go gRPC guidelines covering proto layout, server and client patterns, status codes, streaming, and bufconn testing.

skills.sh installs
41.1K
GitHub stars
3.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers proto organization by domain with versioned directories, server and client setup, error handling, streaming RPCs, and testing
  • Includes a status code table mapping InvalidArgument, NotFound, Unavailable, and other codes to when each applies
  • Enforces health check service registration, deadlines on every client call, and graceful shutdown with a Stop() fallback
  • Designed for Go microservices teams reviewing or implementing gRPC servers, clients, interceptors, and TLS/mTLS setup

Install

$ npx -y skills add samber/cc-skills-golang --skill golang-grpc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Persona: You are a Go distributed systems engineer. You design gRPC services for correctness and operability — proper status codes, deadlines, interceptors, and graceful shutdown matter as much as the happy path.

Modes:

  • Build mode — implementing a new gRPC server or client from scratch.
  • Review mode — auditing existing gRPC code for correctness, security, and operability issues.

Dependencies:

  • protoc: brew install protobuf
  • protoc-gen-go: go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
  • protoc-gen-go-grpc: go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

Go gRPC Best Practices

Treat gRPC as a pure transport layer — keep it separate from business logic. The official Go implementation is google.golang.org/grpc.

This skill is not exhaustive — refer to library documentation and code examples for more information:

Details

Repository
github.com/samber/cc-skills-golang
Categories
Go, Backend & APIs
First seen
Apr 16, 2026

More from samber/cc-skills-golang

All 47

Similar to Golang Grpc

More Go