ddd-core

Domain-Driven Design (DDD): Strategic Hub & Workshop

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ddd-core" with this command: npx skills add kinhluan/skills/kinhluan-skills-ddd-core

Domain-Driven Design (DDD): Strategic Hub & Workshop

"The heart of software is its ability to solve domain-related problems for its user." — Martin Fowler.

Strategic DDD is about taming complexity by identifying what to build and how to organize teams around Bounded Contexts.

🌪 Virtual Event Storming Workflow

Use this workflow to discover domains through a collaborative workshop with AI:

  • Big Picture: Identify all Domain Events (Past tense: e.g., OrderPlaced ).

  • Commands: Identify the triggers for those events (e.g., PlaceOrder ).

  • Policy & Logic: Define rules that link commands and events.

  • Aggregate Identification: Group related commands/events into consistency boundaries.

  • Bounded Context Mapping: Group Aggregates into logical contexts.

🎯 Subdomain Types (ROI Focus)

  • Core Domain: Your unique competitive advantage. High complexity, high value. Strategy: Build in-house with top talent.

  • Supporting Subdomain: Necessary but not a differentiator. Medium complexity. Strategy: Build or use open-source.

  • Generic Subdomain: Standard problems with off-the-shelf solutions. Strategy: Buy/Use SaaS.

🔗 Context Mapping Patterns (Upstream/Downstream)

  • ACL (Anti-Corruption Layer): Translates external models to your internal domain. (Highly recommended to shield Core Domains).

  • OHS (Open Host Service): A public API for your domain.

  • Shared Kernel: Two contexts sharing part of the model (High risk, use sparingly).

  • Conformist: Downstream team strictly follows the upstream model.

🚫 Strategic Anti-Patterns

  • The Generic Core: Wasting top talent on building generic things (like Auth).

  • Context Leakage: Using a model from one Bounded Context directly in another without translation (ACL).

  • Anemic Bounded Context: A context that has no clear responsibility or ubiquitous language.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

ddd-tactical

No summary provided by upstream source.

Repository SourceNeeds Review
General

ddd-patterns

No summary provided by upstream source.

Repository SourceNeeds Review
General

docker-containerization

No summary provided by upstream source.

Repository SourceNeeds Review
General

scheduling-algorithms

No summary provided by upstream source.

Repository SourceNeeds Review