[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-mps-console":3,"mdc--r971uj-key":29,"related-org-jetbrains-mps-console":1830,"related-repo-jetbrains-mps-console":1958},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":16,"repoUrl":17,"updatedAt":18,"license":19,"forks":20,"topics":21,"repo":24,"sourceUrl":27,"mdContent":28},"mps-console","run MPS console queries","Use when running or generating MPS Console code, or when writing `jetbrains.mps.lang.smodel.query` queries anywhere in MPS (intentions, behavior, actions, generator queries, plain BaseLanguage). Covers the console command languages (`jetbrains.mps.console.base` \u002F `ideCommands` \u002F `internalCommands` \u002F `scripts`): `BLCommand` \u002F `BLExpression`, the `#print*` \u002F `#show` result printers, IDE commands (`#make` \u002F `#clean` \u002F `#removeGenSources` \u002F `#reloadClasses` \u002F `#stat` \u002F `#showGenPlan` \u002F `#showBrokenRefs`), `#exec` \u002F `forEach` \u002F `refactor` scripts. Covers the smodel query language: `#nodes` \u002F `#references` \u002F `#models` \u002F `#modules` \u002F `#instances` \u002F `#usages`, the `with`-statement scope wrapper, scopes (`project` \u002F `editable` \u002F `global` \u002F `visible` \u002F `modules` \u002F `models` \u002F `custom`) and query parameters (`scope` \u002F `exact` \u002F `r\u002Fo+`). Also how to insert, read, recall, and run console commands with `mps_mcp_insert_console_command_from_json`, `mps_mcp_get_current_editor_root_node(source=\"console\")`, `mps_mcp_get_console_history`, `mps_mcp_recall_console_command`, and `mps_mcp_run_console_command`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12],{"name":13,"slug":14,"type":15},"Code Analysis","code-analysis","tag",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-13T06:45:13.943589",null,311,[22,23],"domain-specific-language","dsl",{"repoUrl":17,"stars":16,"forks":20,"topics":25,"description":26},[22,23],"JetBrains Meta programming System","https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS\u002Ftree\u002FHEAD\u002Fplugins\u002Fmcp-tools\u002Fresources\u002Fjetbrains\u002Fmps\u002Fagents\u002Fmcp\u002Fskills\u002Fmps-console","---\nname: mps-console\ndescription: >-\n  Use when running or generating MPS Console code, or when writing `jetbrains.mps.lang.smodel.query` queries anywhere in MPS (intentions, behavior, actions, generator queries, plain BaseLanguage). Covers the console command languages (`jetbrains.mps.console.base` \u002F `ideCommands` \u002F `internalCommands` \u002F `scripts`): `BLCommand` \u002F `BLExpression`, the `#print*` \u002F `#show` result printers, IDE commands (`#make` \u002F `#clean` \u002F `#removeGenSources` \u002F `#reloadClasses` \u002F `#stat` \u002F `#showGenPlan` \u002F `#showBrokenRefs`), `#exec` \u002F `forEach` \u002F `refactor` scripts. Covers the smodel query language: `#nodes` \u002F `#references` \u002F `#models` \u002F `#modules` \u002F `#instances` \u002F `#usages`, the `with`-statement scope wrapper, scopes (`project` \u002F `editable` \u002F `global` \u002F `visible` \u002F `modules` \u002F `models` \u002F `custom`) and query parameters (`scope` \u002F `exact` \u002F `r\u002Fo+`). Also how to insert, read, recall, and run console commands with `mps_mcp_insert_console_command_from_json`, `mps_mcp_get_current_editor_root_node(source=\"console\")`, `mps_mcp_get_console_history`, `mps_mcp_recall_console_command`, and `mps_mcp_run_console_command`.\ntype: reference\n---\n\n# MPS Console and the smodel query language\n\nThe **MPS Console** runs DSL code against the live models of the open project: query and mutate nodes, run find-usages, gather statistics, make\u002Fclean models, reload classes. Code is typed line-by-line, generated by the MPS generator, and executed in the IDE context. Most console-specific constructs start with `#` and completion (Ctrl+Space) inserts them.\n\nThe **smodel query language** (`jetbrains.mps.lang.smodel.query`) exposes the *same* queries (`#nodes`, `#instances`, `#usages`, …) for use in ordinary model code — intentions, behavior methods, actions, migration\u002Frefactoring scripts — wrapped in a `with (\u003Cscope>) { … }` statement. Reach for it whenever code needs to enumerate nodes\u002Fmodels\u002Fmodules or find instances\u002Fusages across a scope.\n\n## Ways this skill gets used\n\n1. **Type code in the Console tool window** (Tools ▸ Console, or the Console tool window). One command per input. See `references\u002Fconsole-languages.md`.\n2. **Write `smodel.query` queries inside model code** (an intention, behavior method, generator query, script). Import `jetbrains.mps.lang.smodel.query` and wrap queries in `with (\u003Cscope>) { … }`. See `references\u002Fsmodel-query.md`.\n3. **Insert code into the Console from an agent** via `mps_mcp_insert_console_command_from_json` — builds a command from a JSON blueprint and drops it into the console input **without executing it** (the user reviews and runs it with Ctrl+Enter). See `references\u002Fmcp-insertion.md`.\n4. **Read the current Console command from an agent** via `mps_mcp_get_current_editor_root_node` with `source = \"console\"` — returns the node-info envelope of the command currently in the console input (one an agent inserted, or the user typed). Feed its `reference` to `mps_mcp_print_node` for the JSON blueprint (`format = \"JSON\"`) or the notational printout (`format = \"PLAIN TEXT\"` \u002F `\"HTML\"`), or to `mps_mcp_check_root_node_problems` to see the problems MPS's model checker reports for it (way #8). The reference is only valid until the next console interaction (execute \u002F clear \u002F history navigation), so print it promptly and do not cache it.\n5. **Browse the Console history from an agent** via `mps_mcp_get_console_history` — lists previously executed commands in order, each with a one-line `preview`, a history-entry `reference`, and an `effectiveCommandReference`. Pass the entry `reference` to recall; pass `effectiveCommandReference` to `mps_mcp_print_node`. Use `includeResponses = true` to also see the printed output. Same reference-validity caveat as #4.\n6. **Recall a history command into the input** via `mps_mcp_recall_console_command(historyNodeReference)` — deep-copies a history entry (from #5) back into the input slot **without executing it**. Pass the history entry's `reference`, not its `effectiveCommandReference`. There is no MPS \"recall\" API to call directly; this mirrors what the Console's own up\u002Fdown history navigation does (`copy` + insert).\n7. **Run the current Console command from an agent** via `mps_mcp_run_console_command` — executes whatever command is currently in the input (placed there by #3 or #6, or typed by the user), exactly as Ctrl+Enter, and only when a command is present. **It executes code with side effects.** The response is not returned by the tool; read it afterwards via #5 (`mps_mcp_get_console_history` with `includeResponses = true`) or from the Console tool window, and note that long-running commands (make\u002Fgenerate) complete asynchronously.\n8. **Check a Console command for problems from an agent** via `mps_mcp_check_root_node_problems` — pass the `reference` from way #4 (or an `effectiveCommandReference` from way #5) and it runs MPS's full checker set (structure, constraints, reference scopes, typesystem, and checking rules), surfacing the same errors\u002Fwarnings the Console editor underlines and the Model Checker reports. Two caveats: **(a) root-scoped** — the tool checks the command's `containingRoot`, which for console code is the single `ConsoleRoot` holding the current input *and the entire history*, so results can include problems from earlier commands; with the default `onlyNodesWithProblems = true` you get a flat list of problem nodes, so match each one's `rootName`\u002Fsubtree to the command you mean. **(b)** Same reference-validity window as #4 — resolve and check before the next console interaction.\n\n## A command is one of three shapes\n\nThe console input holds exactly **one** command (`jetbrains.mps.console.base.structure.Command`):\n\n| Shape | Concept | What it is |\n|---|---|---|\n| BaseLanguage statements | `BLCommand` (alias `{`) — `body: StatementList` | a `{ … }` block of imperative statements; the value of a trailing expression statement is printed |\n| BaseLanguage expression | `BLExpression` — `expression: Expression` | one expression; if non-void its value is printed (as text \u002F AST \u002F interactive response) |\n| Interpreted command | `InterpretedCommand` subtypes | non-generated commands: `#stat`, `#showGenPlan`, `#showBrokenRefs`, `#reloadClasses`, `?` (help) |\n\n**Key fact that trips up blueprints:** the query commands (`#nodes`, `#instances`, …), the IDE commands `#make` \u002F `#clean` \u002F `#removeGenSources` \u002F `#show` \u002F `#callAction`, and the printers `#print` \u002F `#printNode` \u002F `#printNodeRef` \u002F `#printSequence` \u002F `#printText` are all baseLanguage **`Expression`s**, not `Command`s. To use one as a standalone command you put it inside a `BLExpression` (or inside `{ … }` statements). Only `InterpretedCommand` subtypes and `#reloadClasses` are commands in their own right.\n\n## Critical Directives\n\n- **This skill is the controlling workflow for Console tasks.** Start from surface syntax first — choose the query (`#instances`, `#usages`, `#nodes`, …), filter and transform with `smodel` \u002F `collections` \u002F `closures`, then insert or run via the console MCP tools. Only fall back to low-level Java\u002FMPS-OpenAPI approaches if the surface syntax route has genuinely failed.\n- **Pick the scope deliberately.** Without a scope, console queries run over *all editable models of the current project*; a `with` statement defaults to *editable* models too, so model-changing code is safe. Scopes: `project`, `editable`, `global`, `visible`, `modules(...)`, `models(...)`, `custom(\u003CSearchScope>)`. See `references\u002Fsmodel-query.md`.\n- **`scope` parameter ≠ `with` scope.** When you pass `scope` explicitly as a query parameter it is used *as-is and keeps read-only models*, so `#nodes` inside `with(project)` and `#nodes\u003Cscope project>` can return different results.\n- **No nested `with`.** A `with` statement may not contain another `with`.\n- **Lazy vs eager:** `#nodes` \u002F `#references` \u002F `#models` \u002F `#modules` are lazy sequences (full iteration). `#instances` \u002F `#usages` use the find-usages index — far faster than iterate-then-filter. Prefer `#instances(C)` over `#nodes.ofConcept\u003CC>()`.\n- **`exact` parameter** on `#instances` excludes instances of sub-concepts (`#instances\u003Cexact>(C)`).\n- **MetaAdapterFactory is a rabbit-hole warning for Console tasks.** If you feel tempted to use `MetaAdapterFactory`, hex feature IDs, generated `StructureAspectDescriptor` code, or hand-built `SConcept` \u002F `SContainmentLink` objects while solving a Console command, stop and reframe the solution in surface syntax instead: `#instances(Concept)`, `node.property`, `node.childRole`, `replace with new(Concept)`, `.forEach`, or `.refactor`. `MetaAdapterFactory` belongs to low-level\u002Fgenerated implementation details, not the first-line solution for MPS Console work.\n- **Never hand-edit the console's `.mps` model.** Use the editor or the MCP tool. The console lives in a temporary `ConsoleModel_*` model.\n- **Insertion and recall do not execute.** `mps_mcp_insert_console_command_from_json` and `mps_mcp_recall_console_command` only place a command in the input; by default leave it for the user to run and tell them it is waiting. To execute it yourself, call `mps_mcp_run_console_command` (way #7) — it runs code with side effects, so do it deliberately and report what it did.\n- **Bulk node mutation: pick `refactor` vs `forEach` by whether *you* will run it.** `.refactor({~it => … })` (`RefactorOperation`) pops a **modal confirmation dialog** and applies nothing until a human approves it; `.forEach({~it => … })` (collections `VisitAllOperation`) applies its closure immediately, in the console's own write command, with no dialog. So: when the user asks only to **create \u002F insert** a command for them to run themselves (`mps_mcp_insert_console_command_from_json` and stop), prefer **`refactor`** — the dialog gives them a review-and-confirm step at the keyboard. When the user asks you to **create *and run*** it yourself (you will call `mps_mcp_run_console_command`), prefer **`forEach`** — `refactor` would return `executed:true` but stall on the dialog with no human present, leaving the model unchanged and the run a silent no-op.\n\n## Examples (surface syntax)\n\n```\n#models                                          \u002F\u002F all editable models in the project\n#modules\u003Cglobal>                                 \u002F\u002F every module in the repository\n#instances(ClassConcept)                         \u002F\u002F fast: all ClassConcept instances in scope\n#instances\u003Cexact>(BaseConcept)                    \u002F\u002F exclude sub-concepts\n#usages(aNode)                                    \u002F\u002F direct references to a node\n#print 2 + 2                                     \u002F\u002F smart-print a value\n#printNode someNode                              \u002F\u002F print a node copy\n#show #instances(Issue)                          \u002F\u002F open the result in the usages view\n#make #models\u003Cmodules myModule>                  \u002F\u002F make selected models\n#reloadClasses                                   \u002F\u002F reload generated classes\n\n\u002F\u002F migrate every TryStatement with a catch + long body to TryCatchStatement (from the MPS docs)\n\u002F\u002F `.forEach` applies immediately and headlessly; `.refactor` instead pops a confirmation dialog\n#instances(TryStatement).where({~it => it.catchClause.isNotEmpty; }).forEach({~node => if (node.body.statement.size > 5) { node.replace with new(TryCatchStatement); } })\n```\n\n## Related Skills\n\n- `mps-model-manipulation` — the `smodel` \u002F `collections` \u002F `closures` operations (`.where`, `.select`, `.ofConcept\u003CC>`, `replace with new(C)`, `:eq:`) used in the bodies of console commands, `with` blocks, and `refactor` closures. The smodel query language layers on top of these.\n- `mps-node-editing` — the JSON blueprint format that `mps_mcp_insert_console_command_from_json` consumes (shared with `mps_mcp_insert_root_node_from_json`).\n- `mps-aspect-intentions` — a common host for `with (…) { #instances(…)… }` queries.\n- `mps-baselanguage` — host BaseLanguage statements\u002Fexpressions that fill `BLCommand` \u002F `BLExpression`.\n- `mps-run-configurations` — for running a `main`\u002Ftest root node instead of console code.\n\n## Reference Index\n\n- Open `references\u002Fconsole-languages.md` for the full console command-language reference — every `#` command grouped by language (`base`, `ideCommands`, `internalCommands`, `scripts`), aliases, what each prints, scopes, paste-as-nodeRef, and `#exec` scripts.\n- Open `references\u002Fsmodel-query.md` for the `jetbrains.mps.lang.smodel.query` language used in model code — the `with` statement, the six query expressions, scope parameters, the `scope` \u002F `exact` \u002F `r\u002Fo+` query parameters, default-scope rules, and intention\u002Fbehavior usage examples.\n- Open `references\u002Fmcp-insertion.md` for `mps_mcp_insert_console_command_from_json` — the two accepted JSON shapes, validated working blueprints (`BLExpression` + query, statement arrays, interpreted commands), concept FQNs and language UUIDs, the \"wrap expressions in `BLExpression`\" gotcha, and `dryRun` validation.\n",{"data":30,"body":32},{"name":4,"description":6,"type":31},"reference",{"type":33,"children":34},"root",[35,44,67,125,132,531,537,557,726,870,876,1487,1493,1505,1511,1680,1686],{"type":36,"tag":37,"props":38,"children":40},"element","h1",{"id":39},"mps-console-and-the-smodel-query-language",[41],{"type":42,"value":43},"text","MPS Console and the smodel query language",{"type":36,"tag":45,"props":46,"children":47},"p",{},[48,50,56,58,65],{"type":42,"value":49},"The ",{"type":36,"tag":51,"props":52,"children":53},"strong",{},[54],{"type":42,"value":55},"MPS Console",{"type":42,"value":57}," runs DSL code against the live models of the open project: query and mutate nodes, run find-usages, gather statistics, make\u002Fclean models, reload classes. Code is typed line-by-line, generated by the MPS generator, and executed in the IDE context. Most console-specific constructs start with ",{"type":36,"tag":59,"props":60,"children":62},"code",{"className":61},[],[63],{"type":42,"value":64},"#",{"type":42,"value":66}," and completion (Ctrl+Space) inserts them.",{"type":36,"tag":45,"props":68,"children":69},{},[70,71,76,78,84,86,92,94,100,102,108,109,115,117,123],{"type":42,"value":49},{"type":36,"tag":51,"props":72,"children":73},{},[74],{"type":42,"value":75},"smodel query language",{"type":42,"value":77}," (",{"type":36,"tag":59,"props":79,"children":81},{"className":80},[],[82],{"type":42,"value":83},"jetbrains.mps.lang.smodel.query",{"type":42,"value":85},") exposes the ",{"type":36,"tag":87,"props":88,"children":89},"em",{},[90],{"type":42,"value":91},"same",{"type":42,"value":93}," queries (",{"type":36,"tag":59,"props":95,"children":97},{"className":96},[],[98],{"type":42,"value":99},"#nodes",{"type":42,"value":101},", ",{"type":36,"tag":59,"props":103,"children":105},{"className":104},[],[106],{"type":42,"value":107},"#instances",{"type":42,"value":101},{"type":36,"tag":59,"props":110,"children":112},{"className":111},[],[113],{"type":42,"value":114},"#usages",{"type":42,"value":116},", …) for use in ordinary model code — intentions, behavior methods, actions, migration\u002Frefactoring scripts — wrapped in a ",{"type":36,"tag":59,"props":118,"children":120},{"className":119},[],[121],{"type":42,"value":122},"with (\u003Cscope>) { … }",{"type":42,"value":124}," statement. Reach for it whenever code needs to enumerate nodes\u002Fmodels\u002Fmodules or find instances\u002Fusages across a scope.",{"type":36,"tag":126,"props":127,"children":129},"h2",{"id":128},"ways-this-skill-gets-used",[130],{"type":42,"value":131},"Ways this skill gets used",{"type":36,"tag":133,"props":134,"children":135},"ol",{},[136,155,194,226,298,366,411,448],{"type":36,"tag":137,"props":138,"children":139},"li",{},[140,145,147,153],{"type":36,"tag":51,"props":141,"children":142},{},[143],{"type":42,"value":144},"Type code in the Console tool window",{"type":42,"value":146}," (Tools ▸ Console, or the Console tool window). One command per input. See ",{"type":36,"tag":59,"props":148,"children":150},{"className":149},[],[151],{"type":42,"value":152},"references\u002Fconsole-languages.md",{"type":42,"value":154},".",{"type":36,"tag":137,"props":156,"children":157},{},[158,171,173,178,180,185,187,193],{"type":36,"tag":51,"props":159,"children":160},{},[161,163,169],{"type":42,"value":162},"Write ",{"type":36,"tag":59,"props":164,"children":166},{"className":165},[],[167],{"type":42,"value":168},"smodel.query",{"type":42,"value":170}," queries inside model code",{"type":42,"value":172}," (an intention, behavior method, generator query, script). Import ",{"type":36,"tag":59,"props":174,"children":176},{"className":175},[],[177],{"type":42,"value":83},{"type":42,"value":179}," and wrap queries in ",{"type":36,"tag":59,"props":181,"children":183},{"className":182},[],[184],{"type":42,"value":122},{"type":42,"value":186},". See ",{"type":36,"tag":59,"props":188,"children":190},{"className":189},[],[191],{"type":42,"value":192},"references\u002Fsmodel-query.md",{"type":42,"value":154},{"type":36,"tag":137,"props":195,"children":196},{},[197,202,204,210,212,217,219,225],{"type":36,"tag":51,"props":198,"children":199},{},[200],{"type":42,"value":201},"Insert code into the Console from an agent",{"type":42,"value":203}," via ",{"type":36,"tag":59,"props":205,"children":207},{"className":206},[],[208],{"type":42,"value":209},"mps_mcp_insert_console_command_from_json",{"type":42,"value":211}," — builds a command from a JSON blueprint and drops it into the console input ",{"type":36,"tag":51,"props":213,"children":214},{},[215],{"type":42,"value":216},"without executing it",{"type":42,"value":218}," (the user reviews and runs it with Ctrl+Enter). See ",{"type":36,"tag":59,"props":220,"children":222},{"className":221},[],[223],{"type":42,"value":224},"references\u002Fmcp-insertion.md",{"type":42,"value":154},{"type":36,"tag":137,"props":227,"children":228},{},[229,234,235,241,243,249,251,256,258,264,266,272,274,280,282,288,290,296],{"type":36,"tag":51,"props":230,"children":231},{},[232],{"type":42,"value":233},"Read the current Console command from an agent",{"type":42,"value":203},{"type":36,"tag":59,"props":236,"children":238},{"className":237},[],[239],{"type":42,"value":240},"mps_mcp_get_current_editor_root_node",{"type":42,"value":242}," with ",{"type":36,"tag":59,"props":244,"children":246},{"className":245},[],[247],{"type":42,"value":248},"source = \"console\"",{"type":42,"value":250}," — returns the node-info envelope of the command currently in the console input (one an agent inserted, or the user typed). Feed its ",{"type":36,"tag":59,"props":252,"children":254},{"className":253},[],[255],{"type":42,"value":31},{"type":42,"value":257}," to ",{"type":36,"tag":59,"props":259,"children":261},{"className":260},[],[262],{"type":42,"value":263},"mps_mcp_print_node",{"type":42,"value":265}," for the JSON blueprint (",{"type":36,"tag":59,"props":267,"children":269},{"className":268},[],[270],{"type":42,"value":271},"format = \"JSON\"",{"type":42,"value":273},") or the notational printout (",{"type":36,"tag":59,"props":275,"children":277},{"className":276},[],[278],{"type":42,"value":279},"format = \"PLAIN TEXT\"",{"type":42,"value":281}," \u002F ",{"type":36,"tag":59,"props":283,"children":285},{"className":284},[],[286],{"type":42,"value":287},"\"HTML\"",{"type":42,"value":289},"), or to ",{"type":36,"tag":59,"props":291,"children":293},{"className":292},[],[294],{"type":42,"value":295},"mps_mcp_check_root_node_problems",{"type":42,"value":297}," to see the problems MPS's model checker reports for it (way #8). The reference is only valid until the next console interaction (execute \u002F clear \u002F history navigation), so print it promptly and do not cache it.",{"type":36,"tag":137,"props":299,"children":300},{},[301,306,307,313,315,321,323,328,330,336,338,343,345,350,351,356,358,364],{"type":36,"tag":51,"props":302,"children":303},{},[304],{"type":42,"value":305},"Browse the Console history from an agent",{"type":42,"value":203},{"type":36,"tag":59,"props":308,"children":310},{"className":309},[],[311],{"type":42,"value":312},"mps_mcp_get_console_history",{"type":42,"value":314}," — lists previously executed commands in order, each with a one-line ",{"type":36,"tag":59,"props":316,"children":318},{"className":317},[],[319],{"type":42,"value":320},"preview",{"type":42,"value":322},", a history-entry ",{"type":36,"tag":59,"props":324,"children":326},{"className":325},[],[327],{"type":42,"value":31},{"type":42,"value":329},", and an ",{"type":36,"tag":59,"props":331,"children":333},{"className":332},[],[334],{"type":42,"value":335},"effectiveCommandReference",{"type":42,"value":337},". Pass the entry ",{"type":36,"tag":59,"props":339,"children":341},{"className":340},[],[342],{"type":42,"value":31},{"type":42,"value":344}," to recall; pass ",{"type":36,"tag":59,"props":346,"children":348},{"className":347},[],[349],{"type":42,"value":335},{"type":42,"value":257},{"type":36,"tag":59,"props":352,"children":354},{"className":353},[],[355],{"type":42,"value":263},{"type":42,"value":357},". Use ",{"type":36,"tag":59,"props":359,"children":361},{"className":360},[],[362],{"type":42,"value":363},"includeResponses = true",{"type":42,"value":365}," to also see the printed output. Same reference-validity caveat as #4.",{"type":36,"tag":137,"props":367,"children":368},{},[369,374,375,381,383,387,389,394,396,401,403,409],{"type":36,"tag":51,"props":370,"children":371},{},[372],{"type":42,"value":373},"Recall a history command into the input",{"type":42,"value":203},{"type":36,"tag":59,"props":376,"children":378},{"className":377},[],[379],{"type":42,"value":380},"mps_mcp_recall_console_command(historyNodeReference)",{"type":42,"value":382}," — deep-copies a history entry (from #5) back into the input slot ",{"type":36,"tag":51,"props":384,"children":385},{},[386],{"type":42,"value":216},{"type":42,"value":388},". Pass the history entry's ",{"type":36,"tag":59,"props":390,"children":392},{"className":391},[],[393],{"type":42,"value":31},{"type":42,"value":395},", not its ",{"type":36,"tag":59,"props":397,"children":399},{"className":398},[],[400],{"type":42,"value":335},{"type":42,"value":402},". There is no MPS \"recall\" API to call directly; this mirrors what the Console's own up\u002Fdown history navigation does (",{"type":36,"tag":59,"props":404,"children":406},{"className":405},[],[407],{"type":42,"value":408},"copy",{"type":42,"value":410}," + insert).",{"type":36,"tag":137,"props":412,"children":413},{},[414,419,420,426,428,433,435,440,441,446],{"type":36,"tag":51,"props":415,"children":416},{},[417],{"type":42,"value":418},"Run the current Console command from an agent",{"type":42,"value":203},{"type":36,"tag":59,"props":421,"children":423},{"className":422},[],[424],{"type":42,"value":425},"mps_mcp_run_console_command",{"type":42,"value":427}," — executes whatever command is currently in the input (placed there by #3 or #6, or typed by the user), exactly as Ctrl+Enter, and only when a command is present. ",{"type":36,"tag":51,"props":429,"children":430},{},[431],{"type":42,"value":432},"It executes code with side effects.",{"type":42,"value":434}," The response is not returned by the tool; read it afterwards via #5 (",{"type":36,"tag":59,"props":436,"children":438},{"className":437},[],[439],{"type":42,"value":312},{"type":42,"value":242},{"type":36,"tag":59,"props":442,"children":444},{"className":443},[],[445],{"type":42,"value":363},{"type":42,"value":447},") or from the Console tool window, and note that long-running commands (make\u002Fgenerate) complete asynchronously.",{"type":36,"tag":137,"props":449,"children":450},{},[451,456,457,462,464,469,471,476,478,483,485,491,493,499,501,506,508,514,516,522,524,529],{"type":36,"tag":51,"props":452,"children":453},{},[454],{"type":42,"value":455},"Check a Console command for problems from an agent",{"type":42,"value":203},{"type":36,"tag":59,"props":458,"children":460},{"className":459},[],[461],{"type":42,"value":295},{"type":42,"value":463}," — pass the ",{"type":36,"tag":59,"props":465,"children":467},{"className":466},[],[468],{"type":42,"value":31},{"type":42,"value":470}," from way #4 (or an ",{"type":36,"tag":59,"props":472,"children":474},{"className":473},[],[475],{"type":42,"value":335},{"type":42,"value":477}," from way #5) and it runs MPS's full checker set (structure, constraints, reference scopes, typesystem, and checking rules), surfacing the same errors\u002Fwarnings the Console editor underlines and the Model Checker reports. Two caveats: ",{"type":36,"tag":51,"props":479,"children":480},{},[481],{"type":42,"value":482},"(a) root-scoped",{"type":42,"value":484}," — the tool checks the command's ",{"type":36,"tag":59,"props":486,"children":488},{"className":487},[],[489],{"type":42,"value":490},"containingRoot",{"type":42,"value":492},", which for console code is the single ",{"type":36,"tag":59,"props":494,"children":496},{"className":495},[],[497],{"type":42,"value":498},"ConsoleRoot",{"type":42,"value":500}," holding the current input ",{"type":36,"tag":87,"props":502,"children":503},{},[504],{"type":42,"value":505},"and the entire history",{"type":42,"value":507},", so results can include problems from earlier commands; with the default ",{"type":36,"tag":59,"props":509,"children":511},{"className":510},[],[512],{"type":42,"value":513},"onlyNodesWithProblems = true",{"type":42,"value":515}," you get a flat list of problem nodes, so match each one's ",{"type":36,"tag":59,"props":517,"children":519},{"className":518},[],[520],{"type":42,"value":521},"rootName",{"type":42,"value":523},"\u002Fsubtree to the command you mean. ",{"type":36,"tag":51,"props":525,"children":526},{},[527],{"type":42,"value":528},"(b)",{"type":42,"value":530}," Same reference-validity window as #4 — resolve and check before the next console interaction.",{"type":36,"tag":126,"props":532,"children":534},{"id":533},"a-command-is-one-of-three-shapes",[535],{"type":42,"value":536},"A command is one of three shapes",{"type":36,"tag":45,"props":538,"children":539},{},[540,542,547,549,555],{"type":42,"value":541},"The console input holds exactly ",{"type":36,"tag":51,"props":543,"children":544},{},[545],{"type":42,"value":546},"one",{"type":42,"value":548}," command (",{"type":36,"tag":59,"props":550,"children":552},{"className":551},[],[553],{"type":42,"value":554},"jetbrains.mps.console.base.structure.Command",{"type":42,"value":556},"):",{"type":36,"tag":558,"props":559,"children":560},"table",{},[561,585],{"type":36,"tag":562,"props":563,"children":564},"thead",{},[565],{"type":36,"tag":566,"props":567,"children":568},"tr",{},[569,575,580],{"type":36,"tag":570,"props":571,"children":572},"th",{},[573],{"type":42,"value":574},"Shape",{"type":36,"tag":570,"props":576,"children":577},{},[578],{"type":42,"value":579},"Concept",{"type":36,"tag":570,"props":581,"children":582},{},[583],{"type":42,"value":584},"What it is",{"type":36,"tag":586,"props":587,"children":588},"tbody",{},[589,636,666],{"type":36,"tag":566,"props":590,"children":591},{},[592,598,623],{"type":36,"tag":593,"props":594,"children":595},"td",{},[596],{"type":42,"value":597},"BaseLanguage statements",{"type":36,"tag":593,"props":599,"children":600},{},[601,607,609,615,617],{"type":36,"tag":59,"props":602,"children":604},{"className":603},[],[605],{"type":42,"value":606},"BLCommand",{"type":42,"value":608}," (alias ",{"type":36,"tag":59,"props":610,"children":612},{"className":611},[],[613],{"type":42,"value":614},"{",{"type":42,"value":616},") — ",{"type":36,"tag":59,"props":618,"children":620},{"className":619},[],[621],{"type":42,"value":622},"body: StatementList",{"type":36,"tag":593,"props":624,"children":625},{},[626,628,634],{"type":42,"value":627},"a ",{"type":36,"tag":59,"props":629,"children":631},{"className":630},[],[632],{"type":42,"value":633},"{ … }",{"type":42,"value":635}," block of imperative statements; the value of a trailing expression statement is printed",{"type":36,"tag":566,"props":637,"children":638},{},[639,644,661],{"type":36,"tag":593,"props":640,"children":641},{},[642],{"type":42,"value":643},"BaseLanguage expression",{"type":36,"tag":593,"props":645,"children":646},{},[647,653,655],{"type":36,"tag":59,"props":648,"children":650},{"className":649},[],[651],{"type":42,"value":652},"BLExpression",{"type":42,"value":654}," — ",{"type":36,"tag":59,"props":656,"children":658},{"className":657},[],[659],{"type":42,"value":660},"expression: Expression",{"type":36,"tag":593,"props":662,"children":663},{},[664],{"type":42,"value":665},"one expression; if non-void its value is printed (as text \u002F AST \u002F interactive response)",{"type":36,"tag":566,"props":667,"children":668},{},[669,674,685],{"type":36,"tag":593,"props":670,"children":671},{},[672],{"type":42,"value":673},"Interpreted command",{"type":36,"tag":593,"props":675,"children":676},{},[677,683],{"type":36,"tag":59,"props":678,"children":680},{"className":679},[],[681],{"type":42,"value":682},"InterpretedCommand",{"type":42,"value":684}," subtypes",{"type":36,"tag":593,"props":686,"children":687},{},[688,690,696,697,703,704,710,711,717,718,724],{"type":42,"value":689},"non-generated commands: ",{"type":36,"tag":59,"props":691,"children":693},{"className":692},[],[694],{"type":42,"value":695},"#stat",{"type":42,"value":101},{"type":36,"tag":59,"props":698,"children":700},{"className":699},[],[701],{"type":42,"value":702},"#showGenPlan",{"type":42,"value":101},{"type":36,"tag":59,"props":705,"children":707},{"className":706},[],[708],{"type":42,"value":709},"#showBrokenRefs",{"type":42,"value":101},{"type":36,"tag":59,"props":712,"children":714},{"className":713},[],[715],{"type":42,"value":716},"#reloadClasses",{"type":42,"value":101},{"type":36,"tag":59,"props":719,"children":721},{"className":720},[],[722],{"type":42,"value":723},"?",{"type":42,"value":725}," (help)",{"type":36,"tag":45,"props":727,"children":728},{},[729,734,736,741,742,747,749,755,756,762,763,769,770,776,777,783,785,791,792,798,799,805,806,812,813,819,821,832,834,840,842,847,849,854,856,861,863,868],{"type":36,"tag":51,"props":730,"children":731},{},[732],{"type":42,"value":733},"Key fact that trips up blueprints:",{"type":42,"value":735}," the query commands (",{"type":36,"tag":59,"props":737,"children":739},{"className":738},[],[740],{"type":42,"value":99},{"type":42,"value":101},{"type":36,"tag":59,"props":743,"children":745},{"className":744},[],[746],{"type":42,"value":107},{"type":42,"value":748},", …), the IDE commands ",{"type":36,"tag":59,"props":750,"children":752},{"className":751},[],[753],{"type":42,"value":754},"#make",{"type":42,"value":281},{"type":36,"tag":59,"props":757,"children":759},{"className":758},[],[760],{"type":42,"value":761},"#clean",{"type":42,"value":281},{"type":36,"tag":59,"props":764,"children":766},{"className":765},[],[767],{"type":42,"value":768},"#removeGenSources",{"type":42,"value":281},{"type":36,"tag":59,"props":771,"children":773},{"className":772},[],[774],{"type":42,"value":775},"#show",{"type":42,"value":281},{"type":36,"tag":59,"props":778,"children":780},{"className":779},[],[781],{"type":42,"value":782},"#callAction",{"type":42,"value":784},", and the printers ",{"type":36,"tag":59,"props":786,"children":788},{"className":787},[],[789],{"type":42,"value":790},"#print",{"type":42,"value":281},{"type":36,"tag":59,"props":793,"children":795},{"className":794},[],[796],{"type":42,"value":797},"#printNode",{"type":42,"value":281},{"type":36,"tag":59,"props":800,"children":802},{"className":801},[],[803],{"type":42,"value":804},"#printNodeRef",{"type":42,"value":281},{"type":36,"tag":59,"props":807,"children":809},{"className":808},[],[810],{"type":42,"value":811},"#printSequence",{"type":42,"value":281},{"type":36,"tag":59,"props":814,"children":816},{"className":815},[],[817],{"type":42,"value":818},"#printText",{"type":42,"value":820}," are all baseLanguage ",{"type":36,"tag":51,"props":822,"children":823},{},[824,830],{"type":36,"tag":59,"props":825,"children":827},{"className":826},[],[828],{"type":42,"value":829},"Expression",{"type":42,"value":831},"s",{"type":42,"value":833},", not ",{"type":36,"tag":59,"props":835,"children":837},{"className":836},[],[838],{"type":42,"value":839},"Command",{"type":42,"value":841},"s. To use one as a standalone command you put it inside a ",{"type":36,"tag":59,"props":843,"children":845},{"className":844},[],[846],{"type":42,"value":652},{"type":42,"value":848}," (or inside ",{"type":36,"tag":59,"props":850,"children":852},{"className":851},[],[853],{"type":42,"value":633},{"type":42,"value":855}," statements). Only ",{"type":36,"tag":59,"props":857,"children":859},{"className":858},[],[860],{"type":42,"value":682},{"type":42,"value":862}," subtypes and ",{"type":36,"tag":59,"props":864,"children":866},{"className":865},[],[867],{"type":42,"value":716},{"type":42,"value":869}," are commands in their own right.",{"type":36,"tag":126,"props":871,"children":873},{"id":872},"critical-directives",[874],{"type":42,"value":875},"Critical Directives",{"type":36,"tag":877,"props":878,"children":879},"ul",{},[880,931,1017,1077,1106,1172,1203,1295,1320,1350],{"type":36,"tag":137,"props":881,"children":882},{},[883,888,890,895,896,901,902,907,909,915,916,922,923,929],{"type":36,"tag":51,"props":884,"children":885},{},[886],{"type":42,"value":887},"This skill is the controlling workflow for Console tasks.",{"type":42,"value":889}," Start from surface syntax first — choose the query (",{"type":36,"tag":59,"props":891,"children":893},{"className":892},[],[894],{"type":42,"value":107},{"type":42,"value":101},{"type":36,"tag":59,"props":897,"children":899},{"className":898},[],[900],{"type":42,"value":114},{"type":42,"value":101},{"type":36,"tag":59,"props":903,"children":905},{"className":904},[],[906],{"type":42,"value":99},{"type":42,"value":908},", …), filter and transform with ",{"type":36,"tag":59,"props":910,"children":912},{"className":911},[],[913],{"type":42,"value":914},"smodel",{"type":42,"value":281},{"type":36,"tag":59,"props":917,"children":919},{"className":918},[],[920],{"type":42,"value":921},"collections",{"type":42,"value":281},{"type":36,"tag":59,"props":924,"children":926},{"className":925},[],[927],{"type":42,"value":928},"closures",{"type":42,"value":930},", then insert or run via the console MCP tools. Only fall back to low-level Java\u002FMPS-OpenAPI approaches if the surface syntax route has genuinely failed.",{"type":36,"tag":137,"props":932,"children":933},{},[934,939,941,946,948,954,956,961,963,969,970,975,976,982,983,989,990,996,997,1003,1004,1010,1011,1016],{"type":36,"tag":51,"props":935,"children":936},{},[937],{"type":42,"value":938},"Pick the scope deliberately.",{"type":42,"value":940}," Without a scope, console queries run over ",{"type":36,"tag":87,"props":942,"children":943},{},[944],{"type":42,"value":945},"all editable models of the current project",{"type":42,"value":947},"; a ",{"type":36,"tag":59,"props":949,"children":951},{"className":950},[],[952],{"type":42,"value":953},"with",{"type":42,"value":955}," statement defaults to ",{"type":36,"tag":87,"props":957,"children":958},{},[959],{"type":42,"value":960},"editable",{"type":42,"value":962}," models too, so model-changing code is safe. Scopes: ",{"type":36,"tag":59,"props":964,"children":966},{"className":965},[],[967],{"type":42,"value":968},"project",{"type":42,"value":101},{"type":36,"tag":59,"props":971,"children":973},{"className":972},[],[974],{"type":42,"value":960},{"type":42,"value":101},{"type":36,"tag":59,"props":977,"children":979},{"className":978},[],[980],{"type":42,"value":981},"global",{"type":42,"value":101},{"type":36,"tag":59,"props":984,"children":986},{"className":985},[],[987],{"type":42,"value":988},"visible",{"type":42,"value":101},{"type":36,"tag":59,"props":991,"children":993},{"className":992},[],[994],{"type":42,"value":995},"modules(...)",{"type":42,"value":101},{"type":36,"tag":59,"props":998,"children":1000},{"className":999},[],[1001],{"type":42,"value":1002},"models(...)",{"type":42,"value":101},{"type":36,"tag":59,"props":1005,"children":1007},{"className":1006},[],[1008],{"type":42,"value":1009},"custom(\u003CSearchScope>)",{"type":42,"value":186},{"type":36,"tag":59,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":42,"value":192},{"type":42,"value":154},{"type":36,"tag":137,"props":1018,"children":1019},{},[1020,1038,1040,1045,1047,1052,1054,1059,1061,1067,1069,1075],{"type":36,"tag":51,"props":1021,"children":1022},{},[1023,1029,1031,1036],{"type":36,"tag":59,"props":1024,"children":1026},{"className":1025},[],[1027],{"type":42,"value":1028},"scope",{"type":42,"value":1030}," parameter ≠ ",{"type":36,"tag":59,"props":1032,"children":1034},{"className":1033},[],[1035],{"type":42,"value":953},{"type":42,"value":1037}," scope.",{"type":42,"value":1039}," When you pass ",{"type":36,"tag":59,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":42,"value":1028},{"type":42,"value":1046}," explicitly as a query parameter it is used ",{"type":36,"tag":87,"props":1048,"children":1049},{},[1050],{"type":42,"value":1051},"as-is and keeps read-only models",{"type":42,"value":1053},", so ",{"type":36,"tag":59,"props":1055,"children":1057},{"className":1056},[],[1058],{"type":42,"value":99},{"type":42,"value":1060}," inside ",{"type":36,"tag":59,"props":1062,"children":1064},{"className":1063},[],[1065],{"type":42,"value":1066},"with(project)",{"type":42,"value":1068}," and ",{"type":36,"tag":59,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":42,"value":1074},"#nodes\u003Cscope project>",{"type":42,"value":1076}," can return different results.",{"type":36,"tag":137,"props":1078,"children":1079},{},[1080,1091,1093,1098,1100,1105],{"type":36,"tag":51,"props":1081,"children":1082},{},[1083,1085,1090],{"type":42,"value":1084},"No nested ",{"type":36,"tag":59,"props":1086,"children":1088},{"className":1087},[],[1089],{"type":42,"value":953},{"type":42,"value":154},{"type":42,"value":1092}," A ",{"type":36,"tag":59,"props":1094,"children":1096},{"className":1095},[],[1097],{"type":42,"value":953},{"type":42,"value":1099}," statement may not contain another ",{"type":36,"tag":59,"props":1101,"children":1103},{"className":1102},[],[1104],{"type":42,"value":953},{"type":42,"value":154},{"type":36,"tag":137,"props":1107,"children":1108},{},[1109,1114,1116,1121,1122,1128,1129,1135,1136,1142,1144,1149,1150,1155,1157,1163,1165,1171],{"type":36,"tag":51,"props":1110,"children":1111},{},[1112],{"type":42,"value":1113},"Lazy vs eager:",{"type":42,"value":1115}," ",{"type":36,"tag":59,"props":1117,"children":1119},{"className":1118},[],[1120],{"type":42,"value":99},{"type":42,"value":281},{"type":36,"tag":59,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":42,"value":1127},"#references",{"type":42,"value":281},{"type":36,"tag":59,"props":1130,"children":1132},{"className":1131},[],[1133],{"type":42,"value":1134},"#models",{"type":42,"value":281},{"type":36,"tag":59,"props":1137,"children":1139},{"className":1138},[],[1140],{"type":42,"value":1141},"#modules",{"type":42,"value":1143}," are lazy sequences (full iteration). ",{"type":36,"tag":59,"props":1145,"children":1147},{"className":1146},[],[1148],{"type":42,"value":107},{"type":42,"value":281},{"type":36,"tag":59,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":42,"value":114},{"type":42,"value":1156}," use the find-usages index — far faster than iterate-then-filter. Prefer ",{"type":36,"tag":59,"props":1158,"children":1160},{"className":1159},[],[1161],{"type":42,"value":1162},"#instances(C)",{"type":42,"value":1164}," over ",{"type":36,"tag":59,"props":1166,"children":1168},{"className":1167},[],[1169],{"type":42,"value":1170},"#nodes.ofConcept\u003CC>()",{"type":42,"value":154},{"type":36,"tag":137,"props":1173,"children":1174},{},[1175,1186,1188,1193,1195,1201],{"type":36,"tag":51,"props":1176,"children":1177},{},[1178,1184],{"type":36,"tag":59,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":42,"value":1183},"exact",{"type":42,"value":1185}," parameter",{"type":42,"value":1187}," on ",{"type":36,"tag":59,"props":1189,"children":1191},{"className":1190},[],[1192],{"type":42,"value":107},{"type":42,"value":1194}," excludes instances of sub-concepts (",{"type":36,"tag":59,"props":1196,"children":1198},{"className":1197},[],[1199],{"type":42,"value":1200},"#instances\u003Cexact>(C)",{"type":42,"value":1202},").",{"type":36,"tag":137,"props":1204,"children":1205},{},[1206,1211,1213,1219,1221,1227,1229,1235,1236,1242,1244,1250,1251,1257,1258,1264,1265,1271,1272,1278,1280,1286,1288,1293],{"type":36,"tag":51,"props":1207,"children":1208},{},[1209],{"type":42,"value":1210},"MetaAdapterFactory is a rabbit-hole warning for Console tasks.",{"type":42,"value":1212}," If you feel tempted to use ",{"type":36,"tag":59,"props":1214,"children":1216},{"className":1215},[],[1217],{"type":42,"value":1218},"MetaAdapterFactory",{"type":42,"value":1220},", hex feature IDs, generated ",{"type":36,"tag":59,"props":1222,"children":1224},{"className":1223},[],[1225],{"type":42,"value":1226},"StructureAspectDescriptor",{"type":42,"value":1228}," code, or hand-built ",{"type":36,"tag":59,"props":1230,"children":1232},{"className":1231},[],[1233],{"type":42,"value":1234},"SConcept",{"type":42,"value":281},{"type":36,"tag":59,"props":1237,"children":1239},{"className":1238},[],[1240],{"type":42,"value":1241},"SContainmentLink",{"type":42,"value":1243}," objects while solving a Console command, stop and reframe the solution in surface syntax instead: ",{"type":36,"tag":59,"props":1245,"children":1247},{"className":1246},[],[1248],{"type":42,"value":1249},"#instances(Concept)",{"type":42,"value":101},{"type":36,"tag":59,"props":1252,"children":1254},{"className":1253},[],[1255],{"type":42,"value":1256},"node.property",{"type":42,"value":101},{"type":36,"tag":59,"props":1259,"children":1261},{"className":1260},[],[1262],{"type":42,"value":1263},"node.childRole",{"type":42,"value":101},{"type":36,"tag":59,"props":1266,"children":1268},{"className":1267},[],[1269],{"type":42,"value":1270},"replace with new(Concept)",{"type":42,"value":101},{"type":36,"tag":59,"props":1273,"children":1275},{"className":1274},[],[1276],{"type":42,"value":1277},".forEach",{"type":42,"value":1279},", or ",{"type":36,"tag":59,"props":1281,"children":1283},{"className":1282},[],[1284],{"type":42,"value":1285},".refactor",{"type":42,"value":1287},". ",{"type":36,"tag":59,"props":1289,"children":1291},{"className":1290},[],[1292],{"type":42,"value":1218},{"type":42,"value":1294}," belongs to low-level\u002Fgenerated implementation details, not the first-line solution for MPS Console work.",{"type":36,"tag":137,"props":1296,"children":1297},{},[1298,1311,1313,1319],{"type":36,"tag":51,"props":1299,"children":1300},{},[1301,1303,1309],{"type":42,"value":1302},"Never hand-edit the console's ",{"type":36,"tag":59,"props":1304,"children":1306},{"className":1305},[],[1307],{"type":42,"value":1308},".mps",{"type":42,"value":1310}," model.",{"type":42,"value":1312}," Use the editor or the MCP tool. The console lives in a temporary ",{"type":36,"tag":59,"props":1314,"children":1316},{"className":1315},[],[1317],{"type":42,"value":1318},"ConsoleModel_*",{"type":42,"value":1310},{"type":36,"tag":137,"props":1321,"children":1322},{},[1323,1328,1329,1334,1335,1341,1343,1348],{"type":36,"tag":51,"props":1324,"children":1325},{},[1326],{"type":42,"value":1327},"Insertion and recall do not execute.",{"type":42,"value":1115},{"type":36,"tag":59,"props":1330,"children":1332},{"className":1331},[],[1333],{"type":42,"value":209},{"type":42,"value":1068},{"type":36,"tag":59,"props":1336,"children":1338},{"className":1337},[],[1339],{"type":42,"value":1340},"mps_mcp_recall_console_command",{"type":42,"value":1342}," only place a command in the input; by default leave it for the user to run and tell them it is waiting. To execute it yourself, call ",{"type":36,"tag":59,"props":1344,"children":1346},{"className":1345},[],[1347],{"type":42,"value":425},{"type":42,"value":1349}," (way #7) — it runs code with side effects, so do it deliberately and report what it did.",{"type":36,"tag":137,"props":1351,"children":1352},{},[1353,1381,1382,1388,1389,1395,1397,1402,1404,1410,1412,1418,1420,1425,1427,1432,1434,1442,1444,1454,1456,1461,1463,1471,1472,1477,1479,1485],{"type":36,"tag":51,"props":1354,"children":1355},{},[1356,1358,1364,1366,1372,1374,1379],{"type":42,"value":1357},"Bulk node mutation: pick ",{"type":36,"tag":59,"props":1359,"children":1361},{"className":1360},[],[1362],{"type":42,"value":1363},"refactor",{"type":42,"value":1365}," vs ",{"type":36,"tag":59,"props":1367,"children":1369},{"className":1368},[],[1370],{"type":42,"value":1371},"forEach",{"type":42,"value":1373}," by whether ",{"type":36,"tag":87,"props":1375,"children":1376},{},[1377],{"type":42,"value":1378},"you",{"type":42,"value":1380}," will run it.",{"type":42,"value":1115},{"type":36,"tag":59,"props":1383,"children":1385},{"className":1384},[],[1386],{"type":42,"value":1387},".refactor({~it => … })",{"type":42,"value":77},{"type":36,"tag":59,"props":1390,"children":1392},{"className":1391},[],[1393],{"type":42,"value":1394},"RefactorOperation",{"type":42,"value":1396},") pops a ",{"type":36,"tag":51,"props":1398,"children":1399},{},[1400],{"type":42,"value":1401},"modal confirmation dialog",{"type":42,"value":1403}," and applies nothing until a human approves it; ",{"type":36,"tag":59,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":42,"value":1409},".forEach({~it => … })",{"type":42,"value":1411}," (collections ",{"type":36,"tag":59,"props":1413,"children":1415},{"className":1414},[],[1416],{"type":42,"value":1417},"VisitAllOperation",{"type":42,"value":1419},") applies its closure immediately, in the console's own write command, with no dialog. So: when the user asks only to ",{"type":36,"tag":51,"props":1421,"children":1422},{},[1423],{"type":42,"value":1424},"create \u002F insert",{"type":42,"value":1426}," a command for them to run themselves (",{"type":36,"tag":59,"props":1428,"children":1430},{"className":1429},[],[1431],{"type":42,"value":209},{"type":42,"value":1433}," and stop), prefer ",{"type":36,"tag":51,"props":1435,"children":1436},{},[1437],{"type":36,"tag":59,"props":1438,"children":1440},{"className":1439},[],[1441],{"type":42,"value":1363},{"type":42,"value":1443}," — the dialog gives them a review-and-confirm step at the keyboard. When the user asks you to ",{"type":36,"tag":51,"props":1445,"children":1446},{},[1447,1449],{"type":42,"value":1448},"create ",{"type":36,"tag":87,"props":1450,"children":1451},{},[1452],{"type":42,"value":1453},"and run",{"type":42,"value":1455}," it yourself (you will call ",{"type":36,"tag":59,"props":1457,"children":1459},{"className":1458},[],[1460],{"type":42,"value":425},{"type":42,"value":1462},"), prefer ",{"type":36,"tag":51,"props":1464,"children":1465},{},[1466],{"type":36,"tag":59,"props":1467,"children":1469},{"className":1468},[],[1470],{"type":42,"value":1371},{"type":42,"value":654},{"type":36,"tag":59,"props":1473,"children":1475},{"className":1474},[],[1476],{"type":42,"value":1363},{"type":42,"value":1478}," would return ",{"type":36,"tag":59,"props":1480,"children":1482},{"className":1481},[],[1483],{"type":42,"value":1484},"executed:true",{"type":42,"value":1486}," but stall on the dialog with no human present, leaving the model unchanged and the run a silent no-op.",{"type":36,"tag":126,"props":1488,"children":1490},{"id":1489},"examples-surface-syntax",[1491],{"type":42,"value":1492},"Examples (surface syntax)",{"type":36,"tag":1494,"props":1495,"children":1499},"pre",{"className":1496,"code":1498,"language":42},[1497],"language-text","#models                                          \u002F\u002F all editable models in the project\n#modules\u003Cglobal>                                 \u002F\u002F every module in the repository\n#instances(ClassConcept)                         \u002F\u002F fast: all ClassConcept instances in scope\n#instances\u003Cexact>(BaseConcept)                    \u002F\u002F exclude sub-concepts\n#usages(aNode)                                    \u002F\u002F direct references to a node\n#print 2 + 2                                     \u002F\u002F smart-print a value\n#printNode someNode                              \u002F\u002F print a node copy\n#show #instances(Issue)                          \u002F\u002F open the result in the usages view\n#make #models\u003Cmodules myModule>                  \u002F\u002F make selected models\n#reloadClasses                                   \u002F\u002F reload generated classes\n\n\u002F\u002F migrate every TryStatement with a catch + long body to TryCatchStatement (from the MPS docs)\n\u002F\u002F `.forEach` applies immediately and headlessly; `.refactor` instead pops a confirmation dialog\n#instances(TryStatement).where({~it => it.catchClause.isNotEmpty; }).forEach({~node => if (node.body.statement.size > 5) { node.replace with new(TryCatchStatement); } })\n",[1500],{"type":36,"tag":59,"props":1501,"children":1503},{"__ignoreMap":1502},"",[1504],{"type":42,"value":1498},{"type":36,"tag":126,"props":1506,"children":1508},{"id":1507},"related-skills",[1509],{"type":42,"value":1510},"Related Skills",{"type":36,"tag":877,"props":1512,"children":1513},{},[1514,1594,1619,1638,1661],{"type":36,"tag":137,"props":1515,"children":1516},{},[1517,1523,1525,1530,1531,1536,1537,1542,1544,1550,1551,1557,1558,1564,1565,1571,1572,1578,1580,1585,1587,1592],{"type":36,"tag":59,"props":1518,"children":1520},{"className":1519},[],[1521],{"type":42,"value":1522},"mps-model-manipulation",{"type":42,"value":1524}," — the ",{"type":36,"tag":59,"props":1526,"children":1528},{"className":1527},[],[1529],{"type":42,"value":914},{"type":42,"value":281},{"type":36,"tag":59,"props":1532,"children":1534},{"className":1533},[],[1535],{"type":42,"value":921},{"type":42,"value":281},{"type":36,"tag":59,"props":1538,"children":1540},{"className":1539},[],[1541],{"type":42,"value":928},{"type":42,"value":1543}," operations (",{"type":36,"tag":59,"props":1545,"children":1547},{"className":1546},[],[1548],{"type":42,"value":1549},".where",{"type":42,"value":101},{"type":36,"tag":59,"props":1552,"children":1554},{"className":1553},[],[1555],{"type":42,"value":1556},".select",{"type":42,"value":101},{"type":36,"tag":59,"props":1559,"children":1561},{"className":1560},[],[1562],{"type":42,"value":1563},".ofConcept\u003CC>",{"type":42,"value":101},{"type":36,"tag":59,"props":1566,"children":1568},{"className":1567},[],[1569],{"type":42,"value":1570},"replace with new(C)",{"type":42,"value":101},{"type":36,"tag":59,"props":1573,"children":1575},{"className":1574},[],[1576],{"type":42,"value":1577},":eq:",{"type":42,"value":1579},") used in the bodies of console commands, ",{"type":36,"tag":59,"props":1581,"children":1583},{"className":1582},[],[1584],{"type":42,"value":953},{"type":42,"value":1586}," blocks, and ",{"type":36,"tag":59,"props":1588,"children":1590},{"className":1589},[],[1591],{"type":42,"value":1363},{"type":42,"value":1593}," closures. The smodel query language layers on top of these.",{"type":36,"tag":137,"props":1595,"children":1596},{},[1597,1603,1605,1610,1612,1618],{"type":36,"tag":59,"props":1598,"children":1600},{"className":1599},[],[1601],{"type":42,"value":1602},"mps-node-editing",{"type":42,"value":1604}," — the JSON blueprint format that ",{"type":36,"tag":59,"props":1606,"children":1608},{"className":1607},[],[1609],{"type":42,"value":209},{"type":42,"value":1611}," consumes (shared with ",{"type":36,"tag":59,"props":1613,"children":1615},{"className":1614},[],[1616],{"type":42,"value":1617},"mps_mcp_insert_root_node_from_json",{"type":42,"value":1202},{"type":36,"tag":137,"props":1620,"children":1621},{},[1622,1628,1630,1636],{"type":36,"tag":59,"props":1623,"children":1625},{"className":1624},[],[1626],{"type":42,"value":1627},"mps-aspect-intentions",{"type":42,"value":1629}," — a common host for ",{"type":36,"tag":59,"props":1631,"children":1633},{"className":1632},[],[1634],{"type":42,"value":1635},"with (…) { #instances(…)… }",{"type":42,"value":1637}," queries.",{"type":36,"tag":137,"props":1639,"children":1640},{},[1641,1647,1649,1654,1655,1660],{"type":36,"tag":59,"props":1642,"children":1644},{"className":1643},[],[1645],{"type":42,"value":1646},"mps-baselanguage",{"type":42,"value":1648}," — host BaseLanguage statements\u002Fexpressions that fill ",{"type":36,"tag":59,"props":1650,"children":1652},{"className":1651},[],[1653],{"type":42,"value":606},{"type":42,"value":281},{"type":36,"tag":59,"props":1656,"children":1658},{"className":1657},[],[1659],{"type":42,"value":652},{"type":42,"value":154},{"type":36,"tag":137,"props":1662,"children":1663},{},[1664,1670,1672,1678],{"type":36,"tag":59,"props":1665,"children":1667},{"className":1666},[],[1668],{"type":42,"value":1669},"mps-run-configurations",{"type":42,"value":1671}," — for running a ",{"type":36,"tag":59,"props":1673,"children":1675},{"className":1674},[],[1676],{"type":42,"value":1677},"main",{"type":42,"value":1679},"\u002Ftest root node instead of console code.",{"type":36,"tag":126,"props":1681,"children":1683},{"id":1682},"reference-index",[1684],{"type":42,"value":1685},"Reference Index",{"type":36,"tag":877,"props":1687,"children":1688},{},[1689,1745,1790],{"type":36,"tag":137,"props":1690,"children":1691},{},[1692,1694,1699,1701,1706,1708,1714,1715,1721,1722,1728,1729,1735,1737,1743],{"type":42,"value":1693},"Open ",{"type":36,"tag":59,"props":1695,"children":1697},{"className":1696},[],[1698],{"type":42,"value":152},{"type":42,"value":1700}," for the full console command-language reference — every ",{"type":36,"tag":59,"props":1702,"children":1704},{"className":1703},[],[1705],{"type":42,"value":64},{"type":42,"value":1707}," command grouped by language (",{"type":36,"tag":59,"props":1709,"children":1711},{"className":1710},[],[1712],{"type":42,"value":1713},"base",{"type":42,"value":101},{"type":36,"tag":59,"props":1716,"children":1718},{"className":1717},[],[1719],{"type":42,"value":1720},"ideCommands",{"type":42,"value":101},{"type":36,"tag":59,"props":1723,"children":1725},{"className":1724},[],[1726],{"type":42,"value":1727},"internalCommands",{"type":42,"value":101},{"type":36,"tag":59,"props":1730,"children":1732},{"className":1731},[],[1733],{"type":42,"value":1734},"scripts",{"type":42,"value":1736},"), aliases, what each prints, scopes, paste-as-nodeRef, and ",{"type":36,"tag":59,"props":1738,"children":1740},{"className":1739},[],[1741],{"type":42,"value":1742},"#exec",{"type":42,"value":1744}," scripts.",{"type":36,"tag":137,"props":1746,"children":1747},{},[1748,1749,1754,1756,1761,1763,1768,1770,1775,1776,1781,1782,1788],{"type":42,"value":1693},{"type":36,"tag":59,"props":1750,"children":1752},{"className":1751},[],[1753],{"type":42,"value":192},{"type":42,"value":1755}," for the ",{"type":36,"tag":59,"props":1757,"children":1759},{"className":1758},[],[1760],{"type":42,"value":83},{"type":42,"value":1762}," language used in model code — the ",{"type":36,"tag":59,"props":1764,"children":1766},{"className":1765},[],[1767],{"type":42,"value":953},{"type":42,"value":1769}," statement, the six query expressions, scope parameters, the ",{"type":36,"tag":59,"props":1771,"children":1773},{"className":1772},[],[1774],{"type":42,"value":1028},{"type":42,"value":281},{"type":36,"tag":59,"props":1777,"children":1779},{"className":1778},[],[1780],{"type":42,"value":1183},{"type":42,"value":281},{"type":36,"tag":59,"props":1783,"children":1785},{"className":1784},[],[1786],{"type":42,"value":1787},"r\u002Fo+",{"type":42,"value":1789}," query parameters, default-scope rules, and intention\u002Fbehavior usage examples.",{"type":36,"tag":137,"props":1791,"children":1792},{},[1793,1794,1799,1801,1806,1808,1813,1815,1820,1822,1828],{"type":42,"value":1693},{"type":36,"tag":59,"props":1795,"children":1797},{"className":1796},[],[1798],{"type":42,"value":224},{"type":42,"value":1800}," for ",{"type":36,"tag":59,"props":1802,"children":1804},{"className":1803},[],[1805],{"type":42,"value":209},{"type":42,"value":1807}," — the two accepted JSON shapes, validated working blueprints (",{"type":36,"tag":59,"props":1809,"children":1811},{"className":1810},[],[1812],{"type":42,"value":652},{"type":42,"value":1814}," + query, statement arrays, interpreted commands), concept FQNs and language UUIDs, the \"wrap expressions in ",{"type":36,"tag":59,"props":1816,"children":1818},{"className":1817},[],[1819],{"type":42,"value":652},{"type":42,"value":1821},"\" gotcha, and ",{"type":36,"tag":59,"props":1823,"children":1825},{"className":1824},[],[1826],{"type":42,"value":1827},"dryRun",{"type":42,"value":1829}," validation.",{"items":1831,"total":1957},[1832,1848,1857,1866,1875,1885,1898,1907,1916,1926,1934,1947],{"slug":1833,"name":1833,"fn":1834,"description":1835,"org":1836,"tags":1837,"stars":16,"repoUrl":17,"updatedAt":1847},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1838,1841,1844],{"name":1839,"slug":1840,"type":15},"Architecture","architecture",{"name":1842,"slug":1843,"type":15},"Configuration","configuration",{"name":1845,"slug":1846,"type":15},"Engineering","engineering","2026-07-17T06:06:57.311661",{"slug":1849,"name":1849,"fn":1850,"description":1851,"org":1852,"tags":1853,"stars":16,"repoUrl":17,"updatedAt":1856},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1854,1855],{"name":1839,"slug":1840,"type":15},{"name":1845,"slug":1846,"type":15},"2026-07-17T06:04:48.066901",{"slug":1858,"name":1858,"fn":1859,"description":1860,"org":1861,"tags":1862,"stars":16,"repoUrl":17,"updatedAt":1865},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1863,1864],{"name":1839,"slug":1840,"type":15},{"name":1845,"slug":1846,"type":15},"2026-07-13T06:45:21.757084",{"slug":1867,"name":1867,"fn":1868,"description":1869,"org":1870,"tags":1871,"stars":16,"repoUrl":17,"updatedAt":1874},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1872,1873],{"name":1839,"slug":1840,"type":15},{"name":13,"slug":14,"type":15},"2026-07-23T05:41:33.639365",{"slug":1876,"name":1876,"fn":1877,"description":1878,"org":1879,"tags":1880,"stars":16,"repoUrl":17,"updatedAt":1884},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1881],{"name":1882,"slug":1883,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":1886,"name":1886,"fn":1887,"description":1888,"org":1889,"tags":1890,"stars":16,"repoUrl":17,"updatedAt":1897},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1891,1894],{"name":1892,"slug":1893,"type":15},"Design","design",{"name":1895,"slug":1896,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":1899,"name":1899,"fn":1900,"description":1901,"org":1902,"tags":1903,"stars":16,"repoUrl":17,"updatedAt":1906},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1904,1905],{"name":1845,"slug":1846,"type":15},{"name":1895,"slug":1896,"type":15},"2026-07-23T05:41:49.666535",{"slug":1908,"name":1908,"fn":1909,"description":1910,"org":1911,"tags":1912,"stars":16,"repoUrl":17,"updatedAt":1915},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1913,1914],{"name":1839,"slug":1840,"type":15},{"name":1845,"slug":1846,"type":15},"2026-07-13T06:44:59.507855",{"slug":1917,"name":1917,"fn":1918,"description":1919,"org":1920,"tags":1921,"stars":16,"repoUrl":17,"updatedAt":1925},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1922,1923,1924],{"name":1839,"slug":1840,"type":15},{"name":13,"slug":14,"type":15},{"name":1845,"slug":1846,"type":15},"2026-07-17T06:06:58.042999",{"slug":1627,"name":1627,"fn":1927,"description":1928,"org":1929,"tags":1930,"stars":16,"repoUrl":17,"updatedAt":1933},"define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1931,1932],{"name":1839,"slug":1840,"type":15},{"name":1845,"slug":1846,"type":15},"2026-07-23T05:41:48.692899",{"slug":1935,"name":1935,"fn":1936,"description":1937,"org":1938,"tags":1939,"stars":16,"repoUrl":17,"updatedAt":1946},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1940,1943],{"name":1941,"slug":1942,"type":15},"Debugging","debugging",{"name":1944,"slug":1945,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":1948,"name":1948,"fn":1949,"description":1950,"org":1951,"tags":1952,"stars":16,"repoUrl":17,"updatedAt":1956},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1953],{"name":1954,"slug":1955,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":1959,"total":1995},[1960,1966,1971,1976,1981,1985,1990],{"slug":1833,"name":1833,"fn":1834,"description":1835,"org":1961,"tags":1962,"stars":16,"repoUrl":17,"updatedAt":1847},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1963,1964,1965],{"name":1839,"slug":1840,"type":15},{"name":1842,"slug":1843,"type":15},{"name":1845,"slug":1846,"type":15},{"slug":1849,"name":1849,"fn":1850,"description":1851,"org":1967,"tags":1968,"stars":16,"repoUrl":17,"updatedAt":1856},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1969,1970],{"name":1839,"slug":1840,"type":15},{"name":1845,"slug":1846,"type":15},{"slug":1858,"name":1858,"fn":1859,"description":1860,"org":1972,"tags":1973,"stars":16,"repoUrl":17,"updatedAt":1865},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1974,1975],{"name":1839,"slug":1840,"type":15},{"name":1845,"slug":1846,"type":15},{"slug":1867,"name":1867,"fn":1868,"description":1869,"org":1977,"tags":1978,"stars":16,"repoUrl":17,"updatedAt":1874},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1979,1980],{"name":1839,"slug":1840,"type":15},{"name":13,"slug":14,"type":15},{"slug":1876,"name":1876,"fn":1877,"description":1878,"org":1982,"tags":1983,"stars":16,"repoUrl":17,"updatedAt":1884},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1984],{"name":1882,"slug":1883,"type":15},{"slug":1886,"name":1886,"fn":1887,"description":1888,"org":1986,"tags":1987,"stars":16,"repoUrl":17,"updatedAt":1897},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1988,1989],{"name":1892,"slug":1893,"type":15},{"name":1895,"slug":1896,"type":15},{"slug":1899,"name":1899,"fn":1900,"description":1901,"org":1991,"tags":1992,"stars":16,"repoUrl":17,"updatedAt":1906},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1993,1994],{"name":1845,"slug":1846,"type":15},{"name":1895,"slug":1896,"type":15},31]