gRPC Service Generator Skill for Python Catalog RPCs
Generate Python stubs from proto3 and test a local unary RPC for both valid and missing resources.
中文Install in Claude Code
Use your Python project with grpcio and grpcio-tools. The example uses a local service and a synthetic book record.
- Get the complete `plugins/api-development/grpc-service-generator/skills/generating-grpc-services` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/generating-grpc-services/SKILL.md`, start Claude Code at the project root, and call `/generating-grpc-services`.
Example task
Define Catalog.GetBook with GetBookRequest.id and Book.id/title. Generate Python stubs, run a local test server, and call it with b1 and missing.What to check
The known ID returns its title. The unknown ID returns NOT_FOUND. The test verifies that generated stubs and the service implementation interoperate.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can a deleted protobuf field number be reused?
Reserve the old number so a client using the earlier schema cannot interpret a new field as the old one.