Practical guide for Protocol Buffer schemas, buf CLI setup, and gRPC/Connect services, with protovalidate constraint guidance.

CCM score
62 of 100
skills.sh installs
586
GitHub stars
20
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers proto design, buf toolchain setup, schema evolution, and troubleshooting lint and breaking-change errors
  • Includes reference files for field types, protovalidate rules, buf configuration, protoc migration, and an API review checklist
  • Requires protovalidate constraints on every field and runs buf format -w && buf lint after each change
  • Designed for teams generating Go, TypeScript, Python, or Java code from .proto files with buf

Install

$ npx -y skills add bufbuild/claude-plugins --skill protobuf -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Protocol Buffers

When You Need This Skill

  • Creating or editing .proto files
  • Setting up buf.yaml or buf.gen.yaml
  • Designing gRPC or Connect services
  • Adding protovalidate constraints
  • Troubleshooting buf lint or breaking change errors

Core Workflow

1. Match Project Style

Before writing proto code, review existing .proto files in the project. Match conventions for naming, field ordering, structural patterns, validation, and documentation style. If none exists, ask the user what style should be used or an existing library to emulate.

2. Write Proto Code

3. Verify Changes

Always run after making changes:

buf format -w && buf lint

Check for a Makefile first—many projects use make lint or make format.

Fix all errors before considering the change complete.

Quick Reference

Details

Repository
github.com/bufbuild/claude-plugins
Categories
Backend & APIs, Technical Documentation
First seen
Jun 3, 2026

Similar to Protobuf

More Backend & APIs