gRPC & Protocol Buffers
Build high-performance APIs with gRPC and Protocol Buffers. Generates .proto service definitions, server/client stubs in Go/TypeScript/Python, streaming handlers, interceptors, and gRPC-Web gateway configurations.
This skill helps you design and implement gRPC services. It generates Protocol Buffer definitions with proper message design, creates server implementations with unary and streaming RPCs, builds client code with connection pooling, implements interceptors for auth/logging/metrics, configures gRPC-Web proxies with Envoy, and sets up buf.build for schema management and breaking change detection.
When to use
Use when building microservice APIs with gRPC, designing Protocol Buffer schemas, implementing bidirectional streaming, or setting up gRPC-Web for browser clients.
Examples
Microservice API
Define a gRPC service with CRUD operations
Create a .proto file for a user service with CRUD operations, then generate Go server and TypeScript client stubs with proper error handling
Real-time streaming
Build a bidirectional streaming chat service
Implement a gRPC bidirectional streaming service for real-time chat in Go with authentication interceptor and graceful shutdown