docs: add mxbuild setup & mx tool skill - #43
Conversation
Addresses common agent mistakes when guiding users through mxbuild setup and mx tool usage, particularly incorrect mx create-project syntax and missing mxcli docker check as the preferred validation wrapper.
Review: Overlap with docker-workflow.md + factual concernOverlapMost of this content already exists in
Factual concernThis skill says One of these is wrong. Please verify whether What's worth keeping
SuggestionEither trim this skill to only the non-overlapping content, or fold the useful bits into |
Investigation:
|
Remove mxbuild-setup.md (content already covered by docker-workflow.md) and fold the non-overlapping caveat about blank projects lacking demo users into docker-workflow.md. Fixes factual error: mxbuild-setup.md incorrectly claimed mx create-project does not accept --output-dir (verified it does in mx v11.6.4).
AI Code ReviewCritical Issues
Moderate Issues
Minor Issues
What Looks Good
RecommendationApprove the visible change (the caveat addition to Automated review via OpenRouter (Nemotron Super 120B) — workflow source |
The nightly matrix (10.24 / 11.6 / 11.12) failed only on 10.24: TestMxCheck_DoctypeScripts/15b-fragment-slots-examples → CE6083 "Design property Card style is not supported by your theme" at every cardWrap container (both engines). `Card style` is an Atlas v3 (11.x) design property; the 10.x Atlas theme doesn't define it. The property sat on the shared `define fragment Card`, instantiated by every page in the file, so a --@Version gate would have to gate the whole file and lose all 10.24 coverage of the content-slot feature 15b actually demonstrates. The design property was incidental (12-styling covers design properties, gated 11.0+), so drop it and keep `class: 'card'` — Atlas card styling that works on every version. Verified: 15b passes on 10.24 AND 11.6.3 (0 errors, both engines). Also swept the doctype suite for other ungated designproperties/building-block usage — 03/12/29/31 gate theirs, 15c was already fixed (#43), and *.test.mdl files aren't run by the doctype test. fix-issue.md records the CE6083 case + the gate-vs-remove rule. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JXnEgoc2NQP1Y2TWMCMXC4
Two check gaps confirmed with mx check on Mendix 11.12.1 — both pass mxcli check but fail the build: - MDL048 (#42): `retrieve … where [id = $Var]` → CE0161. Mendix XPath has no id operator reachable from a microflow expression. Regex a word-boundaried `id` before a comparison (a user attribute can't be named `id`). Hint points at a GUID marketplace action OR exposing the id as a String on a view entity via `cast(id as string)` and constraining on that column. - MDL049 (#43/#44): a call argument bound to an association-object path (`B = $Edit/M.Edit_Budget`) → CE0117. An association path isn't a value; it must be retrieved first. Flags an AttributePathExpr whose final segment is module-qualified (an association → object); an attribute value over the same association (`…/Name`) is not flagged. Tests: TestValidateMicroflow_XPathIdConstraint, _AssociationObjectArg. Repros + symptom table. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JXnEgoc2NQP1Y2TWMCMXC4
Summary
mxbuild-setup.mdskill to.claude/skills/mendix/for end-user delivery viamxcli initmx checkvalidation, andmx create-projectusagemx create-projectsyntax, missingmxcli docker checkwrapperTest plan
mx create-projectsyntax (mx create-project /path)--app-nameflag and cwd-based output./mxcli docker checkover directmx check./mxcli) not dev paths🤖 Generated with Claude Code