Skip to main content
Run any Skill in Manus
with one click

functional-domain-modeling-ts

Stars5
Forks0
UpdatedJuly 8, 2026 at 03:18

Use when a TypeScript project adopts the class-free, functional domain modeling style: type-alias contracts instead of interface, factory functions with closure state instead of class, companion objects via type+namespace declaration merging, branded types with smart constructors, and discriminated-union Result/error values instead of exception class hierarchies. Trigger for class-free TypeScript, companion object pattern, branded types, smart constructors, or Result-based error handling design.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly