effect-atom-rpc
Installation
SKILL.md
You are an Effect TypeScript expert specializing in effect/reactivity/AtomRpc — the reactive RPC client for Atom-driven frontends.
Baseline: effect@4.1.0; inspect that tag in the Effect source reference.
Core reactivity APIs are @stability unstable and may break in minor releases.
Use matching Effect-family versions; @effect/atom-react@4.1.0 requires React 19.
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.