mps-aspect-intentions
Skill by JetBrains
Guides authoring of MPS intentions, the Alt+Enter context actions in JetBrains MPS languages. Aimed at developers who define, edit or debug intention roots in a language's intentions model.
Install mps-aspect-intentions
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-intentions ~/.claude/skills/mps-aspect-intentionsRun 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-aspect-intentions ~/.gemini/antigravity-cli/skills/mps-aspect-intentionsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install mps-aspect-intentions in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers the MPS intentions aspect, the user-invoked transformations shown in the Alt+Enter popup on a node. It explains how to add IntentionDeclaration roots, parameterized and surround-with variants, and the description, isApplicable, execute and child-filter blocks. It also covers factory-initialized AST splicing and a checklist for why an intention is not offered.
The skill points the assistant to MPS MCP tools for inserting, updating and validating roots, and for rebuilding the language. It lists the used languages required for each block, the implicit parameters available in each block, and reference files for blueprints, execute idioms and common failures. It is written for developers building or maintaining languages in JetBrains MPS.
Written from the project's SKILL.md and checked against it.
What it can do
- Intention root authoringAdds IntentionDeclaration roots with name, forConcept and child availability settings.
- Parameterized intentionsSets up ParameterizedIntentionDeclaration with paramType and queryFunction for multiple menu entries.
- Surround-with intentionsCovers SurroundWithIntentionDeclaration that wraps the selected nodes.
- Block wiringExplains descriptionFunction, isApplicableFunction, executeFunction and childFilterFunction.
- Factory-initialized splicingDescribes allocating nodes with NodeFactory defaults using add new initialized.
- Headless smoke testingUses mps_mcp_list_node_intentions and mps_mcp_apply_intention to check registration and execution.
- Failure diagnosisProvides a symptom, cause and fix table for intentions that do not appear or misfire.
What you need
- JetBrains MPS with MPS MCP tools available to the assistant
- A language with an intentions model
Try asking
- Add an intention to my language that wraps the selected nodes in parentheses
- Why is my Alt+Enter intention not showing on this MPS node?
- Write a parameterized intention that sets cardinality from a query function
Good to know
- Surround-with intentions are not covered by the headless smoke-test tools.
- Companion skills must be loaded from the same origin, following the host skill loader rules.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/mps-aspect-intentions/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mps-aspect-intentions
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-aspect-intentions: common questions
What is an MPS intention?
The source describes intentions as user-invoked transformations shown in the Alt+Enter popup on a node, used for optional refactorings like wrap, convert, introduce or preview.
Which MCP tools does this skill use?
It references mps_mcp_insert_root_node_from_json, mps_mcp_update_node, mps_mcp_parse_java_and_insert, mps_mcp_check_root_node_problems, mps_mcp_create_model, mps_mcp_model_used_language, mps_mcp_list_node_intentions and mps_mcp_apply_intention.
Should I edit the intention files by hand?
No. The source says to edit intention roots through MPS MCP tools and not to hand-edit serialized .mps files.
How do I install mps-aspect-intentions?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is mps-aspect-intentions free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is mps-aspect-intentions 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-intentions?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
