Генерация XML-документов и шаблонов в MPS

★ 7.9 · vibe-coding

mps-lang-core-xml is a Claude Code skill that guides authoring XML documents and generator templates inside MPS using the jetbrains.mps.core.xml language. It covers the full document structure — XmlFile, XmlDocument, optional XmlProlog (XML declaration, DOCTYPE, processing instructions, comments), elements, attributes, CDATA, entity references — and explains how to attach macros such as PropertyMacro, LoopMacro, and CopySrcNodeMacro via the smodelAttribute child role for generator templates that emit XML output. The skill includes a concept catalog with exact names, properties, and cardinalities; JSON blueprint patterns ready for use with mps_mcp_insert_root_node_from_json and mps_mcp_update_node; and a rules-and-pitfalls reference addressing issues like the XmlText vs. XmlTextValue property asymmetry. It is intended for MPS language engineers building generators that produce XML artifacts or maintaining XML root nodes within MPS models.