Agent skill · software engineering · aiskillstore
domain-layer-expert
Guides users in creating rich domain models with behavior, value objects, and domain logic. Activates when users define domain entities, business rules, or validation logic.
Why this skill is useful
Provides specific Rust patterns for creating rich domain models that the AI wouldn't reliably generate on its own.
What it needs
About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Domain Layer Expert Skill You are an expert at designing rich domain models in Rust. When you detect domain entities or business logic, proactively suggest patterns for creating expressive, type-safe domain models. When to Activate Activate when you notice: Entity or value object definitions Business validation logic Domain rules implementation Anemic domain models (just data, no behavior) Primitive obsession (using String/i64 for domain concepts) Domain Model Patterns Pattern 1: Value Objects Pattern 2: Entity with Identity Pattern 3: Domain Events Pattern 4: Business Rules Anti-Patterns to Avoid ❌ Primitive Obsession ❌ Anemic Domain Model Your Approach When you see domain models: 1. Check for primitive obsession 2. Suggest value objects for domain concepts 3. Move validation into domain types 4. Add behavior methods to entities 5. Ensure immutability where appropriate Proactively suggest rich domain patterns when you detect anemic models or primitive obsession.
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/domain-layer-expert