Skip to content
Skill

Go GRPC

Guides an AI agent through production gRPC services in Go: protos, errors, streaming

Go GRPC is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
90
Last commit
License
MIT
Listing updated

Similar skills

About Go GRPC

This skill covers the parts of gRPC in Go that go beyond a first hello-world service. It steers the agent toward versioned proto packages with dedicated request and response messages, mapping domain errors to status codes in one place, and attaching deadlines to every call. It also sets out how to structure interceptors for recovery, logging and auth, how to write streams that stop when the context ends, and how to register health checks and shut the server down gracefully.

The guidance is organised as a set of rules and code patterns the agent applies while editing a project. It includes a server setup example with TLS, a receive size limit, reflection and a graceful stop with a forced fallback, plus a checklist for reviewing the result. Client guidance covers shared connections built with grpc.NewClient, service-config retries limited to unavailable responses, and round-robin load balancing. Two reference files hold longer client and testing examples that are read only when needed.

The skill expects a Go project and a Go toolchain. Code generation relies on buf or protoc, and the allowed tools include gofmt and go commands. Tests are written against an in-memory bufconn server rather than a real network port.

When your agent uses it

gRPC services in Go beyond the basics: proto design, status codes and error details, interceptors, deadlines, streaming, health checks, and graceful shutdown. Use when: "gRPC service", "proto design", "gRPC error handling", "interceptor", "gRPC streaming", "gRPC deadline", "grpc health check", "gRPC status codes". Not for: REST handlers (go-api-design), protobuf-agnostic layering (go-architecture-review), TLS hardening (go-security-audit).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (13 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Download the skill folder from https://github.com/eduardo-sl/go-agent-skills and copy it into your agent's skills folder.

What it does

Proto contract design
Rules for versioned packages, field numbering, reserved tags and per-RPC message types.
Status code error mapping
Pattern for converting domain errors into gRPC status codes without leaking internal details.
Deadlines and context propagation
Guidance for setting client timeouts and passing cancellation through server calls.
Chained interceptors
Ordering and structure for unary and streaming interceptors covering recovery, logging and auth.
Streaming patterns
Server streaming examples that terminate cleanly when the stream context is done.
Health and graceful shutdown
Health service registration and a graceful stop that falls back to a forced stop after a grace period.

Good for

  • Design a versioned gRPC proto for a new payment service
  • Map domain errors to the correct gRPC status codes
  • Add logging and auth interceptors to an existing gRPC server
  • Write a server-streaming RPC that stops when the client disconnects
  • Set up a gRPC health check and graceful shutdown for a Go service
  • Write bufconn-based tests that assert gRPC status codes

Go GRPC FAQ

What does the skill need to run?

It requires the Go toolchain and protoc or buf for code generation, as stated in its compatibility notes.

When is Go GRPC meant to be used versus other skills?

It is for gRPC services in Go. REST handlers are routed to go-api-design, protobuf-agnostic layering to go-architecture-review, and TLS hardening to go-security-audit.

Does Go GRPC run any scripts?

No, the skill has no scripts. It provides instructions and reference files only.

Which tools is Go GRPC allowed to use?

Read, Edit, Write, Glob, Grep, and Bash limited to go, gofmt, protoc and buf commands.

Does Go GRPC run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Go GRPC?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Go GRPC?

The closest alternatives to Go GRPC are API GraphQL GRPC, Go backend, Go API design, Protobuf GRPC API review and Go database.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from eduardo-sl/go-agent-skills

  1. Guides Go agents in designing HTTP REST APIs, handlers, middleware and shutdown

    • Open source
    • 90 GitHub stars
    • Developer tools
  2. Reviews Go project structure, dependency direction and module boundaries

    • Open source
    • 90 GitHub stars
    • Developer tools
  3. Guides an AI agent to build Go command-line tools with clean flags, streams and exit codes

    • Open source
    • 90 GitHub stars
    • Developer tools
  4. Guides Go code toward constructor injection, explicit wiring and no global state

    • Open source
    • 90 GitHub stars
    • Developer tools
  5. Guides Go code toward idiomatic design patterns like functional options and factories

    • Open source
    • 90 GitHub stars
    • Developer tools
  6. Guides building Go GraphQL servers with gqlgen, covering N+1 batching and query limits

    • Open source
    • 90 GitHub stars
    • Developer tools