What problem does it solve?
This Skill helps developers write more robust, scalable, and maintainable TypeScript code by leveraging the Effect-TS library's powerful functional programming patterns and type safety.
Core Features & Use Cases
- Error Handling: Implement structured, type-safe error handling using
Effect.fail, Effect.catchTag, and Cause.
- Resource Management: Safely acquire and release resources using
Effect.acquireRelease and Effect.scoped.
- Concurrency: Manage concurrent operations effectively with
Effect.all, Stream.mapEffect, and Fiber primitives.
- Use Case: Refactor a complex asynchronous service with multiple potential failure points into a clear, testable Effect-TS program that guarantees resource cleanup and provides detailed error context.
Quick Start
Use the effect-ts skill to generate a basic Effect-TS program structure with proper imports and a simple Effect.gen block.