Compiles Protocol Buffer definitions into language-specific gRPC client and server stubs using buf CLI and protoc plugins. Validates proto files against Buf lint rules and detects breaking changes.
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 Protobuf Grpc Stub Generator?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-protobuf-grpc-stub-generator)
---
name: "Protobuf & gRPC Stub Generator"
slug: "protobuf-grpc-stub-generator"
description: "Compiles Protocol Buffer definitions into language-specific gRPC client and server stubs using buf CLI and protoc plugins. Validates proto files against Buf lint rules and detects breaking changes."
github_stars: 4828
verification: "security_reviewed"
source: "https://github.com/grpc/grpc-node"
author: "grpc"
category: "Library & API Reference"
framework: "Cursor"
tool_ecosystem:
github_repo: "grpc/grpc-node"
github_stars: 4828
npm_package: "grpc"
npm_weekly_downloads: 106798
---
# Protobuf & gRPC Stub Generator
Compiles Protocol Buffer definitions into language-specific gRPC client and server stubs using buf CLI and protoc plugins. Validates proto files against Buf lint rules and detects breaking changes.
## Installation
Use the upstream install or setup path that matches your environment:
- npm package: [@grpc/grpc-js](https://www.npmjs.com/package/@grpc/grpc-js)
- npm package: [grpc](https://www.npmjs.com/package/grpc).
- npm package: [@grpc/proto-loader](https://www.npmjs.com/package/@grpc/proto-loader)
- npm package: [grpc-tools](https://www.npmjs.com/package/grpc-tools)
Requirements and caveats from upstream:
- # gRPC on Node.js
- For a comparison of the features available in these two libraries, see [this document](https://github.com/grpc/grpc-node/tree/master/PACKAGE-COMPARISON.md)
- Directory: [packages/grpc-js](https://github.com/grpc/grpc-node/tree/master/packages/grpc-js)
- Source: https://github.com/grpc/grpc-node
- Extracted from upstream docs: https://raw.githubusercontent.com/grpc/grpc-node/HEAD/README.md
## Documentation
- https://grpc.io/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/protobuf-grpc-stub-generator/)