What problem does it solve? Structuring services and their dependencies in Effect v4 applications is error-prone without clear patterns for layer construction, composition, resource cleanup, and error handling, leading to tangled dependency graphs and leaked resources. ## Core Features & Use Cases - Layer Construction Patterns: Covers simple layers, layers with dependencies, and resource-managed layers using Layer.effect with acquireRelease for automatic Scope handling. - Composition Strategies: Explains merge, provide, provideMerge, and defaultLayer conventions, including when to use Layer.suspend for deferred composition. - Advanced Concurrency Pattern: Provides a SynchronizedRef plus Deferred state machine for sharing in-flight work across concurrent callers. - Use Case: When building a service like a Database layer that needs Config, acquires a connection, and must be swappable with a test implementation, this Skill guides the exact layer structure, naming conventions, and composition approach. ## Quick Start Ask the assistant to design an Effect v4 layer for a Database service that depends on Config, manages its connection lifecycle, and can be swapped with a test implementation.