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

Skill by JetBrains

Guides authoring and debugging of MPS typesystem rules, including inference, subtyping, checking rules and quick fixes. Written for developers building languages in JetBrains MPS.

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

Install mps-aspect-typesystem

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

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

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

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

About

This skill is a reference for the typesystem aspect of JetBrains MPS languages. It covers inference rules, subtyping and comparison rules, inequation replacement and substitute type rules, when concrete blocks, non-typesystem checking rules, and quick fixes attached to error, warning and info reports. Rules live in the typesystem model at languageModels/typesystem.mps.

The skill tells the assistant to query the compiled typesystem with mps_mcp_query_types and mps_mcp_query_nodes before writing rules. It recommends validating edits with mps_mcp_check_root_node_problems, compiling the language, and testing on sample models. It points to reference files and companion skills. It is aimed at developers who write or debug typesystems in MPS.

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

What it can do

  • Inference rulesWrite InferenceRule roots that compute node types using typeof with equation and inequation operators.
  • Lattice rulesDefine SubtypingRule, ComparisonRule, InequationReplacementRule and SubstituteTypeRule roots for the type lattice.
  • When concrete blocksDefer a rule until the type is fully resolved using WhenConcreteStatement blocks.
  • Checking rulesProduce errors, warnings and messages with NonTypesystemRule checks that do not affect inference.
  • Quick fixesAuthor TypesystemQuickFix roots and wire them into reports through helginsIntention.
  • Query the typesystemUse mps_mcp_query_types and mps_mcp_query_nodes to check subtype relations and node types.
  • Validate editsRun mps_mcp_check_root_node_problems after edits and apply quick fixes with mps_mcp_apply_intention.
  • Sandbox verificationTest a rule change in a scratch model and compare results before and after the change.

What you need

  • JetBrains MPS with access to the MPS MCP tools
  • Companion skills mps-mcp-workflow and mps-node-editing for some steps

Try asking

  • Write an InferenceRule that types my StringLiteral concept in the typesystem model
  • Why does my expression type stay undefined? Check the typesystem rules
  • Add a quick fix to this warning and wire it through helginsIntention

Good to know

  • Do not hand-edit .mps files; edits go through the MPS MCP tools
  • Companion skills load only from the same origin as this skill
  • Quick fixes run only when the user triggers them, unless auto-apply is enabled

Security check

A

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

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

Alternatives to mps-aspect-typesystem

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

What is the typesystem aspect in MPS?

The typesystem aspect gives nodes types and reports semantic errors. It is split into typesystem rules that compute types and non-typesystem checking rules that report problems.

Where do typesystem rules live?

They live in <lang>/languageModels/typesystem.mps, in the language jetbrains.mps.lang.typesystem.

How are quick fixes run?

TypesystemQuickFix roots are not executed automatically. The user triggers them through the UI, or they are applied through mps_mcp_apply_intention.

How do I install mps-aspect-typesystem?

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

Is mps-aspect-typesystem free?

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

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

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

mps-aspect-typesystem Install

Add to stack

Loading.