Сборка и упаковка плагинов MPS

★ 7.9 · vibe-coding

mps-distribution-build is a Claude Code skill that guides bundling new plain Java/Kotlin plugins into MPS distribution archives, debugging layout issues in `build/mps*.xml`, and tracing where per-plugin artifacts end up. It covers the full generated Ant pipeline: authoring changes in `plugins/mps-build/solutions/mpsBuild/models/build.mps` — the single source of truth that generates every `build/mps*.xml` — then wiring the plugin through the `mps` aggregator `BuildProject` and `mpsDistribution`. Key operations include declaring the right `BuildProject` with Java/Kotlin source roots, regenerating scripts, and running a smoke step with `ant -f build/<projectName>.xml assemble` before the full `build/run_build.sh`. The skill flags critical traps: generated Ant files must never be hand-edited permanently, IDEA-platform jars require a prior `ant -f build/build.xml platform` run, and a plugin that builds into `build/artifacts/` will never reach the final zip without explicit aggregator wiring. Aimed at developers extending MPS with custom plugins and maintaining the distribution build pipeline.