sanity-check
Installation
SKILL.md
Sanity Check
Run a quick end-to-end sanity check of a published rivetkit version: copy the hello-world example to a temp directory, install the specified package version from the public npm registry, start the dev server, and run a client test script that verifies both HTTP actions and WebSocket connections with event broadcasting.
When to use
- User wants to verify a published rivetkit version works (e.g.,
rivetkit@0.0.0-pr.4701.a818b77,rivetkit@latest,rivetkit@2.5.0) - After a preview publish to verify the build is functional
- After a release to verify the package installs and runs correctly
- User says "sanity check", "smoke test", "verify the build", or "test this version"
Inputs
- Version or tag (required) — explicit pkg-pr-new preview, npm dist-tag, or semver. If not provided in the user's message, ask for it.
- Additional test behavior (optional) — e.g., "also verify workflows persist" or "check that KV works." If provided, extend
src/index.ts+test.mjsusing the menu in "Extending with custom tests" below.
Usage
/sanity-check <version>— run in a temp directory on the host/sanity-check docker <version>— run inside anode:22Docker container/sanity-check <version> <custom instructions>— any extra instructions (e.g. "also hit a KV action", "verify state persists across restart", "use pnpm", "test on node 20")