ddd-modeling

Transform product specifications into DDD domain models with Mermaid diagrams.

Updated May 6, 2026
One-click install
npx skills add https://github.com/crgarcia12/compy --skill ddd-modeling-crgarcia12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ddd-modeling
Source: https://github.com/crgarcia12/compy/tree/main/.github/skills/ddd-modeling
Command: npx skills add https://github.com/crgarcia12/compy --skill ddd-modeling-crgarcia12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill turns product specs and brownfield outputs into explicit domain models, aiding in clear domain boundaries, business rules, and data ownership.

Core Features & Use Cases

  • Domain Model Creation: Transforms feature requirements into a domain model.
  • Bounded Contexts: Defines subdomains, bounded contexts, and ubiquitous language.
  • Diagrams: Generates Mermaid-based domain and database diagrams.
  • Use Case: When starting a new project, use this Skill to define the domain boundaries and model before implementation.

Quick Start

Run the ddd-modeling skill with the product specifications and generate the domain model.

Frequently Asked Questions about ddd-modeling

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

FAQPage Schema
How do I create a domain model from product specifications?

To create a domain model from product specifications, you can transform feature requirements into explicit domain boundaries, aggregates, and persistence models using Domain-Driven Design principles. This process clarifies business rules and data ownership before implementation begins.

What is the best way to define bounded contexts for a new software project?

Defining bounded contexts involves identifying subdomains and establishing a ubiquitous language to separate domain boundaries. Analyzing product specifications or brownfield outputs allows you to explicitly model these contexts and ensure clear data ownership across subdomains.

Can I generate Mermaid diagrams for my domain-driven design models?

Yes, you can generate Mermaid-based domain and database diagrams for your domain-driven design models. This visual representation helps map out aggregates, bounded contexts, and persistence structures derived directly from your product specifications.

Do I need prior Domain-Driven Design knowledge to model bounded contexts?

Yes, you need prior knowledge of Domain-Driven Design concepts to effectively model bounded contexts and aggregates. The process requires understanding ubiquitous language and domain boundaries to accurately transform specifications into a functional domain model.

How do I model domain boundaries from brownfield outputs?

To model domain boundaries from brownfield outputs, you analyze existing system structures and transform them into explicit domain models. This involves defining bounded contexts, aggregates, and persistence models to clarify business rules and data ownership in legacy environments.