domain-driven-design · ciembor — Claude Code skill
The domain-driven-design Claude Code skill applies DDD rules to domain modeling. It activates for complex domains, bounded contexts, ubiquitous language, and aggregate design.
MIT 589 installs ★ 3,328 updated 2026-09-10
npx skills add ciembor/agent-rules-books --skill domain-driven-design -a claude-codeWhat domain-driven-design does
The skill guides domain modeling, bounded contexts, and a shared domain language. Its scope also covers context maps, aggregates, repositories, domain services, and model-driven design.
Before making design or code decisions, the agent reads domain-driven-design.mini.md. The longer domain-driven-design.md file is a reference for cases where the concise rules do not settle a modeling tradeoff.
What it helps with
- model a complex domain
- split a system into bounded contexts
- keep domain terminology consistent
- design aggregates and domain services
Example prompts for the agent
- Model this feature's domain and identify its bounded contexts.
- Check whether the terms in this domain model are consistent.
- Help design aggregates and repositories for this domain.
How to install domain-driven-design
1Skills CLI (Vercel)
npx skills add ciembor/agent-rules-books --skill domain-driven-design -a claude-code2Manually: put the files in place
~/.claude/skills/domain-driven-design/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/domain-driven-design/
1Skills CLI (Vercel)
npx skills add ciembor/agent-rules-books --skill domain-driven-design -a codex2Manually: put the files in place
.agents/skills/domain-driven-design/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ciembor/agent-rules-books --skill domain-driven-design -a cursor2Manually: put the files in place
.cursor/skills/domain-driven-design/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ciembor/agent-rules-books domain-driven-design2Manually: put the files in place
.github/skills/domain-driven-design/SKILL.md1Skills CLI (Vercel)
npx skills add ciembor/agent-rules-books --skill domain-driven-design -a gemini-cli2Platform CLI
gemini skills install https://github.com/ciembor/agent-rules-books --path domain-driven-designManually: put the files in place
.devin/skills/domain-driven-design/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add ciembor/agent-rules-books --skill domain-driven-design -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about domain-driven-design
How do I install domain-driven-design in Claude Code?
Run npx skills add ciembor/agent-rules-books --skill domain-driven-design -a claude-code. The skill is available at ~/.claude/skills/domain-driven-design/SKILL.md.
What does domain-driven-design do?
It guides DDD modeling, including bounded contexts, aggregates, and a shared domain language. It also covers context maps, repositories, and domain services.
Which files does domain-driven-design use?
The agent reads domain-driven-design.mini.md before making design or code decisions. It can consult domain-driven-design.md for deeper guidance on modeling tradeoffs.
Source text
SKILL.md · MIT
--- name: domain-driven-design description: Apply Eric Evans-inspired DDD rules when modeling a complex domain, defining bounded contexts, protecting ubiquitous language, or designing aggregates. license: MIT --- # Domain-Driven Design Skill 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](domain-driven-design.mini.md). Use [domain-driven-design.md](domain-driven-design.md) only as a deeper reference when the mini rules are not enough for the current domain-modeling tradeoff.
© ciembor · MIT · ciembor/agent-rules-books
Similar skills
SKILL.md skills catalog →domain-driven-design by other authors comes first.