effect-patterns-domain-modeling
SKILL.md
Effect-TS Patterns: Domain Modeling
This skill provides 15 curated Effect-TS patterns for domain modeling. Use this skill when working on tasks related to:
- domain modeling
- Best practices in Effect-TS applications
- Real-world patterns and solutions
🟢 Beginner Patterns
Create Type-Safe Errors
Rule: Use Data.TaggedError to create typed, distinguishable errors for your domain.
Good Example:
import { Effect, Data } from "effect"