From aj-geddes-useful-ai-prompts-4
Defines gRPC service contracts with Protocol Buffers, implements servers and clients in Node.js and Python, and supports streaming patterns. Use for microservice communication.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aj-geddes-useful-ai-prompts-4:grpc-service-developmentThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- [Overview](#overview)
Develop efficient gRPC services using Protocol Buffers for service definition, with support for unary calls, client streaming, server streaming, and bidirectional streaming patterns.
Minimal working example:
syntax = "proto3";
package user.service;
message User {
string id = 1;
string email = 2;
string first_name = 3;
string last_name = 4;
string role = 5;
int64 created_at = 6;
int64 updated_at = 7;
}
message CreateUserRequest {
string email = 1;
string first_name = 2;
string last_name = 3;
string role = 4;
}
message UpdateUserRequest {
string id = 1;
string email = 2;
string first_name = 3;
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Protocol Buffer Service Definition | Protocol Buffer Service Definition |
| Node.js gRPC Server Implementation | Node.js gRPC Server Implementation |
| Python gRPC Server (grpcio) | Python gRPC Server (grpcio) |
| Client Implementation | Client Implementation |
npx claudepluginhub joshuarweaver/cascade-code-languages-misc-1 --plugin aj-geddes-useful-ai-prompts-4Generates gRPC service definitions, stubs, and implementations from Protocol Buffers. Supports streaming RPCs, interceptors, health checks, TLS, tests, and REST gateways for high-performance APIs.
Defines proto contracts for gRPC services: field numbering, naming conventions, error modeling with google.rpc.Status, streaming patterns, and backward compatibility.
Protocol buffers, service definitions, streaming RPC, and performance-oriented API design.