[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-mps-baselanguage":3,"mdc--l8q9jr-key":29,"related-repo-jetbrains-mps-baselanguage":1106,"related-org-jetbrains-mps-baselanguage":1184},{"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-baselanguage","author MPS baseLanguage Java code","Author and edit MPS `jetbrains.mps.baseLanguage` (Java) nodes — choose between the Java parser and JSON AST blueprints, map Java syntax to baseLanguage concepts\u002Froles, harvest persistent member references, and validate. Use when writing class\u002Fmethod bodies, fields, expressions, statements, or any Java\u002FBaseLanguage code inside MPS models, especially when BaseLanguage extensions (smodel, closures, collections) are involved.",{"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},"Java","java","tag",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-13T06:45:08.606912",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-baselanguage","---\nname: mps-baselanguage\ndescription: Author and edit MPS `jetbrains.mps.baseLanguage` (Java) nodes — choose between the Java parser and JSON AST blueprints, map Java syntax to baseLanguage concepts\u002Froles, harvest persistent member references, and validate. Use when writing class\u002Fmethod bodies, fields, expressions, statements, or any Java\u002FBaseLanguage code inside MPS models, especially when BaseLanguage extensions (smodel, closures, collections) are involved.\ntype: reference\n---\n\n# MPS BaseLanguage (Java) Authoring\n\n`jetbrains.mps.baseLanguage` is MPS's Java-equivalent language. You edit it as an AST, not as text. Two authoring paths exist: the Java parser (`mps_mcp_parse_java_and_insert`) for plain Java, and JSON AST blueprints (`mps_mcp_insert_root_node_from_json` \u002F `mps_mcp_update_root_node_from_json` \u002F `mps_mcp_update_node`) for everything else — especially code that uses BaseLanguage extensions (`jetbrains.mps.lang.smodel`, `jetbrains.mps.baseLanguage.closures`, `jetbrains.mps.baseLanguage.collections`) or needs stable persistent member references.\n\n## Critical Directives\n\n- **Node equality**: always use `:eq:` and `:ne:` (concepts `NPEEqualsExpression` \u002F `NPENotEqualsExpression`). Never `==` or `.equals()` between SNode references.\n- **Constructor return type**: `ConstructorDeclaration.returnType` MUST be a `VoidType` node. Leaving it empty fails validation.\n- **`ClassCreator` wiring**: `ClassCreator.baseMethodDeclaration` points at the **constructor declaration**, not the class. `InstanceMethodCallOperation.baseMethodDeclaration` points at the **method declaration**.\n- **Inherited methods**: use the **declaring class** ref for `baseMethodDeclaration`, not the subclass that calls the method. E.g. `addActionListener` is declared on `AbstractButton`, so use the `AbstractButton` class ref.\n- **Expressions in statement lists**: any `Expression` must be wrapped in `ExpressionStatement` to be valid inside a `StatementList`.\n- **Variable declarations**: in method bodies wrap `LocalVariableDeclaration` in `LocalVariableDeclarationStatement`. In `ForStatement.variable` use `LocalVariableDeclaration` directly, no wrapper.\n- **Prefer primitives**: use `string` (`StringType`) over `String` (`ClassifierType`) where possible; same for `int`, `boolean`, etc.\n- **Compatibility**: BaseLanguage core is Java 7 (including generics). When building AST directly (JSON blueprints), there is no lambda\u002Frecord syntax — use the `jetbrains.mps.baseLanguage.closures` extension for closures. The Java **parser** (`mps_mcp_parse_java_and_insert`) additionally accepts the Java 8+ syntax MPS recognizes — most notably **lambdas**, which it maps to `closures` `ClosureLiteral`s (auto-imported when `postProcess.importUsedLanguages` is on); a lambda only type-checks against a matching functional-type target. Constructs the parser does not recognize (e.g. records) still fail to parse. See `references\u002Fparse-java-tips.md`.\n- **Surgical edits**: when a single child changes prefer `mps_mcp_update_node` over rewriting the whole root — full-root rewrites churn persistent IDs and break incoming refs.\n\n## Choose Your Path\n\nPick the right authoring tool before you start:\n\n- **`mps_mcp_parse_java_and_insert`** — use for plain Java skeletons or bodies (classes, methods, statements, expressions), including the current MPS Console input (`insert.mode: \"console\"` to replace the console command, or `mode: \"child\"\u002F\"replace\"` with a `parentRef`\u002F`targetRef` inside the current console command for nested edits). Fastest path when no BaseLanguage extension is required.\n- **JSON AST blueprints** — use when the parser is unavailable, when the code uses BaseLanguage extensions (smodel, closures, collections), or when stable persistent references to members are required for downstream consumers.\n- **Mixed** — use the parser for the skeleton with placeholders (e.g. `IntegerConstant`, `StringLiteral`, `IntegerType`, `StringType`), then JSON-edit the placeholders to swap in extension-specific subtrees.\n\n## Common Workflow\n\n1. **Scope**: call `mps_mcp_get_current_editor_root_node` to know where you are inserting (method body, field initializer, root, …).\n2. **Resolve dependencies**: confirm the containing model imports the right languages (`jetbrains.mps.baseLanguage` plus any extensions). Models for referenced nodes must also be imported.\n3. **Skeleton first**: for any non-trivial root, insert a placeholder skeleton (`mps_mcp_create_root_node` + `mps_mcp_update_root_node_from_json` or the parser) before filling member bodies.\n4. **Harvest references**: for own members, run `mps_mcp_print_node` on the skeleton to read persistent refs of constructors, methods, and fields. For JDK \u002F library stubs, derive refs from the class ref using the URL-encoded signature formula (see references).\n5. **Apply bodies**: edit one subtree at a time with `mps_mcp_update_node`, or bulk-rewrite via `mps_mcp_update_root_node_from_json`.\n6. **Auto-resolution**: for unambiguous local refs (a parameter, a local variable, a unique method name), pass the plain name as `target` — MPS resolves it after insertion. For overloaded or stub members, use a persistent ref.\n7. **Validate in three gates**:\n   - `dryRun: true` on insert tools — catches structural \u002F assignability errors before mutation\n   - `mps_mcp_check_root_node_problems` — semantic checking\n   - `mps_mcp_alter_nodes MAKE` — generation + compilation\n8. **Repair**: if a few refs are broken after insert, run `mps_mcp_alter_nodes FIX_REFERENCES` rather than re-harvesting all of them.\n\n## Related Skills\n\n- **`mps-node-editing`** — general node mutation tools (`mps_mcp_update_node`, etc.). Load first if you have not seen them.\n- **`mps-aspect-structure-concepts`** — defines what concepts exist and what roles they expose. Read when authoring a brand-new language whose concepts extend BaseLanguage.\n- **`mps-quotations`** — light\u002Fquoted SNode literals embedded in BaseLanguage code (e.g. inside behavior or generator bodies).\n- **`mps-model-manipulation`** — `smodel` + `collections` + `closures` patterns layered on top of BaseLanguage; load when manipulating MPS nodes from BaseLanguage.\n- **`mps-aspect-behavior`**, **`mps-aspect-typesystem`**, **`mps-aspect-constraints`** — each owns a language whose function bodies are BaseLanguage; reach for those skills when the surrounding aspect matters.\n\n## Reference Index\n\n- Open `references\u002Fconcept-mapping.md` when you need the Java-syntax → MPS-concept lookup table and the key role names (statements, expressions, types, declarations).\n- Open `references\u002Fjson-patterns.md` when you need ready-to-paste JSON blueprints for common constructs (local variable, node-equality, instance-method call, anonymous class, array creation, super-constructor call, empty class template).\n- Open `references\u002Fcritical-rules.md` when something fails validation and you want the rulebook on `ExpressionStatement`, `ClassCreator`, anonymous classes, mandatory bodies, `FieldReferenceOperation`, etc.\n- Open `references\u002Fparse-java-tips.md` when using `mps_mcp_parse_java_and_insert` and you need binary-expression priority handling, placeholder strategy, or post-insert verification steps.\n- Open `references\u002Fstub-references.md` when you need to point a `baseMethodDeclaration` at a JDK or library member — covers ref derivation, URL encoding, inherited-method handling, and the GET_ASSIGNABLE_REFERENCES fallback.\n- Open `references\u002Fjson-ast-workflow.md` when authoring a non-trivial BaseLanguage root via JSON AST — covers staged skeleton → harvest → patch → validate, plus the `ClassCreator` vs `InstanceMethodCallOperation` ref distinction.\n- Open `references\u002Ftroubleshooting.md` when you hit `dryRun` errors, broken-ref symptoms in generated Java (`new ()`, `???()`), stale-ref errors, or \"model checks pass but MAKE fails\".\n",{"data":30,"body":32},{"name":4,"description":6,"type":31},"reference",{"type":33,"children":34},"root",[35,44,111,118,514,520,525,621,627,814,820,941,947],{"type":36,"tag":37,"props":38,"children":40},"element","h1",{"id":39},"mps-baselanguage-java-authoring",[41],{"type":42,"value":43},"text","MPS BaseLanguage (Java) Authoring",{"type":36,"tag":45,"props":46,"children":47},"p",{},[48,55,57,63,65,71,73,79,80,86,88,94,96,102,103,109],{"type":36,"tag":49,"props":50,"children":52},"code",{"className":51},[],[53],{"type":42,"value":54},"jetbrains.mps.baseLanguage",{"type":42,"value":56}," is MPS's Java-equivalent language. You edit it as an AST, not as text. Two authoring paths exist: the Java parser (",{"type":36,"tag":49,"props":58,"children":60},{"className":59},[],[61],{"type":42,"value":62},"mps_mcp_parse_java_and_insert",{"type":42,"value":64},") for plain Java, and JSON AST blueprints (",{"type":36,"tag":49,"props":66,"children":68},{"className":67},[],[69],{"type":42,"value":70},"mps_mcp_insert_root_node_from_json",{"type":42,"value":72}," \u002F ",{"type":36,"tag":49,"props":74,"children":76},{"className":75},[],[77],{"type":42,"value":78},"mps_mcp_update_root_node_from_json",{"type":42,"value":72},{"type":36,"tag":49,"props":81,"children":83},{"className":82},[],[84],{"type":42,"value":85},"mps_mcp_update_node",{"type":42,"value":87},") for everything else — especially code that uses BaseLanguage extensions (",{"type":36,"tag":49,"props":89,"children":91},{"className":90},[],[92],{"type":42,"value":93},"jetbrains.mps.lang.smodel",{"type":42,"value":95},", ",{"type":36,"tag":49,"props":97,"children":99},{"className":98},[],[100],{"type":42,"value":101},"jetbrains.mps.baseLanguage.closures",{"type":42,"value":95},{"type":36,"tag":49,"props":104,"children":106},{"className":105},[],[107],{"type":42,"value":108},"jetbrains.mps.baseLanguage.collections",{"type":42,"value":110},") or needs stable persistent member references.",{"type":36,"tag":112,"props":113,"children":115},"h2",{"id":114},"critical-directives",[116],{"type":42,"value":117},"Critical Directives",{"type":36,"tag":119,"props":120,"children":121},"ul",{},[122,181,207,251,299,332,373,429,497],{"type":36,"tag":123,"props":124,"children":125},"li",{},[126,132,134,140,142,148,150,156,157,163,165,171,173,179],{"type":36,"tag":127,"props":128,"children":129},"strong",{},[130],{"type":42,"value":131},"Node equality",{"type":42,"value":133},": always use ",{"type":36,"tag":49,"props":135,"children":137},{"className":136},[],[138],{"type":42,"value":139},":eq:",{"type":42,"value":141}," and ",{"type":36,"tag":49,"props":143,"children":145},{"className":144},[],[146],{"type":42,"value":147},":ne:",{"type":42,"value":149}," (concepts ",{"type":36,"tag":49,"props":151,"children":153},{"className":152},[],[154],{"type":42,"value":155},"NPEEqualsExpression",{"type":42,"value":72},{"type":36,"tag":49,"props":158,"children":160},{"className":159},[],[161],{"type":42,"value":162},"NPENotEqualsExpression",{"type":42,"value":164},"). Never ",{"type":36,"tag":49,"props":166,"children":168},{"className":167},[],[169],{"type":42,"value":170},"==",{"type":42,"value":172}," or ",{"type":36,"tag":49,"props":174,"children":176},{"className":175},[],[177],{"type":42,"value":178},".equals()",{"type":42,"value":180}," between SNode references.",{"type":36,"tag":123,"props":182,"children":183},{},[184,189,191,197,199,205],{"type":36,"tag":127,"props":185,"children":186},{},[187],{"type":42,"value":188},"Constructor return type",{"type":42,"value":190},": ",{"type":36,"tag":49,"props":192,"children":194},{"className":193},[],[195],{"type":42,"value":196},"ConstructorDeclaration.returnType",{"type":42,"value":198}," MUST be a ",{"type":36,"tag":49,"props":200,"children":202},{"className":201},[],[203],{"type":42,"value":204},"VoidType",{"type":42,"value":206}," node. Leaving it empty fails validation.",{"type":36,"tag":123,"props":208,"children":209},{},[210,221,222,228,230,235,237,243,244,249],{"type":36,"tag":127,"props":211,"children":212},{},[213,219],{"type":36,"tag":49,"props":214,"children":216},{"className":215},[],[217],{"type":42,"value":218},"ClassCreator",{"type":42,"value":220}," wiring",{"type":42,"value":190},{"type":36,"tag":49,"props":223,"children":225},{"className":224},[],[226],{"type":42,"value":227},"ClassCreator.baseMethodDeclaration",{"type":42,"value":229}," points at the ",{"type":36,"tag":127,"props":231,"children":232},{},[233],{"type":42,"value":234},"constructor declaration",{"type":42,"value":236},", not the class. ",{"type":36,"tag":49,"props":238,"children":240},{"className":239},[],[241],{"type":42,"value":242},"InstanceMethodCallOperation.baseMethodDeclaration",{"type":42,"value":229},{"type":36,"tag":127,"props":245,"children":246},{},[247],{"type":42,"value":248},"method declaration",{"type":42,"value":250},".",{"type":36,"tag":123,"props":252,"children":253},{},[254,259,261,266,268,274,276,282,284,290,292,297],{"type":36,"tag":127,"props":255,"children":256},{},[257],{"type":42,"value":258},"Inherited methods",{"type":42,"value":260},": use the ",{"type":36,"tag":127,"props":262,"children":263},{},[264],{"type":42,"value":265},"declaring class",{"type":42,"value":267}," ref for ",{"type":36,"tag":49,"props":269,"children":271},{"className":270},[],[272],{"type":42,"value":273},"baseMethodDeclaration",{"type":42,"value":275},", not the subclass that calls the method. E.g. ",{"type":36,"tag":49,"props":277,"children":279},{"className":278},[],[280],{"type":42,"value":281},"addActionListener",{"type":42,"value":283}," is declared on ",{"type":36,"tag":49,"props":285,"children":287},{"className":286},[],[288],{"type":42,"value":289},"AbstractButton",{"type":42,"value":291},", so use the ",{"type":36,"tag":49,"props":293,"children":295},{"className":294},[],[296],{"type":42,"value":289},{"type":42,"value":298}," class ref.",{"type":36,"tag":123,"props":300,"children":301},{},[302,307,309,315,317,323,325,331],{"type":36,"tag":127,"props":303,"children":304},{},[305],{"type":42,"value":306},"Expressions in statement lists",{"type":42,"value":308},": any ",{"type":36,"tag":49,"props":310,"children":312},{"className":311},[],[313],{"type":42,"value":314},"Expression",{"type":42,"value":316}," must be wrapped in ",{"type":36,"tag":49,"props":318,"children":320},{"className":319},[],[321],{"type":42,"value":322},"ExpressionStatement",{"type":42,"value":324}," to be valid inside a ",{"type":36,"tag":49,"props":326,"children":328},{"className":327},[],[329],{"type":42,"value":330},"StatementList",{"type":42,"value":250},{"type":36,"tag":123,"props":333,"children":334},{},[335,340,342,348,350,356,358,364,366,371],{"type":36,"tag":127,"props":336,"children":337},{},[338],{"type":42,"value":339},"Variable declarations",{"type":42,"value":341},": in method bodies wrap ",{"type":36,"tag":49,"props":343,"children":345},{"className":344},[],[346],{"type":42,"value":347},"LocalVariableDeclaration",{"type":42,"value":349}," in ",{"type":36,"tag":49,"props":351,"children":353},{"className":352},[],[354],{"type":42,"value":355},"LocalVariableDeclarationStatement",{"type":42,"value":357},". In ",{"type":36,"tag":49,"props":359,"children":361},{"className":360},[],[362],{"type":42,"value":363},"ForStatement.variable",{"type":42,"value":365}," use ",{"type":36,"tag":49,"props":367,"children":369},{"className":368},[],[370],{"type":42,"value":347},{"type":42,"value":372}," directly, no wrapper.",{"type":36,"tag":123,"props":374,"children":375},{},[376,381,383,389,391,397,399,405,406,412,414,420,421,427],{"type":36,"tag":127,"props":377,"children":378},{},[379],{"type":42,"value":380},"Prefer primitives",{"type":42,"value":382},": use ",{"type":36,"tag":49,"props":384,"children":386},{"className":385},[],[387],{"type":42,"value":388},"string",{"type":42,"value":390}," (",{"type":36,"tag":49,"props":392,"children":394},{"className":393},[],[395],{"type":42,"value":396},"StringType",{"type":42,"value":398},") over ",{"type":36,"tag":49,"props":400,"children":402},{"className":401},[],[403],{"type":42,"value":404},"String",{"type":42,"value":390},{"type":36,"tag":49,"props":407,"children":409},{"className":408},[],[410],{"type":42,"value":411},"ClassifierType",{"type":42,"value":413},") where possible; same for ",{"type":36,"tag":49,"props":415,"children":417},{"className":416},[],[418],{"type":42,"value":419},"int",{"type":42,"value":95},{"type":36,"tag":49,"props":422,"children":424},{"className":423},[],[425],{"type":42,"value":426},"boolean",{"type":42,"value":428},", etc.",{"type":36,"tag":123,"props":430,"children":431},{},[432,437,439,444,446,451,452,457,459,464,466,472,474,480,482,488,490,496],{"type":36,"tag":127,"props":433,"children":434},{},[435],{"type":42,"value":436},"Compatibility",{"type":42,"value":438},": BaseLanguage core is Java 7 (including generics). When building AST directly (JSON blueprints), there is no lambda\u002Frecord syntax — use the ",{"type":36,"tag":49,"props":440,"children":442},{"className":441},[],[443],{"type":42,"value":101},{"type":42,"value":445}," extension for closures. The Java ",{"type":36,"tag":127,"props":447,"children":448},{},[449],{"type":42,"value":450},"parser",{"type":42,"value":390},{"type":36,"tag":49,"props":453,"children":455},{"className":454},[],[456],{"type":42,"value":62},{"type":42,"value":458},") additionally accepts the Java 8+ syntax MPS recognizes — most notably ",{"type":36,"tag":127,"props":460,"children":461},{},[462],{"type":42,"value":463},"lambdas",{"type":42,"value":465},", which it maps to ",{"type":36,"tag":49,"props":467,"children":469},{"className":468},[],[470],{"type":42,"value":471},"closures",{"type":42,"value":473}," ",{"type":36,"tag":49,"props":475,"children":477},{"className":476},[],[478],{"type":42,"value":479},"ClosureLiteral",{"type":42,"value":481},"s (auto-imported when ",{"type":36,"tag":49,"props":483,"children":485},{"className":484},[],[486],{"type":42,"value":487},"postProcess.importUsedLanguages",{"type":42,"value":489}," is on); a lambda only type-checks against a matching functional-type target. Constructs the parser does not recognize (e.g. records) still fail to parse. See ",{"type":36,"tag":49,"props":491,"children":493},{"className":492},[],[494],{"type":42,"value":495},"references\u002Fparse-java-tips.md",{"type":42,"value":250},{"type":36,"tag":123,"props":498,"children":499},{},[500,505,507,512],{"type":36,"tag":127,"props":501,"children":502},{},[503],{"type":42,"value":504},"Surgical edits",{"type":42,"value":506},": when a single child changes prefer ",{"type":36,"tag":49,"props":508,"children":510},{"className":509},[],[511],{"type":42,"value":85},{"type":42,"value":513}," over rewriting the whole root — full-root rewrites churn persistent IDs and break incoming refs.",{"type":36,"tag":112,"props":515,"children":517},{"id":516},"choose-your-path",[518],{"type":42,"value":519},"Choose Your Path",{"type":36,"tag":45,"props":521,"children":522},{},[523],{"type":42,"value":524},"Pick the right authoring tool before you start:",{"type":36,"tag":119,"props":526,"children":527},{},[528,573,583],{"type":36,"tag":123,"props":529,"children":530},{},[531,539,541,547,549,555,557,563,565,571],{"type":36,"tag":127,"props":532,"children":533},{},[534],{"type":36,"tag":49,"props":535,"children":537},{"className":536},[],[538],{"type":42,"value":62},{"type":42,"value":540}," — use for plain Java skeletons or bodies (classes, methods, statements, expressions), including the current MPS Console input (",{"type":36,"tag":49,"props":542,"children":544},{"className":543},[],[545],{"type":42,"value":546},"insert.mode: \"console\"",{"type":42,"value":548}," to replace the console command, or ",{"type":36,"tag":49,"props":550,"children":552},{"className":551},[],[553],{"type":42,"value":554},"mode: \"child\"\u002F\"replace\"",{"type":42,"value":556}," with a ",{"type":36,"tag":49,"props":558,"children":560},{"className":559},[],[561],{"type":42,"value":562},"parentRef",{"type":42,"value":564},"\u002F",{"type":36,"tag":49,"props":566,"children":568},{"className":567},[],[569],{"type":42,"value":570},"targetRef",{"type":42,"value":572}," inside the current console command for nested edits). Fastest path when no BaseLanguage extension is required.",{"type":36,"tag":123,"props":574,"children":575},{},[576,581],{"type":36,"tag":127,"props":577,"children":578},{},[579],{"type":42,"value":580},"JSON AST blueprints",{"type":42,"value":582}," — use when the parser is unavailable, when the code uses BaseLanguage extensions (smodel, closures, collections), or when stable persistent references to members are required for downstream consumers.",{"type":36,"tag":123,"props":584,"children":585},{},[586,591,593,599,600,606,607,613,614,619],{"type":36,"tag":127,"props":587,"children":588},{},[589],{"type":42,"value":590},"Mixed",{"type":42,"value":592}," — use the parser for the skeleton with placeholders (e.g. ",{"type":36,"tag":49,"props":594,"children":596},{"className":595},[],[597],{"type":42,"value":598},"IntegerConstant",{"type":42,"value":95},{"type":36,"tag":49,"props":601,"children":603},{"className":602},[],[604],{"type":42,"value":605},"StringLiteral",{"type":42,"value":95},{"type":36,"tag":49,"props":608,"children":610},{"className":609},[],[611],{"type":42,"value":612},"IntegerType",{"type":42,"value":95},{"type":36,"tag":49,"props":615,"children":617},{"className":616},[],[618],{"type":42,"value":396},{"type":42,"value":620},"), then JSON-edit the placeholders to swap in extension-specific subtrees.",{"type":36,"tag":112,"props":622,"children":624},{"id":623},"common-workflow",[625],{"type":42,"value":626},"Common Workflow",{"type":36,"tag":628,"props":629,"children":630},"ol",{},[631,649,666,691,709,732,750,796],{"type":36,"tag":123,"props":632,"children":633},{},[634,639,641,647],{"type":36,"tag":127,"props":635,"children":636},{},[637],{"type":42,"value":638},"Scope",{"type":42,"value":640},": call ",{"type":36,"tag":49,"props":642,"children":644},{"className":643},[],[645],{"type":42,"value":646},"mps_mcp_get_current_editor_root_node",{"type":42,"value":648}," to know where you are inserting (method body, field initializer, root, …).",{"type":36,"tag":123,"props":650,"children":651},{},[652,657,659,664],{"type":36,"tag":127,"props":653,"children":654},{},[655],{"type":42,"value":656},"Resolve dependencies",{"type":42,"value":658},": confirm the containing model imports the right languages (",{"type":36,"tag":49,"props":660,"children":662},{"className":661},[],[663],{"type":42,"value":54},{"type":42,"value":665}," plus any extensions). Models for referenced nodes must also be imported.",{"type":36,"tag":123,"props":667,"children":668},{},[669,674,676,682,684,689],{"type":36,"tag":127,"props":670,"children":671},{},[672],{"type":42,"value":673},"Skeleton first",{"type":42,"value":675},": for any non-trivial root, insert a placeholder skeleton (",{"type":36,"tag":49,"props":677,"children":679},{"className":678},[],[680],{"type":42,"value":681},"mps_mcp_create_root_node",{"type":42,"value":683}," + ",{"type":36,"tag":49,"props":685,"children":687},{"className":686},[],[688],{"type":42,"value":78},{"type":42,"value":690}," or the parser) before filling member bodies.",{"type":36,"tag":123,"props":692,"children":693},{},[694,699,701,707],{"type":36,"tag":127,"props":695,"children":696},{},[697],{"type":42,"value":698},"Harvest references",{"type":42,"value":700},": for own members, run ",{"type":36,"tag":49,"props":702,"children":704},{"className":703},[],[705],{"type":42,"value":706},"mps_mcp_print_node",{"type":42,"value":708}," on the skeleton to read persistent refs of constructors, methods, and fields. For JDK \u002F library stubs, derive refs from the class ref using the URL-encoded signature formula (see references).",{"type":36,"tag":123,"props":710,"children":711},{},[712,717,719,724,726,731],{"type":36,"tag":127,"props":713,"children":714},{},[715],{"type":42,"value":716},"Apply bodies",{"type":42,"value":718},": edit one subtree at a time with ",{"type":36,"tag":49,"props":720,"children":722},{"className":721},[],[723],{"type":42,"value":85},{"type":42,"value":725},", or bulk-rewrite via ",{"type":36,"tag":49,"props":727,"children":729},{"className":728},[],[730],{"type":42,"value":78},{"type":42,"value":250},{"type":36,"tag":123,"props":733,"children":734},{},[735,740,742,748],{"type":36,"tag":127,"props":736,"children":737},{},[738],{"type":42,"value":739},"Auto-resolution",{"type":42,"value":741},": for unambiguous local refs (a parameter, a local variable, a unique method name), pass the plain name as ",{"type":36,"tag":49,"props":743,"children":745},{"className":744},[],[746],{"type":42,"value":747},"target",{"type":42,"value":749}," — MPS resolves it after insertion. For overloaded or stub members, use a persistent ref.",{"type":36,"tag":123,"props":751,"children":752},{},[753,758,760],{"type":36,"tag":127,"props":754,"children":755},{},[756],{"type":42,"value":757},"Validate in three gates",{"type":42,"value":759},":\n",{"type":36,"tag":119,"props":761,"children":762},{},[763,774,785],{"type":36,"tag":123,"props":764,"children":765},{},[766,772],{"type":36,"tag":49,"props":767,"children":769},{"className":768},[],[770],{"type":42,"value":771},"dryRun: true",{"type":42,"value":773}," on insert tools — catches structural \u002F assignability errors before mutation",{"type":36,"tag":123,"props":775,"children":776},{},[777,783],{"type":36,"tag":49,"props":778,"children":780},{"className":779},[],[781],{"type":42,"value":782},"mps_mcp_check_root_node_problems",{"type":42,"value":784}," — semantic checking",{"type":36,"tag":123,"props":786,"children":787},{},[788,794],{"type":36,"tag":49,"props":789,"children":791},{"className":790},[],[792],{"type":42,"value":793},"mps_mcp_alter_nodes MAKE",{"type":42,"value":795}," — generation + compilation",{"type":36,"tag":123,"props":797,"children":798},{},[799,804,806,812],{"type":36,"tag":127,"props":800,"children":801},{},[802],{"type":42,"value":803},"Repair",{"type":42,"value":805},": if a few refs are broken after insert, run ",{"type":36,"tag":49,"props":807,"children":809},{"className":808},[],[810],{"type":42,"value":811},"mps_mcp_alter_nodes FIX_REFERENCES",{"type":42,"value":813}," rather than re-harvesting all of them.",{"type":36,"tag":112,"props":815,"children":817},{"id":816},"related-skills",[818],{"type":42,"value":819},"Related Skills",{"type":36,"tag":119,"props":821,"children":822},{},[823,844,858,872,907],{"type":36,"tag":123,"props":824,"children":825},{},[826,835,837,842],{"type":36,"tag":127,"props":827,"children":828},{},[829],{"type":36,"tag":49,"props":830,"children":832},{"className":831},[],[833],{"type":42,"value":834},"mps-node-editing",{"type":42,"value":836}," — general node mutation tools (",{"type":36,"tag":49,"props":838,"children":840},{"className":839},[],[841],{"type":42,"value":85},{"type":42,"value":843},", etc.). Load first if you have not seen them.",{"type":36,"tag":123,"props":845,"children":846},{},[847,856],{"type":36,"tag":127,"props":848,"children":849},{},[850],{"type":36,"tag":49,"props":851,"children":853},{"className":852},[],[854],{"type":42,"value":855},"mps-aspect-structure-concepts",{"type":42,"value":857}," — defines what concepts exist and what roles they expose. Read when authoring a brand-new language whose concepts extend BaseLanguage.",{"type":36,"tag":123,"props":859,"children":860},{},[861,870],{"type":36,"tag":127,"props":862,"children":863},{},[864],{"type":36,"tag":49,"props":865,"children":867},{"className":866},[],[868],{"type":42,"value":869},"mps-quotations",{"type":42,"value":871}," — light\u002Fquoted SNode literals embedded in BaseLanguage code (e.g. inside behavior or generator bodies).",{"type":36,"tag":123,"props":873,"children":874},{},[875,884,886,892,893,899,900,905],{"type":36,"tag":127,"props":876,"children":877},{},[878],{"type":36,"tag":49,"props":879,"children":881},{"className":880},[],[882],{"type":42,"value":883},"mps-model-manipulation",{"type":42,"value":885}," — ",{"type":36,"tag":49,"props":887,"children":889},{"className":888},[],[890],{"type":42,"value":891},"smodel",{"type":42,"value":683},{"type":36,"tag":49,"props":894,"children":896},{"className":895},[],[897],{"type":42,"value":898},"collections",{"type":42,"value":683},{"type":36,"tag":49,"props":901,"children":903},{"className":902},[],[904],{"type":42,"value":471},{"type":42,"value":906}," patterns layered on top of BaseLanguage; load when manipulating MPS nodes from BaseLanguage.",{"type":36,"tag":123,"props":908,"children":909},{},[910,919,920,929,930,939],{"type":36,"tag":127,"props":911,"children":912},{},[913],{"type":36,"tag":49,"props":914,"children":916},{"className":915},[],[917],{"type":42,"value":918},"mps-aspect-behavior",{"type":42,"value":95},{"type":36,"tag":127,"props":921,"children":922},{},[923],{"type":36,"tag":49,"props":924,"children":926},{"className":925},[],[927],{"type":42,"value":928},"mps-aspect-typesystem",{"type":42,"value":95},{"type":36,"tag":127,"props":931,"children":932},{},[933],{"type":36,"tag":49,"props":934,"children":936},{"className":935},[],[937],{"type":42,"value":938},"mps-aspect-constraints",{"type":42,"value":940}," — each owns a language whose function bodies are BaseLanguage; reach for those skills when the surrounding aspect matters.",{"type":36,"tag":112,"props":942,"children":944},{"id":943},"reference-index",[945],{"type":42,"value":946},"Reference Index",{"type":36,"tag":119,"props":948,"children":949},{},[950,963,975,1007,1025,1044,1071],{"type":36,"tag":123,"props":951,"children":952},{},[953,955,961],{"type":42,"value":954},"Open ",{"type":36,"tag":49,"props":956,"children":958},{"className":957},[],[959],{"type":42,"value":960},"references\u002Fconcept-mapping.md",{"type":42,"value":962}," when you need the Java-syntax → MPS-concept lookup table and the key role names (statements, expressions, types, declarations).",{"type":36,"tag":123,"props":964,"children":965},{},[966,967,973],{"type":42,"value":954},{"type":36,"tag":49,"props":968,"children":970},{"className":969},[],[971],{"type":42,"value":972},"references\u002Fjson-patterns.md",{"type":42,"value":974}," when you need ready-to-paste JSON blueprints for common constructs (local variable, node-equality, instance-method call, anonymous class, array creation, super-constructor call, empty class template).",{"type":36,"tag":123,"props":976,"children":977},{},[978,979,985,987,992,993,998,1000,1006],{"type":42,"value":954},{"type":36,"tag":49,"props":980,"children":982},{"className":981},[],[983],{"type":42,"value":984},"references\u002Fcritical-rules.md",{"type":42,"value":986}," when something fails validation and you want the rulebook on ",{"type":36,"tag":49,"props":988,"children":990},{"className":989},[],[991],{"type":42,"value":322},{"type":42,"value":95},{"type":36,"tag":49,"props":994,"children":996},{"className":995},[],[997],{"type":42,"value":218},{"type":42,"value":999},", anonymous classes, mandatory bodies, ",{"type":36,"tag":49,"props":1001,"children":1003},{"className":1002},[],[1004],{"type":42,"value":1005},"FieldReferenceOperation",{"type":42,"value":428},{"type":36,"tag":123,"props":1008,"children":1009},{},[1010,1011,1016,1018,1023],{"type":42,"value":954},{"type":36,"tag":49,"props":1012,"children":1014},{"className":1013},[],[1015],{"type":42,"value":495},{"type":42,"value":1017}," when using ",{"type":36,"tag":49,"props":1019,"children":1021},{"className":1020},[],[1022],{"type":42,"value":62},{"type":42,"value":1024}," and you need binary-expression priority handling, placeholder strategy, or post-insert verification steps.",{"type":36,"tag":123,"props":1026,"children":1027},{},[1028,1029,1035,1037,1042],{"type":42,"value":954},{"type":36,"tag":49,"props":1030,"children":1032},{"className":1031},[],[1033],{"type":42,"value":1034},"references\u002Fstub-references.md",{"type":42,"value":1036}," when you need to point a ",{"type":36,"tag":49,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":42,"value":273},{"type":42,"value":1043}," at a JDK or library member — covers ref derivation, URL encoding, inherited-method handling, and the GET_ASSIGNABLE_REFERENCES fallback.",{"type":36,"tag":123,"props":1045,"children":1046},{},[1047,1048,1054,1056,1061,1063,1069],{"type":42,"value":954},{"type":36,"tag":49,"props":1049,"children":1051},{"className":1050},[],[1052],{"type":42,"value":1053},"references\u002Fjson-ast-workflow.md",{"type":42,"value":1055}," when authoring a non-trivial BaseLanguage root via JSON AST — covers staged skeleton → harvest → patch → validate, plus the ",{"type":36,"tag":49,"props":1057,"children":1059},{"className":1058},[],[1060],{"type":42,"value":218},{"type":42,"value":1062}," vs ",{"type":36,"tag":49,"props":1064,"children":1066},{"className":1065},[],[1067],{"type":42,"value":1068},"InstanceMethodCallOperation",{"type":42,"value":1070}," ref distinction.",{"type":36,"tag":123,"props":1072,"children":1073},{},[1074,1075,1081,1083,1089,1091,1097,1098,1104],{"type":42,"value":954},{"type":36,"tag":49,"props":1076,"children":1078},{"className":1077},[],[1079],{"type":42,"value":1080},"references\u002Ftroubleshooting.md",{"type":42,"value":1082}," when you hit ",{"type":36,"tag":49,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":42,"value":1088},"dryRun",{"type":42,"value":1090}," errors, broken-ref symptoms in generated Java (",{"type":36,"tag":49,"props":1092,"children":1094},{"className":1093},[],[1095],{"type":42,"value":1096},"new ()",{"type":42,"value":95},{"type":36,"tag":49,"props":1099,"children":1101},{"className":1100},[],[1102],{"type":42,"value":1103},"???()",{"type":42,"value":1105},"), stale-ref errors, or \"model checks pass but MAKE fails\".",{"items":1107,"total":1183},[1108,1124,1133,1141,1151,1161,1174],{"slug":1109,"name":1109,"fn":1110,"description":1111,"org":1112,"tags":1113,"stars":16,"repoUrl":17,"updatedAt":1123},"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},[1114,1117,1120],{"name":1115,"slug":1116,"type":15},"Architecture","architecture",{"name":1118,"slug":1119,"type":15},"Configuration","configuration",{"name":1121,"slug":1122,"type":15},"Engineering","engineering","2026-07-17T06:06:57.311661",{"slug":1125,"name":1125,"fn":1126,"description":1127,"org":1128,"tags":1129,"stars":16,"repoUrl":17,"updatedAt":1132},"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},[1130,1131],{"name":1115,"slug":1116,"type":15},{"name":1121,"slug":1122,"type":15},"2026-07-17T06:04:48.066901",{"slug":918,"name":918,"fn":1134,"description":1135,"org":1136,"tags":1137,"stars":16,"repoUrl":17,"updatedAt":1140},"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},[1138,1139],{"name":1115,"slug":1116,"type":15},{"name":1121,"slug":1122,"type":15},"2026-07-13T06:45:21.757084",{"slug":938,"name":938,"fn":1142,"description":1143,"org":1144,"tags":1145,"stars":16,"repoUrl":17,"updatedAt":1150},"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},[1146,1147],{"name":1115,"slug":1116,"type":15},{"name":1148,"slug":1149,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":1152,"name":1152,"fn":1153,"description":1154,"org":1155,"tags":1156,"stars":16,"repoUrl":17,"updatedAt":1160},"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},[1157],{"name":1158,"slug":1159,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":1162,"name":1162,"fn":1163,"description":1164,"org":1165,"tags":1166,"stars":16,"repoUrl":17,"updatedAt":1173},"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},[1167,1170],{"name":1168,"slug":1169,"type":15},"Design","design",{"name":1171,"slug":1172,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":1175,"name":1175,"fn":1176,"description":1177,"org":1178,"tags":1179,"stars":16,"repoUrl":17,"updatedAt":1182},"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},[1180,1181],{"name":1121,"slug":1122,"type":15},{"name":1171,"slug":1172,"type":15},"2026-07-23T05:41:49.666535",31,{"items":1185,"total":1271},[1186,1192,1197,1202,1207,1211,1216,1221,1230,1240,1249,1262],{"slug":1109,"name":1109,"fn":1110,"description":1111,"org":1187,"tags":1188,"stars":16,"repoUrl":17,"updatedAt":1123},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1189,1190,1191],{"name":1115,"slug":1116,"type":15},{"name":1118,"slug":1119,"type":15},{"name":1121,"slug":1122,"type":15},{"slug":1125,"name":1125,"fn":1126,"description":1127,"org":1193,"tags":1194,"stars":16,"repoUrl":17,"updatedAt":1132},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1195,1196],{"name":1115,"slug":1116,"type":15},{"name":1121,"slug":1122,"type":15},{"slug":918,"name":918,"fn":1134,"description":1135,"org":1198,"tags":1199,"stars":16,"repoUrl":17,"updatedAt":1140},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1200,1201],{"name":1115,"slug":1116,"type":15},{"name":1121,"slug":1122,"type":15},{"slug":938,"name":938,"fn":1142,"description":1143,"org":1203,"tags":1204,"stars":16,"repoUrl":17,"updatedAt":1150},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1205,1206],{"name":1115,"slug":1116,"type":15},{"name":1148,"slug":1149,"type":15},{"slug":1152,"name":1152,"fn":1153,"description":1154,"org":1208,"tags":1209,"stars":16,"repoUrl":17,"updatedAt":1160},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1210],{"name":1158,"slug":1159,"type":15},{"slug":1162,"name":1162,"fn":1163,"description":1164,"org":1212,"tags":1213,"stars":16,"repoUrl":17,"updatedAt":1173},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1214,1215],{"name":1168,"slug":1169,"type":15},{"name":1171,"slug":1172,"type":15},{"slug":1175,"name":1175,"fn":1176,"description":1177,"org":1217,"tags":1218,"stars":16,"repoUrl":17,"updatedAt":1182},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1219,1220],{"name":1121,"slug":1122,"type":15},{"name":1171,"slug":1172,"type":15},{"slug":1222,"name":1222,"fn":1223,"description":1224,"org":1225,"tags":1226,"stars":16,"repoUrl":17,"updatedAt":1229},"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},[1227,1228],{"name":1115,"slug":1116,"type":15},{"name":1121,"slug":1122,"type":15},"2026-07-13T06:44:59.507855",{"slug":1231,"name":1231,"fn":1232,"description":1233,"org":1234,"tags":1235,"stars":16,"repoUrl":17,"updatedAt":1239},"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},[1236,1237,1238],{"name":1115,"slug":1116,"type":15},{"name":1148,"slug":1149,"type":15},{"name":1121,"slug":1122,"type":15},"2026-07-17T06:06:58.042999",{"slug":1241,"name":1241,"fn":1242,"description":1243,"org":1244,"tags":1245,"stars":16,"repoUrl":17,"updatedAt":1248},"mps-aspect-intentions","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},[1246,1247],{"name":1115,"slug":1116,"type":15},{"name":1121,"slug":1122,"type":15},"2026-07-23T05:41:48.692899",{"slug":1250,"name":1250,"fn":1251,"description":1252,"org":1253,"tags":1254,"stars":16,"repoUrl":17,"updatedAt":1261},"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},[1255,1258],{"name":1256,"slug":1257,"type":15},"Debugging","debugging",{"name":1259,"slug":1260,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":855,"name":855,"fn":1263,"description":1264,"org":1265,"tags":1266,"stars":16,"repoUrl":17,"updatedAt":1270},"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},[1267],{"name":1268,"slug":1269,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188]