jetbrains-vmoptions
БесплатноБез исполняемых скриптовНе проверенDiagnose and tune JetBrains IDE VM options against the IDE's actual boot runtime, including bundled or custom JetBrains Runtime (JBR) 17, 21, and 25. Use…
от buYoung★ 21 звезда на GitHubОб этом скилле
JetBrains IDE VM Options
Analyze the running IDE first, then propose the smallest defensible .vmoptions delta. Do not create or edit the user's files. Treat a flag being accepted by a JVM as compatibility evidence, not as proof of a performance improvement.
Workflow
1. Establish the runtime and baseline
Read prerequisite-check.md. Identify the IDE product/build, actual boot runtime vendor/version/build/path, bundled-versus-custom status, OS, architecture, current effective command line and flags, current custom options, and the process showing the problem.
The IDE build number is context only. It does not prove which runtime is active. The project SDK/JDK is not the IDE boot runtime.
If the exact runtime is unavailable, give collection instructions and limit the answer to diagnostics or runtime-independent changes. Do not infer an unconfirmed JBR major from an IDE version.
2. Confirm the process boundary
Determine whether the symptom belongs to the local IDE process, a remote IDE backend, Gradle daemon, build process, test JVM, language server, terminal process, or another child process. IDE .vmoptions affect only the IDE process to which the file is applied.
Redirect out-of-scope process tuning to that process's own configuration. Never claim that an IDE heap or GC change fixes a Gradle or test JVM problem.
3. Diagnose before selecting an option
Classify the observed evidence rather than mapping a symptom directly to GC:
| Evidence | First investigation | Relevant reference |
|---|---|---|
| IDE freeze or UI stall | Thread dump or IDE CPU profile; correlate with GC/safepoint data | common-options.md |
| High CPU or slow editing | Repeatable IDE CPU profile | performance-validation.md |
| OOM, low-memory warning, or heap saturation | Heap trend, post-GC occupancy, allocation rate | memory-options.md |
| Long or frequent GC pauses | GC log or JFR recorded on the IDE process | gc-options.md |
| Slow startup or indexing | Separate startup/indexing profile under controlled cache conditions | performance-validation.md |
If evidence is missing, explain how to collect it. A freeze alone is not evidence that the collector is the cause.
4. Ground every version-sensitive claim
For each proposed option, record the exact runtime family and build it applies to and distinguish:
- source declaration: a value or availability declared by a specific JBR/OpenJDK source revision;
- runtime-selected value: the ergonomic or initialized value reported by the user's running JVM;
- IDE bundle value: an option supplied by the product's shipped or custom
.vmoptionsfile or by its launcher configuration (for example,product-info.jsonin a macOS installation).
Prefer the running IDE's jcmd VM.command_line and VM.flags -all output for effective values. Link source claims to the matching JBR version, revision, and file. Do not present a source initializer as the final value when runtime ergonomics can change it.
5. Propose a minimal delta
Read only the references relevant to the diagnosed cause:
| File | Use for |
|---|---|
| gc-options.md | Collector compatibility, selection conflicts, measured GC latency |
| memory-options.md | Heap, code cache, metaspace, references, native-memory trade-offs |
| common-options.md | Compiler, strings, threads, diagnostics, process boundaries |
| performance-validation.md | Application checks and controlled A/B comparison |
Default to an add/change/remove list against the confirmed current settings. Preserve unrelated IDE-supplied options and user properties. Remove duplicates by semantic key (for example, multiple -Xmx forms or collector selectors), and explain which effective value wins or conflicts.
Recommend one change purpose at a time. Do not use fixed large heaps, -Xms = -Xmx, lower compilation tiers, or forced compiler/GC thread counts as generic optimizations. State the observed condition that justifies them and their costs.
Keep -XX:-UseBASE64Intrinsics through cleanup, duplicate removal, A/B comparison, and rollback until JetBrains' Java4Shell (CVE-2026-114938) advisory states that the confirmed IDE build bundles a JBR with the upstream fix. Per the advisory published 2026-11-24, updated IDEs add it to their default options and users without the update add it manually; a manual line that repeats the default is redundant but harmless. Never suggest -XX:UseAVX=2: JetBrains warns that it prevents JBR 25 from starting on ARM64. See security mitigation options.
6. Include application, verification, and rollback
Tell
Установить jetbrains-vmoptions в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл jetbrains-vmoptions?
Diagnose and tune JetBrains IDE VM options against the IDE's actual boot runtime, including bundled or custom JetBrains Runtime (JBR) 17, 21, and 25. Use whenever a user asks about JetBrains IDE performance, freezes, startup or indexing speed, memory pressure, garbage collection, heap sizing, `.vmoptions`, or IntelliJ IDEA, WebStorm, PyCharm, GoLand, Rider, CLion, PhpStorm, RubyMine, RustRover, or DataGrip JVM tuning. Distinguish the IDE process from project JDK, Gradle, build, test, and remote-backend processes; propose evidence-based minimal changes, confirm effective flags after restart, and provide rollback and before/after measurement steps.
Как установить скилл jetbrains-vmoptions?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jetbrains-vmoptions запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic