generate-domain-model

Generate Mendix MDL scripts for domain model entities, associations, and enumerations.

1|Updated Jun 5, 2026
One-click install
npx skills add https://github.com/engalar/mxcli-taskdemo --skill generate-domain-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-domain-model
Source: https://github.com/engalar/mxcli-taskdemo/tree/main/TaskDemo/.claude/skills/generate-domain-model
Command: npx skills add https://github.com/engalar/mxcli-taskdemo --skill generate-domain-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the complexity of manually architecting Mendix domain models by providing a structured, linted, and standardized way to generate MDL (Mendix Definition Language) scripts.

Core Features & Use Cases

  • Automated MDL Generation: Quickly create entities, associations, enumerations, and non-persistent entities using best-practice patterns.
  • Validation & Linting: Ensures generated scripts adhere to Mendix naming conventions, reserved keyword safety, and proper documentation standards.
  • Use Case: When building a new module for an e-commerce or CRM application, use this skill to generate the entire domain model structure, including indexes and audit attributes, in seconds.

Quick Start

Use the generate-domain-model skill to create a persistent entity for a Customer with attributes for name, email, and registration date.

Frequently Asked Questions about generate-domain-model

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

FAQPage Schema
How do I generate Mendix MDL domain models automatically?

You can generate Mendix MDL domain models automatically by creating scripts for entities, associations, and enumerations. This approach uses best-practice patterns to define persistent and non-persistent entities while enforcing strict naming and documentation standards.

What is Mendix Definition Language used for in domain modeling?

Mendix Definition Language (MDL) is used to script domain model structures including entities, associations, and enumerations. It enables automated generation of complex model components like indexes and OQL views while ensuring architectural maintainability.

Does MDL generation support non-persistent entities and OQL views?

Yes, MDL generation supports both persistent and non-persistent entity definitions alongside OQL view creation. It also handles index optimization and association definitions to ensure scalable and maintainable Mendix project architectures.

What's the best way to enforce naming conventions in Mendix domain models?

The best way to enforce naming conventions is through linted MDL script generation. This ensures generated domain models adhere to Mendix naming standards, reserved keyword safety, and proper documentation requirements for maintainable architectures.

Why does my manually built Mendix domain model lack consistent documentation?

Manual domain model building often lacks consistent documentation due to human oversight. Automated MDL script generation solves this by enforcing strict documentation, positioning, and naming standards across all entities and associations.

Can I create indexes and audit attributes for a Mendix entity script?

Yes, you can create indexes and audit attributes within Mendix entity scripts. Automated MDL generation handles index optimization and standard audit attribute inclusion to produce ready-to-deploy domain model structures.