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

Baseline: Effect 4.1.0. The source checkout is at ~/.local/share/opencode/repos/github.com/Effect-TS/effect@main/. Read exact-tag files with git show effect@4.1.0:<path>; main may be newer.

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

Installs
3
GitHub Stars
11
First Seen
Aug 27, 2026