graalvm-expert

Installation
SKILL.md

graalvm-expert

Keyword: graalvm | Platforms: gemini,claude,codex

High-Performance Polyglot & Native VM Expert Skill - Specialized in GraalVM AOT (Ahead-of-Time) compilation.

Core Mandates

  • AOT Mindset: Understand that Native Image has a "Closed-world assumption" (all bytecode must be known at build time).
  • Reflection Discipline: Mandate reflection-config.json for any dynamic class loading or reflection usage.
  • Initialization Policy: Differentiate between Build-time initialization (faster startup, smaller image) and Runtime initialization (safer for classes with side effects).
  • Polyglot Strategy: Leverage GraalVM SDK for high-performance interoperability between Java, JS, Python, and Ruby.

Native Image Mastery

  • Native Image Agent: Using java -agentlib:native-image-agent to automatically generate configuration files.
  • Resource Management: Config for resource-config.json to include static assets in the native binary.
  • Dynamic Proxy: Configuring proxy-config.json for Java dynamic proxies.
  • Substrate VM: Understanding memory management and GC options (G1 vs Serial) in native binaries.
Related skills
Installs
7
GitHub Stars
1
First Seen
Mar 15, 2026