bufbuild/buf ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go command line tool for working with Protocol Buffers that feels like a cleaner replacement for the usual protoc plus shell scripts setup.

I want it to let me define a workspace for my .proto files, build and validate them, format them, run lint checks, and detect breaking changes against a previous version in git or a local folder. It should also support code generation from a checked in config file, so I can generate Go types and service stubs without writing long commands by hand. If possible, include support for publishing and pulling schema modules like a registry so dependencies are easier to manage.

Make the command line friendly, fast, and practical for real projects, with sensible defaults and good error messages. Look up current docs online if you need to, and then wire up whatever is needed so the tool works end to end.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab