JetBrains MPS TextGen — генерация текстового кода

★ 7.9 · vibe-coding

mps-aspect-textgen is a Claude Code skill that helps author and debug the TextGen aspect in JetBrains MPS — the mechanism that serialises a model into plain text files such as source code, config files, DDL, XML, or markdown. It covers `ConceptTextGenDeclaration` roots, `append`, `indent buffer`, and `with indent` statements, `TextUnitLayout` areas, context objects, the `LanguageTextGenDeclaration` base component, and the indentation-buffer model. The skill includes a full step-by-step workflow: creating the `textGen.mps` model, wiring the three required used languages (`jetbrains.mps.lang.textGen`, `jetbrains.mps.baseLanguage`, `jetbrains.mps.lang.smodel`), inserting nodes via `mps_mcp_insert_root_node_from_json`, and validating with `mps_mcp_check_root_node_problems`. Aimed at MPS DSL developers who need to target text output directly rather than generating into another typed language.