Diagnoses and tunes JetBrains IDE VM options by analyzing the actual boot runtime (JBR 17/21/25), distinguishing IDE process from child JVMs, and proposing evidence-based .vmoptions changes with rollback steps.
Ships in document-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
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.
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.
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.
For each proposed option, record the exact runtime family and build it applies to and distinguish:
.vmoptions file or by its launcher configuration (for example, product-info.json in 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.
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.
Tell the user to use the product's Help | Edit Custom VM Options action or the exact override source already confirmed. Do not advise editing the installation's default file.
After restart, verify the same IDE process with jcmd <pid> VM.command_line and jcmd <pid> VM.flags -all. Confirm the requested values, selected collector, and any ignored, obsolete, inactive, or overridden flags. JVM startup success alone is insufficient.
Give a rollback that restores the captured baseline or removes only the proposed delta. For performance claims, follow performance-validation.md.
Unless the user explicitly requests a full file, return:
-XX:-UseBASE64Intrinsics under removals while the Java4Shell rule in step 5 applies.-XX:-UseBASE64Intrinsics if it is present and the step 5 rule applies.When a full configuration is requested, require the current effective/original options first, preserve required IDE options, annotate only the intended changes, and still provide the delta separately.
b635.79, macOS aarch64) default-collector check and JBR 25.0.4 source inspection are available and other builds, platforms, or performance outcomes remain unverified.This skill provides analysis, proposed text, verification commands, and measurement procedures for the JetBrains IDE process. It does not change IDE settings, run benchmarks, tune unrelated JVM processes, or guarantee performance gains.
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/agents-md-generatorAnalyze repository structure and generate or update standardized AGENTS.md files that serve as contributor guides for AI agents. Supports both single-repo and monorepo structures. Measures LOC to determine character limits and produces structured documents covering overview, optional ownership maps, patterns, conventions, and working agreements. Update mode refreshes only standard sections while preserving user-defined custom sections. Existing unmarked files require a concrete change preview and one-time user confirmation before adoption; heading matches alone never authorize rewriting. Use when the user wants an AGENTS.md generated or refreshed — setting one up for a new repository, onboarding AI agents to an existing codebase, updating an existing AGENTS.md after meaningful project changes, or adopting an existing AGENTS.md into this update workflow. Not for requests that only read, follow, or cite an existing AGENTS.md, and not for CLAUDE.md, README, or other documentation files./clear-writingApply ISO 24495-1 plain-language guidance so readers can easily find, understand, and use the information they need. Use to write, rewrite, or review practical reader-facing texts that inform, explain a procedure, or support a decision, such as notices, letters, emails, text messages, announcements, and forms, including requests for plain language, 쉬운 말, or a clearer version of such a text. Provide only the requested output. Do not use for typed durable documents such as software READMEs or usage docs, Feature Design Docs, design systems, runbooks, policies, specifications, proposals, reports, or meeting records; use document-writing for those./document-writingCreate, update, rewrite, review, fact-check, or normalize durable human-readable documents. Use for software project READMEs and usage documentation, explanatory overviews, action guides, references or specifications, proposals, analysis reports, policies, troubleshooting runbooks, records or meeting notes, Feature Design Docs (FDDs), and Design System Documents for product UI or any digital storefront's visual assets, including the document portion of mixed document-and-production requests. Route by the requested artifact and load only its references. Do not use for implementation plans, task briefs, tickets, system or architecture design docs, source changes, pure UI or asset production, short chat-only answers, or plain-language writing and rewriting of short reader-facing messages such as notices, letters, emails, or text messages; use clear-writing for those./skill-creatorCreate, improve, and evaluate reusable agent skills. Use when the user wants to create a skill, revise its instructions or resources, measure its performance, or improve its triggering description. After a complete draft, run one independent-candidate refinement pass before the existing evaluation and feedback workflow./system-prompt-creatorGenerate system prompts from user requirements, with application guidance and request-derived evaluation materials. Use when asked to create, design, or draft a system prompt for an LLM bot, assistant, classifier, router, or explicitly requested multi-step pipeline (e.g. "create a system prompt", "시스템 프롬프트 만들어줘", "분류기 프롬프트 짜줘"). Defaults to a model-neutral single prompt; checks official guidance for a named model/provider. Supports revisions during the current creation task and current-agent simulations only after approval of concrete cases and scope. Not for standalone refinement/review of an existing prompt, one-off user prompts, agent definition files, CLAUDE.md/AGENTS.md, or skill definitions./task-brief-creatorGenerate an executable implementation work-plan Markdown at `docs/briefs/` from planning notes or a rough task description. Work brief, task brief, handoff brief, implementation ticket, and task spec remain trigger aliases. Nine required sections are keyed to Conventional Commits types so coding agents switch behavior (refactor → preserve, fix → reproduce first, perf → measure first). Briefset mode emits a parent execution-management document plus N child briefs when the input describes multiple execution contexts. Explicit task intent only — use when the user invokes this skill or asks for a work plan, implementation plan, work brief, task brief, handoff brief, implementation ticket, or task spec for a coding agent. Not for prose summaries, status reports, design docs, or meeting notes. For the caveman-register variant (compressed saved-plan prose), use task-brief-creator-caveman instead.
/document-skills:jetbrains-vmoptionsfrom document-skills
npx claudepluginhub buyoung/skills --plugin document-skillsOther plugins' skills for the same job