rivetkit-client-javascript
Installation
SKILL.md
RivetKit JavaScript Client
Use this skill when building JavaScript clients (browser, Node.js, or Bun) that connect to Rivet Actors with rivetkit/client.
First Steps
- Install the client (latest: 2.3.0-rc.12)
npm install rivetkit@2.3.0-rc.12 - Create a client with
createClient()and call actor actions.
Error Handling Policy
- Prefer fail-fast behavior by default.
- Avoid
try/catchunless absolutely needed. - If a
catchis used, handle the error explicitly, at minimum by logging it.