[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-mps-lang-core-xml":3,"mdc--ye8z2k-key":35,"related-org-jetbrains-mps-lang-core-xml":650,"related-repo-jetbrains-mps-lang-core-xml":778},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":30,"sourceUrl":33,"mdContent":34},"mps-lang-core-xml","author XML documents in MPS","Use when authoring XML documents as MPS root nodes or building XML-generating generator templates with jetbrains.mps.core.xml — covers XmlFile, XmlDocument, prolog (XML declaration, DOCTYPE, processing instructions, comments), elements, attributes, CDATA, entity references, and macro attachment via the smodelAttribute role for templates that emit XML output.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16,19],{"name":13,"slug":14,"type":15},"Documentation","documentation","tag",{"name":17,"slug":18,"type":15},"XML","xml",{"name":20,"slug":21,"type":15},"Engineering","engineering",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:04:47.273464",null,311,[28,29],"domain-specific-language","dsl",{"repoUrl":23,"stars":22,"forks":26,"topics":31,"description":32},[28,29],"JetBrains Meta programming System","https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS\u002Ftree\u002FHEAD\u002Fplugins\u002Fmcp-tools\u002Fresources\u002Fjetbrains\u002Fmps\u002Fagents\u002Fmcp\u002Fskills\u002Fmps-lang-core-xml","---\nname: mps-lang-core-xml\ndescription: Use when authoring XML documents as MPS root nodes or building XML-generating generator templates with jetbrains.mps.core.xml — covers XmlFile, XmlDocument, prolog (XML declaration, DOCTYPE, processing instructions, comments), elements, attributes, CDATA, entity references, and macro attachment via the smodelAttribute role for templates that emit XML output.\ntype: reference\n---\n\n# jetbrains.mps.core.xml Language\n\n`jetbrains.mps.core.xml` is an MPS language for authoring and generating XML documents inside MPS models. It is used either for **direct XML authoring** (an `XmlFile` root holds a complete document) or for **generator templates** (an `XmlFile` carries `RootTemplateAnnotation` and macros via `smodelAttribute` child roles).\n\n**Language reference:** `l:479c7a8c-02f9-43b5-9139-d910cb22f298:jetbrains.mps.core.xml`\n\n## Critical Directives\n\n- **Wrap everything in `XmlFile → XmlDocument`.** `XmlFile` is the only rootable concept. `XmlDocument.rootElement` has cardinality 1 — put the root there, not in `content`.\n- **`XmlProlog` is optional (`0..1`).** Omit it entirely when no prolog is needed.\n- **Attribute values are lists of `XmlValuePart`.** A plain string is a single `XmlTextValue`. An attribute with no `value` children renders as a valueless (boolean) attribute.\n- **Property name asymmetry:** `XmlText` \u002F `XmlSingleLineText` use the property `value`. `XmlTextValue` (attribute value part) uses the property `text`. Do not swap them.\n- **In generators, macros go in the `smodelAttribute` child role** of the node they annotate — not as siblings in `content` or `attributes`.\n- **Subclass the base types.** Extend `XmlBaseAttribute` (not `XmlAttribute`) and `XmlBaseElement` (not `XmlElement`) when defining custom concepts for derived languages.\n- **Do not hand-edit serialized `.mps` files.** Use MPS MCP node tools for all changes.\n\n## Common-Path Workflow\n\n1. Add `jetbrains.mps.core.xml` as a used language on the target model. For generator templates, also add `jetbrains.mps.lang.generator`.\n2. Create an `XmlFile` root node with a `name`. The `name` is the template\u002Fdocument identifier, not the output filename.\n3. Add an `XmlDocument` child in role `document`. Optionally add an `XmlProlog` for declarations\u002Fcomments\u002FPIs.\n4. Build the document tree under `XmlDocument.rootElement` and the inner `content` lists.\n5. For generator templates, attach `RootTemplateAnnotation` to the `XmlFile` via `smodelAttribute`, and attach macros (`PropertyMacro`, `LoopMacro`, `CopySrcNodeMacro`, …) to inner nodes via their `smodelAttribute` role.\n6. Validate with `mps_mcp_check_root_node_problems`.\n\n## Related Skills\n\n- `mps-aspect-generator` — for generator-side macro design that produces these XML templates.\n- `mps-aspect-textgen` — for the text-serialization layer that turns these XML trees into output files.\n- `mps-node-editing` — generic JSON-blueprint node creation\u002Freplacement workflow.\n\n## Reference Index\n\n- Concept catalog — open when you need exact concept names, properties, cardinalities, or aliases for any document, prolog, element, attribute, or content node. See [references\u002Fconcept-catalog.md](references\u002Fconcept-catalog.md).\n- JSON blueprint patterns — open when constructing or editing concrete XML trees as JSON for `mps_mcp_insert_root_node_from_json`, `mps_mcp_update_node`. Includes minimal files, prolog with declarations, DOCTYPE, comments, attributes, mixed values, CDATA, processing instructions, and a full generator-template example. See [references\u002Fjson-blueprints.md](references\u002Fjson-blueprints.md).\n- Rules and pitfalls — open when a node validates but the rendered XML is wrong, when attribute\u002Fvalue naming feels inconsistent, or before subclassing element\u002Fattribute concepts. See [references\u002Frules-and-pitfalls.md](references\u002Frules-and-pitfalls.md).\n- Language dependencies — open when setting up a new model that uses XML concepts, or when wiring generator templates that mix XML with generator macros. See [references\u002Flanguage-dependencies.md](references\u002Flanguage-dependencies.md).\n",{"data":36,"body":38},{"name":4,"description":6,"type":37},"reference",{"type":39,"children":40},"root",[41,50,108,124,131,368,374,539,545,581,587],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"jetbrainsmpscorexml-language",[47],{"type":48,"value":49},"text","jetbrains.mps.core.xml Language",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54,61,63,69,71,77,79,84,85,90,92,98,100,106],{"type":42,"tag":55,"props":56,"children":58},"code",{"className":57},[],[59],{"type":48,"value":60},"jetbrains.mps.core.xml",{"type":48,"value":62}," is an MPS language for authoring and generating XML documents inside MPS models. It is used either for ",{"type":42,"tag":64,"props":65,"children":66},"strong",{},[67],{"type":48,"value":68},"direct XML authoring",{"type":48,"value":70}," (an ",{"type":42,"tag":55,"props":72,"children":74},{"className":73},[],[75],{"type":48,"value":76},"XmlFile",{"type":48,"value":78}," root holds a complete document) or for ",{"type":42,"tag":64,"props":80,"children":81},{},[82],{"type":48,"value":83},"generator templates",{"type":48,"value":70},{"type":42,"tag":55,"props":86,"children":88},{"className":87},[],[89],{"type":48,"value":76},{"type":48,"value":91}," carries ",{"type":42,"tag":55,"props":93,"children":95},{"className":94},[],[96],{"type":48,"value":97},"RootTemplateAnnotation",{"type":48,"value":99}," and macros via ",{"type":42,"tag":55,"props":101,"children":103},{"className":102},[],[104],{"type":48,"value":105},"smodelAttribute",{"type":48,"value":107}," child roles).",{"type":42,"tag":51,"props":109,"children":110},{},[111,116,118],{"type":42,"tag":64,"props":112,"children":113},{},[114],{"type":48,"value":115},"Language reference:",{"type":48,"value":117}," ",{"type":42,"tag":55,"props":119,"children":121},{"className":120},[],[122],{"type":48,"value":123},"l:479c7a8c-02f9-43b5-9139-d910cb22f298:jetbrains.mps.core.xml",{"type":42,"tag":125,"props":126,"children":128},"h2",{"id":127},"critical-directives",[129],{"type":48,"value":130},"Critical Directives",{"type":42,"tag":132,"props":133,"children":134},"ul",{},[135,175,199,232,278,309,350],{"type":42,"tag":136,"props":137,"children":138},"li",{},[139,152,153,158,160,166,168,174],{"type":42,"tag":64,"props":140,"children":141},{},[142,144,150],{"type":48,"value":143},"Wrap everything in ",{"type":42,"tag":55,"props":145,"children":147},{"className":146},[],[148],{"type":48,"value":149},"XmlFile → XmlDocument",{"type":48,"value":151},".",{"type":48,"value":117},{"type":42,"tag":55,"props":154,"children":156},{"className":155},[],[157],{"type":48,"value":76},{"type":48,"value":159}," is the only rootable concept. ",{"type":42,"tag":55,"props":161,"children":163},{"className":162},[],[164],{"type":48,"value":165},"XmlDocument.rootElement",{"type":48,"value":167}," has cardinality 1 — put the root there, not in ",{"type":42,"tag":55,"props":169,"children":171},{"className":170},[],[172],{"type":48,"value":173},"content",{"type":48,"value":151},{"type":42,"tag":136,"props":176,"children":177},{},[178,197],{"type":42,"tag":64,"props":179,"children":180},{},[181,187,189,195],{"type":42,"tag":55,"props":182,"children":184},{"className":183},[],[185],{"type":48,"value":186},"XmlProlog",{"type":48,"value":188}," is optional (",{"type":42,"tag":55,"props":190,"children":192},{"className":191},[],[193],{"type":48,"value":194},"0..1",{"type":48,"value":196},").",{"type":48,"value":198}," Omit it entirely when no prolog is needed.",{"type":42,"tag":136,"props":200,"children":201},{},[202,214,216,222,224,230],{"type":42,"tag":64,"props":203,"children":204},{},[205,207,213],{"type":48,"value":206},"Attribute values are lists of ",{"type":42,"tag":55,"props":208,"children":210},{"className":209},[],[211],{"type":48,"value":212},"XmlValuePart",{"type":48,"value":151},{"type":48,"value":215}," A plain string is a single ",{"type":42,"tag":55,"props":217,"children":219},{"className":218},[],[220],{"type":48,"value":221},"XmlTextValue",{"type":48,"value":223},". An attribute with no ",{"type":42,"tag":55,"props":225,"children":227},{"className":226},[],[228],{"type":48,"value":229},"value",{"type":48,"value":231}," children renders as a valueless (boolean) attribute.",{"type":42,"tag":136,"props":233,"children":234},{},[235,240,241,247,249,255,257,262,264,269,271,276],{"type":42,"tag":64,"props":236,"children":237},{},[238],{"type":48,"value":239},"Property name asymmetry:",{"type":48,"value":117},{"type":42,"tag":55,"props":242,"children":244},{"className":243},[],[245],{"type":48,"value":246},"XmlText",{"type":48,"value":248}," \u002F ",{"type":42,"tag":55,"props":250,"children":252},{"className":251},[],[253],{"type":48,"value":254},"XmlSingleLineText",{"type":48,"value":256}," use the property ",{"type":42,"tag":55,"props":258,"children":260},{"className":259},[],[261],{"type":48,"value":229},{"type":48,"value":263},". ",{"type":42,"tag":55,"props":265,"children":267},{"className":266},[],[268],{"type":48,"value":221},{"type":48,"value":270}," (attribute value part) uses the property ",{"type":42,"tag":55,"props":272,"children":274},{"className":273},[],[275],{"type":48,"value":48},{"type":48,"value":277},". Do not swap them.",{"type":42,"tag":136,"props":279,"children":280},{},[281,293,295,300,302,308],{"type":42,"tag":64,"props":282,"children":283},{},[284,286,291],{"type":48,"value":285},"In generators, macros go in the ",{"type":42,"tag":55,"props":287,"children":289},{"className":288},[],[290],{"type":48,"value":105},{"type":48,"value":292}," child role",{"type":48,"value":294}," of the node they annotate — not as siblings in ",{"type":42,"tag":55,"props":296,"children":298},{"className":297},[],[299],{"type":48,"value":173},{"type":48,"value":301}," or ",{"type":42,"tag":55,"props":303,"children":305},{"className":304},[],[306],{"type":48,"value":307},"attributes",{"type":48,"value":151},{"type":42,"tag":136,"props":310,"children":311},{},[312,317,319,325,327,333,335,341,342,348],{"type":42,"tag":64,"props":313,"children":314},{},[315],{"type":48,"value":316},"Subclass the base types.",{"type":48,"value":318}," Extend ",{"type":42,"tag":55,"props":320,"children":322},{"className":321},[],[323],{"type":48,"value":324},"XmlBaseAttribute",{"type":48,"value":326}," (not ",{"type":42,"tag":55,"props":328,"children":330},{"className":329},[],[331],{"type":48,"value":332},"XmlAttribute",{"type":48,"value":334},") and ",{"type":42,"tag":55,"props":336,"children":338},{"className":337},[],[339],{"type":48,"value":340},"XmlBaseElement",{"type":48,"value":326},{"type":42,"tag":55,"props":343,"children":345},{"className":344},[],[346],{"type":48,"value":347},"XmlElement",{"type":48,"value":349},") when defining custom concepts for derived languages.",{"type":42,"tag":136,"props":351,"children":352},{},[353,366],{"type":42,"tag":64,"props":354,"children":355},{},[356,358,364],{"type":48,"value":357},"Do not hand-edit serialized ",{"type":42,"tag":55,"props":359,"children":361},{"className":360},[],[362],{"type":48,"value":363},".mps",{"type":48,"value":365}," files.",{"type":48,"value":367}," Use MPS MCP node tools for all changes.",{"type":42,"tag":125,"props":369,"children":371},{"id":370},"common-path-workflow",[372],{"type":48,"value":373},"Common-Path Workflow",{"type":42,"tag":375,"props":376,"children":377},"ol",{},[378,397,424,452,471,527],{"type":42,"tag":136,"props":379,"children":380},{},[381,383,388,390,396],{"type":48,"value":382},"Add ",{"type":42,"tag":55,"props":384,"children":386},{"className":385},[],[387],{"type":48,"value":60},{"type":48,"value":389}," as a used language on the target model. For generator templates, also add ",{"type":42,"tag":55,"props":391,"children":393},{"className":392},[],[394],{"type":48,"value":395},"jetbrains.mps.lang.generator",{"type":48,"value":151},{"type":42,"tag":136,"props":398,"children":399},{},[400,402,407,409,415,417,422],{"type":48,"value":401},"Create an ",{"type":42,"tag":55,"props":403,"children":405},{"className":404},[],[406],{"type":48,"value":76},{"type":48,"value":408}," root node with a ",{"type":42,"tag":55,"props":410,"children":412},{"className":411},[],[413],{"type":48,"value":414},"name",{"type":48,"value":416},". The ",{"type":42,"tag":55,"props":418,"children":420},{"className":419},[],[421],{"type":48,"value":414},{"type":48,"value":423}," is the template\u002Fdocument identifier, not the output filename.",{"type":42,"tag":136,"props":425,"children":426},{},[427,429,435,437,443,445,450],{"type":48,"value":428},"Add an ",{"type":42,"tag":55,"props":430,"children":432},{"className":431},[],[433],{"type":48,"value":434},"XmlDocument",{"type":48,"value":436}," child in role ",{"type":42,"tag":55,"props":438,"children":440},{"className":439},[],[441],{"type":48,"value":442},"document",{"type":48,"value":444},". Optionally add an ",{"type":42,"tag":55,"props":446,"children":448},{"className":447},[],[449],{"type":48,"value":186},{"type":48,"value":451}," for declarations\u002Fcomments\u002FPIs.",{"type":42,"tag":136,"props":453,"children":454},{},[455,457,462,464,469],{"type":48,"value":456},"Build the document tree under ",{"type":42,"tag":55,"props":458,"children":460},{"className":459},[],[461],{"type":48,"value":165},{"type":48,"value":463}," and the inner ",{"type":42,"tag":55,"props":465,"children":467},{"className":466},[],[468],{"type":48,"value":173},{"type":48,"value":470}," lists.",{"type":42,"tag":136,"props":472,"children":473},{},[474,476,481,483,488,490,495,497,503,505,511,512,518,520,525],{"type":48,"value":475},"For generator templates, attach ",{"type":42,"tag":55,"props":477,"children":479},{"className":478},[],[480],{"type":48,"value":97},{"type":48,"value":482}," to the ",{"type":42,"tag":55,"props":484,"children":486},{"className":485},[],[487],{"type":48,"value":76},{"type":48,"value":489}," via ",{"type":42,"tag":55,"props":491,"children":493},{"className":492},[],[494],{"type":48,"value":105},{"type":48,"value":496},", and attach macros (",{"type":42,"tag":55,"props":498,"children":500},{"className":499},[],[501],{"type":48,"value":502},"PropertyMacro",{"type":48,"value":504},", ",{"type":42,"tag":55,"props":506,"children":508},{"className":507},[],[509],{"type":48,"value":510},"LoopMacro",{"type":48,"value":504},{"type":42,"tag":55,"props":513,"children":515},{"className":514},[],[516],{"type":48,"value":517},"CopySrcNodeMacro",{"type":48,"value":519},", …) to inner nodes via their ",{"type":42,"tag":55,"props":521,"children":523},{"className":522},[],[524],{"type":48,"value":105},{"type":48,"value":526}," role.",{"type":42,"tag":136,"props":528,"children":529},{},[530,532,538],{"type":48,"value":531},"Validate with ",{"type":42,"tag":55,"props":533,"children":535},{"className":534},[],[536],{"type":48,"value":537},"mps_mcp_check_root_node_problems",{"type":48,"value":151},{"type":42,"tag":125,"props":540,"children":542},{"id":541},"related-skills",[543],{"type":48,"value":544},"Related Skills",{"type":42,"tag":132,"props":546,"children":547},{},[548,559,570],{"type":42,"tag":136,"props":549,"children":550},{},[551,557],{"type":42,"tag":55,"props":552,"children":554},{"className":553},[],[555],{"type":48,"value":556},"mps-aspect-generator",{"type":48,"value":558}," — for generator-side macro design that produces these XML templates.",{"type":42,"tag":136,"props":560,"children":561},{},[562,568],{"type":42,"tag":55,"props":563,"children":565},{"className":564},[],[566],{"type":48,"value":567},"mps-aspect-textgen",{"type":48,"value":569}," — for the text-serialization layer that turns these XML trees into output files.",{"type":42,"tag":136,"props":571,"children":572},{},[573,579],{"type":42,"tag":55,"props":574,"children":576},{"className":575},[],[577],{"type":48,"value":578},"mps-node-editing",{"type":48,"value":580}," — generic JSON-blueprint node creation\u002Freplacement workflow.",{"type":42,"tag":125,"props":582,"children":584},{"id":583},"reference-index",[585],{"type":48,"value":586},"Reference Index",{"type":42,"tag":132,"props":588,"children":589},{},[590,602,628,639],{"type":42,"tag":136,"props":591,"children":592},{},[593,595,601],{"type":48,"value":594},"Concept catalog — open when you need exact concept names, properties, cardinalities, or aliases for any document, prolog, element, attribute, or content node. See ",{"type":42,"tag":596,"props":597,"children":599},"a",{"href":598},"references\u002Fconcept-catalog.md",[600],{"type":48,"value":598},{"type":48,"value":151},{"type":42,"tag":136,"props":603,"children":604},{},[605,607,613,614,620,622,627],{"type":48,"value":606},"JSON blueprint patterns — open when constructing or editing concrete XML trees as JSON for ",{"type":42,"tag":55,"props":608,"children":610},{"className":609},[],[611],{"type":48,"value":612},"mps_mcp_insert_root_node_from_json",{"type":48,"value":504},{"type":42,"tag":55,"props":615,"children":617},{"className":616},[],[618],{"type":48,"value":619},"mps_mcp_update_node",{"type":48,"value":621},". Includes minimal files, prolog with declarations, DOCTYPE, comments, attributes, mixed values, CDATA, processing instructions, and a full generator-template example. See ",{"type":42,"tag":596,"props":623,"children":625},{"href":624},"references\u002Fjson-blueprints.md",[626],{"type":48,"value":624},{"type":48,"value":151},{"type":42,"tag":136,"props":629,"children":630},{},[631,633,638],{"type":48,"value":632},"Rules and pitfalls — open when a node validates but the rendered XML is wrong, when attribute\u002Fvalue naming feels inconsistent, or before subclassing element\u002Fattribute concepts. See ",{"type":42,"tag":596,"props":634,"children":636},{"href":635},"references\u002Frules-and-pitfalls.md",[637],{"type":48,"value":635},{"type":48,"value":151},{"type":42,"tag":136,"props":640,"children":641},{},[642,644,649],{"type":48,"value":643},"Language dependencies — open when setting up a new model that uses XML concepts, or when wiring generator templates that mix XML with generator macros. See ",{"type":42,"tag":596,"props":645,"children":647},{"href":646},"references\u002Flanguage-dependencies.md",[648],{"type":48,"value":646},{"type":48,"value":151},{"items":651,"total":777},[652,666,675,684,695,705,718,727,736,745,754,767],{"slug":653,"name":653,"fn":654,"description":655,"org":656,"tags":657,"stars":22,"repoUrl":23,"updatedAt":665},"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},[658,661,664],{"name":659,"slug":660,"type":15},"Architecture","architecture",{"name":662,"slug":663,"type":15},"Configuration","configuration",{"name":20,"slug":21,"type":15},"2026-07-17T06:06:57.311661",{"slug":667,"name":667,"fn":668,"description":669,"org":670,"tags":671,"stars":22,"repoUrl":23,"updatedAt":674},"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},[672,673],{"name":659,"slug":660,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:04:48.066901",{"slug":676,"name":676,"fn":677,"description":678,"org":679,"tags":680,"stars":22,"repoUrl":23,"updatedAt":683},"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},[681,682],{"name":659,"slug":660,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:45:21.757084",{"slug":685,"name":685,"fn":686,"description":687,"org":688,"tags":689,"stars":22,"repoUrl":23,"updatedAt":694},"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},[690,691],{"name":659,"slug":660,"type":15},{"name":692,"slug":693,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":696,"name":696,"fn":697,"description":698,"org":699,"tags":700,"stars":22,"repoUrl":23,"updatedAt":704},"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},[701],{"name":702,"slug":703,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":706,"name":706,"fn":707,"description":708,"org":709,"tags":710,"stars":22,"repoUrl":23,"updatedAt":717},"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},[711,714],{"name":712,"slug":713,"type":15},"Design","design",{"name":715,"slug":716,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":719,"name":719,"fn":720,"description":721,"org":722,"tags":723,"stars":22,"repoUrl":23,"updatedAt":726},"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},[724,725],{"name":20,"slug":21,"type":15},{"name":715,"slug":716,"type":15},"2026-07-23T05:41:49.666535",{"slug":728,"name":728,"fn":729,"description":730,"org":731,"tags":732,"stars":22,"repoUrl":23,"updatedAt":735},"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},[733,734],{"name":659,"slug":660,"type":15},{"name":20,"slug":21,"type":15},"2026-07-13T06:44:59.507855",{"slug":556,"name":556,"fn":737,"description":738,"org":739,"tags":740,"stars":22,"repoUrl":23,"updatedAt":744},"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},[741,742,743],{"name":659,"slug":660,"type":15},{"name":692,"slug":693,"type":15},{"name":20,"slug":21,"type":15},"2026-07-17T06:06:58.042999",{"slug":746,"name":746,"fn":747,"description":748,"org":749,"tags":750,"stars":22,"repoUrl":23,"updatedAt":753},"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},[751,752],{"name":659,"slug":660,"type":15},{"name":20,"slug":21,"type":15},"2026-07-23T05:41:48.692899",{"slug":755,"name":755,"fn":756,"description":757,"org":758,"tags":759,"stars":22,"repoUrl":23,"updatedAt":766},"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},[760,763],{"name":761,"slug":762,"type":15},"Debugging","debugging",{"name":764,"slug":765,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":768,"name":768,"fn":769,"description":770,"org":771,"tags":772,"stars":22,"repoUrl":23,"updatedAt":776},"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},[773],{"name":774,"slug":775,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":779,"total":815},[780,786,791,796,801,805,810],{"slug":653,"name":653,"fn":654,"description":655,"org":781,"tags":782,"stars":22,"repoUrl":23,"updatedAt":665},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[783,784,785],{"name":659,"slug":660,"type":15},{"name":662,"slug":663,"type":15},{"name":20,"slug":21,"type":15},{"slug":667,"name":667,"fn":668,"description":669,"org":787,"tags":788,"stars":22,"repoUrl":23,"updatedAt":674},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[789,790],{"name":659,"slug":660,"type":15},{"name":20,"slug":21,"type":15},{"slug":676,"name":676,"fn":677,"description":678,"org":792,"tags":793,"stars":22,"repoUrl":23,"updatedAt":683},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[794,795],{"name":659,"slug":660,"type":15},{"name":20,"slug":21,"type":15},{"slug":685,"name":685,"fn":686,"description":687,"org":797,"tags":798,"stars":22,"repoUrl":23,"updatedAt":694},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[799,800],{"name":659,"slug":660,"type":15},{"name":692,"slug":693,"type":15},{"slug":696,"name":696,"fn":697,"description":698,"org":802,"tags":803,"stars":22,"repoUrl":23,"updatedAt":704},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[804],{"name":702,"slug":703,"type":15},{"slug":706,"name":706,"fn":707,"description":708,"org":806,"tags":807,"stars":22,"repoUrl":23,"updatedAt":717},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[808,809],{"name":712,"slug":713,"type":15},{"name":715,"slug":716,"type":15},{"slug":719,"name":719,"fn":720,"description":721,"org":811,"tags":812,"stars":22,"repoUrl":23,"updatedAt":726},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[813,814],{"name":20,"slug":21,"type":15},{"name":715,"slug":716,"type":15},31]