cheatsheet-errors SKILL.md skillA
cheatsheet-errors from mendixlabs/mxcli is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mendixlabs/mxcli/cheatsheet-errors@git:20261017.14a01a9Pins git:20261017.14a01a9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mendixlabs/mxcli
- Path
.claude/skills/mendix/cheatsheet-errors/SKILL.md- Versions recorded
- 15
- Latest version
- git:20261017.14a01a9, committed Oct 17, 2026
- First version recorded
- Aug 21, 2026
- Size
- 10,863 bytes
- Repository stars
- 134
- License
- Apache-2.0
Quick fixes for the MDL syntax errors that come up most: undeclared variables, wrong retrieve source, list operations, expression mistakes. Use when `mxcli check` reports an error and you want the fix rather than the reference.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
<!-- skill-index: generated by scripts/skill-index.py; make check-skill-index --> ## Find it fast `sed -n '<from>,<to>p' SKILL.md` one section rather than reading the file; `./mxcli syntax <topic>` answers *how do I write this* for a fraction of either. | lines | section | |---|---| | 26-78 | Variable Errors | | 79-130 | Expression Errors | | 131-184 | Control Flow Errors | | 185-222 | Syntax Errors | | 223-287 | Reference Errors | | 288-303 | Studio Pro Error Code Reference | | 304-315 | Quick Validation Checklist | <!-- /skill-index --> # MDL Common Errors Cheatsheet Quick fixes for common MDL syntax errors. ## Variable Errors ### "Variable 'X' is not declared" **Problem**: Using SET on a variable that wasn't declared. ```mdl -- WRONG if $value > 10 then set $IsValid = false; -- ERROR: $IsValid not declared end if; ``` **Fix**: Add DECLARE before SET. ```mdl -- CORRECT declare $IsValid boolean = true; if $value > 10 then set $IsValid = false; end if; ``` ### "Selected type is not allowed" (CE0053) **Problem**: Declaring an object (entity) or list variable. A `declare` maps to a Create Variable activity, which only accepts primitives …
Read the whole file at its exact version.
How to install
mdr add mendixlabs/mxcli/cheatsheet-errors@sha256:f689126a1b3a6239The line at the top of this page pins the label git:20261017.14a01a9, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_cpuklzlcck6atgea)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 15 versions of this file, between Aug 21, 2026 and Oct 17, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261017.14a01a9 latest | 2026-10-17 | 14a01a9 | 10,863 B | A | view · diff |
| git:20261013.b006788 | 2026-10-13 | b006788 | 10,243 B | A | view · diff |
| git:20261010.50fe33a | 2026-10-10 | 50fe33a | 9,842 B | A | view · diff |
| git:20261007.ca96901 | 2026-10-07 | ca96901 | 9,295 B | A | view · diff |
| git:20261007.26efaa5 | 2026-10-07 | 26efaa5 | 9,172 B | A | view · diff |
| git:20260928.3daab1c | 2026-09-28 | 3daab1c | 8,925 B | A | view · diff |
| git:20260927.781a604 | 2026-09-27 | 781a604 | 8,925 B | A | view · diff |
| git:20260927.aa91853 | 2026-09-27 | aa91853 | 8,926 B | A | view · diff |
| git:20260927.258d702 | 2026-09-27 | 258d702 | 8,920 B | A | view · diff |
| git:20260927.ebe0282 | 2026-09-27 | ebe0282 | 8,921 B | A | view · diff |
| git:20260911.0d73eed | 2026-09-11 | 0d73eed | 8,923 B | A | view · diff |
| git:20260910.46e66ac | 2026-09-10 | 46e66ac | 8,683 B | A | view · diff |
| git:20260908.0d769c2 | 2026-09-08 | 0d769c2 | 8,519 B | A | view · diff |
| git:20260823.c0479f9 | 2026-08-23 | c0479f9 | 8,279 B | A | view · diff |
| git:20260821.ff81a24 | 2026-08-21 | ff81a24 | 7,097 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10863 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mendixlabs/mxcli · 134 stars · license Apache-2.0 · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_cpuklzlcck6atgea GET https://markdownregistry.com/api/v1/resolve?ref=mendixlabs/mxcli/cheatsheet-errors GET https://markdownregistry.com/api/v1/blob/f689126a1b3a6239f62e648295d0065d71a6077843307eca45c0dc85baa05f83
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.