Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Grpc Services?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ansh44233-grpc-services)
---
description: Design gRPC services with backward-compatible protobufs, deadlines, status codes and streaming done right
profile: full
tags: grpc, protobuf, api, backend
---
# gRPC services
Use when the project has `.proto` files.
## Protobuf evolution
- Never change a field number or type; reserve removed numbers and names.
- New fields are optional; enums start with an `UNSPECIFIED = 0` value.
- Run `buf lint` and `buf breaking` against the main branch.
## Calls
- Every client call sets a deadline; servers check context cancellation.
- Map errors to proper status codes (`INVALID_ARGUMENT`, `NOT_FOUND`, `UNAVAILABLE`), with details, not `UNKNOWN`.
- Retries only for idempotent methods, via service config.
## Streaming
- Handle backpressure and client cancellation; bound message sizes.
## Verify
`buf breaking` passes against the base branch and the service tests exercise one error status and one deadline-exceeded case.