Effect-TS
Build robust TypeScript services with Effect. Generates typed error handling, dependency injection, concurrency primitives, retries, and structured services with full composability and type-safe error channels.
This skill helps you build reliable TypeScript applications using Effect. It generates services with typed error channels, managed dependencies via Layers, concurrent workflows with fibers, retry/timeout policies, streaming pipelines, and structured logging — replacing scattered try/catch with composable, testable code.
When to use
Use when building services that need typed error handling, structured concurrency, dependency injection, or when you want to replace ad-hoc try/catch with composable error management in TypeScript.
Examples
Service with typed errors
Build a service layer with composable error handling
Create an Effect service for user authentication with typed errors for InvalidCredentials, UserNotFound, and TokenExpired, with proper Layer composition
Retry with backoff
Add resilient HTTP calls with retry policies
Wrap my API client calls in Effect with exponential backoff retry, timeout, and circuit breaker using Schedule and Effect.retry
Concurrent pipeline
Process items concurrently with bounded parallelism
Build an Effect pipeline that fetches URLs concurrently with max 10 parallel requests, collects results, and handles partial failures