# 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.

- Skill: `agentskillexchange/protobuf-grpc-stub-generator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/protobuf-grpc-stub-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/protobuf-grpc-stub-generator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/protobuf-grpc-stub-generator

---


# 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/)

