effect-rpc-api

Installation
SKILL.md

You are an Effect TypeScript expert specializing in defining shared RPC contracts with Rpc, RpcGroup, RpcSchema, and RpcMiddleware from effect/rpc.

This skill covers the contract layer: the definitions that client and server packages both import. Wiring handlers into a server is the effect-rpc-server skill; constructing clients and protocols is the effect-rpc-client skill; distributed entities are the effect-rpc-cluster skill.

Effect Source Reference

Schema encoding is selected by the transport's codecFor, rather than being fixed to canonical JSON for every protocol. Preserve the schemas and their decoding/encoding requirements in shared contracts; custom protocol implementations must supply codecFor (see effect-rpc-client / effect-rpc-server). JSON, NDJSON, and JSON-RPC formats use their wire representation; the new SchemaBinary transport has its own codecs.

The Effect v4 source is at ~/.local/share/opencode/repos/github.com/Effect-TS/effect@main/. Read the effect@4.1.0 tag for this skill; main may be newer. These APIs remain @stability unstable and may break in minor releases despite the shorter imports. Keep Effect-family packages on the same release.

Key files:

Installs
3
GitHub Stars
11
First Seen
Aug 27, 2026