proto-regen

Official

Regenerate code after proto edits

Authorblock
Version1.0.0
Installs0

System Documentation

What problem does it solve?

After editing any .proto file under proto/ or server/sdk/v1/pb/, or modifying root/server buf.yaml, buf.gen.yaml, or buf.lock, you must regenerate all generated code to keep server handlers, client APIs, and SDKs in sync and prevent stale shapes.

Core Features & Use Cases

  • Automatically trigger end-to-end regeneration after proto changes to reflect updated messages, services, and fields across Go, Python, and TypeScript code.
  • Ensure server handlers, client API hooks, and SDK consumers stay in sync with proto definitions by coordinating code generation steps via just gen.
  • Use case: after adding a new RPC or field, run just gen and confirm all generated outputs and wiring are up to date to avoid runtime discrepancies.

Quick Start

From the repo root, run just gen after editing proto files to regenerate all outputs.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: proto-regen
Download link: https://github.com/block/proto-fleet/archive/main.zip#proto-regen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.