Functional Domain Modeling

Functional domain modeling for server-side TypeScript with better-result and valibot — discriminated unions, pure state transitions, TaggedError-based Result handling, schema-validated boundaries, and PII protection. Use when writing TypeScript domain models, use cases, repositories, state transitions, error handling, boundary validation, or PII handling on the server side, or designing types for business logic. Skip for frontend components, build tooling, and code unrelated to domain logic.

h3y6e 58b6697 8 files · 32.3 KB Updated

File contents

h3y6e/agent-skills/tree/main/skills/functional-domain-modeling commit 58b66975b9

Frequently asked questions

npx skillmds@latest add h3y6e/functional-domain-modeling