What problem does it solve?
Designing scalable applications with explicit, maintainable dependency graphs can be complex. This Skill provides proven patterns and examples for building and composing Effect layers in TypeScript, making dependencies and resource lifecycles clear and testable.
Core Features & Use Cases
- Layer-based architecture patterns for combining dependencies and outputs using Layer.merge, Layer.provide, and Layer.effect.
- Resource management examples with Layer.scoped and acquisition/release semantics.
- Guidance on layering infrastructure, domain, and application concerns to improve testing and maintainability.
Quick Start
Define a few sample layers (for example Config and Logger), combine them with Layer.merge, and then provide dependencies to build a runnable program. Replace the sample services with real implementations as you move from example to production.