protobuf-go-ts-schema-exchange - Schema-first workflow for sharing protobuf payloads between Go and TypeScript
Exchange protobuf-defined payloads between Go and TypeScript using JSON transport with Buf codegen, protojson, and @bufbuild/protobuf.
Tags
Updated: 2026-02-13Capabilities
Typical Inputs
Typical Outputs
What this skill does
- define protobuf schema
- configure Buf v2 generation
- generate Go and TypeScript code
- emit JSON in Go using protojson
- decode JSON in TypeScript using fromJson
- validate int64 and Struct handling
- run validation checklist
Inputs
- protobuf schema
- Buf configuration
- Go codebase
- TypeScript codebase
- JSON payloads
Outputs
- generated Go code
- generated TypeScript code
- JSON payloads
- validation results
Requirements
- Buf v2
- protoc-gen-es v2
- @bufbuild/protobuf v2
- Go environment
- TypeScript environment
- protojson package
