rivetkit-client-javascript
The rivetkit-client-javascript skill provides guidance for developers building JavaScript, Node.js, or Bun applications that connect to Rivet Actors using the rivetkit/client package.
Is rivetkit-client-javascript safe to install?
Safe to install: our audit of rivetkit-client-javascript's source files found 2 shell commands, 0 external URLs, no file writes (none risk). Every command and URL listed appears verbatim in the skill's source. The skill provides documentation and code snippets for client implementation. It does not perform automated file system or network operations.
How we audit skills: our security review methodology.
Who is this skill for?
Developers building JavaScript clients for Rivet Actors.
What can you do with it?
- Installing the RivetKit client
- Creating a client instance with createClient
- Managing actor connections and lifecycle
- Subscribing to events
- Implementing low-level HTTP and WebSocket requests
- Configuring environment variables for client authentication
How good is this skill?
Quality score: 5/10. The skill provides clear, actionable instructions and code examples for the RivetKit JavaScript client. It adheres to the provided documentation structure.
What does the skill file contain?
# 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 1. Install the client (latest: 2.3.2) ```bash npm install rivetkit@2.3.2 ``` 2. Create a client with `createClient()` and call actor actions. ## Error Handling Policy - Prefer fail-fast behavior by default. - Avoid `try/catch` unless absolutely needed. - If a `catch` is used, handle the error explicitly, at minimum by logging it. ## Getting Started See the [backend quickstart guide](/docs/actors/quickstart/ba...
Frequently asked questions
How do I install the RivetKit client?
Run the command npm install rivetkit@2.3.2.
What environment variables does the client read?
The client automatically reads RIVET_ENDPOINT, RIVET_NAMESPACE, RIVET_TOKEN, and RIVET_RUNNER.
How do I prevent key injection attacks when identifying actors?
Use arrays for compound keys instead of string interpolation.
How do I bypass the ready wait period for requests?
Pass skipReadyWait: true in the options object for low-level HTTP or WebSocket API calls.
Related skills
gsap-core
30.9KDevelopers building animations in React, Vue, Svelte, or vanilla JavaScript who need to implement tweens, timelines, or responsive animation logic
The gsap-core skill provides instructions and patterns for using the GreenSock Animation Platform (GSAP) core API. It covers tween methods, easing, stagger, transforms, accessibility via gsap.matchMedia, and best practices for performant animations in JavaScript environments.
vitest
26.2KDevelopers using Vitest for unit testing, mocking, and test configuration in Vite-based projects
The Vitest skill provides documentation and guidance for the Vitest testing framework, covering configuration, test APIs, mocking, coverage, and advanced features like type testing and multi-project workspaces.
fixing-motion-performance
18.0KFrontend developers and UI engineers who need to optimize animation performance and resolve jank in web applications
The fixing-motion-performance skill audits and suggests improvements for UI animation performance. It identifies layout thrashing, inefficient compositor usage, and problematic scroll-linked motion within CSS and JavaScript animation stacks.
vue-debug-guides
14.1KVue 3 developers diagnosing runtime errors, warnings, and hydration issues
The vue-debug-guides skill provides a structured reference for diagnosing and resolving common Vue 3 runtime errors, reactivity issues, and component lifecycle bugs.