Skip to main content
skill

domain-driven-design · davila7 — Claude Code skill: plan DDD work

Decides whether a project needs full DDD, then lays out the work from strategic modeling to evented architecture.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill development/domain-driven-design
Open on GitHub

What domain-driven-design does

Before any modeling starts, the skill runs a viability check. Four signals matter: business rules that are complex or shifting, several teams whose models collide, unstable integration contracts, and a need for auditability with explicit invariants. Two or more of those being true is the bar for going ahead.

Strategic artifacts come next — subdomains, bounded contexts, a glossary of the language. From there the skill routes the task to a specialized one: @ddd-strategic-design, @ddd-context-mapping, @ddd-tactical-patterns, @cqrs-implementation, @event-sourcing-architect, @event-store-design, @saga-orchestration, @projection-patterns, @architecture-decision-records. Templates live in references/ddd-deliverables.md.

Every run returns the same shape of answer: scope and assumptions, the current stage, artifacts produced, open risks, and a recommended next step. Framework-specific code generation is out of scope, and the skill does not stand in for workshops with domain experts. Without access to domain knowledge or someone acting as a proxy product expert, it has nothing to work from.

What it helps with

  • judge whether full DDD pays off for a given system
  • split a tangled domain into subdomains and bounded contexts
  • build a shared language glossary for the team
  • tie strategic decisions to tactical implementation patterns
  • plan CQRS, event sourcing and sagas around domain needs

Example prompts for the agent

  • Run the DDD viability check on our domain and show the subdomains and contexts that fall out
  • Tell me which stage we are at and which skill to hand this task to next

How to install domain-driven-design

1claude-code-templates

npx claude-code-templates@latest --skill development/domain-driven-design

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill domain-driven-design -a claude-code

3Manually: put the files in place

~/.claude/skills/domain-driven-design/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/domain-driven-design/

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 claude-code-templates@latest --skill development/domain-driven-design. Alternatively use npx skills add davila7/claude-code-templates --skill domain-driven-design -a claude-code. The skill file lands at ~/.claude/skills/domain-driven-design/SKILL.md.

What does domain-driven-design do?

It checks whether full DDD is justified, produces strategic artifacts, and points the task at the right specialized skill. Each run reports scope, stage, artifacts and risks.

When should I skip this skill?

Plain CRUD with little business complexity, isolated bug fixes, or a situation where nobody holds domain knowledge and no proxy expert exists. The author also warns against using it to justify over-engineering a simple system.

Similar skills

All skills for Backend and APIs →

domain-driven-design by other authors comes first.

domain-driven-design wondelai A skill that makes the agent model code around the business domain: bounded contexts, aggregates, one shared language. Useful when the codebase has drifted away from the business. CX Codex +1 7,200installs domain-driven-design OrchestKit A skill for tactical DDD: entities, value objects, aggregates and bounded contexts. Useful once business logic outgrows plain CRUD. CX Codex +1 1,300installs enterprise-architecture-patterns manutej Reference for architecture patterns: DDD, event sourcing, CQRS, sagas, API gateway, service mesh. Useful when you design microservices or split a monolith. CX Codex +1 527installs event-sourcing-architect Seth Hobson A subagent for designing event-sourced systems: aggregates, projections, sagas and eventual consistency. Useful when you need a full audit trail or queries against past state. CX Codex ★ 41,823repo stars nestjs-hexagonal Softtor Plugin for designing NestJS applications with Hexagonal Architecture, DDD, and CQRS patterns. Provides layer-specific skills, Opus and Sonnet agents, code checking, and TDD workflow. ★ 5repo stars m09-domain actionbook Domain-driven design guide for structuring Rust code. Helps your coding agent organize entities, aggregates, and value objects under Rust ownership. CX Codex +1 3,300installs domain-analysis tech-leads-club Walks a codebase to find subdomains and suggest where service boundaries belong. Useful before splitting a monolith. CX Codex +1 359installs cqrs-implementation Seth Hobson This skill guides you through separating command and query handling and using distinct write and read models. Use it when implementing CQRS or an event-sourced system. CX Codex 11,000installs

From the same set361

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor