[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-mps-aspect-generation-plan":3,"mdc-misgfc-key":32,"related-org-jetbrains-mps-aspect-generation-plan":864,"related-repo-jetbrains-mps-aspect-generation-plan":985},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":19,"repoUrl":20,"updatedAt":21,"license":22,"forks":23,"topics":24,"repo":27,"sourceUrl":30,"mdContent":31},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16],{"name":13,"slug":14,"type":15},"Architecture","architecture","tag",{"name":17,"slug":18,"type":15},"Engineering","engineering",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-13T06:44:59.507855",null,311,[25,26],"domain-specific-language","dsl",{"repoUrl":20,"stars":19,"forks":23,"topics":28,"description":29},[25,26],"JetBrains Meta programming System","https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS\u002Ftree\u002FHEAD\u002Fplugins\u002Fmcp-tools\u002Fresources\u002Fjetbrains\u002Fmps\u002Fagents\u002Fmcp\u002Fskills\u002Fmps-aspect-generation-plan","---\nname: mps-aspect-generation-plan\ndescription: Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.\ntype: reference\n---\n\n# MPS Generation Plans\n\nA **generation plan** (`Plan`) is an ordered script that controls which generators run, in what sequence, and with what synchronization points. Without a plan, MPS determines order from mutual generator priorities and dependencies. A plan lets language designers specify that ordering once, in a single place, without requiring all involved languages to know about each other.\n\n**Language:** `jetbrains.mps.lang.generator.plan` (id `7ab1a6fa-0a11-4b95-9e48-75f363d6cb00`, version 3)\n**Also requires:** `jetbrains.mps.lang.smodel` (for `LanguageId` \u002F `LanguageIdentity` nodes)\n\n## When to use a generation plan\n\n- You need a guaranteed ordering of generators across languages that must not depend on each other.\n- You are doing **cross-model generation** and need mapping labels from one model to be available when generating another (requires checkpoints).\n- You want to **fork** the generation of certain models into a separate branch (e.g., generate both `.java` files and XML descriptors from the same input).\n- You want a **conditional contribution** added to a base plan without modifying it (`PlanContribution`).\n\n## Critical Directives\n\n- **Genplan models use the `genplan` stereotype.** File name pattern: `\u003Cname>@genplan.mps`. Pass `modelName: \"\u003Cname>@genplan\"` to `mps_mcp_create_model`. See [aspect-model-stereotypes.md](..\u002Fmps-mcp-workflow\u002Freferences\u002Faspect-model-stereotypes.md) for all model identifiers. Set `doNotGenerate=true` (MPS adds this automatically).\n- **Only one DevKit per model may carry a genplan.** Assigning multiple genplan-bearing DevKits to the same model is unsupported.\n- **`Plan.steps` is `1..n`.** A plan with no steps is invalid.\n- **`LanguageEntry.language` (`LanguageId`) and `GeneratorModulePointer.module` (`ModulePointer`) are each cardinality 1** — missing them is a validation error.\n- **Checkpoints persist transient state.** Cross-phase reference resolution works only when phases share a plan AND a `Checkpoint` sits between them.\n- **Do not hand-edit serialized `.mps` genplan files.** Use MPS MCP node tools.\n\n## Common-Path Workflow\n\n1. Create a solution; add a model with stereotype `genplan` (file like `MyPlan@genplan.mps`).\n2. Add used languages `jetbrains.mps.lang.generator.plan` and `jetbrains.mps.lang.smodel`.\n3. Create a `Plan` root node with a descriptive `name`.\n4. Add `Transform` steps in order (one per phase); group parallel-safe languages in one `Transform` with multiple `LanguageEntry` children.\n5. Insert `Checkpoint` steps wherever downstream generators must resolve cross-model references.\n6. Add `Fork` steps for any output variant requiring its own branch (e.g. XML alongside Java); or add a separate `PlanContribution` root for conditional activation.\n7. Attach the plan to models via a DevKit (production) or the Custom generation facet (prototyping).\n8. Verify with MPS UI **Show generation plan** and `mps_mcp_check_root_node_problems`.\n\n## Related Skills\n\n- `mps-aspect-generator` — for the generator rules and templates that the plan orchestrates.\n- `mps-aspect-textgen` — for the text serialization that consumes generated models.\n- `mps-aspect-accessories` — for DevKit setup, used languages, and runtime solutions that ship with a plan.\n- `mps-node-editing` — generic JSON-blueprint node creation workflow.\n\n## Reference Index\n\n- Plan setup and DevKit attachment — open when creating a new genplan model, wiring it into a DevKit, or switching between DevKit and Custom generation facet attachment. See [references\u002Fplan-setup.md](references\u002Fplan-setup.md).\n- Step concept catalog — open when you need exact concept names, properties, cardinalities, and the meanings of `Transform`, `ApplyGenerators`, `Checkpoint`, `IncludePlan`, `Fork`, `CheckpointDeclaration`, `CheckpointSynchronization`, `DocumentationStep`. See [references\u002Fstep-catalog.md](references\u002Fstep-catalog.md).\n- `Transform` and `ApplyGenerators` — open when wiring languages by identity (`LanguageEntry.kind` = Transform \u002F TargetAt \u002F Extend) or naming specific generator modules. Includes the verified \"the plan\" and \"WithCompiledGenerator\" JSON examples. See [references\u002Ftransform-and-applygenerators.md](references\u002Ftransform-and-applygenerators.md).\n- Checkpoints and cross-model resolution — open when phases need to share mapping labels, when a downstream plan must read another plan's checkpoint, or when picking among `InPlaceCheckpointSpec`, `DeclaredCheckpointSpec`, `InPlaceCheckpointRefSpec`. See [references\u002Fcheckpoints.md](references\u002Fcheckpoints.md).\n- `IncludePlan`, `Fork`, and `PlanContribution` — open when composing plans from smaller pieces, splitting branches, or activating a conditional contribution without modifying the base plan. Includes \"GenPlanWithFork\", \"LangConstraintsPlan\", and \"DocumentationPlan\" JSON examples. See [references\u002Fcomposition-and-fork.md](references\u002Fcomposition-and-fork.md).\n- Fork selectors and parameters — open when conditionally activating forks via `ParameterEquals` or `ConceptListSelector`, or defining a `ParameterDeclaration`. See [references\u002Ffork-selectors.md](references\u002Ffork-selectors.md).\n- Model attributes (`InitModelAttributes`, `targetFacet`) — open when routing the output of a branch to a specific facet such as documentation generation. Includes the verified `ModelAttributeAssignment` blueprint. See [references\u002Fmodel-attributes.md](references\u002Fmodel-attributes.md).\n- Concept quick reference — open when assembling JSON that requires `conceptReference` strings or qualified concept names. See [references\u002Fconcept-quick-reference.md](references\u002Fconcept-quick-reference.md).\n- Verification and discovery — open to find existing plans (`FIND_INSTANCES`, search by name) or to validate a plan using MPS UI and MCP tools. See [references\u002Fverification-and-discovery.md](references\u002Fverification-and-discovery.md).\n- Authoring checklist — open at the end of an authoring session for a final scan before merging. See [references\u002Fauthoring-checklist.md](references\u002Fauthoring-checklist.md).\n",{"data":33,"body":35},{"name":4,"description":6,"type":34},"reference",{"type":36,"children":37},"root",[38,47,70,126,133,195,201,370,376,518,524,571,577],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"mps-generation-plans",[44],{"type":45,"value":46},"text","MPS Generation Plans",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51,53,59,61,68],{"type":45,"value":52},"A ",{"type":39,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"generation plan",{"type":45,"value":60}," (",{"type":39,"tag":62,"props":63,"children":65},"code",{"className":64},[],[66],{"type":45,"value":67},"Plan",{"type":45,"value":69},") is an ordered script that controls which generators run, in what sequence, and with what synchronization points. Without a plan, MPS determines order from mutual generator priorities and dependencies. A plan lets language designers specify that ordering once, in a single place, without requiring all involved languages to know about each other.",{"type":39,"tag":48,"props":71,"children":72},{},[73,78,80,86,88,94,96,101,102,108,110,116,118,124],{"type":39,"tag":54,"props":74,"children":75},{},[76],{"type":45,"value":77},"Language:",{"type":45,"value":79}," ",{"type":39,"tag":62,"props":81,"children":83},{"className":82},[],[84],{"type":45,"value":85},"jetbrains.mps.lang.generator.plan",{"type":45,"value":87}," (id ",{"type":39,"tag":62,"props":89,"children":91},{"className":90},[],[92],{"type":45,"value":93},"7ab1a6fa-0a11-4b95-9e48-75f363d6cb00",{"type":45,"value":95},", version 3)\n",{"type":39,"tag":54,"props":97,"children":98},{},[99],{"type":45,"value":100},"Also requires:",{"type":45,"value":79},{"type":39,"tag":62,"props":103,"children":105},{"className":104},[],[106],{"type":45,"value":107},"jetbrains.mps.lang.smodel",{"type":45,"value":109}," (for ",{"type":39,"tag":62,"props":111,"children":113},{"className":112},[],[114],{"type":45,"value":115},"LanguageId",{"type":45,"value":117}," \u002F ",{"type":39,"tag":62,"props":119,"children":121},{"className":120},[],[122],{"type":45,"value":123},"LanguageIdentity",{"type":45,"value":125}," nodes)",{"type":39,"tag":127,"props":128,"children":130},"h2",{"id":129},"when-to-use-a-generation-plan",[131],{"type":45,"value":132},"When to use a generation plan",{"type":39,"tag":134,"props":135,"children":136},"ul",{},[137,143,155,175],{"type":39,"tag":138,"props":139,"children":140},"li",{},[141],{"type":45,"value":142},"You need a guaranteed ordering of generators across languages that must not depend on each other.",{"type":39,"tag":138,"props":144,"children":145},{},[146,148,153],{"type":45,"value":147},"You are doing ",{"type":39,"tag":54,"props":149,"children":150},{},[151],{"type":45,"value":152},"cross-model generation",{"type":45,"value":154}," and need mapping labels from one model to be available when generating another (requires checkpoints).",{"type":39,"tag":138,"props":156,"children":157},{},[158,160,165,167,173],{"type":45,"value":159},"You want to ",{"type":39,"tag":54,"props":161,"children":162},{},[163],{"type":45,"value":164},"fork",{"type":45,"value":166}," the generation of certain models into a separate branch (e.g., generate both ",{"type":39,"tag":62,"props":168,"children":170},{"className":169},[],[171],{"type":45,"value":172},".java",{"type":45,"value":174}," files and XML descriptors from the same input).",{"type":39,"tag":138,"props":176,"children":177},{},[178,180,185,187,193],{"type":45,"value":179},"You want a ",{"type":39,"tag":54,"props":181,"children":182},{},[183],{"type":45,"value":184},"conditional contribution",{"type":45,"value":186}," added to a base plan without modifying it (",{"type":39,"tag":62,"props":188,"children":190},{"className":189},[],[191],{"type":45,"value":192},"PlanContribution",{"type":45,"value":194},").",{"type":39,"tag":127,"props":196,"children":198},{"id":197},"critical-directives",[199],{"type":45,"value":200},"Critical Directives",{"type":39,"tag":134,"props":202,"children":203},{},[204,263,273,297,334,352],{"type":39,"tag":138,"props":205,"children":206},{},[207,220,222,228,230,236,238,244,246,253,255,261],{"type":39,"tag":54,"props":208,"children":209},{},[210,212,218],{"type":45,"value":211},"Genplan models use the ",{"type":39,"tag":62,"props":213,"children":215},{"className":214},[],[216],{"type":45,"value":217},"genplan",{"type":45,"value":219}," stereotype.",{"type":45,"value":221}," File name pattern: ",{"type":39,"tag":62,"props":223,"children":225},{"className":224},[],[226],{"type":45,"value":227},"\u003Cname>@genplan.mps",{"type":45,"value":229},". Pass ",{"type":39,"tag":62,"props":231,"children":233},{"className":232},[],[234],{"type":45,"value":235},"modelName: \"\u003Cname>@genplan\"",{"type":45,"value":237}," to ",{"type":39,"tag":62,"props":239,"children":241},{"className":240},[],[242],{"type":45,"value":243},"mps_mcp_create_model",{"type":45,"value":245},". See ",{"type":39,"tag":247,"props":248,"children":250},"a",{"href":249},"..\u002Fmps-mcp-workflow\u002Freferences\u002Faspect-model-stereotypes.md",[251],{"type":45,"value":252},"aspect-model-stereotypes.md",{"type":45,"value":254}," for all model identifiers. Set ",{"type":39,"tag":62,"props":256,"children":258},{"className":257},[],[259],{"type":45,"value":260},"doNotGenerate=true",{"type":45,"value":262}," (MPS adds this automatically).",{"type":39,"tag":138,"props":264,"children":265},{},[266,271],{"type":39,"tag":54,"props":267,"children":268},{},[269],{"type":45,"value":270},"Only one DevKit per model may carry a genplan.",{"type":45,"value":272}," Assigning multiple genplan-bearing DevKits to the same model is unsupported.",{"type":39,"tag":138,"props":274,"children":275},{},[276,295],{"type":39,"tag":54,"props":277,"children":278},{},[279,285,287,293],{"type":39,"tag":62,"props":280,"children":282},{"className":281},[],[283],{"type":45,"value":284},"Plan.steps",{"type":45,"value":286}," is ",{"type":39,"tag":62,"props":288,"children":290},{"className":289},[],[291],{"type":45,"value":292},"1..n",{"type":45,"value":294},".",{"type":45,"value":296}," A plan with no steps is invalid.",{"type":39,"tag":138,"props":298,"children":299},{},[300,332],{"type":39,"tag":54,"props":301,"children":302},{},[303,309,310,315,317,323,324,330],{"type":39,"tag":62,"props":304,"children":306},{"className":305},[],[307],{"type":45,"value":308},"LanguageEntry.language",{"type":45,"value":60},{"type":39,"tag":62,"props":311,"children":313},{"className":312},[],[314],{"type":45,"value":115},{"type":45,"value":316},") and ",{"type":39,"tag":62,"props":318,"children":320},{"className":319},[],[321],{"type":45,"value":322},"GeneratorModulePointer.module",{"type":45,"value":60},{"type":39,"tag":62,"props":325,"children":327},{"className":326},[],[328],{"type":45,"value":329},"ModulePointer",{"type":45,"value":331},") are each cardinality 1",{"type":45,"value":333}," — missing them is a validation error.",{"type":39,"tag":138,"props":335,"children":336},{},[337,342,344,350],{"type":39,"tag":54,"props":338,"children":339},{},[340],{"type":45,"value":341},"Checkpoints persist transient state.",{"type":45,"value":343}," Cross-phase reference resolution works only when phases share a plan AND a ",{"type":39,"tag":62,"props":345,"children":347},{"className":346},[],[348],{"type":45,"value":349},"Checkpoint",{"type":45,"value":351}," sits between them.",{"type":39,"tag":138,"props":353,"children":354},{},[355,368],{"type":39,"tag":54,"props":356,"children":357},{},[358,360,366],{"type":45,"value":359},"Do not hand-edit serialized ",{"type":39,"tag":62,"props":361,"children":363},{"className":362},[],[364],{"type":45,"value":365},".mps",{"type":45,"value":367}," genplan files.",{"type":45,"value":369}," Use MPS MCP node tools.",{"type":39,"tag":127,"props":371,"children":373},{"id":372},"common-path-workflow",[374],{"type":45,"value":375},"Common-Path Workflow",{"type":39,"tag":377,"props":378,"children":379},"ol",{},[380,399,417,436,464,476,495,500],{"type":39,"tag":138,"props":381,"children":382},{},[383,385,390,392,398],{"type":45,"value":384},"Create a solution; add a model with stereotype ",{"type":39,"tag":62,"props":386,"children":388},{"className":387},[],[389],{"type":45,"value":217},{"type":45,"value":391}," (file like ",{"type":39,"tag":62,"props":393,"children":395},{"className":394},[],[396],{"type":45,"value":397},"MyPlan@genplan.mps",{"type":45,"value":194},{"type":39,"tag":138,"props":400,"children":401},{},[402,404,409,411,416],{"type":45,"value":403},"Add used languages ",{"type":39,"tag":62,"props":405,"children":407},{"className":406},[],[408],{"type":45,"value":85},{"type":45,"value":410}," and ",{"type":39,"tag":62,"props":412,"children":414},{"className":413},[],[415],{"type":45,"value":107},{"type":45,"value":294},{"type":39,"tag":138,"props":418,"children":419},{},[420,422,427,429,435],{"type":45,"value":421},"Create a ",{"type":39,"tag":62,"props":423,"children":425},{"className":424},[],[426],{"type":45,"value":67},{"type":45,"value":428}," root node with a descriptive ",{"type":39,"tag":62,"props":430,"children":432},{"className":431},[],[433],{"type":45,"value":434},"name",{"type":45,"value":294},{"type":39,"tag":138,"props":437,"children":438},{},[439,441,447,449,454,456,462],{"type":45,"value":440},"Add ",{"type":39,"tag":62,"props":442,"children":444},{"className":443},[],[445],{"type":45,"value":446},"Transform",{"type":45,"value":448}," steps in order (one per phase); group parallel-safe languages in one ",{"type":39,"tag":62,"props":450,"children":452},{"className":451},[],[453],{"type":45,"value":446},{"type":45,"value":455}," with multiple ",{"type":39,"tag":62,"props":457,"children":459},{"className":458},[],[460],{"type":45,"value":461},"LanguageEntry",{"type":45,"value":463}," children.",{"type":39,"tag":138,"props":465,"children":466},{},[467,469,474],{"type":45,"value":468},"Insert ",{"type":39,"tag":62,"props":470,"children":472},{"className":471},[],[473],{"type":45,"value":349},{"type":45,"value":475}," steps wherever downstream generators must resolve cross-model references.",{"type":39,"tag":138,"props":477,"children":478},{},[479,480,486,488,493],{"type":45,"value":440},{"type":39,"tag":62,"props":481,"children":483},{"className":482},[],[484],{"type":45,"value":485},"Fork",{"type":45,"value":487}," steps for any output variant requiring its own branch (e.g. XML alongside Java); or add a separate ",{"type":39,"tag":62,"props":489,"children":491},{"className":490},[],[492],{"type":45,"value":192},{"type":45,"value":494}," root for conditional activation.",{"type":39,"tag":138,"props":496,"children":497},{},[498],{"type":45,"value":499},"Attach the plan to models via a DevKit (production) or the Custom generation facet (prototyping).",{"type":39,"tag":138,"props":501,"children":502},{},[503,505,510,511,517],{"type":45,"value":504},"Verify with MPS UI ",{"type":39,"tag":54,"props":506,"children":507},{},[508],{"type":45,"value":509},"Show generation plan",{"type":45,"value":410},{"type":39,"tag":62,"props":512,"children":514},{"className":513},[],[515],{"type":45,"value":516},"mps_mcp_check_root_node_problems",{"type":45,"value":294},{"type":39,"tag":127,"props":519,"children":521},{"id":520},"related-skills",[522],{"type":45,"value":523},"Related Skills",{"type":39,"tag":134,"props":525,"children":526},{},[527,538,549,560],{"type":39,"tag":138,"props":528,"children":529},{},[530,536],{"type":39,"tag":62,"props":531,"children":533},{"className":532},[],[534],{"type":45,"value":535},"mps-aspect-generator",{"type":45,"value":537}," — for the generator rules and templates that the plan orchestrates.",{"type":39,"tag":138,"props":539,"children":540},{},[541,547],{"type":39,"tag":62,"props":542,"children":544},{"className":543},[],[545],{"type":45,"value":546},"mps-aspect-textgen",{"type":45,"value":548}," — for the text serialization that consumes generated models.",{"type":39,"tag":138,"props":550,"children":551},{},[552,558],{"type":39,"tag":62,"props":553,"children":555},{"className":554},[],[556],{"type":45,"value":557},"mps-aspect-accessories",{"type":45,"value":559}," — for DevKit setup, used languages, and runtime solutions that ship with a plan.",{"type":39,"tag":138,"props":561,"children":562},{},[563,569],{"type":39,"tag":62,"props":564,"children":566},{"className":565},[],[567],{"type":45,"value":568},"mps-node-editing",{"type":45,"value":570}," — generic JSON-blueprint node creation workflow.",{"type":39,"tag":127,"props":572,"children":574},{"id":573},"reference-index",[575],{"type":45,"value":576},"Reference Index",{"type":39,"tag":134,"props":578,"children":579},{},[580,591,656,686,718,747,781,815,834,853],{"type":39,"tag":138,"props":581,"children":582},{},[583,585,590],{"type":45,"value":584},"Plan setup and DevKit attachment — open when creating a new genplan model, wiring it into a DevKit, or switching between DevKit and Custom generation facet attachment. See ",{"type":39,"tag":247,"props":586,"children":588},{"href":587},"references\u002Fplan-setup.md",[589],{"type":45,"value":587},{"type":45,"value":294},{"type":39,"tag":138,"props":592,"children":593},{},[594,596,601,603,609,610,615,616,622,623,628,629,635,636,642,643,649,650,655],{"type":45,"value":595},"Step concept catalog — open when you need exact concept names, properties, cardinalities, and the meanings of ",{"type":39,"tag":62,"props":597,"children":599},{"className":598},[],[600],{"type":45,"value":446},{"type":45,"value":602},", ",{"type":39,"tag":62,"props":604,"children":606},{"className":605},[],[607],{"type":45,"value":608},"ApplyGenerators",{"type":45,"value":602},{"type":39,"tag":62,"props":611,"children":613},{"className":612},[],[614],{"type":45,"value":349},{"type":45,"value":602},{"type":39,"tag":62,"props":617,"children":619},{"className":618},[],[620],{"type":45,"value":621},"IncludePlan",{"type":45,"value":602},{"type":39,"tag":62,"props":624,"children":626},{"className":625},[],[627],{"type":45,"value":485},{"type":45,"value":602},{"type":39,"tag":62,"props":630,"children":632},{"className":631},[],[633],{"type":45,"value":634},"CheckpointDeclaration",{"type":45,"value":602},{"type":39,"tag":62,"props":637,"children":639},{"className":638},[],[640],{"type":45,"value":641},"CheckpointSynchronization",{"type":45,"value":602},{"type":39,"tag":62,"props":644,"children":646},{"className":645},[],[647],{"type":45,"value":648},"DocumentationStep",{"type":45,"value":245},{"type":39,"tag":247,"props":651,"children":653},{"href":652},"references\u002Fstep-catalog.md",[654],{"type":45,"value":652},{"type":45,"value":294},{"type":39,"tag":138,"props":657,"children":658},{},[659,664,665,670,672,678,680,685],{"type":39,"tag":62,"props":660,"children":662},{"className":661},[],[663],{"type":45,"value":446},{"type":45,"value":410},{"type":39,"tag":62,"props":666,"children":668},{"className":667},[],[669],{"type":45,"value":608},{"type":45,"value":671}," — open when wiring languages by identity (",{"type":39,"tag":62,"props":673,"children":675},{"className":674},[],[676],{"type":45,"value":677},"LanguageEntry.kind",{"type":45,"value":679}," = Transform \u002F TargetAt \u002F Extend) or naming specific generator modules. Includes the verified \"the plan\" and \"WithCompiledGenerator\" JSON examples. See ",{"type":39,"tag":247,"props":681,"children":683},{"href":682},"references\u002Ftransform-and-applygenerators.md",[684],{"type":45,"value":682},{"type":45,"value":294},{"type":39,"tag":138,"props":687,"children":688},{},[689,691,697,698,704,705,711,712,717],{"type":45,"value":690},"Checkpoints and cross-model resolution — open when phases need to share mapping labels, when a downstream plan must read another plan's checkpoint, or when picking among ",{"type":39,"tag":62,"props":692,"children":694},{"className":693},[],[695],{"type":45,"value":696},"InPlaceCheckpointSpec",{"type":45,"value":602},{"type":39,"tag":62,"props":699,"children":701},{"className":700},[],[702],{"type":45,"value":703},"DeclaredCheckpointSpec",{"type":45,"value":602},{"type":39,"tag":62,"props":706,"children":708},{"className":707},[],[709],{"type":45,"value":710},"InPlaceCheckpointRefSpec",{"type":45,"value":245},{"type":39,"tag":247,"props":713,"children":715},{"href":714},"references\u002Fcheckpoints.md",[716],{"type":45,"value":714},{"type":45,"value":294},{"type":39,"tag":138,"props":719,"children":720},{},[721,726,727,732,734,739,741,746],{"type":39,"tag":62,"props":722,"children":724},{"className":723},[],[725],{"type":45,"value":621},{"type":45,"value":602},{"type":39,"tag":62,"props":728,"children":730},{"className":729},[],[731],{"type":45,"value":485},{"type":45,"value":733},", and ",{"type":39,"tag":62,"props":735,"children":737},{"className":736},[],[738],{"type":45,"value":192},{"type":45,"value":740}," — open when composing plans from smaller pieces, splitting branches, or activating a conditional contribution without modifying the base plan. Includes \"GenPlanWithFork\", \"LangConstraintsPlan\", and \"DocumentationPlan\" JSON examples. See ",{"type":39,"tag":247,"props":742,"children":744},{"href":743},"references\u002Fcomposition-and-fork.md",[745],{"type":45,"value":743},{"type":45,"value":294},{"type":39,"tag":138,"props":748,"children":749},{},[750,752,758,760,766,768,774,775,780],{"type":45,"value":751},"Fork selectors and parameters — open when conditionally activating forks via ",{"type":39,"tag":62,"props":753,"children":755},{"className":754},[],[756],{"type":45,"value":757},"ParameterEquals",{"type":45,"value":759}," or ",{"type":39,"tag":62,"props":761,"children":763},{"className":762},[],[764],{"type":45,"value":765},"ConceptListSelector",{"type":45,"value":767},", or defining a ",{"type":39,"tag":62,"props":769,"children":771},{"className":770},[],[772],{"type":45,"value":773},"ParameterDeclaration",{"type":45,"value":245},{"type":39,"tag":247,"props":776,"children":778},{"href":777},"references\u002Ffork-selectors.md",[779],{"type":45,"value":777},{"type":45,"value":294},{"type":39,"tag":138,"props":782,"children":783},{},[784,786,792,793,799,801,807,809,814],{"type":45,"value":785},"Model attributes (",{"type":39,"tag":62,"props":787,"children":789},{"className":788},[],[790],{"type":45,"value":791},"InitModelAttributes",{"type":45,"value":602},{"type":39,"tag":62,"props":794,"children":796},{"className":795},[],[797],{"type":45,"value":798},"targetFacet",{"type":45,"value":800},") — open when routing the output of a branch to a specific facet such as documentation generation. Includes the verified ",{"type":39,"tag":62,"props":802,"children":804},{"className":803},[],[805],{"type":45,"value":806},"ModelAttributeAssignment",{"type":45,"value":808}," blueprint. See ",{"type":39,"tag":247,"props":810,"children":812},{"href":811},"references\u002Fmodel-attributes.md",[813],{"type":45,"value":811},{"type":45,"value":294},{"type":39,"tag":138,"props":816,"children":817},{},[818,820,826,828,833],{"type":45,"value":819},"Concept quick reference — open when assembling JSON that requires ",{"type":39,"tag":62,"props":821,"children":823},{"className":822},[],[824],{"type":45,"value":825},"conceptReference",{"type":45,"value":827}," strings or qualified concept names. See ",{"type":39,"tag":247,"props":829,"children":831},{"href":830},"references\u002Fconcept-quick-reference.md",[832],{"type":45,"value":830},{"type":45,"value":294},{"type":39,"tag":138,"props":835,"children":836},{},[837,839,845,847,852],{"type":45,"value":838},"Verification and discovery — open to find existing plans (",{"type":39,"tag":62,"props":840,"children":842},{"className":841},[],[843],{"type":45,"value":844},"FIND_INSTANCES",{"type":45,"value":846},", search by name) or to validate a plan using MPS UI and MCP tools. See ",{"type":39,"tag":247,"props":848,"children":850},{"href":849},"references\u002Fverification-and-discovery.md",[851],{"type":45,"value":849},{"type":45,"value":294},{"type":39,"tag":138,"props":854,"children":855},{},[856,858,863],{"type":45,"value":857},"Authoring checklist — open at the end of an authoring session for a final scan before merging. See ",{"type":39,"tag":247,"props":859,"children":861},{"href":860},"references\u002Fauthoring-checklist.md",[862],{"type":45,"value":860},{"type":45,"value":294},{"items":865,"total":984},[866,877,886,895,906,916,929,938,943,952,961,974],{"slug":557,"name":557,"fn":867,"description":868,"org":869,"tags":870,"stars":19,"repoUrl":20,"updatedAt":876},"configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[871,872,875],{"name":13,"slug":14,"type":15},{"name":873,"slug":874,"type":15},"Configuration","configuration",{"name":17,"slug":18,"type":15},"2026-07-17T06:06:57.311661",{"slug":878,"name":878,"fn":879,"description":880,"org":881,"tags":882,"stars":19,"repoUrl":20,"updatedAt":885},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[883,884],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:04:48.066901",{"slug":887,"name":887,"fn":888,"description":889,"org":890,"tags":891,"stars":19,"repoUrl":20,"updatedAt":894},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[892,893],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},"2026-07-13T06:45:21.757084",{"slug":896,"name":896,"fn":897,"description":898,"org":899,"tags":900,"stars":19,"repoUrl":20,"updatedAt":905},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[901,902],{"name":13,"slug":14,"type":15},{"name":903,"slug":904,"type":15},"Code Analysis","code-analysis","2026-07-23T05:41:33.639365",{"slug":907,"name":907,"fn":908,"description":909,"org":910,"tags":911,"stars":19,"repoUrl":20,"updatedAt":915},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[912],{"name":913,"slug":914,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":917,"name":917,"fn":918,"description":919,"org":920,"tags":921,"stars":19,"repoUrl":20,"updatedAt":928},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[922,925],{"name":923,"slug":924,"type":15},"Design","design",{"name":926,"slug":927,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":930,"name":930,"fn":931,"description":932,"org":933,"tags":934,"stars":19,"repoUrl":20,"updatedAt":937},"mps-aspect-editor-menus-and-keymaps","author MPS 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` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), 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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[935,936],{"name":17,"slug":18,"type":15},{"name":926,"slug":927,"type":15},"2026-07-23T05:41:49.666535",{"slug":4,"name":4,"fn":5,"description":6,"org":939,"tags":940,"stars":19,"repoUrl":20,"updatedAt":21},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[941,942],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":535,"name":535,"fn":944,"description":945,"org":946,"tags":947,"stars":19,"repoUrl":20,"updatedAt":951},"define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[948,949,950],{"name":13,"slug":14,"type":15},{"name":903,"slug":904,"type":15},{"name":17,"slug":18,"type":15},"2026-07-17T06:06:58.042999",{"slug":953,"name":953,"fn":954,"description":955,"org":956,"tags":957,"stars":19,"repoUrl":20,"updatedAt":960},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[958,959],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},"2026-07-23T05:41:48.692899",{"slug":962,"name":962,"fn":963,"description":964,"org":965,"tags":966,"stars":19,"repoUrl":20,"updatedAt":973},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[967,970],{"name":968,"slug":969,"type":15},"Debugging","debugging",{"name":971,"slug":972,"type":15},"Migration","migration","2026-07-13T06:45:20.372122",{"slug":975,"name":975,"fn":976,"description":977,"org":978,"tags":979,"stars":19,"repoUrl":20,"updatedAt":983},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[980],{"name":981,"slug":982,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":986,"total":1022},[987,993,998,1003,1008,1012,1017],{"slug":557,"name":557,"fn":867,"description":868,"org":988,"tags":989,"stars":19,"repoUrl":20,"updatedAt":876},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[990,991,992],{"name":13,"slug":14,"type":15},{"name":873,"slug":874,"type":15},{"name":17,"slug":18,"type":15},{"slug":878,"name":878,"fn":879,"description":880,"org":994,"tags":995,"stars":19,"repoUrl":20,"updatedAt":885},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[996,997],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":887,"name":887,"fn":888,"description":889,"org":999,"tags":1000,"stars":19,"repoUrl":20,"updatedAt":894},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1001,1002],{"name":13,"slug":14,"type":15},{"name":17,"slug":18,"type":15},{"slug":896,"name":896,"fn":897,"description":898,"org":1004,"tags":1005,"stars":19,"repoUrl":20,"updatedAt":905},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1006,1007],{"name":13,"slug":14,"type":15},{"name":903,"slug":904,"type":15},{"slug":907,"name":907,"fn":908,"description":909,"org":1009,"tags":1010,"stars":19,"repoUrl":20,"updatedAt":915},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1011],{"name":913,"slug":914,"type":15},{"slug":917,"name":917,"fn":918,"description":919,"org":1013,"tags":1014,"stars":19,"repoUrl":20,"updatedAt":928},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1015,1016],{"name":923,"slug":924,"type":15},{"name":926,"slug":927,"type":15},{"slug":930,"name":930,"fn":931,"description":932,"org":1018,"tags":1019,"stars":19,"repoUrl":20,"updatedAt":937},{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1020,1021],{"name":17,"slug":18,"type":15},{"name":926,"slug":927,"type":15},31]