Skip to content

Commit 5654f4c

Browse files
committed
Improved readme
1 parent a5b4cdb commit 5654f4c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,48 +22,72 @@ Mxcli is a tool that enables some of the following use cases.
2222

2323
## A textual DSL for mendix models
2424

25+
MDL, Mendix Definition Language, is a DSL that provides textual models at the same abstraction level as the visual models in Studio Pro.
26+
2527
![Mxcli MDL](docs/images/mxcli-mdl-dsl.png)
2628

2729
### Command line tool to work with Mendix projects
2830

31+
Mxcli command line tool allows you to run commands against your project to investigate your project and make changes.
32+
2933
![Mxcli](docs/images/mxcli-cli.png)
3034

3135
### A REPL to work with Mendix projects
3236

37+
In repl mode mxcli allows you to interactively work with a Mendix project. This is similar to psql or sqlplus when working with databases. You can list the available Mendix documents, view the MDL source, and make changes.
38+
3339
![Mxcli repl](docs/images/mxcli-repl.png)
3440

3541
### Skills and configuration to enable Agentic Coding on Mendix projects
3642

43+
Running *mxcli init* will install configuration files for agentic coding tools like AGENTS.md, CLAUDE.md, and Mendix specific skills. It will also configure a devcontainer that you can use when opening the project in Vscode, so you limit what your agentic coder can impact and see.
44+
3745
![Mxcli skills](docs/images/mxcli-init-claud.png)
3846

47+
This screenshot shows how Claude uses mxcli command to do agentic search on your Mendix project to understand what is available. It gets a list of pages that are in the specified module, it uses structure to get an overview of all the documents in the module, and then it describes the soure of a specifc page. Based on this info it can make a plan how to modify your project.
48+
3949
![Mxcli claude](docs/images/mxcli-claude-add-page.png)
4050

4151
### A set of extensible skills
4252

53+
The skills documents teach agentic coding tools how to build Mendix projects. You can add your own skills with design patterns and best practices. Using MDL you can be very specific how the agent should generate the required Mendix documents.
54+
4355
![Mxcli skills](docs/images/mxcli-skills.png)
4456

4557
### Metadata Catalog
4658

59+
Mxcli builds up a set of database tables with information about your project. This allows for flexible agentic search on your project documents.
60+
4761
![Mxcli catalog](docs/images/mxcli-catalog.png)
4862

4963
### A Mendix project linter
5064

65+
The catalog tables are exposed as Starlark APIs so you can use the available data in custom Mendix linter rules.
66+
5167
![Mxcli lint](docs/images/mxcli-lint.png)
5268

5369
### VSCode for Mendix projects
5470

71+
The easiest way to use mxcli is in vscode. You can run Claude Code inside vscode, mxcli installs a Mendix vscode extension that helps you review and understand your Mendix project. The project structure shows you all modules with document, similar to the app explorer in Mendix Studio Pro.
72+
5573
![mxcli vscode claude code](docs/images/mxcli-vscode-claude.png)
5674

5775
![mxcli vscode mendix extions](docs/images/mxcli-vscode-ext.png)
5876

5977
### Run and test your Mendix projects
6078

79+
Claude code can start your Mendix project using PAD (portable application distribution). This will run the Mendix runtime in a docker container, and postgres in another docker container. This allows you to test your Mendix project without leaving vscode.
80+
6181
![mxcli docker portable application distribution](docs/images/mxcli-docker-run.png)
6282

6383
### Automated Playwright-cli testing for Mendix projects
6484

85+
The devcontainer is configured for use with playwright-cli so Claude Code can test your running application.
86+
6587
### Data migration for Mendix projects
6688

89+
Claude code can migrate existing data, or generate demo data in the postgres container when you run your application.
90+
6791
## Quick Start
6892

6993
The recommended way to use mxcli is inside a **Dev Container**. This sandboxes the AI agent so it can only access your project files, preventing unintended changes to your system. `mxcli init` sets up a `.devcontainer/` configuration automatically.

0 commit comments

Comments
 (0)