EFFECT SOLUTIONS

Effect Solutions is a high-level, prescriptive guide for writing idiomatic Effect programs.

Begin with Quick Start and run the Agent-Guided Setup.

Setup

Quick Start

How to get started with Effect Solutions


Project Setup

Install the Effect Language Service and strict project defaults


TypeScript Configuration

Recommended TypeScript compiler settings tuned for Effect

Core Patterns

Basics

Coding conventions for Effect.fn and Effect.gen


Services & Layers

Context.Tag and Layer patterns for dependency injection


Data Modeling

Records, variants, brands, pattern matching, and JSON serialization


Error Handling

Schema.TaggedError modeling, pattern matching, and defects


Config

Effect Config usage, providers, and layer patterns


Testing

How to test Effect code with @effect/vitest

Ecosystem

Command-Line Interfaces

Build CLIs with @effect/cli: commands, args, options, and service integration