What problem does it solve?
It ensures consistent organization, generation, and linting of protobuf files across PowerX, removing manual setup errors and mismatched go_package paths.
Core Features & Use Cases
- Unified proto layout: source files in
api/grpc/** and generated code in api/grpc/gen/**.
- Buf integration: workspace management, linting, breaking-change checks, and generation via
buf.gen.yaml.
- Automatic Make targets:
proto-gen, proto-lint, proto-clean for reproducible builds.
- Version‑controlled outputs: go_package prefixes aligned with repository path and optional
.gitignore handling.
Use case: When adding a new service, developers follow the provided yaml rules and make targets to generate Go stubs without hand‑editing.
Quick Start
Execute the proto-gen make target from the repository root to generate the Go protobuf stubs for the new service.