effect
Effect TypeScript best practices. Use when implementing Effect features like services, layers, error handling, or patterns. Triggers on: Effect, service, layer, schema, error handling.
When & Why to Use This Skill
The Effect skill is a specialized developer assistant designed to streamline the implementation of the Effect TypeScript ecosystem. It provides instant access to industry-standard best practices, architectural patterns, and real-world source references, helping developers build robust, type-safe, and scalable functional applications in TypeScript. By offering guided solutions for complex features like dependency injection, error handling, and observability, it significantly reduces the learning curve and development time for Effect-based projects.
Use Cases
- Architecting scalable systems using Effect's Service and Layer patterns for modular dependency management.
- Implementing comprehensive error handling and recovery strategies to ensure application resilience and type safety.
- Defining and validating complex data structures using Effect Schema for end-to-end data integrity.
- Setting up advanced observability, tracing, and logging to monitor performance and debug complex asynchronous workflows.
- Streamlining the creation of CLI applications and HTTP clients by following pre-defined, optimized project structures.
| name | effect |
|---|---|
| description | Effect TypeScript best practices. Use when implementing Effect features like services, layers, error handling, or patterns. Triggers on: Effect, service, layer, schema, error handling. |
Effect Best Practices
Before implementing Effect features, run effect-solutions list and read the relevant guide.
Available topics:
- Services and layers
- Data modeling with Schema
- Error handling patterns
- Configuration management
- Testing with Effect
- HTTP clients
- CLI applications
- Observability and tracing
- Project structure
Effect Source Reference
The Effect repository is cloned at ~/.local/share/effect-solutions/effect.
Search here for real implementations when docs aren't enough.
Quick Commands
effect-solutions list- List all available guideseffect-solutions show <topic>- Read a specific guide