Rebuild protos

From JonLatane/jonline · View interactive version

Rebuild protos is an AI agent skill from the GitHub repository JonLatane/jonline. Regenerate protobuf bindings and docs for all Rellm frontends/backend after editing .proto files. Use when the user changes anything under protos/ or asks to regenerate protos/docs/graphs.

How to use this skill

Skill file

Rellm is Makefile-driven from the repo root. After editing any .proto file (or when docs/graphs look stale), regenerate everything with:

make

run from the repo root (/Users/jonlatane/Development/rellm). This is the default target: protos docs graphs.

What `make protos` does

Regenerates proto bindings for every frontend:

cd frontends/flutter && make protos
cd frontends/tamagui && yarn protos
cd frontends/elm-spa && make protos

The Flutter step goes through FVM (the Flutter SDK is pinned in frontends/flutter/.fvmrc; never use a bare flutter/dart): it needs fvm installed, the pinned SDK installed once with make -C frontends/flutter fvm_install, and protoc on PATH. If either FVM piece is missing, its targets stop with a message saying what to run. See frontends/flutter/README.md.

Note the Rust backend does not get its protos regenerated by this target — its prost-build protos regenerate automatically on cargo build/cargo run unless stale build artifacts need clearing first, in which case use cd backend && make rebuild_protos (see the run-backend skill).

When to use

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.