Генерация Java AST-узлов в MPS BaseLanguage
★ 7.9 · vibe-coding
mps-baselanguage is a Claude Code skill that enables authoring and editing MPS `jetbrains.mps.baseLanguage` (Java) nodes as an AST rather than plain text. Two authoring paths are available: the Java parser (`mps_mcp_parse_java_and_insert`) for standard Java skeletons, and JSON AST blueprints (`mps_mcp_insert_root_node_from_json`, `mps_mcp_update_root_node_from_json`, `mps_mcp_update_node`) when BaseLanguage extensions — `smodel`, `closures`, `collections` — are involved or stable persistent member references are required. The skill covers the full workflow: scoping the insertion point, resolving model imports, building a placeholder skeleton, harvesting persistent refs for constructors and methods, filling bodies incrementally, and validating through three gates — `dryRun`, `mps_mcp_check_root_node_problems`, and `MAKE` generation. It is aimed at MPS language engineers writing class and method bodies, fields, expressions, statements, or any Java/BaseLanguage code inside MPS models.
- #mps
- #baselanguage
- #java
- #code-generation
- #ast-blueprints