mps-language-modularity
Skill by JetBrains
Guides design decisions for how multiple MPS languages relate, including referencing, extension, reuse and embedding. Routes each choice into the matching mps-aspect skills. Aimed at MPS language engineers designing multi-language work.
Install mps-language-modularity
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/.claude/skills/mps-language-modularity ~/.claude/skills/mps-language-modularityRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install mps-language-modularity in Claude Code
git clone --depth 1 https://github.com/JetBrains/MPS /tmp/MPS && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/MPS/.claude/skills/mps-language-modularity ~/.gemini/antigravity-cli/skills/mps-language-modularityAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mps-language-modularity in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a design-level reference for multi-language work in JetBrains MPS. It uses a 2x2 modularity taxonomy, adapted from Markus Voelter's work, to choose between referencing, extension, reuse and embedding. A decision procedure asks whether new constructs must be written inline and whether the new language may depend on the other one. Each kind has its own recipe covering references and search scopes, subconcepting, abstract hooks, adapter languages, composition languages and type bridges. The skill also covers an annotations escape hatch and a per-kind validation checklist. It is meant for MPS developers who need one language to see, extend, embed or adapt another, and it points to companion aspect and test skills for implementation.
Written from the project's SKILL.md and checked against it.
What it can do
- Modularity decision procedureWalks through two questions to pick referencing, extension, reuse or embedding.
- Referencing recipeCovers cross-language references, search scopes and behavior naming contracts.
- Extension recipeCovers subconcepts, overloaded operations and assimilation or weaving generators.
- Reuse recipeCovers abstract hooks, adapter languages and separated or interwoven generation.
- Embedding recipeCovers composition languages, narrow scopes and host and guest type bridges.
- Annotations escape hatchExplains attaching metadata to nodes without composing semantics.
- Per-kind validation checklistLists semantic seams to test for each modularity kind.
- Skill routingPoints to mps-aspect-* skills and mps-tests for implementation after a strategy is chosen.
What you need
- MPS MCP tools to implement the artifacts
- Companion mps-aspect-* skills loaded from the same catalog
Try asking
- Should my new MPS language reference or extend the base language?
- Help me choose between embedding and reuse for my expression language.
- Give me a validation checklist for a host and guest language setup.
Good to know
- Code snippets are illustrative pseudo-syntax, not runnable code.
- Companion skills must be loaded through the host's skill loader when served from an MCP server.
- Projectional MPS means parser-style tests are mostly irrelevant.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/mps-language-modularity/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mps-language-modularity
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
mps-language-modularity: common questions
When should I choose extension over embedding in MPS?
The source says that if the guest does not need to stay independent, extension is materially cheaper than embedding, so extension is preferred in that case.
What is the difference between referencing and extension?
Referencing keeps fragments separate and points into another language's nodes. Extension writes new concepts inline by subtyping base concepts.
Does this skill write MPS files directly?
No. The source says artifacts should be implemented through MPS MCP tools and the linked aspect skills, never by hand-editing .mps files.
How do I install mps-language-modularity?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mps-language-modularity free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mps-language-modularity safe to use?
It scores 78 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-language-modularity?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
