Immutable Domain Entities

Require the immutable design pattern for domain entities. Use when an agent needs to create, modify, review, or interpret domain entities and should preserve identity while expressing state changes through new immutable instances. Domain entities must be modeled as immutable classes, not as plain type aliases or interfaces paired with standalone functions.

code-sherpas Updated 0 repo stars

File contents

code-sherpas/agent-skills commit a923a378f1

Frequently asked questions

npx get-skill add code-sherpas/immutable-domain-entities