From buyoung-skills
Generates version-specific .vmoptions configurations for JetBrains IDEs (IntelliJ, PyCharm, etc.) to tune GC selection, heap size, and performance for JDK 17/21 and IDE 222+.
npx claudepluginhub buyoung/skills --plugin backend-skillsThis skill uses the workspace's default tool permissions.
Generate `.vmoptions` configurations for JetBrains IDEs. Output as Markdown code blocks (one option per line, `#` comments). Do not generate files directly.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Generate .vmoptions configurations for JetBrains IDEs. Output as Markdown code blocks (one option per line, # comments). Do not generate files directly.
Read prerequisite-check.md for validation logic. IDE version determines the JDK (17 vs 21), which controls which GC collectors and flags are available. Never skip this step — wrong version means wrong recommendations.
Match the user's problem to a tuning strategy:
| User says | Primary goal | Start with |
|---|---|---|
| "freezes", "hangs", "lag", "UI stutter" | Low GC pause times | gc-options.md → ZGC/Shenandoah |
| "slow indexing", "build is slow" | Throughput | gc-options.md → G1GC/Parallel |
| "out of memory", "OOM", "large project" | Memory capacity | memory-options.md → heap sizing |
| "startup is slow" | Fast startup | common-options.md → tiered compilation |
| "general tuning", "optimize" | Balanced | All references as needed |
Read only the relevant reference files. Each reference includes flag descriptions, defaults, usage notes, and example configurations.
| File | Content | Read when |
|---|---|---|
| prerequisite-check.md | IDE version validation, JDK mapping | Always (step 1) |
| gc-options.md | GC selection and tuning flags | GC-related goals |
| memory-options.md | Heap, code cache, metaspace, large pages | Memory-related goals |
| common-options.md | Compiler, strings, diagnostics, threads | Performance/startup goals |
Show the final .vmoptions block with:
# JetBrains IDE VM Options
# IntelliJ IDEA 2024.3 (version 243, JDK 21)
# Memory
-Xms2g
-Xmx4g
# Garbage Collector: Generational ZGC
-XX:+UseZGC
-XX:+ZGenerational
# Performance
-XX:ReservedCodeCacheSize=512m
-XX:+UseStringDeduplication
-XX:SoftRefLRUPolicyMSPerMB=50
# Diagnostics
-XX:+HeapDumpOnOutOfMemoryError
-XX:CICompilerCount=2