skills: Mendix best-practices index, microflow tiers and split-first, mxcli layout finding - #138
Merged
Merged
Conversation
… mxcli layout finding - skills/mendix-best-practices-index.md (new): one row per best-practice area — Mendix docs page (17 URLs verified 2026-09-25), bundled assess-quality section, toolkit skill before the write, mxcli lint rule after exec. Index, not a copy. - skills/microflow-preflight.md: Simple / Guided / Split-first tiers decided before any MDL; Split-first posts an orchestrator + SUB_ plan the user confirms first. Records that mxcli layout (v0.24.0, upstream main) arranges domain models only. - agents/mdl-agent.md: never hand back "too difficult" — hand back the split plan; escalate one failing SUB_ after one retry, never the whole script. - bug-logs: the mxcli team's layout-command response on the if-branch overlap draft. - Routing row (all agents, stages 3/5/6, reference) and re-rendered surfaces. Field evidence: mxcli layout --dry-run on a scratch copy of a PoC model (v0.24.0, Mendix 11.12.1): 10 entity moves, no microflow; render-routing --check clean. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
MendixMau
marked this pull request as ready for review
September 25, 2026 13:43
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why (one paragraph)
Follow-up to #135.
skills/mendix-best-practices-index.md(new) answers "is there a Mendix best practice for this, and what enforces it here?" with one row per area: the Mendix docs page that states the practice, the section of the mxcli-bundledassess-qualityskill that summarises it, the toolkit skill that applies it before the write, and themxcli lintrule that catches it after exec. It is an index, not a copy (CLAUDE.md authoring rule 5): 17 URLs verified HTTP 200 on 2026-09-25, Mendix's own Best Practice Recommender rules (MXP001–016) anchor the performance rows, and four rows say out loud that no lint rule exists and the preflight checklist is the only check.skills/microflow-preflight.mdnow decides a tier before any MDL — Simple / Guided / Split-first — and Split-first posts an orchestrator + oneSUB_per responsibility, with signatures, that the user confirms before the first MDL line (prompted by a colleague's session refusing a long microflow as "too difficult" while the same task went through on a stronger model: the piece was too big, not the task).agents/mdl-agent.mdgains two rules: never hand back "too difficult", hand back the split plan; escalate one failingSUB_by name after one retry, never the whole script. The mxcli team's answer on positioning — a standalonemxcli layoutcommand — is recorded in the preflight skill,learned-microflow-patterns.mdand the if-branch bug draft: on v0.24.0 and upstream main at 2026-09-25 that command arranges domain models only, so the no-@positionrule and the workaround stand until a microflow mode ships. Routing row (all agents, stages 3/5/6, group reference) plus the re-rendered surfaces.Field evidence
mxcli layout --helpon v0.24.0 (built from the tag) and on upstreammain(d3adfa4, 2026-09-25): "Arrange the entities of a domain model" — no microflow/nanoflow mode.mxcli layout -p app.mpr --dry-runon a scratch copy of a PoC model (Mendix 11.12.1): 10 entity moves, no microflow.mxcli lint --list-ruleson the same binary is the source of every rule ID in the index.curl -sIon every URL in the index: 17 × HTTP 200 (redirect targets used, e.g.extracting-and-using-sub-microflows,qsm).bin/render-routing.sh --checkexit 0;check-pr-discipline,check-scripts,check-portability, leak guard: clean.Checklist
render-routing.shoutputs from the one new routing row; the hand-written change is 8 files.bin/changed except the renderedgate-check.shstage map; the guide-reopen regex count on the four guarded files is unchanged vs master (4).bin/lib/skill-routing.tsv, surfaces re-rendered.🤖 Generated with Claude Code
https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
Generated by Claude Code