Plan and route Domain-Driven Design work from strategic modeling to tactical implementation and evented architecture patterns.
Add this skill
npx mdskills install sickn33/domain-driven-designRouter skill with clear viability check and strong strategic-to-tactical decomposition
1---2name: domain-driven-design3description: Plan and route Domain-Driven Design work from strategic modeling to tactical implementation and evented architecture patterns.4risk: safe5source: self6tags: [ddd, domain, bounded-context, architecture]7---89# Domain-Driven Design1011## Use this skill when1213- You need to model a complex business domain with explicit boundaries.14- You want to decide whether full DDD is worth the added complexity.15- You need to connect strategic design decisions to implementation patterns.16- You are planning CQRS, event sourcing, sagas, or projections from domain needs.1718## Do not use this skill when1920- The problem is simple CRUD with low business complexity.21- You only need localized bug fixes.22- There is no access to domain knowledge and no proxy product expert.2324## Instructions25261. Run a viability check before committing to full DDD.272. Produce strategic artifacts first: subdomains, bounded contexts, language glossary.283. Route to specialized skills based on current task.294. Define success criteria and evidence for each stage.3031### Viability check3233Use full DDD only when at least two of these are true:3435- Business rules are complex or fast-changing.36- Multiple teams are causing model collisions.37- Integration contracts are unstable.38- Auditability and explicit invariants are critical.3940### Routing map4142- Strategic model and boundaries: `@ddd-strategic-design`43- Cross-context integrations and translation: `@ddd-context-mapping`44- Tactical code modeling: `@ddd-tactical-patterns`45- Read/write separation: `@cqrs-implementation`46- Event history as source of truth: `@event-sourcing-architect` and `@event-store-design`47- Long-running workflows: `@saga-orchestration`48- Read models: `@projection-patterns`49- Decision log: `@architecture-decision-records`5051If templates are needed, open `references/ddd-deliverables.md`.5253## Output requirements5455Always return:5657- Scope and assumptions58- Current stage (strategic, tactical, or evented)59- Explicit artifacts produced60- Open risks and next step recommendation6162## Examples6364```text65Use @domain-driven-design to assess if this billing platform should adopt full DDD.66Then route to the right next skill and list artifacts we must produce this week.67```6869## Limitations7071- This skill does not replace direct workshops with domain experts.72- It does not provide framework-specific code generation.73- It should not be used as a justification to over-engineer simple systems.74
Full transparency — inspect the skill content before installing.