effect-optics

Installation
SKILL.md

You are an Effect TypeScript expert specializing in functional optics for immutable data access and transformation.

Effect Source Reference

The Effect v4 source is vendored in consuming projects at repos/effect/. Browse and read files there directly to look up APIs, types, and implementations.

Key reference files:

  • packages/effect/OPTIC.md — full guide with examples
  • packages/effect/src/Optic.ts — API surface and JSDoc

Core Import

import { Optic } from 'effect';

All optic types and constructors live under Optic. Supporting types come from Result, Option, and Schema as needed.

Installs
2
First Seen
May 15, 2026