proto-gen

Generate C++ and Python code from Protocol Buffer definitions.

2|Updated May 17, 2025
One-click install
npx skills add https://github.com/AlexandrePrevot/OrderParserProcessor --skill proto-gen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: proto-gen
Source: https://github.com/AlexandrePrevot/OrderParserProcessor/tree/main/.claude/skills/proto-gen
Command: npx skills add https://github.com/AlexandrePrevot/OrderParserProcessor --skill proto-gen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the boilerplate work of turning Protocol Buffer (.proto) definitions into ready-to-use C++ and Python code, keeping services and messages in sync with your proto files.

Core Features & Use Cases

  • Code generation for C++: Generate service stubs and message classes from .proto files.
  • Code generation for Python: Produce Python gRPC stubs and message types from proto definitions.
  • Regeneration on changes: Re-run code generation when proto files are updated to keep generated code current.

Quick Start

Ensure ORDER_PARSER_PROCESSOR_ROOT is set and your .proto files live under ORDER_PARSER_PROCESSOR_ROOT/proto. Then run this skill to generate C++ and Python code into the generated/ directories. For a quick start, target the proto files in proto/services/ and proto/messages/.