·pattern-matching
{}

pattern-matching

front-depiction/claude-setup

Master Effect pattern matching using Data.TaggedEnum, $match, $is, Match.typeTags, and Effect.match. Avoid manual _tag checks and Effect.either patterns. Use this skill when working with discriminated unions, ADTs, or conditional logic based on tagged types.

5Installs·0Trend·@front-depiction

Installation

$npx skills add https://github.com/front-depiction/claude-setup --skill pattern-matching

SKILL.md

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.

When pattern matching involves non-deterministic operations, use Effect services.

Your pattern matching implementations should be exhaustive, type-safe, declarative, and testable.

Master Effect pattern matching using Data.TaggedEnum, $match, $is, Match.typeTags, and Effect.match. Avoid manual _tag checks and Effect.either patterns. Use this skill when working with discriminated unions, ADTs, or conditional logic based on tagged types. Source: front-depiction/claude-setup.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/front-depiction/claude-setup --skill pattern-matching
Category
{}Data Analysis
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is pattern-matching?

Master Effect pattern matching using Data.TaggedEnum, $match, $is, Match.typeTags, and Effect.match. Avoid manual _tag checks and Effect.either patterns. Use this skill when working with discriminated unions, ADTs, or conditional logic based on tagged types. Source: front-depiction/claude-setup.

How do I install pattern-matching?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/front-depiction/claude-setup --skill pattern-matching Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/front-depiction/claude-setup