write-microflows

Generates syntactically-correct MPython-like MDL code for microflows and orchestrates complex tasks with acyclic graphs of

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the complexity of writing Mendix microflows using Mendix Definition Language (MDL), helping developers avoid syntax errors, incorrect variable scoping, and improper database operations.

Core Features & Use Cases

  • MDL Syntax Guidance: Provides strict rules for microflow creation, variable declaration, and control flow structures like loops and conditional splits.
  • Best Practices: Enforces standard conventions for DSO (DataSource Object) microflows, error handling, and REST service integration.
  • Use Case: When building a new Mendix module, use this skill to generate the correct MDL code for complex business logic, ensuring that parameters, return types, and XPath associations are correctly defined for the Mendix runtime.

Quick Start

Use the write-microflows skill to generate a microflow that retrieves a list of active tasks and returns them as a data source for a page widget.

Frequently Asked Questions about write-microflows

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

FAQPage Schema
How do I write Mendix microflows using MDL without syntax errors?

Mendix microflows in MDL require strict syntax rules for variable declaration and control flow. Using a dedicated generation skill ensures parameters, return types, and XPath associations comply with the Mendix runtime, preventing scoping and database operation errors.

How does Mendix Definition Language handle database retrieves and variable declarations?

Mendix Definition Language handles database retrieves by generating syntactically correct MDL code for variable declarations and object operations. It defines parameters and control flow logic while enforcing standard conventions for XPath association navigation and runtime compliance.

Can I use MDL to define DSO microflows and REST service integrations for Mendix?

Yes, MDL supports defining DSO (DataSource Object) microflows and REST service integrations. The generation process enforces standard conventions for these integrations, ensuring correct parameters and return types for complex business logic within Mendix projects.

What's the best way to generate nanoflow logic and control flow structures in Mendix?

The best way to generate nanoflow logic is by using a tool that enforces strict MDL syntax rules for control flow structures like loops and conditional splits. This ensures proper variable scoping and syntactically correct Mendix Definition Language code for runtime execution.

Why does my Mendix MDL microflow fail during object operations and association navigation?

Mendix MDL microflows fail during object operations when parameters, return types, or XPath associations are incorrectly defined. Ensuring compliance with Mendix runtime requirements during code generation prevents these variable scoping and database operation errors.