What problem does it solve?
This skill addresses the steep learning curve of Effect v4 by providing verified, idiomatic patterns for core operations, preventing common pitfalls like silent runtime failures, incorrect error handling, and misuse of deprecated v3 constructs.
Core Features & Use Cases
- Idiomatic Pattern Guidance: Provides the correct spelling for generators, error recovery, and resource management in Effect v4.
- Safety Guardrails: Highlights critical differences between v3 and v4, such as the removal of FiberRef and the introduction of Context.Reference, to ensure code stability.
- Use Case: Use this skill when refactoring a legacy v3 codebase to v4 to ensure that error handling, fiber management, and service definitions align with the latest architectural standards.
Quick Start
Ask the effect-v4-idioms skill to explain the correct way to implement a generator-based workflow using Effect.gen and the new options object syntax.