abp-ddd
ABP DDD patterns - Entities, Aggregate Roots, value objects, Repositories, Domain Services, Domain Events, Specifications. Use when designing domain layer, creating entities, repositories, or domain services in ABP projects.
Install
With your agent
Install OMGSkills skill "abpframework/abp:.claude/skills/abp-ddd" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/abpframework/abp /tmp/abp && ln -s /tmp/abp/.claude/skills/abp-ddd ~/.claude/skills/abp-ddd
From README
ABP DDD Patterns Docs: https://abp.io/docs/latest/framework/architecture/domain-driven-design Anti-Patterns to Avoid Anemic entities: public setters with no behavior — use private setters + methods that enforce invariants Repository for child entities: only aggregate roots get repositories — access child entities through their root Generating GUID in entity constructor: use IGuidGenerator from outside and pass id parameter Navigation properties to other aggregates: reference by Id only, never add full navigation properties across aggregates Domain service depending on current user: accept values from the application layer instead Rich Domain Model vs Anemic Domain Model ABP promotes Rich Domain Model pattern where entities contain both data AND behavior: | Anemic (Anti-pattern) | Rich (Recommended) | |----------------------|-------------------| | Entity = data only | Entity = data + behavior | | Logic in services | Logic in entity methods | | Public setters | Private setters with...
More from this repo
abp-angular
ABP Angular UI patterns - generate-proxy, ListService, PermissionGuard, abpLocalization pipe, ConfirmationService,...
abp-app-nolayers
ABP Single-Layer (No-Layers / nolayers) application template - single project structure, feature-based file...
abp-application-layer
ABP Application Services, DTOs, CRUD service, object mapping (Mapperly/AutoMapper), validation, error handling.
