effect-ts
Installation
SKILL.md
Effect TypeScript Best Practices
Effect is a TypeScript library for building complex, type-safe applications with structured error handling, dependency injection via services/layers, fiber-based concurrency, and resource safety.
When to Apply
- Writing or reviewing TypeScript code that imports from
effect,@effect/schema, or@effect/platform - Implementing typed error handling with
Effect<Success, Error, Requirements> - Building services and layers for dependency injection
- Working with Schema for data validation, decoding, and transformation
- Using fiber-based concurrency (queues, semaphores, PubSub, deferred)
- Processing data with Stream and Sink
- Migrating from Promises, fp-ts, neverthrow, or ZIO to Effect
How to Use
This skill is organized by domain. Read the relevant reference file for the area you're working in.