graalvm-expert
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.jsonfor 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-agentto automatically generate configuration files. - Resource Management: Config for
resource-config.jsonto include static assets in the native binary. - Dynamic Proxy: Configuring
proxy-config.jsonfor Java dynamic proxies. - Substrate VM: Understanding memory management and GC options (G1 vs Serial) in native binaries.
More from kinhluan/rules-quarkus-skills
quarkus-expert
High-performance Quarkus framework expertise covering reactive patterns, CDI, build-time augmentation, and cloud-native development. Use for general Quarkus questions.
19gradle-expert
Expert knowledge for Gradle Build Tool, dependency management, and Gradle-to-Bazel migration. Use for build configuration and project lifecycle questions.
15vertx-expert
Expert knowledge for Eclipse Vert.x, the reactive engine behind Quarkus. Use for deep reactive programming, Event Loop, and non-blocking I/O questions.
14bazel-expert
Expert knowledge for writing idiomatic Bazel rules, Starlark best practices, and build performance optimization. Use for Bazel build system questions.
9maven-expert
Expert knowledge for Apache Maven, dependency management, BOMs, and Maven-to-Bazel migration. Use for build configuration and project lifecycle questions.
9rules-quarkus
Expert knowledge for building Quarkus applications with Bazel using the rules_quarkus build system. Use when user asks about Quarkus+Bazel builds, augmentation, or troubleshooting.
8