effect-pattern-matching

Installation
SKILL.md

Effect Pattern Matching Skill

Use this skill when working with discriminated unions, ADTs, conditional logic, or any type that uses _tag discrimination. Pattern matching provides exhaustive, type-safe alternatives to imperative conditionals.

Effect Source Reference

The Effect v4 source is available at ~/.local/share/effect-solutions/effect/. Browse and read files there directly to look up APIs, types, and implementations.

Reference this for:

  • Match source: packages/effect/src/Match.ts
  • Data source: packages/effect/src/Data.ts
  • Full Schema API: packages/effect/SCHEMA.md
  • Effect source: packages/effect/src/

Core Philosophy

Pattern matching over imperative conditionals:

Installs
8
First Seen
May 11, 2026