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-actions

Skill by JetBrains

Guides an AI assistant in defining and editing MPS node factories in the actions aspect. Factories initialize new nodes and can copy fields from the node being replaced. Aimed at MPS language developers.

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

Install mps-aspect-actions

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

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

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

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

About

This skill covers MPS node factories in the actions aspect. A NodeFactories root holds one NodeFactory per concept, and each factory has a setup function that initializes a freshly created node. The setup function can copy fields from the replaced sampleNode after narrowing it with ifInstanceOf. The skill also covers the CopyPasteHandlers and PasteWrappers roots in the same aspect.

It lists the implicit parameters of a setup function, including newNode, sampleNode, enclosingNode, index and model. It gives a workflow for creating and validating roots through MPS MCP tools, and it notes which triggers do not fire a factory. It is aimed at developers building MPS languages who need substitutions, completions or add new initialized calls to keep fields from the node being replaced.

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

What it can do

  • NodeFactories root setupCreates a NodeFactories root in the actions model and adds one NodeFactory per concept.
  • Setup function bodiesWrites setup functions that populate a new node and copy properties or child links from sampleNode.
  • Implicit parameter referenceExplains newNode, sampleNode, enclosingNode, index and model and how each is typed or nullable.
  • Copy and paste handlersCovers CopyPasteHandlers and PasteWrappers roots in the actions aspect.
  • MCP-based editingUses mps_mcp_insert_root_node_from_json and mps_mcp_update_node to edit factories rather than hand-editing .mps files.
  • ValidationChecks the NodeFactories root with mps_mcp_check_root_node_problems and rebuilds the language.

What you need

  • MPS language project with an actions model
  • MPS MCP tools available to the assistant
  • Companion skills mps-aspect-editor-menus-and-keymaps and mps-model-manipulation for related tasks

Try asking

  • Add a node factory that copies the name property from the replaced node
  • Create a NodeFactories root for my language's actions aspect
  • Check my NodeFactories root for problems and rebuild the language

Good to know

  • Factories do not fire for quotations, add new root, or pure rendering.
  • The setup function runs before the new node is attached, so parent and ancestors return null.
  • Multiple factories for the same concept are not merged.
  • Edits should go through MPS MCP tools, not hand-edited .mps files.

Security check

A

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

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

Alternatives to mps-aspect-actions

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-actions: common questions

When does an MPS node factory run?

Factories run for editor-driven creation such as substitution, side transformations and replacement. The source says they do not fire for quotations, model.add new root, or pure rendering.

Can a node factory copy fields from the node it replaces?

Yes. Narrow sampleNode with ifInstanceOf, then assign properties and child links onto newNode.

Why is the parent null inside a setup function?

The setup runs before newNode is attached to the model. Use the enclosingNode parameter to get the prospective parent.

How do I install mps-aspect-actions?

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

Is mps-aspect-actions free?

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

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

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

mps-aspect-actions Install

Add to stack

Loading.