Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

mps-aspect-migrations

Skill by JetBrains

Guides authoring and debugging JetBrains MPS migration scripts that upgrade user models after a language definition changes. Covers lang.migration and lang.script Enhancement Scripts for renames, moves, removals and instance updates. Aimed at MPS language developers.

  • Score 79
  • 1.7k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install mps-aspect-migrations

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-aspect-migrations ~/.claude/skills/mps-aspect-migrations

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install mps-aspect-migrations in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The mps-aspect-migrations skill is a reference for migrations in JetBrains MPS. It covers changes to a language whose concepts already have instances, and the migration scripts that upgrade user models when a language definition changes. It describes two languages: jetbrains.mps.lang.migration for structural refactorings such as concept moves, renames and removed concepts, and jetbrains.mps.lang.script for Enhancement Scripts that transform existing instances.

The skill helps choose between PureMigrationScript, MigrationScript and Enhancement Scripts. It explains fromVersion handling, SYNC_VERSION, module rebuilds, and running migrations with a CHECK step before APPLY. It is aimed at MPS language developers who write or debug migration scripts and need published languages to stay compatible with existing models. It points to companion skills for typesystem, constraints, generator, quotations and model manipulation.

Written from the project's SKILL.md and checked against it.

What it can do

  • Form selectionHelps pick PureMigrationScript, MigrationScript or an Enhancement Script for a given language change.
  • Declarative migrationsCovers PureMigrationScript moves and renames of concepts, links and properties, with IncludeMigrationPart composition.
  • Programmatic migrationsCovers class-based MigrationScript execute bodies, including per-instance sweeps and ConceptMigrationReference.
  • Enhancement ScriptsCovers on-demand instance-level transformations in jetbrains.mps.lang.script that are not version-gated.
  • Ordering and data flowExplains OrderDependency and putData/getData for running steps in order and passing values between them.
  • mps_mcp_create_modelCreates the <language.fqn>.migration or <language.fqn>.scripts model with the required aspect ID.
  • mps_mcp_update_moduleRuns SYNC_VERSION to derive the language version from the migration scripts.
  • mps_mcp_check_root_node_problemsValidates migration scripts and reports problems before the language module is built.
  • mps_mcp_run_migrationsRuns CHECK to list pending scripts and blockers, then APPLY to run the migrations.
  • Deprecate-and-replace guidanceCovers safe versus breaking language changes for published languages with existing instances.

What you need

  • JetBrains MPS with the MPS MCP node tools
  • The jetbrains.mps.lang.migration and jetbrains.mps.lang.script languages

Try asking

  • Rename a property in my language and write a migration script for existing models
  • Check whether deleting this concept from my published language is safe
  • Create a migration model for my language and sync its version

Good to know

  • Migration scripts must not be hand-edited in the .mpl or serialized .mps files; use the MPS MCP node tools.
  • A version change is not effective for migration until the language module is rebuilt.
  • Running pending migrations force-saves every project module, so review wouldForceSaveModules first.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/mps-aspect-migrations/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to mps-aspect-migrations

All alternatives →
openclaw-github-repo-commandersickn33
94

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.

AAA Skill 50k
gradiogradio-app
94

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.

AAA Skill 44k
hig-components-menussickn33
94

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.

AAA Skill 50k
fastapi-templateswshobson
94

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.

AAA Skill 43k
appfunctionsandroid
94

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.

AAA Skill 11k
agent-qa-authoringsickn33
94

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.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

mps-aspect-migrations: common questions

What is the difference between the two MigrationScript concepts?

One is in jetbrains.mps.lang.migration and is a version-gated, class-based script. The other, called Enhancement Script, is in jetbrains.mps.lang.script and is an instance-level transformer.

Why does the migration not run after I changed the version?

The migration executor reads the version from the generated LanguageRuntime, so the language module must be rebuilt after the version changes.

Which script type should I use for renaming a concept?

The skill recommends PureMigrationScript for structural moves, renames and removals.

How do I install mps-aspect-migrations?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is mps-aspect-migrations free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is mps-aspect-migrations 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-aspect-migrations?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

mps-aspect-migrations Install

Add to stack

Loading.