Tooluck logoTooluck
SKILL.md

golang-grpc

Agent skill fromsamber/cc-skills-golang

Provides gRPC usage guidelines, protobuf organization, and production-ready patterns for Golang microservices. Use when implementing, reviewing, or debugging gRPC servers/clients, writing proto files, setting up interceptors, handling gRPC errors with status codes, configuring TLS/mTLS, testing with bufconn, or working with streaming RPCs.

How to install golang-grpc

install golang-grpc
# install the cc-skills-golang pack with the skills CLI
npx skills add samber/cc-skills-golang

# or add only this skill to Claude Code: copy the folder

skills/golang-grpc/

# into

~/.claude/skills/golang-grpc/ (all projects)

.claude/skills/golang-grpc/ (one project)

skills/golang-grpc/SKILL.md

MITFull file
1**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.
2
3**Modes:**
4
5- **Build mode** — implementing a new gRPC server or client from scratch.
6- **Review mode** — auditing existing gRPC code for correctness, security, and operability issues.
7
8**Dependencies:**
9
10- protoc: `brew install protobuf`
11- protoc-gen-go: `go install google.golang.org/protobuf/cmd/protoc-gen-go@latest`
12- protoc-gen-go-grpc: `go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest`
13
14# Go gRPC Best Practices
15
16Treat gRPC as a pure transport layer — keep it separate from business logic. The official Go implementation is `google.golang.org/grpc`.
17
18This skill is not exhaustive — refer to library documentation and code examples for more information:
19
20- For Go package docs, symbols, versions, importers, and known vulnerabilities, → See `samber/cc-skills-golang@golang-pkg-go-dev` skill (`godig`), preferred over Context7 for Go package facts.
21- To navigate this library's usage in your own code (definitions, call sites, diagnostics), → See `samber/cc-skills-golang@golang-gopls` skill (`gopls`).
22- Context7 remains a fallback for docs not indexed on pkg.go.dev.
23
24## Quick Reference
25
26| Concern | Package / Tool |
27| --- | --- |
28| Service definition | `protoc` or `buf` with `.proto` files |
29| Code generation | `protoc-gen-go`, `protoc-gen-go-grpc` |
30…

Excerpt shown under the repository's MIT license.

More skills in cc-skills-golang

Keep exploring

Similar skill repositories

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates