nw-fp-domain-modeling

Community

Make domain states unrepresentable with types.

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.