Release Plugin
flutter/flutter-intellij
Prepare and execute a new release for the flutter-intellij plugin, including updating dependencies, compatibility bounds, changelogs, and verification.
A skill your agent uses when writing or editing MPS BaseLanguage code that uses the collections and closures language extensions — in behavior methods, typesystem and checking rules, generator…
$ npx skills add JetBrains/MPS --skill mps-collections-and-closures -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install JetBrains/MPS mps-collections-and-closures --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mps-collections-and-closures .claude/skills/mps-collections-and-closures && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mps-collections-and-closures" agent skill from https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closures into .claude/skills/mps-collections-and-closures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mps-collections-and-closures", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closuresType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add JetBrains/MPS --skill mps-collections-and-closures -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install JetBrains/MPS mps-collections-and-closures --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/mps-collections-and-closures .agents/skills/mps-collections-and-closures && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mps-collections-and-closures" agent skill from https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closures into .agents/skills/mps-collections-and-closures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mps-collections-and-closures", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JetBrains/MPS --skill mps-collections-and-closures -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install JetBrains/MPS mps-collections-and-closures --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/mps-collections-and-closures .cursor/skills/mps-collections-and-closures && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mps-collections-and-closures" agent skill from https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closures into .cursor/skills/mps-collections-and-closures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mps-collections-and-closures", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/JetBrains/MPS.git --path .agents/skills/mps-collections-and-closures--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add JetBrains/MPS --skill mps-collections-and-closures -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install JetBrains/MPS mps-collections-and-closures --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/mps-collections-and-closures .gemini/skills/mps-collections-and-closures && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mps-collections-and-closures" agent skill from https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closures into .gemini/skills/mps-collections-and-closures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mps-collections-and-closures", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install JetBrains/MPS mps-collections-and-closuresInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add JetBrains/MPS --skill mps-collections-and-closures -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/mps-collections-and-closures .github/skills/mps-collections-and-closures && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mps-collections-and-closures" agent skill from https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closures into .github/skills/mps-collections-and-closures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mps-collections-and-closures", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add JetBrains/MPS --skill mps-collections-and-closures -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install JetBrains/MPS mps-collections-and-closures --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/JetBrains/MPS.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/mps-collections-and-closures .opencode/skills/mps-collections-and-closures && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mps-collections-and-closures" agent skill from https://github.com/JetBrains/MPS/tree/master/.agents/skills/mps-collections-and-closures into .opencode/skills/mps-collections-and-closures/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mps-collections-and-closures", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mps-collections-and-closuresA skill your agent uses when writing or editing MPS BaseLanguage code that uses the collections and closures language extensions — in behavior methods, typesystem and checking rules, generator…
Mps Collections And Closures is an agent skill from JetBrains/MPS, published by the product's own GitHub organization. Use when writing or editing MPS BaseLanguage code that uses the collections and closures language extensions — in behavior methods, typesystem and checking rules, generator queries, constraints, intentions, plugin or console code, with or without nodes. Covers collection types (sequence<T, list<T, set<T, map<K,V, sorted variants), creators, sequence operations (.where, .select, .translate, .any, .sortBy, .toList, …), list/set/map mutators, the collections foreach vs the BaseLanguage foreach, closure literals ({…
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including reference files (for example `references/closures-catalog.md`, `references/collections-catalog.md` and `references/collections-catalog/concept-ids.md`).
It works with Java and JetBrains IDEs. The repository describes itself as: JetBrains Meta programming System. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 3e9cfcd. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mps Collections And Closures loads about 2.2k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 233 tokens; SKILL.md has 852 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from JetBrains/MPS at commit 3e9cfcd, republished under its Apache-2.0 licence (© JetBrains). 852 words, ~2,162 tokens.
.claude/skills/mps-collections-and-closures/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.Companion names in this skill are lazy dependencies: load only those relevant to the current task. If this skill came from an MCP server, use the host's skill loader to resolve the companion's unique discovered entry URI on the same host-assigned originating server. If the host has no server-backed skill loader, stop and report that limitation; do not silently fall back to a filesystem copy. If this skill came from a filesystem catalog, load the named sibling from that same catalog at <skills-root>/<skill-name>/SKILL.md, even if remote skill loaders are also available. Do not invent a tool name or server endpoint.
Use this skill when a body filters, maps, sorts or iterates a sequence, or passes a closure — to a collection operation, a Java API (SAM conversion), or a variable of function type. A collection operation is a DotExpression whose operation is a collections *Operation concept with a single ClosureLiteral in the closure role. The mps_mcp_parse_java_and_insert parser maps Java lambdas to closures but cannot produce collection types or operations, so these shapes are hand-built from the blueprints here.
references/ is a lookup catalog. One file is enough to write the body.
| Body you are writing | Read only |
|---|---|
filters or maps a sequence (.where, .any, .translate, list.add) | references/sequence-operation-blueprints.md |
| a closure that does not type-check | references/closures-catalog.md |
an iteration that fails (foreach) | references/foreach-statements.md |
crosses into a Java interface (Iterable.iterator(), Map.computeIfAbsent()) | references/downcast-expression.md |
| an operation whose name or shape you do not know | references/collections-catalog.md |
Stopping rule. After an error you cannot explain, open references/golden-rules-and-pitfalls.md before any catalog.
InferredClosureParameterDeclaration needs a type child, even though MPS infers the type. Use jetbrains.mps.baseLanguage.structure.UndefinedType as placeholder. Omitting it cascades into misleading "different parameter numbers" / "out of search scope" / "operation is not applicable to null" errors. See references/closures-catalog.md.closure role (not parameter). See references/sequence-operation-blueprints.md.foreach has two concepts: collections ForEachStatement for sequence/list/set, BaseLanguage ForeachStatement for Java arrays/iterables. Wrong choice → type error. See references/foreach-statements.md.sequence is not a list: list<T> and set<T> are subtypes of sequence<T>, and lazy operations return sequence<T>; materialize with .toList where a list is required. See references/collections-catalog/core-concepts-types-null-semantics.md.isEmpty / isNotEmpty have two concepts each: collections for sequence/list/set/map, BaseLanguage for string. Pick the FQN by the receiver's type. See references/collections-catalog/sequence-operations.md.return or yield, never both; a yield closure returns sequence<T>. See references/closures-catalog.md.skip / stop only inside enumerating closures (selectMany / translate / forEach / sequence initializer); elsewhere they are a typesystem error. See references/collections-catalog/control-flow-in-closures.md.jetbrains.mps.baseLanguage.closures.runtime, collections code the collections.runtime solution. A missing closures runtime shows up as NoClassDefFoundError for _FunctionTypes$... at load time. See references/closures-catalog.md.mps_mcp_query_types OPERATION_TYPE for the result type of an operation or expression, and IS_SUBTYPE for assignability (list<T> vs sequence<T>, a closure against a FunctionType or SAM target). See mps-mcp-workflow/references/analysis-tools/type-queries.md.node.children, .descendants<C>) is built from references/dot-expression-basics.md in the mps-model-manipulation skill root after loading that companion skill from the same origin.DotExpression + *Operation + ClosureLiteral blueprint from references/sequence-operation-blueprints.md.ClassifierType for them. Node-element types are in references/variable-declarations.md in the mps-model-manipulation skill root after loading that companion skill from the same origin.mps_mcp_check_root_node_problems(nodeReference, onlyNodesWithProblems=true); on a confusing error, open references/golden-rules-and-pitfalls.md.If MPS MCP tools are unavailable, do not hand-edit serialized .mps files unless explicitly requested — inspect only and report.
mps-model-manipulation — the smodel side: the receivers (node.descendants<C>, nlist<C>, sequence<node<C>>), node casts, property/link access and mutation that the closure bodies call. Load it whenever a body touches nodes.mps-baselanguage — host BaseLanguage statements, expressions, classes, and the Java parser; this skill is the collections/closures overlay.mps-console — #instances(C).where { … } and other jetbrains.mps.lang.smodel.query results compose with the operations here.mps-quotations — node literals that closures and sequence operations often build or consume.One line per file, keyed by the symptom that should send you there.
references/golden-rules-and-pitfalls.md when a collections or closures error makes no sense — the symptom→cause→fix table (closure type child, two isEmpty concepts, sequence vs list, lazy re-evaluation, yield/return, skip/stop, missing runtime).references/sequence-operation-blueprints.md when building .where, .any, .translate (with yield) or list.add — the full DotExpression + ClosureLiteral JSON.references/collections-catalog.md when you need an operation whose name or shape you are unsure of (select, take, sortBy, reduceLeft, toList, …), creators, mutators, set/map operations, sorted variants, iterator vs modifying_iterator, or concept IDs — the hub table names one file per section.references/closures-catalog.md when a closure does not type-check — "different parameter numbers", a parameter whose type stayed null, recursion (InvokeFunctionOperation vs InvokeExpression), yield vs return, SAM conversion, result-type inference, the generated-Java form, or the missing closures runtime jar. Holds the ClosureLiteral / InferredClosureParameterDeclaration / FunctionType shapes.references/foreach-statements.md when iterating produces a typesystem error, or the loop variable will not resolve — collections ForEachStatement + ForEachVariable / ForEachVariableReference vs BaseLanguage ForeachStatement + LocalVariableDeclaration / VariableReference.references/downcast-expression.md when a collection-typed value must call a Java interface method (Iterable.iterator(), Map.computeIfAbsent()) — the DowncastExpression (downcast expr) blueprint and two verified examples.© JetBrains, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 15 other files (references) in .agents/skills/mps-collections-and-closures of JetBrains/MPS.
Open the folder on GitHubat commit 3e9cfcd
Mps Collections And Closures next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mps Collections And Closures this skillJetBrains/MPS | 1.7k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| Release Pluginflutter/flutter-intellij | 2k | — | ~1k | Automated safety check: Pass | BSD-3-Clause | |
| Code StyleJetBrains/intellij-community | 21k | — | ~795 | Automated safety check: Pass | Custom licence | |
| Jugg Android Dev Loopniki914/zafiro | 241 | — | ~2k | Automated safety check: Pass | MIT | |
| Doc View Contract Designliuzhihang/doc-view | 207 | — | ~539 | Automated safety check: Pass | MIT | |
| Amplicode InstallAmplicode/spring-skills | 128 | — | ~2.6k | Automated safety check: Pass | None |
flutter/flutter-intellij
Prepare and execute a new release for the flutter-intellij plugin, including updating dependencies, compatibility bounds, changelogs, and verification.
JetBrains/intellij-community
Apply IntelliJ Kotlin and Java code style when writing or reviewing.
niki914/zafiro
A skill your agent uses when editing source files (Java/Kotlin/XML/layout/AndroidManifest/Gradle) in a Android project, or when user asks to build/deploy/verify an Android app.
liuzhihang/doc-view
A skill your agent uses when defining or reviewing Doc View behavior contracts before changing PSI parsing, DTOs, Markdown output, uploads, exports, settings, UI-visible behavior, or IntelliJ…
Amplicode/spring-skills
Installs the Amplicode IntelliJ plugin into IntelliJ IDEA (Ultimate/Community) and GigaIDE on the user's machine.
dtprj/dongting
IntelliJ IDEA MCP for Java code analysis, testing, refactoring, and project navigation.
JetBrains/MPS
Analyze an MPS language by name — discover concepts, properties, references, children, aspects (editor/constraints/behavior), metadata, and answer type questions (is A a subtype of B, common…
JetBrains/MPS
Add, update, or delete MPS nodes using JSON blueprints — covers the unified blueprint format, staged construction for large subtrees, validation, and reference repair.
JetBrains/MPS
Open an MPS project in a running or freshly started MPS instance when MCP tools fail because no project is open (welcome screen), close an open project with mpsmcpcloseproject, or create a new empty…
JetBrains/MPS
Complete JetBrains MPS workflow guide for DSL projects — models, languages, generators, node JSON blueprints, type queries, validation, MPS MCP tool usage, and the index of companion skills.
JetBrains/MPS
Structured MPS bugfix workflow driven by a YouTrack issue ID — preflight tool checks, version/branch derivation, parallel-agent problem analysis, solution design, branch creation, implementation…
JetBrains/MPS
Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's structure aspect.
Works with
A skill your agent uses when writing or editing MPS BaseLanguage code that uses the collections and closures language extensions — in behavior methods, typesystem and checking rules, generator…. Mps Collections And Closures is an agent skill from JetBrains/MPS, published by the product's own GitHub organization. Use when writing or editing MPS BaseLanguage code that uses the collections and closures language extensions — in behavior methods, typesystem and checking rules, generator queries, constraints, intentions, plugin or console code, with or without nodes.
Mps Collections And Closures fits situations like: editing MPS BaseLanguage code that uses the collections and closures language extensions — in behavior methods; typesystem and checking rules; generator queries.
Run `npx skills add JetBrains/MPS --skill mps-collections-and-closures -a claude-code`. Or copy the skill folder (.agents/skills/mps-collections-and-closures in JetBrains/MPS) into .claude/skills/mps-collections-and-closures in your project. Claude Code loads it when a task matches its description.
Run `npx skills add JetBrains/MPS --skill mps-collections-and-closures -a codex`. Or copy the skill folder (.agents/skills/mps-collections-and-closures in JetBrains/MPS) into .agents/skills/mps-collections-and-closures in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add JetBrains/MPS --skill mps-collections-and-closures -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mps-collections-and-closures, .gemini/skills/mps-collections-and-closures, .github/skills/mps-collections-and-closures and .opencode/skills/mps-collections-and-closures in your project.
SKILL.md names no scripts, command-line tools or credentials: Mps Collections And Closures is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mps Collections And Closures is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Mps Collections And Closures: Release Plugin (flutter/flutter-intellij, 2k stars), Code Style (JetBrains/intellij-community, 21k stars), Jugg Android Dev Loop (niki914/zafiro, 241 stars) and Doc View Contract Design (liuzhihang/doc-view, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
JetBrains (a GitHub organization, an official publisher) maintains it in JetBrains/MPS, which has 1,661 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 9, 2026.
Source: JetBrains/MPS on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.