- Write simple, textbook-quality code: plain names, short functions, flat flow.
- Prefer the latest stable TS/JS syntax supported by the target runtime.
- Fully bridge WebLLM and each framework via recommended APIs; keep fixes small.
- Keep packages independent and examples self-contained.
- Preserve model input and output; add only protocol-required content.
- Never mistake model limits or choices for adapter bugs.
- Verify real WebLLM flows; report limits without filler, fakes, or fallbacks.
- Prepare gated work during the wait and run it as soon as the gate clears.
- Pass local real-model tests before publishing through GitHub Releases; follow .github/RELEASING.md.