mps-lang-core-xml
Skill by JetBrains
Describes the jetbrains.mps.core.xml language for JetBrains MPS. It helps authors build XML documents and XML-generating generator templates inside MPS models.
Install mps-lang-core-xml
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JetBrains/MPS /tmp/MPS && mkdir -p ~/.claude/skills && cp -r /tmp/MPS/.agents/skills/mps-lang-core-xml ~/.claude/skills/mps-lang-core-xmlRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/JetBrains/MPS /tmp/MPS && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MPS/.agents/skills/mps-lang-core-xml ~/.gemini/antigravity-cli/skills/mps-lang-core-xmlAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The mps-lang-core-xml skill is a reference for the jetbrains.mps.core.xml language in JetBrains MPS. It explains how to author XML documents as MPS root nodes, with an XmlFile holding an XmlDocument, an optional prolog, elements, attributes, CDATA and entity references. It also covers generator templates that emit XML output, using macros attached through the smodelAttribute role.
The skill lists critical directives, a common-path workflow and a reference index. The index points to a concept catalog, JSON blueprint patterns, rules and pitfalls, and language dependencies. It is meant for MPS developers who build XML documents or XML-generating templates and validate them with MPS MCP tools.
Written from the project's SKILL.md and checked against it.
What it can do
- Author XML documentsBuilds XmlFile roots with an XmlDocument, optional XmlProlog, elements and attributes.
- Build XML generator templatesAttaches RootTemplateAnnotation and macros such as PropertyMacro and LoopMacro to template nodes.
- Follow a common-path workflowSteps from adding the language to validating the root node with MPS MCP tools.
- Use JSON blueprint patternsCovers minimal files, DOCTYPE, comments, CDATA, processing instructions and full template examples.
- Check rules and pitfallsExplains property naming differences and base types to extend when subclassing concepts.
- mps_mcp_check_root_node_problemsValidates a root node for problems after changes.
- mps_mcp_insert_root_node_from_jsonCreates a root node from a concrete XML tree written as JSON.
- mps_mcp_update_nodeEdits an existing node when constructing or changing XML trees.
What you need
- JetBrains MPS with the jetbrains.mps.core.xml language
- MPS MCP node tools
Try asking
- Create an XmlFile with a DOCTYPE and a root element for a config document
- Build a generator template that emits XML with a LoopMacro over child nodes
- Check the root node problems for my XML document in MPS
Good to know
- Do not hand-edit serialized .mps files; use MPS MCP node tools for changes
- XmlProlog is optional and must be omitted when not needed
- Companion skills load lazily and depend on the host's skill loader
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/mps-lang-core-xml/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/concept-catalog.md3 KB -
references/json-blueprints.md11 KB -
references/language-dependencies.md628 B -
references/rules-and-pitfalls.md1 KB
Alternatives to mps-lang-core-xml
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
mps-lang-core-xml: common questions
What is the root concept in jetbrains.mps.core.xml?
XmlFile is the only rootable concept. The root element goes in XmlDocument.rootElement, which has cardinality 1.
How are macros used in XML generator templates?
The skill says to attach RootTemplateAnnotation to the XmlFile and attach macros to inner nodes through the smodelAttribute child role.
Can I edit the .mps files directly?
The source says not to hand-edit serialized .mps files and to use MPS MCP node tools for all changes.
How do I install mps-lang-core-xml?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mps-lang-core-xml free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mps-lang-core-xml safe to use?
It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mps-lang-core-xml?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
