build-effect-ts-v3
Installation
SKILL.md
Build Effect-TS v3
Build production-grade TypeScript applications with Effect-TS v3. Effect<A, E, R> is a lazy, typed, immutable description of work; services and layers carry dependencies; Schema validates boundaries; fibers run structured concurrency; Stream carries pull-based async data. Ecosystem: @effect/platform, @effect/sql (+ 11 driver packages), @effect/rpc, @effect/cli, @effect/vitest, @effect/opentelemetry, plus @effect-atom/atom-react for React.
For the structured index of every reference file, read references/00-reference-map.md.
When to use
- Building, refactoring, debugging, or testing Effect-TS v3 code (
effect@3.x) - Implementing typed tagged errors, services and layers, fibers, streams, caching, scheduling, observability with the
effectpackage - Working with
import { Effect, Layer, Schema, Stream } from "effect",Effect.gen(function*() { yield* … }),class X extends Effect.Service<X>()(...),class E extends Schema.TaggedError<E>("Tag")(...),Layer.provideMerge,Effect.fn("Service.method") - Building HTTP servers/clients with
@effect/platform, CLIs with@effect/cli, RPC with@effect/rpc, SQL with@effect/sql, tests with@effect/vitest, OTel with@effect/opentelemetry - Building React frontends with
@effect-atom/atom-react - Migrating Promise /
fp-ts/neverthrow/ RxJS code to Effect, or operating in gradual-adoption / portable-utility mode
Do NOT use this skill for: