CtrlK
BlogDocsLog inGet started
Tessl Logo

mps-aspect-editor-menus-and-keymaps

Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` / `_Named` / `_Contribution`), substitute menus (`SubstituteMenu_Default` / `SubstituteMenu` / contributions), side transforms (LEFT/RIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.

76

Quality

95%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

—

The risk profile of this skill

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tightly engineered reference-skill body: critical directives are all counterintuitive domain gotchas, the workflow is sequenced with validation and diagnosis loops, and the reference index routes to one-level-deep files by task. The only weakness is mild verbosity in the companion-loading paragraph and the long index bullets.

DimensionReasoningScore

Conciseness

The body is dense with non-obvious, project-specific knowledge Claude cannot know (real role names like `conceptDeclaration` vs `applicableConcept`, the empty-default-suppresses gotcha, 'Older docs lie') and wastes no tokens explaining MPS basics. Minor trim candidates exist — the meta-level 'Loading companion skills' paragraph and the very long abstract-style Reference Index bullets — which fits 'efficient; minor instances of over-explanation that could be trimmed' rather than the every-token-earns-its-place anchor.

4 / 5

Actionability

Guidance is fully executable for an instruction skill: named MCP tools per step (`mps_mcp_insert_root_node_from_json`, `mps_mcp_check_root_node_problems`, `mps_mcp_alter_nodes` MAKE), naming templates (`<Concept>_ActionMap`, `<Concept>_<Position>_SubstituteMenu`), exact field and role names, smodel idioms (`node.replace with(...)`), and a copy-and-edit JSON blueprint reference. Per the rubric's scoring note, absence of inline code in an instruction-only skill is not penalized when guidance is this actionable.

5 / 5

Workflow Clarity

The 9-step Common-Path Workflow has a clear sequence with explicit validation checkpoints (step 7 `mps_mcp_check_root_node_problems` on every touched root), interactive testing (step 8), and an explicit feedback/diagnosis loop (step 9 `Ctrl+Alt+B`, plus the common-failures reference), matching the anchor for clear sequence with explicit validation and error recovery.

5 / 5

Progressive Disclosure

The Reference Index uses a consistent 'Open X when Y' routing pattern with a 'Start here — most common case' pointer to `references/landscape.md`; every reference is one level deep and each bullet states what the file contains so the reader can decide whether to open it. This matches the anchor for a clear overview with well-signaled one-level-deep references.

5 / 5

Total

19

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A model description: it states a precise scope, enumerates the concrete artefacts it covers, lists explicit trigger terms in both identifier and prose form, and explicitly routes the complementary layout-side skill away. Third-person, no fluff, no over-claims.

DimensionReasoningScore

Specificity

The description enumerates concrete, specific artefacts and behaviors — action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` / `_Named` / `_Contribution`), substitute menus, side transforms (LEFT/RIGHT), paste wrappers and copy-paste handlers, completion styling, reference presentation, two-step deletion, and the editor selection API — which is comprehensive coverage of the non-layout editor aspect, matching the top anchor rather than the 'minor gaps' anchor below it.

5 / 5

Completeness

It explicitly answers both questions: 'Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action' gives the when, and the enumerated artefact list plus explicit trigger terms give the what, matching the anchor for clear and explicit what AND when with concrete trigger phrases.

5 / 5

Trigger Term Quality

An explicit trigger-term list provides both identifier forms users would actually paste (`actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `PasteWrappers`, `CopyPasteHandlers`) and natural-language synonyms and keystrokes (side transform, paste wrapper, completion styling, `Ctrl+Space`, `Ctrl+Alt+B`), giving comprehensive coverage including synonyms. This is the vocabulary an MPS editor-aspect task naturally surfaces, so it fits the top anchor rather than the 'a few natural terms missing' anchor.

5 / 5

Distinctiveness Conflict Risk

It carves out a clear niche (non-layout editor aspect only) and draws an explicit boundary — 'For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead' — which minimizes overlap with the neighboring editor-aspect skills. Distinct technical triggers like `delete_action_id` and `PasteWrappers` are unlikely to fire for the wrong skill, matching the 'clear niche with distinct triggers' anchor.

5 / 5

Total

20

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

relative_links

Relative link issues: 1 missing

Warning

referenced_paths_exist

Referenced path issues: 26 missing

Warning

Total

13

/

16

Passed

Repository
JetBrains/MPS
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.