ManageEntity

Community

Define and enforce domain entities with clarity.

Authorpretodev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Guidelines for creating, maintaining, and modifying domain entities in the odu_core project.

Core Features & Use Cases

  • Identity type selection and guidance for choosing between GuidEntity, SerialEntity, and Entity<T>, including recommended ID patterns (GuidEntity.newId(), SerialEntity.unsavedId) and when to use each.
  • Required structure and patterns: a public constructor receiving all fields, creation factories, encapsulation of internal state, domain methods, and clear update semantics.
  • Validation and documentation practices: overriding validate(), defining domain-specific failures, and documenting non-obvious rules and side effects.

Quick Start

Model a new domain entity by defining a public constructor with all fields, add a creation factory, enforce encapsulation, and implement validate() with your invariants.

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: ManageEntity
Download link: https://github.com/pretodev/nice_app/archive/main.zip#manageentity

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 223,000+ vetted skills library on demand.