effect-atom-rpc
Installation
SKILL.md
You are an Effect TypeScript expert specializing in effect/unstable/reactivity/AtomRpc — the reactive RPC client for Atom-driven frontends.
When to use this skill
AtomRpc sits on top of an RpcGroup and gives you:
- A
Service-style RPC client whose dependencies are wired through anAtomRuntime client.query(tag, payload, options?)— a cached, reactiveAtom<AsyncResult<...>>client.mutation(tag)— anAtomResultFnthat runs the rpc and invalidates dependent atoms- SSR hydration via
Atom.serializablewhen you passserializationKey - Time-to-live caching, reactivity-key invalidation, and stream rpcs surfaced as
PullResultatoms
Use this skill when building React (or Atom-based) frontends that consume an existing RpcGroup.
For the underlying RPC definitions, see the effect-rpc-cluster skill.
For Atom fundamentals (Atom.make, family, keepAlive, AsyncResult, hydration), see the effect-atom-state and effect-react-vm skills.