Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ciembor/domain-driven-design
Apply Eric Evans-inspired DDD rules when modeling a complex domain, defining bounded contexts, protecting ubiquitous language, or designing aggregates.
Passed 21 of 23 test cases with the skill, and 21 of 23 without it.
1 fixed20 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
In our e-commerce platform, when an order is completed, we need to update the Order status to COMPLETED, increment the Customer loyalty points balance, and reduce the Product inventory count. Design the TypeScript class structure and service interaction for this operation.
| Checked | Without skill | With skill |
|---|---|---|
| The design modifies only a single aggregate root within a single database transaction. | Missed | Passed |
| Cross-aggregate updates are handled asynchronously using domain events. | Missed | Passed |
The instructions your model reads when the skill loads.
Use this skill when a task involves strategic domain modeling, ubiquitous language, bounded contexts, context mapping, aggregates, repositories, domain services, or model-driven design.
Before making design or code decisions, read and apply domain-driven-design.mini.md. Use domain-driven-design.md only as a deeper reference when the mini rules are not enough for the current domain-modeling tradeoff.
test cases passed, vs 21 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.