mps-distribution-build
Skill by JetBrains
Explains how the generated Ant scripts build MPS distribution archives and how to bundle a new plain Java/Kotlin plugin into them. Aimed at developers working on the MPS build.
Install mps-distribution-build
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-distribution-build ~/.claude/skills/mps-distribution-buildRun 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/.claude/skills/mps-distribution-build ~/.gemini/antigravity-cli/skills/mps-distribution-buildAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mps-distribution-build in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The mps-distribution-build skill explains how the generated Ant scripts under build/mps*.xml assemble MPS distribution archives. It covers the Ant pipeline, plugin-to-distribution wiring, and the per-plugin, aggregator and distribution layers. It also describes how to add a new plain Java/Kotlin plugin so it ends up in the produced archives.
The skill tells the assistant to edit the source model at plugins/mps-build/solutions/mpsBuild/models/build.mps and regenerate the Ant files, rather than hand-editing them. It outlines a workflow: author a BuildProject, wire it into the mps aggregator and mpsDistribution.xml, run a single-project assemble as a smoke step, then run the full build. It is aimed at developers maintaining the MPS build.
Written from the project's SKILL.md and checked against it.
What it can do
- Bundle a new pluginGuides adding a plain Java/Kotlin plugin module so it appears in the distribution archives.
- Author build.mpsDescribes adding a BuildProject with the right BuildLayout and dependencies in the source model.
- Wire into aggregatorExplains editing the mps aggregator and mpsDistribution.xml so the new plugin is included.
- Debug packaging layoutHelps trace where per-plugin artefacts end up and find which layer dropped a plugin.
- Validate buildsDescribes a single-project assemble smoke step before running the full build script.
- Test-only wiringExplains adding a sibling test-only BuildProject for a plugin's test source root.
What you need
- Apache Ant
- An MPS source checkout with the build directory
- Ivy-based platform fetch via build/build.xml platform
Try asking
- Bundle my plugins/mcp-tools module into the MPS distribution archives
- Why is my plugin missing from the final MPS zip?
- Show me how to wire a new BuildProject into mpsDistribution.xml
Good to know
- Generated build/mps*.xml files should not be hand-edited as a permanent fix.
- IDEA platform jars are not present on a clean checkout until build.xml platform runs.
- The test/ source root is not part of the production jar.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/mps-distribution-build/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mps-distribution-build
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-distribution-build: common questions
Should I edit the generated Ant files directly?
No. The source says the build/mps*.xml files are generated, so changes should be made in build.mps and regenerated.
Why is my plugin built but not in the distribution?
The source says a per-plugin BuildProject must also be wired into the mps aggregator and mpsDistribution, otherwise it never enters the final zip.
Where do IDEA plugin jars come from?
They are fetched by build.xml platform through Ivy and placed under the MPS lib and plugins folders.
How do I install mps-distribution-build?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mps-distribution-build free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mps-distribution-build safe to use?
It scores 79 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-distribution-build?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
