domain-modeler

Design DDD domain models and render Mermaid class diagrams.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/ynitto/sandbox --skill domain-modeler-ynitto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: domain-modeler
Source: https://github.com/ynitto/sandbox/tree/main/.github/skills/domain-modeler
Command: npx skills add https://github.com/ynitto/sandbox --skill domain-modeler-ynitto

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DDD(Domain-Driven Design)に基づいてドメインモデルを設計し、Mermaid classDiagram として出力するスキル。実務の課題であるビジネス領域の用語を整理し、境界コンテキストと集約設計を可視化することを支援します。

Core Features & Use Cases

  • 指向的なドメイン理解と戦略設計、戦術設計、ドメインイベントの設計を統合して、ドメインモデルの一貫性を保証する。
  • 集約、エンティティ、値オブジェクト、ドメインサービス、ドメインイベントを反映した Mermaid classDiagram を生成する。
  • 境界コンテキスト間の言語の整合性検証、設計レビュー、オンボーディング資料の作成に有用。

Quick Start

ドメイン文脈とビジネス用語を提供すると、境界コンテキストの Mermaid クラス図が生成されます。

Frequently Asked Questions about domain-modeler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Mermaid class diagram for domain models using DDD?

Bounded contexts in DDD are visualized by mapping domain language to aggregates, entities, and value objects, ensuring terminology consistency across contexts through Mermaid class diagrams that enforce domain-driven design principles.

How do I design aggregates and value objects across bounded contexts?

Non-DDD contexts are accommodated by applying domain-driven design principles flexibly, allowing the 6-step workflow to adapt strategic and tactical design patterns while still producing valid Mermaid class diagrams for the domain model.

What is the best way to visualize domain events and domain services in a class diagram?

The best way to visualize domain events and domain services is by integrating them into the tactical design phase, reflecting their interactions with aggregates and entities directly within the generated Mermaid class diagram output.

Do I need prior DDD knowledge to use this domain modeling workflow?

Prior DDD knowledge is not strictly required to start, as the workflow accommodates both classic and non-DDD contexts, though providing clear business domain terms and context helps enforce the underlying design principles effectively.

What are the limitations of using Mermaid classDiagram for domain modeling?

Limitations of using Mermaid classDiagram for domain modeling include rendering constraints for complex bounded context relationships, though the workflow enforces DDD principles to keep aggregate and entity structures aligned and readable.