nw-fp-domain-modeling
CommunityMake domain states unrepresentable with types.
Software Engineering#design-principles#workflows#functional-design#domain-modeling#smart-constructors#algebraic-data-types#type-level-errors
AuthorStudentCristian
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Type-driven domain modeling reduces runtime errors by representing domain invariants as compile-time guarantees and unrepresentable invalid states.
Core Features & Use Cases
- Domain wrappers for primitives to prevent confusion and enforce boundaries
- Validated construction (smart constructors) to guarantee invariants
- Workflows as functions and state machines to model lifecycles
- Type-level error handling and bounded contexts to reduce runtime checks
Quick Start
Create a domain model by wrapping a primitive, implement a smart constructor with validation, and compose it into a type-safe 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: nw-fp-domain-modeling Download link: https://github.com/StudentCristian/nWave-github/archive/main.zip#nw-fp-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 471,000+ vetted skills library on demand.