pattern matching
✓This skill should be used when the user asks about "Effect Match", "pattern matching", "Match.type", "Match.tag", "Match.when", "Schema.is()", "Schema.is with Match", "exhaustive matching", "discriminated unions", "Match.value", "converting switch to Match", "converting if/else to Match", "TaggedClass with Match", or needs to understand how Effect provides type-safe exhaustive pattern matching.
Installation
SKILL.md
Pattern matching replaces ALL imperative control flow in Effect code. There should be ZERO if/else statements, switch/case blocks, or ternary operators in idiomatic Effect code.
| if/else chains | Match.value + Match.when | | switch/case statements | Match.type + Match.tag | | Ternary operators (? :) | Match.value + Match.when | | Null checks | Option.match | | Error checks | Either.match or Effect.match | | Type guards | Match.when with Schema.is() |
When you encounter imperative control flow, refactor it to pattern matching immediately.
This skill should be used when the user asks about "Effect Match", "pattern matching", "Match.type", "Match.tag", "Match.when", "Schema.is()", "Schema.is with Match", "exhaustive matching", "discriminated unions", "Match.value", "converting switch to Match", "converting if/else to Match", "TaggedClass with Match", or needs to understand how Effect provides type-safe exhaustive pattern matching. Source: andrueandersoncs/claude-skill-effect-ts.
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/andrueandersoncs/claude-skill-effect-ts --skill pattern matching- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is pattern matching?
This skill should be used when the user asks about "Effect Match", "pattern matching", "Match.type", "Match.tag", "Match.when", "Schema.is()", "Schema.is with Match", "exhaustive matching", "discriminated unions", "Match.value", "converting switch to Match", "converting if/else to Match", "TaggedClass with Match", or needs to understand how Effect provides type-safe exhaustive pattern matching. Source: andrueandersoncs/claude-skill-effect-ts.
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/andrueandersoncs/claude-skill-effect-ts --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/andrueandersoncs/claude-skill-effect-ts
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01