effect-patterns-domain-modeling
CommunityDomain modeling patterns for Effect-TS.
Software Engineering#type-safety#functional-programming#Effect-TS#branded-types#domain-modeling#schema-validation#tagged-errors
AuthorPaulJPhilp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a structured set of Effect-TS domain modeling patterns to help developers design robust, type-safe domain layers. It covers interfaces, branded types, tagged errors, Option, Schema, and Effect.gen workflows.
Core Features & Use Cases
- Domain modeling patterns for Effect-TS: interfaces, branded types, and branded domain primitives.
- Type-safe error handling with Data.TaggedError and tagged errors.
- Option-based modeling for optional values to distinguish missing data from errors.
- Schema-based validation and decoding for robust input handling.
- Effect.gen for readable, sequential business logic.
- Bringing together Brand and Schema for validated branded types.
- Guidance for building scalable domain layers in TypeScript apps using Effect-TS.
Quick Start
Define a minimal domain model for a User using interfaces, branded types, Option, and a simple Effect.gen workflow.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: effect-patterns-domain-modeling Download link: https://github.com/PaulJPhilp/EffectPatterns/archive/main.zip#effect-patterns-domain-modeling Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.