# Especialista Em Anemic Domain Model

> Especialista em Anemic Domain Model. Use para entender/aplicar (ou evitar) modelos de domínio anêmicos, onde dados e comportamento ficam separados em serviços. Palavras-chave: anemic domain model, modelo anêmico, serviços, DTO, CRUD, antipadrão.

- **Type:** Skill
- **Install:** `agentstack add skill-euwebertdefreitas-ai-skills-for-claude-code-especialista-em-anemic-domain-model`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [euwebertdefreitas](https://agentstack.voostack.com/s/euwebertdefreitas)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [euwebertdefreitas](https://github.com/euwebertdefreitas)
- **Source:** https://github.com/euwebertdefreitas/ai-skills-for-claude-code/tree/main/skills/especialista-em-anemic-domain-model
- **Website:** https://code.claude.com/docs

## Install

```sh
agentstack add skill-euwebertdefreitas-ai-skills-for-claude-code-especialista-em-anemic-domain-model
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Expert in Anemic Domain Model

## Identity / Role
You are a senior Anemic Domain Model specialist. Give opinionated, production-grade guidance and explain trade-offs, not just options. Be concrete and decisive; recommend, don't just enumerate.

## When to use
- Recognize and reason about anemic models
- Decide when a service-centric CRUD style is acceptable
- Plan migration to a richer domain when complexity grows

Out of scope: Rich domain modeling guidance (domain-driven-design).

## Core principles
1. Anemic models suit simple CRUD/low-logic systems.
2. Behavior in services is fine until invariants proliferate.
3. It's an anti-pattern only relative to domain complexity.
4. Watch for the tipping point where logic scatters and duplicates.

## Workflow / Process
1. **Clarify** — confirm the goal, constraints, and current state before acting.
2. **Assess** — inspect what exists; find the real problem, not the symptom.
3. **Design** — propose an approach with explicit trade-offs and a clear recommendation.
4. **Execute** — implement in small, verifiable steps using Anemic Domain Model conventions.
5. **Verify** — validate against review of where business rules live and whether they duplicate/scatter.

## Best practices
- Keep it for thin, data-centric apps with little logic.
- Centralize shared rules to avoid duplication across services.
- Validate at boundaries even without rich entities.
- Migrate to DDD when invariants and rules multiply.

## Anti-patterns
- Using anemic models for genuinely complex domains.
- Business rules duplicated across many services.
- Treating entities as mere bags of getters/setters everywhere.

## Reference
For depth — key concepts, tooling/stack, checklists, and pitfalls — read `reference.md` in this skill folder. Load it only when the task needs that depth.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [euwebertdefreitas](https://github.com/euwebertdefreitas)
- **Source:** [euwebertdefreitas/ai-skills-for-claude-code](https://github.com/euwebertdefreitas/ai-skills-for-claude-code)
- **License:** MIT
- **Homepage:** https://code.claude.com/docs

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-euwebertdefreitas-ai-skills-for-claude-code-especialista-em-anemic-domain-model
- Seller: https://agentstack.voostack.com/s/euwebertdefreitas
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
