MDL Syntax Validation Skill

Validate MDL scripts for syntax errors and project reference integrity.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents runtime errors and deployment failures by validating Mendix Definition Language (MDL) scripts against the official grammar and project references before they are executed.

Core Features & Use Cases

  • Syntax Verification: Checks MDL scripts for reserved keyword conflicts, unsupported syntax, and structural errors.
  • Reference Validation: Ensures that microflows, entities, and pages referenced in scripts actually exist within the target Mendix project.
  • Use Case: Before committing a new MDL script to version control or running it against a production project, use this skill to catch typos, missing semicolons, or forward-reference issues that would otherwise break the build.

Quick Start

Use the MDL Syntax Validation Skill to check the script named script.mdl against the project file TaskDemo.mpr for both syntax and reference errors.

Frequently Asked Questions about MDL Syntax Validation Skill

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

FAQPage Schema
How do I validate Mendix Definition Language scripts for syntax errors?

MDL syntax validation checks Mendix Definition Language scripts for structural correctness, reserved keyword conflicts, and unsupported syntax. This prevents runtime errors by catching typos and structural issues in your scripts before they are executed against a project.

What is the best way to check MDL scripts for missing project references?

Checking MDL scripts for missing project references requires project-aware static analysis to ensure microflows, entities, and pages referenced in the scripts actually exist within the target Mendix project file before deployment.

Do I need the mxcli tool to perform Mendix Definition Language static analysis?

Yes, you need the mxcli tool to perform Mendix Definition Language static analysis. The mxcli tool is required to execute project-aware reference checking and identify structural errors within your MDL source files.

When should I validate Mendix Definition Language scripts before deployment?

You should validate Mendix Definition Language scripts before committing to version control or running against a production project. This prevents deployment failures by catching forward-reference issues and missing semicolons early.

Why does my MDL script fail during Mendix project execution?

MDL scripts fail during Mendix project execution due to syntax errors, reserved keyword violations, or missing document dependencies. Validating the source files beforehand identifies these structural and reference issues.