effect-ts-fundamentals
Installation
SKILL.md
Effect-TS Fundamentals
Overview
Effect-TS provides a unified toolkit for building robust applications by treating side effects as values. It enables type-safe error handling, dependency injection, and resource management.
When to Use
- When building complex TypeScript applications requiring strict error tracking.
- When you need to decouple implementation from interface via dependency injection.
- When managing multiple async operations that must be composed safely.
When NOT to use:
- Simple scripts where standard
Promiseandtry/catchsuffice. - Projects where team overhead for learning Effect outweighs architectural benefits.
Core Pattern
Effect replaces manual dependency passing and nested try/catch with a declarative, generator-based flow.