context-mapper-ddd

Model DDD domains with Context Mapper Language and validate CML syntax.

Updated Jun 11, 2019
One-click install
npx skills add https://github.com/Sanmoo/dotfiles --skill context-mapper-ddd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-mapper-ddd
Source: https://github.com/Sanmoo/dotfiles/tree/main/opencode/.config/opencode/skills/context-mapper-ddd
Command: npx skills add https://github.com/Sanmoo/dotfiles --skill context-mapper-ddd

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables precise modeling of complex business domains using the Context Mapper Language, facilitating clear communication and consistent implementation of domain models.

Core Features & Use Cases

  • Domain and Subdomain Definition: Create structured, hierarchical domain models with vision statements and categorization.
  • Bounded Context Modeling: Define bounded contexts with aggregates, entities, value objects, events, commands, and services.
  • Relationship Mapping: Establish clear relationships between bounded contexts, including systems and integration patterns.
  • Language Adaptation: Generate models in the user's preferred language, supporting multilingual modeling.
  • Generation & Validation: Assist with validation and transform models for diagrams, code, or documentation.

Quick Start

Define your domain's core entities and relationships in CML syntax, then validate and generate diagrams or code.

Frequently Asked Questions about context-mapper-ddd

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

FAQPage Schema
How do I model domain-driven design bounded contexts with relationships?

Model domain-driven design bounded contexts by defining aggregates, entities, and value objects using Context Mapper Language syntax, then mapping relationships between contexts to clarify system integration patterns.

What is Context Mapper Language used for in system architecture?

Context Mapper Language is used for domain modeling to create structured, standard-compliant representations of DDD concepts, ensuring complex business domains are syntactically correct and ready for automated generation.

Can I generate diagrams and code from a CML domain model?

Yes, you can generate diagrams and code from a CML domain model by validating your syntax and transforming the structured domain representations into outputs for documentation or automated code generation.

Does domain modeling with Context Mapper support multilingual output?

Domain modeling with Context Mapper supports multilingual output by generating models in your preferred language, allowing teams to adapt DDD concepts and hierarchies for multilingual system architecture documentation.

How do I validate DDD model syntax before generating documentation?

Validate DDD model syntax by checking your Context Mapper Language definitions for standard compliance, ensuring the hierarchical domain models and bounded context relationships are syntactically correct before transformation.

When should I use CML for domain modeling instead of generic diagrams?

Use CML for domain modeling when you need executable, precise syntax for DDD concepts that ensures models are syntactically correct and ready for automated generation, rather than static generic diagrams.