Намерения и рефакторинг в MPS-аспектах
★ 7.9 · vibe-coding
mps-aspect-intentions is a Claude Code skill that guides authoring and editing the intentions aspect of MPS languages — inserting IntentionDeclaration roots, wiring descriptionFunction, isApplicableFunction, and executeFunction blocks, and building parameterized or surround-with variants. The skill covers the full workflow: creating the intentions model via mps_mcp_create_model, inserting roots with mps_mcp_insert_root_node_from_json, managing used languages (including jetbrains.mps.lang.actions for factory-initialized AST splicing), and validating with mps_mcp_check_root_node_problems before rebuilding. It enforces correct MPS idioms — n as C type casts instead of Java-style casts, :eq: comparisons instead of == for nullable operands, and EDT constraints in execute bodies. Intended for MPS language engineers implementing optional refactorings, quick-fixes, and context actions surfaced through the Alt+Enter popup.
- #mps
- #intentions
- #refactoring
- #quick-fixes
- #ui-actions